Accessing controls?

UI Components for JSF
Post Reply
mark01
Posts: 6
Joined: 14 Oct 2010, 13:11

15 Oct 2010, 13:19

hi everyone I have question regarding how to access primefaces control from managed bean. For html controls I just write :
private javax.faces.component.html.HtmlCommandButton and then access control from managed bean but I'm not sure what I have to include for primefaces control???
Thanks

callahan
Posts: 768
Joined: 27 May 2010, 22:52

15 Oct 2010, 13:37

Hi,

The equivalent in PrimeFaces would be org.primefaces.component.commandbutton.CommandButton
Currently, the best way to find out what class to import is by looking at the source code.
The current and previous versions can be found here http://repository.prime.com.tr/org/prim ... rimefaces/

mark01
Posts: 6
Joined: 14 Oct 2010, 13:11

15 Oct 2010, 14:23

Hi callahan,
thanks very much for your response I found it.
Thanks

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 33 guests