myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-1197) Docs for ifMessage component
Date Mon, 03 Apr 2006 22:45:00 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-1197?page=comments#action_12373032 ] 

Adam Winer commented on MYFACES-1197:
-------------------------------------

Mike Y: that is a tough problem:  you don't have the current UIComponent to find from - which
is unfortunate.  If the target UIComponent had a "binding" associated, then life would be
simple:

   <h:inputText binding="#{bean.someComponent}"/>
  <h:outputText rendered="#{myFaces.messagePresent[bean.someComponent]}"/>

Mike K.: it would be a very good thing for MyFaces to have a single VariableResolver that
installs a custom "myFaces" object (and only that) - and with that done, no, there really
wouldn't be much in the way of interactions with other resolvers to worry about, or any safety
issues. Then, *within* that object, you could have any sort of map-property-as-function objects,
etc., and add other things that really belong in the EL instead of as components (a list of
SelectItems for countries comes to mind).

> Docs for ifMessage component
> ----------------------------
>
>          Key: MYFACES-1197
>          URL: http://issues.apache.org/jira/browse/MYFACES-1197
>      Project: MyFaces Core
>         Type: Improvement

>   Components: General
>     Versions: 1.1.2-SNAPSHOT
>     Reporter: Mike Youngstrom
>  Attachments: ifMessageDocs.patch
>
> Here is a patch with docs for the ifMessage component I donated.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message