Hi,
The x:datatable component uses a phase listener
(HtmlDataTablePhaseListener) for validation issues. I don't know why
this is necessary but it causes problems when a aliased bean (through
aliasbean component) is used in a nested datatable.
Due to the implementation of the aliasbean component t
Yes, I (the author of this class ;-) know that this phase listener is
absolutely necessary for the extended data table to work properly.
This listeners purpose is to make sure that the refresh method for
each extended HtmlDataTable in the component tree is called right
before the render phase begin
Hi Manfred,
> There is no way to make this sure other than by means of this phase
> listener, because the render phase can be initiated by different
> incidents (see Lifecycle).
Is it not possible to use the HtmlDataTable.encodeBegin(FacesContext) in the
HtmlDataTable implementation? As far as I
These things where done in the encodeBegin method in the past. And
that always caused troubles. Hmm, I do not know the exact answer by
now. Has something to do with "isRendered" and "isRenderedIfEmpty" and
caching backing beans and so on - sorry, it was long ago ;-) . What I
know for sure: It cost
Hi,
Is there any JIRA issue which reported the bug You have solved? That
would help a little bit to find the cause.
> What is the exact problem with the alias bean? You said it was not
> there during the processing of the phase listener. Do you get an
> exception because of that?
Yes a NPE becau
I'm not 100% sure I fully understand how this works for the HtmlDataTable, but if I'm right, the only solution would be to also have a phaseListener for the alias bean.
This would still raise some other problems :
1) A performance issue
2) I'm not sure we could set/remove the aliases in a re
: Broekelmann, Mathias;
[EMAIL PROTECTED]; Manfred GeilerSubject: Re:
Why HtmlDataTablePhaseListener?I'm not 100% sure I fully
understand how this works for the HtmlDataTable, but if I'm right, the only
solution would be to also have a phaseListener for the alias bean.This
would still
thias
-Original Message-
From: Sylvain Vieujot [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 02, 2005 5:54 AM
To: MyFaces Development
Cc: Broekelmann, Mathias; [EMAIL PROTECTED]; Manfred Geiler
Subject: Re