You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Raghuveer <ra...@infotechsw.com> on 2006/05/05 16:28:15 UTC

RE: html:text attributes for nested tags


It is working like this for scalar properties but doesn't work for nested
tags

<html:text property="username" size="20" maxlength="20"
styleClass="inputtype" errorStyleClass="inputtypeerror"
errorStyle="background-color: red"/>

-----Original Message-----
From: Raghuveer [mailto:raghuveerv@infotechsw.com]
Sent: Friday, May 05, 2006 6:10 PM
To: 'user@struts.apache.org'
Subject: html:text attributes


Could any one give info how the below attributes can be used in <html:text
tag.

errorKey
errorStyle
errorStyleClass
errorStyleId

 <html:text property="username" size="20" maxlength="20"
styleClass="inputtype" />


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: html:text attributes for nested tags

Posted by Rahul Akolkar <ra...@gmail.com>.
On 5/5/06, Raghuveer <ra...@infotechsw.com> wrote:
>
> It is working like this for scalar properties but doesn't work for nested
> tags
>
<snip/>

Maybe you're looking for its nested counterpart, <nested:text>?

-Rahul


> <html:text property="username" size="20" maxlength="20"
> styleClass="inputtype" errorStyleClass="inputtypeerror"
> errorStyle="background-color: red"/>
>
> -----Original Message-----
> From: Raghuveer [mailto:raghuveerv@infotechsw.com]
> Sent: Friday, May 05, 2006 6:10 PM
> To: 'user@struts.apache.org'
> Subject: html:text attributes
>
>
> Could any one give info how the below attributes can be used in <html:text
> tag.
>
> errorKey
> errorStyle
> errorStyleClass
> errorStyleId
>
>  <html:text property="username" size="20" maxlength="20"
> styleClass="inputtype" />
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org