I am trying to put a prototype to give our users/admistrators complete control
over the navigation of the pages in our application. Our initial architecture
called for a uber-controller (with a custom PDL) that will do the navigation
control, but since seam supports jPDL we want to use it.
I am having little success in dynamically loading the Pageflow defenitions. I
am currently using a APPLICATION scope component to retrive the jbpm context
and set its pageflow.
@Name("navcontroller")
@Scope(ScopeType.APPLICATION)
public class NavigationSelector {
@In(create=true, value="org.jboss.seam.core.jbpm")
private Jbpm jbpm;
:::::::
public String applyNavigation() {
jbpm.setPageflowDefinitions(new String[]{currentChoice});
return null;
}
}
Then i redirect it to a page which would create my pageflow component and take
control from there.
Is it possible to this in seam, if yes, where am I going worng?
Thanks in advance,
Raghu.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931701#3931701
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931701
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user