[ 
https://issues.apache.org/jira/browse/TRINIDAD-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898323#action_12898323
 ] 

Matt Cooper commented on TRINIDAD-1834:
---------------------------------------

If the issue is that the prompt facet is still visible and possible to click 
when the showDetail is undisclosed then perhaps the fix needs to be 
specifically for the UIXShowDetail's prompt facet--no other facets or children.

> tr:showDetail prompt facet doesn't fire ActionEvents if it's closed
> -------------------------------------------------------------------
>
>                 Key: TRINIDAD-1834
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1834
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.2.13-core 
>         Environment: mojarra 1.2_10, facelets 1.1.14, ext-val 1.2.3
>            Reporter: Markus Dreher
>         Attachments: patch.patch
>
>
> when I use a tr:commandLink in tr:showDetail prompt facet, the actionListener 
> is only invoke when the component is disclosed.
> <tr:showDetail id="sdWeitereVornamen" styleClass="showDetailInput">
>       <f:facet name="prompt">
>           <tr:commandLink 
> actionListener="#{einwohnerDetailsController.namensaenderung}" 
> id="namensaenderungLink">
>                     <tr:image inlineStyle="width: 16px; height: 16px;" 
> source=" /images/bearbeiten.png" />
>           </tr:commandLink>
>       </f:facet>  
> ...
> </tr:showDetail>
> The actionlistener should also be invoked if it's closed. the same applies to 
> input components and validators.
> In processDecodes, (processUpdates, processValidators) in UIXShowDetail class
> , facets and children will only be processed, if the components is disclosed. 
> But facets should be processed in closed and disclosed state.

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

Reply via email to