Dear Bruno,
Thanks for the info
In fact I'm looking for a solution to display a hidden field when some conditions are met.
By example, in my flowscript , I check some value then I discover an error.
At this moment I will change the widget "message" and return the form to the user with his data.
But the messagebox must appear only if the validation is ok.
I do not speek about simple validations . These are validation that I have to make with my back end system.
If you have any idea ..
Thx
Laurent
| Bruno Dumon <[EMAIL PROTECTED]>
27/04/2004 17:59
|
To: [EMAIL PROTECTED] cc: Subject: Re: Cocoon FlowScript + woody : change styling via _javascript_ |
On Tue, 2004-04-27 at 15:54, [EMAIL PROTECTED] wrote:
> Dear All,
>
> Is it possible to change the styling of a widget or better change a
> real property of the real input field via the Flowscript ?
No, because flowscript does simply not know about (nor has access to)
these things. Especially not to the "real input field", which isn't
modeled by an object model or something, but generated by an XSLT.
Do you have a need to change the styling of your widgets at runtime?
You might be able to do useful things by generating the form template
using the JXTemplateGenerator.
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
