You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Ertio Lew (JIRA)" <de...@myfaces.apache.org> on 2012/08/23 13:25:41 UTC
[jira] [Created] (MYFACES-3595) ui:param doesn't work with page
containing ui:insert
Ertio Lew created MYFACES-3595:
----------------------------------
Summary: ui:param doesn't work with page containing ui:insert
Key: MYFACES-3595
URL: https://issues.apache.org/jira/browse/MYFACES-3595
Project: MyFaces Core
Issue Type: Bug
Affects Versions: 2.1.8
Environment: Myfaces 2.1.8 with Glassfish 3.1.1
Reporter: Ertio Lew
Priority: Critical
I tried the following page :
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
</h:head>
<h:body >
<ui:insert name="heading">Test<br/></ui:insert>
<h:panelGroup>
<ui:param name="x1" value="6345675678/" /><!--http://stackoverflow.com/questions/6878275/how-get-the-base-url/6878393#6878393-->
value:- #{x1}
</h:panelGroup>
</h:body>
</html>
but the ui:param does not work until the ui:insert tags are removed from this page.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MYFACES-3595) ui:param doesn't work with page
containing ui:insert
Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-3595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13440549#comment-13440549 ]
Mike Kienenberger commented on MYFACES-3595:
--------------------------------------------
Don't feel bad. I didn't know this and had marked your issue as something to investigate later, since I have similar problems since upgrading to JSF 2.
I wonder if we shouldn't perhaps make this information more prominent -- like putting it into the docs for ui:param.
> ui:param doesn't work with page containing ui:insert
> -----------------------------------------------------
>
> Key: MYFACES-3595
> URL: https://issues.apache.org/jira/browse/MYFACES-3595
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.1.8
> Environment: Myfaces 2.1.8 with Glassfish 3.1.1
> Reporter: Ertio Lew
> Priority: Critical
>
> I tried the following page :
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:ui="http://java.sun.com/jsf/facelets">
> <h:head>
> </h:head>
> <h:body >
> <ui:insert name="heading">Test<br/></ui:insert>
> <h:panelGroup>
> <ui:param name="x1" value="6345675678/" /><!--http://stackoverflow.com/questions/6878275/how-get-the-base-url/6878393#6878393-->
> value:- #{x1}
> </h:panelGroup>
> </h:body>
> </html>
> but the ui:param does not work until the ui:insert tags are removed from this page.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MYFACES-3595) ui:param doesn't work with page
containing ui:insert
Posted by "Ertio Lew (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-3595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13440536#comment-13440536 ]
Ertio Lew commented on MYFACES-3595:
------------------------------------
Oh ok ..since Mojarra allowed me this, I thought it was a bug here. Sorry for the trouble.
> ui:param doesn't work with page containing ui:insert
> -----------------------------------------------------
>
> Key: MYFACES-3595
> URL: https://issues.apache.org/jira/browse/MYFACES-3595
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.1.8
> Environment: Myfaces 2.1.8 with Glassfish 3.1.1
> Reporter: Ertio Lew
> Priority: Critical
>
> I tried the following page :
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:ui="http://java.sun.com/jsf/facelets">
> <h:head>
> </h:head>
> <h:body >
> <ui:insert name="heading">Test<br/></ui:insert>
> <h:panelGroup>
> <ui:param name="x1" value="6345675678/" /><!--http://stackoverflow.com/questions/6878275/how-get-the-base-url/6878393#6878393-->
> value:- #{x1}
> </h:panelGroup>
> </h:body>
> </html>
> but the ui:param does not work until the ui:insert tags are removed from this page.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira