You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Saravanan Gopalan (HCL Capital Market Services)" <Sa...@hcl.in> on 2006/03/13 17:44:26 UTC

[WEBSITE] 2.1/userdocs/widgetconcepts/widgetstates.html

Hi

 

I am working in cocoon.

 

I need to disable the radiobutton. 

 

For that I am giving the widget state = "disable". Even then it is not working. This code I got from your website. It is not working.

 

It is not working. 

 

I am using the following code in Model.xml

 

--------------------------------------------------------------

 

<fd:field id="documentsAtDecisionTime" state="disabled" required="false">

      <fd:label ><i18n:text>hbfbfen0010.documentsAtDecisionTime</i18n:text></fd:label>

      <fd:selection-list>

            <fd:item value="0"><fd:label></fd:label></fd:item>

            <fd:item value="1"><fd:label></fd:label></fd:item>

      </fd:selection-list>

      <fd:datatype base="string" />

      </fd:field>

 

-----------------------------------------------------------

 

 

And, I am using the following code in Template.jx

 

 

----------------------------------------------------------------------------------------------

 

<ft:widget id="documentsAtDecisionTime">

<fi:styling list-type="radio" list-orientation="horizontal" class="e2text" tabindex="2"/>

</ft:widget>

 

----------------------------------------------------------------------------------------------

 

Could you please let me know what we have to do to get this result.

 

I am awaiting for your reply

 

 

 

------------------------------------------

P.G.Saravanan
HeatWave
HCL Capital Market Services
The Senate
#33A Ulsoor Road,
Bangalore- 560 042
Mobile- +91 98862 87241

------------------------------------------

 


Disclaimer:
*********** 

The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of HCL Capital Market Services and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of HCL Capital Market Services.

This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and HCL Capital Market Services is not responsible for any loss or damage arising in any way from its use.