cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vasyl Stashuk <vas...@acm.org>
Subject Re: wd:output and wd:selection-list
Date Wed, 03 Mar 2004 12:51:39 GMT
That's exactly what i will do.

Many thanks for irrefragable answer,
vasyas.

Jan Hoskens wrote:

>Change the woody-field-styling XSLT sheet: find the wi:field stuff and add
>your styling.
>
>Or just add a <wi:styling readonly="true"/>, that will set the input field
>on readonly.
>
>If your value comes from data, you can also set a javascript in your binding
>file:
><wb:javascript id="state" path="pathToStateAttr"direction="load">
>    <wb:load-form>
>        if (jxpathPointer.getValue() == "1")
>        {
>            widget.setValue="Finished";
>        }
>    </wb:load-form>
></wb:javascript>
>
>
>Kind Regards,
>Jan
>
>
>----- Original Message ----- 
>From: "Vasyl Stashuk" <vasyas@acm.org>
>To: <users@cocoon.apache.org>
>Sent: Wednesday, March 03, 2004 1:23 PM
>Subject: Re: wd:output and wd:selection-list
>
>
>  
>
>>But what do i do if i just want to show user some string based on value?
>>
>>wbr,
>>vasyas
>>
>>Jan Hoskens wrote:
>>
>>    
>>
>>>You're using an output widget, that just writes text, you need the
>>>"wd:field" widget to be able to use the selection list.
>>>
>>>Kind Regards,
>>>Jan
>>>
>>>----- Original Message ----- 
>>>From: "Vasyl Stashuk" <vasyas@acm.org>
>>>To: <users@cocoon.apache.org>
>>>Sent: Wednesday, March 03, 2004 12:51 PM
>>>Subject: wd:output and wd:selection-list
>>>
>>>
>>>
>>>      
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>>For additional commands, e-mail: users-help@cocoon.apache.org
>>>
>>>
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message