Re: patForms attribute format

Philipp Stucki <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <[email protected]>
qMax wrote:
> PS> Could you please provide an example of what you actually try to do? I
> PS> don't really get what you mean.
> 
> i'm trying to implement forms with file uploads,
> it uses attribute 'mimetype' to specify allowed mime types to upload.
> this attribute is of format 'array' which is not supported.
> IIRC, attribute formats aren't handled at all.

We use SimpleRenderer to create the form object, so it's basically up to
patForms to parse attributes correctly.

Would you mind pasting some code because I couldn't find any docs about
how defining arrays in attributes should look like.

philipp


-- 
philipp stucki . bitflux GmbH . schoeneggstrasse 5 . CH-8004 zurich
[email protected]  .  phone +41 1 240 56 70 .  fax +41 1 240 56 71
http://www.bitflux.ch
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.