[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-326) Dynamic view-id in Pageflow
John Conner (JIRA)
jira-events at lists.jboss.org
Wed Oct 24 08:47:22 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-326?page=comments#action_12384098 ]
John Conner commented on JBSEAM-326:
------------------------------------
Alexandar,
Does your patch work with the following:
view-id="#{numberGuess.directory}/lose.jsp"
I haven't looked at this in a while, so it very well does. I remember trying to not have additional overhead in the Interpolator if there were not any el expressions. Anyway, your patch is much shorter code and I would be just as happy if that got applied assuming it works with the view-id example above.
> 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.0.BETA1
> Environment: seam cvs as of 8/2/2006
> Reporter: John Conner
> Assigned To: Pete Muir
> Fix For: 2.0.1.GA
>
> Attachments: jbseam-326.diff, 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
More information about the seam-issues
mailing list