myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson (JIRA)" <>
Subject [jira] Commented: (TRINIDAD-1834) tr:showDetail prompt facet doesn't fire ActionEvents if it's closed
Date Fri, 13 Aug 2010 23:12:17 GMT


Andrew Robinson commented on TRINIDAD-1834:

This patch would also break visit tree code as it is important that the non-visible children
of show detail are not processed as part of the lifecycle. We will probably need to implement
a fix where, when not disclosed, only the visible facets are manually processed. This includes
all life cycle methods and tree visiting, not just decoding.

> tr:showDetail prompt facet doesn't fire ActionEvents if it's closed
> -------------------------------------------------------------------
>                 Key: TRINIDAD-1834
>                 URL:
>             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}"
>                     <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.

View raw message