Is it ever possible to implement cascading actions to the brand new PrettyFaces?
What I mean is, if we have a fine-grained system with each bean responsible for some specific aspect of page rendering, we would end up with something like this, if we, for instance have to manage an Accountant Client working for different companies:
ClientBean – holds brief client details;
RegistrationBean – holds registration data (i.e. Client may be registered with Company A and Company ;
AccountBean – holds client account details in context of selected Registration.
In order to render the Account page properly, we have to initialise all three beans with a separate action method call. It is not possible in PF3, any chances this is covered in PF4?
using multiple page actions is possible with PrettyFaces 3. Just add multiple <action> elements to your XML configuration. Or, if you are using annotations, add an @URLAction to the other bean and reference the mapping with the mappingId attribute.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Comments are closed.
Do you play Magic?
Get TopDecked MTG, the essential all-in-one Magic App, built by players, for players. Free to use, forever.
Deck Simulator (3d)
Cards & Prices
Top 8 Decks & Metagame
Get updates from OCPSoft
If you find our tools useful, please consider making a donation to help us stay online and building software!