[
https://jira.jboss.org/jira/browse/JBSEAM-2310?page=com.atlassian.jira.pl...
]
Gonzalez Adrian commented on JBSEAM-2310:
-----------------------------------------
Hello,
Just attached a patch for s:button, s:link page parameter propagation control against the
trunk.
This is my first patch to seam, so if something wrong just tell me, I'll try to figure
some time to correct it.
Also adds the same control to pages.xml's redirect element.
Here's comprehensive sample for s:button / s:link :
<s:link value="PagePropagation" pageParameterPropagation="true"
view="/views/country/edit_country.jspx"/>
<s:link value="DefaultPagePropagation"
view="/views/country/edit_country.jspx"/>
<s:link value="NoPagePropagation" pageParameterPropagation="false"
view="/views/country/edit_country.jspx"/>
<s:button value="PagePropagation" pageParameterPropagation="true"
view="/views/country/edit_country.jspx"/>
<s:button value="DefaultPagePropagation"
view="/views/country/edit_country.jspx"/>
<s:button value="NoPagePropagation"
pageParameterPropagation="false"
view="/views/country/edit_country.jspx"/>
Here's sample for pages.xml :
<redirect view-id="/views/country/edit_country.jspx"
page-parameter-propagation="false"/>
Thanks
Need an option to remove URL parameters from a URL
--------------------------------------------------
Key: JBSEAM-2310
URL:
https://jira.jboss.org/jira/browse/JBSEAM-2310
Project: Seam
Issue Type: Feature Request
Components: Core
Affects Versions: 1.2.1.GA
Environment: All environments
Reporter: Terry
Priority: Minor
Fix For: 2.1.1.CR1
Attachments: JBSEAM-2310-pageParameterPropagation.patch
When JSF page is loaded, seam goes through all the page links and instantiate seam
components referenced in those pages, it then adds url parameters (specified in page.xml
file) to those links.
Both of these features should be option: auto Instantiation of seam components referenced
in jsf pages and appending parameters to the link on jsf page.
I have menu with about 40 links to jsf pages: everytime my page refreshes all the seam
components in those 40+ pages get instantiated and all think get appened with parameters
specified in page.xml files.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira