[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1942) Add an "input" only flag to page params

Chris Rudd (JIRA) jira-events at lists.jboss.org
Thu Sep 20 15:04:11 EDT 2007


Add an "input" only flag to page params
---------------------------------------

                 Key: JBSEAM-1942
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1942
             Project: JBoss Seam
          Issue Type: Feature Request
          Components: Core
    Affects Versions: 2.0.0.CR1
            Reporter: Chris Rudd
            Priority: Minor


It would be nice if you could specify that a page parameter was not to be included in generated url.

There are circumstances where I only want the "inbound" functionaliry (setting a request param into a VB) and not the "outbound" functionality (automatically appending the parameter to an generated urls for the view).

The <in> functionality may be a better candadite, as its controlling inbound parameters, but currently it cannot be used to store a parameter value into a VB ( you can only put a  component retrieved from the sepcified context into a VB).


Ie.

If there is an id parameter specified on the url I want to place it into #{Editor.id}. However I do not want an id parameter automatically added for all links to the view.

Currently I "workarond" this by adding
<action execute="#{Editor.setId( param.id )}" if=#{param.id!=null}"/>

But it seems like thats abusing the action node

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