You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Guy Bashan <gu...@gmail.com> on 2008/05/20 13:36:31 UTC
Hi,
This is probably a stupid question:
How can I pass parameters with <t:htmlTag>?
I tried using <f:param> and <f:attribute> but it seems like it doesn't work
.
Thanks,
Guy.
Re:
Posted by Tobias Kühne <to...@digide.net>.
> I want to add attributes to the tag. For example:
> <table width="100" cellspaing="0" cellpadding="0">
> </table>
In this case you should use the "styleClass" Attribute - or
<t:dataTable>. Depending on your project.
Tobias.
--
Tobias Kühne
IT Software GmbH & Data Security Elbe KG Tel.: +49 (391) 509609-55
Bahnhofstr. 18, D-39104 Magdeburg Fax : +49 (391) 509609-56
Geschäftsführer: Jens Henning Amtsgericht Stendal, HRA 22588
Re:
Posted by "simon.kitching@chello.at" <si...@chello.at>.
aargh...mixed posting style:
http://www.nabble.com/How-to-reply-to-emails-t3182877.html
The page that Tobias linked to says clearly:
<quote>
There is currently no facility for adding attributes to the generated
html tag other than those explicitly supported by the attributes on this
JSF component
</quote>
Feel free to provide a patch..
Regards,
Simon
Guy Bashan schrieb:
> Sorry, I was not explaining myself good.
> I want to add attributes to the tag. For example:
> <table width="100" cellspaing="0" cellpadding="0">
> </table>
>
> I couldn't find in the documentation a way of accomplishing that.
> Maybe I missed something? Maybe it deliberately supports only tags with no
> attributes?
>
> Thanks,
> Guy.
>
> -----Original Message-----
> From: Tobias Kühne [mailto:tobias.kuehne@digide.net]
> Sent: Tuesday, May 20, 2008 2:46 PM
> To: MyFaces Discussion
> Subject: Re: <t:htmlTag>
>
> Hi.
>
>
>> How can I pass parameters with <t:htmlTag>?
>>
>
> <t:htmlTag> has a "value"-Parameter:
>
> The name of the tag. For example, use h1 to generate an h1 tag.
>
> What about reading the Tag Library Documentation:
> http://myfaces.apache.org/tomahawk/tlddoc/t/htmlTag.html
>
>
> Tobias
>
>
RE:
Posted by Guy Bashan <gu...@gmail.com>.
Sorry, I was not explaining myself good.
I want to add attributes to the tag. For example:
<table width="100" cellspaing="0" cellpadding="0">
</table>
I couldn't find in the documentation a way of accomplishing that.
Maybe I missed something? Maybe it deliberately supports only tags with no
attributes?
Thanks,
Guy.
-----Original Message-----
From: Tobias Kühne [mailto:tobias.kuehne@digide.net]
Sent: Tuesday, May 20, 2008 2:46 PM
To: MyFaces Discussion
Subject: Re: <t:htmlTag>
Hi.
> How can I pass parameters with <t:htmlTag>?
<t:htmlTag> has a "value"-Parameter:
The name of the tag. For example, use h1 to generate an h1 tag.
What about reading the Tag Library Documentation:
http://myfaces.apache.org/tomahawk/tlddoc/t/htmlTag.html
Tobias
--
Tobias Kühne
IT Software GmbH & Data Security Elbe KG Tel.: +49 (391) 509609-55
Bahnhofstr. 18, D-39104 Magdeburg Fax : +49 (391) 509609-56
Geschäftsführer: Jens Henning Amtsgericht Stendal, HRA 22588
Re:
Posted by Tobias Kühne <to...@digide.net>.
Hi.
> How can I pass parameters with <t:htmlTag>?
<t:htmlTag> has a "value"-Parameter:
The name of the tag. For example, use h1 to generate an h1 tag.
What about reading the Tag Library Documentation:
http://myfaces.apache.org/tomahawk/tlddoc/t/htmlTag.html
Tobias
--
Tobias Kühne
IT Software GmbH & Data Security Elbe KG Tel.: +49 (391) 509609-55
Bahnhofstr. 18, D-39104 Magdeburg Fax : +49 (391) 509609-56
Geschäftsführer: Jens Henning Amtsgericht Stendal, HRA 22588