You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Guido Dubois (JIRA)" <de...@myfaces.apache.org> on 2007/02/06 03:59:05 UTC

[jira] Created: (TOBAGO-269) set attribute rendered from tag with initParam in facelets

set attribute rendered from <ui:debug> tag with initParam in facelets
---------------------------------------------------------------------

                 Key: TOBAGO-269
                 URL: https://issues.apache.org/jira/browse/TOBAGO-269
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Facelets
    Affects Versions: 1.0.9
         Environment: winxp prof, tomcat 5.5.20, myfaces 1.1.4, facelets 1.1.11, tobago 1.0.9 - same error in tobago 1.0.10 snap (05.02.2007 4:59)
            Reporter: Guido Dubois


I want to set the rendered attribute of the <ui:debug> tag with an initParam from the web.xml file

  <context-param>
    <param-name>debugMode</param-name>
    <param-value>false</param-value>
  </context-param>

---

  <ui:debug hotkey="m" rendered="#{initParam['debugMode']}" />

This doesn't work. The tag is allways rendered. If I replace the EL expression to "false" than it is not rendered.


The tag <tc:out escape="false" value="...#{initParam['debugMode']}..." /> reflects "...false...". So the EL expression is correct and will be found

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TOBAGO-269) set attribute rendered from tag with initParam in facelets

Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474382 ] 

Guido Dubois commented on TOBAGO-269:
-------------------------------------

Hi Volker,

if you are wondering about it, perhaps it is really a facelets problem. <ui:debug> comes with the facelets taglib. I will have a look there and if I found nothing about it, I will post there.

Thanks...

> set attribute rendered from <ui:debug> tag with initParam in facelets
> ---------------------------------------------------------------------
>
>                 Key: TOBAGO-269
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-269
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Facelets
>    Affects Versions: 1.0.9
>         Environment: winxp prof, tomcat 5.5.20, myfaces 1.1.4, facelets 1.1.11, tobago 1.0.9 - same error in tobago 1.0.10 snap (05.02.2007 4:59)
>            Reporter: Guido Dubois
>
> I want to set the rendered attribute of the <ui:debug> tag with an initParam from the web.xml file
>   <context-param>
>     <param-name>debugMode</param-name>
>     <param-value>false</param-value>
>   </context-param>
> ---
>   <ui:debug hotkey="m" rendered="#{initParam['debugMode']}" />
> This doesn't work. The tag is allways rendered. If I replace the EL expression to "false" than it is not rendered.
> The tag <tc:out escape="false" value="...#{initParam['debugMode']}..." /> reflects "...false...". So the EL expression is correct and will be found

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TOBAGO-269) set attribute rendered from tag with initParam in facelets

Posted by "Volker Weber (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474043 ] 

Volker Weber commented on TOBAGO-269:
-------------------------------------

Hi Guido,

i don't kow anything about ui:dibug, did you think this is a tobago problem?

> set attribute rendered from <ui:debug> tag with initParam in facelets
> ---------------------------------------------------------------------
>
>                 Key: TOBAGO-269
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-269
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Facelets
>    Affects Versions: 1.0.9
>         Environment: winxp prof, tomcat 5.5.20, myfaces 1.1.4, facelets 1.1.11, tobago 1.0.9 - same error in tobago 1.0.10 snap (05.02.2007 4:59)
>            Reporter: Guido Dubois
>
> I want to set the rendered attribute of the <ui:debug> tag with an initParam from the web.xml file
>   <context-param>
>     <param-name>debugMode</param-name>
>     <param-value>false</param-value>
>   </context-param>
> ---
>   <ui:debug hotkey="m" rendered="#{initParam['debugMode']}" />
> This doesn't work. The tag is allways rendered. If I replace the EL expression to "false" than it is not rendered.
> The tag <tc:out escape="false" value="...#{initParam['debugMode']}..." /> reflects "...false...". So the EL expression is correct and will be found

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.