Feedback for NetBeans

UI Components for JSF
smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

06 Apr 2012, 19:21

lazaronixon wrote:other inssue is
<p:ajax event="rowSelect" listener="#{_104MB.carregarnxfornecedor}"/>

public void carregarnxfornecedor(SelectEvent event) {
}

_104MB.carregarnxfornecedor will be underlined with (!) yellow.
Agreed, I've seen this issue and it would be nice to have that fixed. I guess NetBeans needs to be more aware of PrimeFaces components' ajax events, and when actionListener="..." or listener="...", then NetBeans need to be 'more' aware of the required method expression. I hope I said that right...I'm still new to JSF. :)

Code generation sounds good, where code generation is something like as follows:
1. select from list of PrimeFaces components while editing XHTML
2. Dialog allows component to be selected, and component attributes can be populated via dialog
3. Dropdowns would include beans and bean methods for listeners, and rendered="..." expressions can be entered via the dialog
4. Also, NetBeans feature (Generate JSF web app from database entity classes), it would be nice for them to use PrimeFaces dataTable instead of h:dataTable, and PrimeFaces commandLinks, etc...

Visual editor sounds nice; if they did add it, I would definitely check it out.

Also, please pass on the following to NetBeans team, as I just found a post with some good recommendations (that I remember reading/replying months ago).

viewtopic.php?f=3&t=15110

site:forum.primefaces.org netbeans
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

maxtorzito
Posts: 96
Joined: 19 Jan 2011, 17:00

07 Apr 2012, 05:50

When select a primefaces component in navigator bar, can be useful to show the properties of the component in a palette and you can change (the properties of the component).

Like java swing with the visual designer in Netbeans.

Primefaces 5.0
Primefaces Extensions 1.2.1
Omnifaces 1.8.1
JDK 1.7.0_25
MyFaces 2.1.15
Ubuntu
Apache TomEE 1.7.0 JAX-RS

maxtorzito
Posts: 96
Joined: 19 Jan 2011, 17:00

07 Apr 2012, 05:51

And of course support for Primefaces 3.3 !!!!

Primefaces 5.0
Primefaces Extensions 1.2.1
Omnifaces 1.8.1
JDK 1.7.0_25
MyFaces 2.1.15
Ubuntu
Apache TomEE 1.7.0 JAX-RS

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

07 Apr 2012, 05:54

maxtorzito wrote:And of course support for Primefaces 3.3 !!!!
True/agreed! Ask NetBeans to 'bundle' the latest version of PrimeFaces instead of 2.2, 3.0, 3.1.x, ...

AND bundle PrimeFaces Mobile, too. :)
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

fenoloco
Posts: 53
Joined: 23 Aug 2011, 23:25
Location: Uruguay
Contact:

07 Apr 2012, 06:20

lazaronixon wrote:Would be great if netbeans offer support for autocomplete for ListDataModel.

if you use
<p:dataTable var="lstnxfornecedor" value="#{_104MB.nxfornecedorDM}" selectionMode="single" rowKey="#{lstnxfornecedor.idpessoa}">
<h:outputText value="#{lstnxfornecedor.??????}" />

autocomplete don't will list of entity attributes.
+1

And maybe its possible to add some support for update attribute.

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

07 Apr 2012, 06:46

fenoloco wrote:And maybe its possible to add some support for update attribute.
+1 Like!!!

1. Add Dialog in xhtml editor that would 'list' (and allow NetBeans user to 'select' from) ALL 'valid' component IDs to add to PrimeFaces component's update="...", and would also list ALL alternatives allowed by jQuery Selector (see blog below).

jQuery Selector API meets JSF

2. In xhtml editor, validate update="..." for all components

3. Add dialog that will allow NetBeans enduser to populate the following:
a. p:ajax event="..." AND listener="..."
b. AJAX components actionListener="..." and action="...", which could read from project's list of navigation cases, or alternatively, bean methods defined in the project

4. Somehow make it easier and more intuitive to download latest source/release from PrimeFaces via Maven. Don't mind being honest here, I have not learned how to use Maven yet, and it would be nice to use Maven option to get latest version/build/source of PrimeFaces. I tried once or twice, but didn't get anywhere, so it would be nice if NetBeans would make it easier, maybe adding PrimeFaces by default, as a maven project.

The list could go on and on and on...
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

09 Apr 2012, 09:04

I like the idea of update/process completion, so we can hit ctrl+space when editing update attribute and netbeans brings a popup with available component ids including naming container support like :form:xx, would be awesome.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

09 Apr 2012, 09:04

True/agreed! Ask NetBeans to 'bundle' the latest version of PrimeFaces instead of 2.2, 3.0, 3.1.x, ...
As far as I know, NetBeans team added a utility to update PF version in NetBeans, it comes with a UI as well ;)

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

09 Apr 2012, 09:06

. Also, NetBeans feature (Generate JSF web app from database entity classes), it would be nice for them to use PrimeFaces dataTable instead of h:dataTable, and PrimeFaces commandLinks, etc...
Currently you can change templates using customize template link in generate dialog, we usually change h to p during development. It should be in velocity format.

jorgwel
Posts: 15
Joined: 21 Feb 2011, 21:16

10 Apr 2012, 16:48

Visual Editor +1000

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 23 guests