File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSF
Bookmark "Primefaces Collector" Watch "Primefaces Collector" New topic

Primefaces Collector

Marco Noronha
Ranch Hand

Joined: Oct 30, 2012
Posts: 50
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 ?
I agree. Here's the link:
subject: Primefaces Collector
It's not a secret anymore!