Re: Attribute-Select

Christian Adolphi | meditix GmbH <[email protected]> Fri, 12 Mar 2010 10:35:27 +0100
Newsgroups gmane.comp.cms.zms.devel
Organization meditix GmbH
Message-ID <[email protected]>
Hello ZMS-Developers,

I fixed it with some dirty mixture of DTML and jQuery-based javascript 
in an interface attribute.

Are there some other suggestions?

Thank you very much.

Christian Adolphi



Am 12.03.10 09:33, schrieb Christian Adolphi | meditix GmbH:
> Hello ZMS-Developers,
>
> I need an attribute inside a custom object, that uses a select input,
> which is dynamically filled with a method. I tried it with DTML, but I
> got this error:
>
>       ...
>       __traceback_info__: getObjInput
>       * Module<string>, line 0, in ?
>       * Module Products.zms._objattrs, line 541, in getObjInput
>       * Module Products.zms._objattrs, line 481, in getObjAttrInput
>       * Module Products.zms._objattrs, line 305, in getObjOptions
>       IndexError: string index out of range
>
> It has to do with the search of the display strings for the select
> options and the language keys "OPT_*", I think.
>
> Any suggestions?
>
> Thank you very much.
>
> Christian Adolphi


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

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/zms-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/zms-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/