Hi all,
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>
I tracked this down to
UIXShowDetail class
public void processDecodes(FacesContext context)
{
// If we're not disclosed, only process ourselves
if (!isDisclosed())
{
if (isRendered())
decode(context);
}
else
super.processDecodes(context);
}
Where neither facets nor children will be processed when component is not
disclosed, but the facets should. The samer happens with validators.
Is this intended behaviour or should I file a Bug?
Thanks,
Markus
Abonnieren Sie unseren Infobrief und erfahren Sie regelmäßig die neuesten
Nachrichten über unsere Lösungen, aktuellen Projekte und Entwicklungen. Melden
sie sich an mit diesem Link http://www.datenzentrale.de/Info-Brief
_______________________________________________________________________________
Datenzentrale Baden-Württemberg, Anstalt des öffentlichen Rechts
Krailenshaldenstr. 44, 70469 Stuttgart
Telefon (0711) 8108-20, Telefax (0711) 8108-21350
E-Mail [email protected], Internet www.datenzentrale.de
Vorstand: Karl Tramer (Vors.) und Harald Schätzle, Vorsitzender des
Verwaltungsrats: Gunter Czisch
USt-Id-Nr. DE147794223
_______________________________________________________________________________