This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSF and the fly likes Primefaces Collector Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Primefaces Collector" Watch "Primefaces Collector" New topic
Author

Primefaces Collector

Marco Noronha
Ranch Hand

Joined: Oct 30, 2012
Posts: 50
Guys,
I´m trying to use the collector as a 'master detail' component for my app...
I mean, I have an autocomplete with dropdown (or a select one menu) and
I wanted to use it to show details of the selected entity...

It works fine as in the show case. But I want it to be on a reguler insert-edit form.
And because the other fields have validations, I need the immediate=true on the 'Add'
button, to skip those validations....

BUT ! The component doesn´t work when immediate is true!! So I need to put them on separate forms...
And that makes the form look very very very ugly. (Actually, all my forms are ugly with primefaces, unless they are exact panelGrid with 2 columns).

So, any body has any ideas what I can do to bypass this and still use the Collector ?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Primefaces Collector