[
http://jira.jboss.com/jira/browse/JBSEAM-326?page=all ]
John Conner updated JBSEAM-326:
-------------------------------
Attachment: pageflow-dynamic-view-id
Cleaned up the patch a tad - removed un-needed code and put a check in place to only
interpolate if #{ is present.
Dynamic view-id in Pageflow
---------------------------
Key: JBSEAM-326
URL:
http://jira.jboss.com/jira/browse/JBSEAM-326
Project: JBoss Seam
Issue Type: Feature Request
Components: BPM
Affects Versions: 1.1
Environment: seam cvs as of 8/2/2006
Reporter: John Conner
Attachments: pageflow-dynamic-view-id, pageflow-dynamic-view-id
I have a need where I would like to have an el expression in the view-id of a pageflow.
I've looked a bit at themes; and while I might be able to do what I want by replacing
the template.xhtml dynamically, I don't (at least initial) like indirection.
I believe the patch for this functionality is reletively trivial. Altough, I very well
could have missed something. Basically, I modified the Page.getViewId() method to
evaulate the value returned and replace any el expressions.
I also modified the Number Guess example to use this feature.
I have attached an initial patch as a proof of concept if it is of any interest to the
Seam developers.
-- JC
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira