s:link and s:button action problem with ui:include
--------------------------------------------------
Key: JBSEAM-3912
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3912
Project: Seam
Issue Type: Bug
Components: JSF Integration
Affects Versions: 2.1.1.GA
Reporter: Jarek Gilewski
Priority: Blocker
Hi,
I have something like this in my xhtml page:
<ui:include src="layout/remove.xhtml">
<ui:param name="entityHome" value="#{componentHome}" />
</ui:include>
In remove.xhtml I have:
...
<s:link value="#{messages['yes']}"
action="#{entityHome.remove}" />
<h:form>
<h:commandLink value="#{messages['yes']}"
action="#{entityHome.remove}" /
</h:form>
...
The link from s:link looks like:
http://localhost:8080/myapp/ComponentView.seam?componentId=1018&actio...
and from h:commandLink
http://localhost:8080/myapp/ComponentView.seam?componentId=1018&actio...
In the s:link there is entityHome.remove instead of componentHome.remove and the link does
not work. If i change the link manually it is ok.
h:commandLink works ok.
--
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