[opencms-dev] XSD configuration - dependant items in editor

Christian Steinert christian_steinert at web.de
Fri Oct 9 09:14:02 CEST 2009


Roman Krejci wrote:
> Hi all,
>
> I have a small problem:
>
> I've got a structured document with some fields and one of them is select
> box field.
>
> And, in editor (in time of creating structured document called VISA) I need
> to distinguish between 2 values in that select box with some configuration
> (if it is possible).
>
> Dependant on the chosen value in select-box (i.e. 1st value in select box is
> "active"), I need to provide to the user some other special inputs (then for
> 2nd choice, i.e. 2nd choice in select box is "nonactive").
>
>  
>
> Example:
>
> In select-box there are 2 choices. The user will choose the 1st one and
> after that, there will be shown some special input like "dateFrom" input and
> "DateTo" input field.
>
> When user will choose 2nd choice in selectbox, then other inputs will be
> shown like "isInvisible" input.
>
>  
>
> Does anybody knows if this is possible ???
>
>   
AFAIK there is no feature that supports this out of the box.
You would have to roll your own Widgets - probably by extending the 
default implementation and write some javascript code as part of the 
implementation to wire up your fields to work with each other.


Kind regards
Christian




>  
>
> Thanks in advance.
>
> BR,
>
> Roman
>
>
>
>
>
> ----------------------------------------------------------------------------
> ----- 
>
> The contents of this communication, including any attachment(s), are
>
> confidential and may be privileged.  If you are not the intended recipient
> (or
>
> are not receiving this communication on behalf of the intended recipient),
>
> please notify the sender immediately and delete or destroy this
> communication
>
> without reading it, and making, forwarding or retaining any copy or record
> of it
>
> or its contents.  Thank you.
>
>   
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20091009/6715dfab/attachment.htm>


More information about the opencms-dev mailing list