Well...
Getting deeper in the problem, I've seen that the problem is in the ajax
return, for it does not change the content of the box (or panel). I
guess it is something related with the value passed as tc:attribute
value. I've seen in a few tutorials and codes around, that addressing
nested containers, you should use a long value, full of ":", but I
couldn't understand that part...
Can someone help me with that???
Fernando Augusto escreveu:
Hello,
I´ve seen that the AJAX part works and the value changes, but the
tx:date keeps hidden even with the right value... Any other newbie
mistake in the code?
Regards,
Fernando Augusto
Helmut Swaczinna escreveu:
I think, yes, this should work too.
Helmut
Am 19.03.2010 15:58, schrieb ferna...@osmanager.com.br:
Helmut,
Can I do it with the tc:box they are inside?
Regards,
Fernando Augusto
Hi Fernando,
add a command tag to the selectOneChoice and enclose the
selectOneChoice
and
date within a panel:
<tc:panel id="panel">
<tx:selectOneChoice ...
<f:facet name="change">
<tc:command>
<tc:attribute name="renderedPartially"
value="panel"/>
</tc:command>
</f:facet>
</tx:selectOneChoice>
<tx:date ...
</tc:panel>
Now the panel gets reloaded by Ajax, when the selection changes.
Regards
Helmut