f:param is for HTTP . do you mean f:attribute ? Dennis Byrne
>-----Original Message----- >From: Martin Marinschek [mailto:[EMAIL PROTECTED] >Sent: Tuesday, February 21, 2006 02:26 AM >To: 'MyFaces Discussion' >Subject: Re: htmlTag and attributes > >maybe we can reuse f:param? > >f:param sets a value in the parent componentAttributesMap, right? > >regards, > >Martin > >On 2/21/06, Claudio Tasso <[EMAIL PROTECTED]> wrote: >> Hmm, yes, I agree. >> For example, what do you think about this? >> >> <t:htmlTag value="a"> >> <t:htmlTagParam name="href" value="foo"/> >> </t:htmlTag> >> >> >> >> Martin Marinschek ha scritto: >> >> >Well, I don't like the string-notation at all. >> > >> >I'd like to use embedded param-tags for that. >> > >> >Any objection to this? >> > >> >regards, >> > >> >Martin >> > >> >On 2/20/06, Claudio Tasso <[EMAIL PROTECTED]> wrote: >> > >> > >> >>I've noticed that the t:htmlTag does not correctly handle attributes, >> >>but it just permits using bare elements. >> >>For example, if you write: >> >> >> >><t:htmlTag value="a href='foo'"/> >> >> >> >>then the result is: >> >> >> >><a href='foo'></a href='foo'> >> >> >> >>which is quite ugly (and incorrect). >> >>Don't you think that a better attribute handling is needed? >> >>For example, I think that considering the strings following the first >> >>one being attributes should be correct. >> >> >> >>I could look at the implementation and provide a patch, if you like. >> >> >> >> >> >> >> > > >-- > >http://www.irian.at > >Your JSF powerhouse - >JSF Consulting, Development and >Courses in English and German > >Professional Support for Apache MyFaces >

