[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-326) Dynamic view-id in Pageflow

Alexander Koroloff (JIRA) jira-events at lists.jboss.org
Wed Oct 24 05:07:06 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-326?page=comments#action_12384064 ] 
            
Alexander Koroloff commented on JBSEAM-326:
-------------------------------------------

We have done it much simplier, by one line. See attached jbseam-326.diff

> 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: 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