pageBeginRender() is called for all components in a page that implement PageRenderListener,
except those enclosed in a Block component.
However, this is invoked before any properties are set by the framework.
You can access those properties from within
prepareForRender( IRequestCycle cycle )
Phil Ulrich wrote:
Disclaimer: I'm using Tap 3.0.3. It's possible this is fixed in Tap4
but I don't have the authority to make that upgrade in my work
environment, so 3 it is. Anyway, on to the question.
I have a component into which I am passing two parameters, source and
columns. (Yes, it wraps a Table.) The parameters are stuck into two
properties, incomingSource and incomingColumns. The following code
works:
<ul>
<li><span jwcid="@Insert" value="ognl:incomingSource" /></li>
<li><span jwcid="@Insert" value="ognl:incomingColumns" /></li>
</ul>
However, if I even attempt to call either getIncomingSource() or
getIncomingColumns() during any point of pageBeginRender(), then all I
get is a null.
What's going on here? Why aren't the parameters to the component set
by the time pageBeginRender() starts? This seems like a serious
flaw...
Thanks,
Phil
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]