You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Paul Joseph <pj...@gmail.com> on 2008/10/13 14:05:55 UTC
not able to get fi:styling type="hidden" to work
Hi There,
I have a repeater widget that has a number of datawidgets and it works
fine, displaying nicely in a html table
I am now trying to add a hidden widget to each row, to contain an
integer value that lets me determine what flag color to flag each row with.
It works fine, except I can't get it to be hidden--it insists on showing
up--I have tried placing it at the beginnig of the table, the end of the
table etc...it seems to make no difference.
Any idea what I am doing wrong? The widget is defined as follows:
In FormDefinition file:
<fd:booleanfield id="is_late" >
<fd:label></fd:label>
</fd:booleanfield>
In Template file:
<td id="flag_color"><ft:widget
id="flag_color"><fi:styling type="hidden"/></ft:widget></td>
(note: thinking that my error above was perhaps to give the td an id, I
also tried it without an id, but it made no difference...)
I am using Cocoon 1.8--the customer has had it in production for 3 years
and does not need to upgrade...
thx
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: not able to get fi:styling type="hidden" to work
Posted by asif_zzz <aa...@hotmail.com>.
Hi,
Try switching between the widget States in action events using fd:javascript
in definition file
Check this url:
http://cocoon.apache.org/2.1/userdocs/widgetconcepts/widgetstates.html
Regards,
Aashik
--
View this message in context: http://www.nabble.com/not-able-to-get-fi%3Astyling-type%3D%22hidden%22-to-work-tp19953643p20044543.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: not able to get fi:styling type="hidden" to work
Posted by Paul Joseph <pj...@gmail.com>.
Oops! Correction:
>>I am using Cocoon 1.8--the customer has had it in production for 3
years and does not need to upgrade...
I am using Cocoon 2.1.6 not 1.8 (!)
Paul Joseph wrote:
> Hi There,
>
> I have a repeater widget that has a number of datawidgets and it works
> fine, displaying nicely in a html table
>
> I am now trying to add a hidden widget to each row, to contain an
> integer value that lets me determine what flag color to flag each row
> with.
>
> It works fine, except I can't get it to be hidden--it insists on
> showing up--I have tried placing it at the beginnig of the table, the
> end of the table etc...it seems to make no difference.
>
> Any idea what I am doing wrong? The widget is defined as follows:
>
> In FormDefinition file:
>
> <fd:booleanfield id="is_late" >
> <fd:label></fd:label>
> </fd:booleanfield>
>
> In Template file:
> <td id="flag_color"><ft:widget
> id="flag_color"><fi:styling type="hidden"/></ft:widget></td>
>
> (note: thinking that my error above was perhaps to give the td an id,
> I also tried it without an id, but it made no difference...)
>
> I am using Cocoon 1.8--the customer has had it in production for 3
> years and does not need to upgrade...
>
> thx
> Paul
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org