[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3912) s:link and s:button action problem with ui:include

Jarek Gilewski (JIRA) jira-events at lists.jboss.org
Mon Jan 26 03:08:44 EST 2009


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&actionMethod=ComponentView.xhtml%3AentityHome.remove&cid=16

and from h:commandLink

http://localhost:8080/myapp/ComponentView.seam?componentId=1018&actionOutcome=componentHome.remove&cid=14#

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

        



More information about the seam-issues mailing list