You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Linden H van der (MI)" <H....@MI.unimaas.nl> on 2005/02/23 23:04:31 UTC

Best practice for conditionally displaying widgets?

Can anyone give ideas on the best practice for displaying/hiding widgets
based on some external condition?

I need to build an order form that needs extra widgets in the English
version and the selection list of another widget has more options in the
Dutch version.
Should I build two separate versions (one Dutch/one English) or can I
use one set of files (Bind, Def, Template) for both language versions? I
prefer one set, but can anyone shed some light on how to do that?

Thanks.

Bye, Helma

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


Re: Best practice for conditionally displaying widgets?

Posted by Joerg Heinicke <jo...@gmx.de>.
On 23.02.2005 23:04, Linden H van der (MI) wrote:

> Can anyone give ideas on the best practice for displaying/hiding widgets
> based on some external condition?
> 
> I need to build an order form that needs extra widgets in the English
> version and the selection list of another widget has more options in the
> Dutch version.
> Should I build two separate versions (one Dutch/one English) or can I
> use one set of files (Bind, Def, Template) for both language versions? I
> prefer one set, but can anyone shed some light on how to do that?

Again union/case/structs can help with "optional required".

Joerg


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


Re: Best practice for conditionally displaying widgets?

Posted by Adam Walsh <aw...@contal.net.au>.
Have you considered using JXTemplates to create your CForm files? I'm 
using that method and it seems to work well.

Adam

Linden H van der (MI) wrote:

>Can anyone give ideas on the best practice for displaying/hiding widgets
>based on some external condition?
>
>I need to build an order form that needs extra widgets in the English
>version and the selection list of another widget has more options in the
>Dutch version.
>Should I build two separate versions (one Dutch/one English) or can I
>use one set of files (Bind, Def, Template) for both language versions? I
>prefer one set, but can anyone shed some light on how to do that?
>
>Thanks.
>
>Bye, Helma
>
>---------------------------------------------------------------------
>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