You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by BinhMinh Nguyen <st...@yahoo.com> on 2001/08/17 03:00:37 UTC

-tag problem

hi,
Here is my problem:
I have to use pre-populate method to pre-fill the
toForm based on some data from the previous JSP,
called 'fromForm', but the only HTML components
available for me is to use <html:text>, since I can
set the property such as
<html:text property="userID">

But, as you all know, the text-tag does not provide a
good looking, because the user dont need to enter
anything into the text-field. Then I set the attribute
'disabled="true", but it can only make little
improvement.
<html:text property="userID" disabled="true">
  
How do I make my text-field, using <html:text> tag,
look like there is no text-field there at all? Or any
other HTML-comp I can use instead

Thank you very much
 
Binh Nguyen

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Re: -tag problem

Posted by Guus Holshuijsen <gh...@videtur.nl>.
Maybe you can use a <bean:write name="<yourBean>" property="<yourBean's
property>"/> tag.

Regards,
Guus

----- Original Message -----
From: "BinhMinh Nguyen" <st...@yahoo.com>
To: <st...@jakarta.apache.org>; "Anthony Xin Chen"
<xi...@tbcommerce.com>
Sent: Friday, August 17, 2001 03:00
Subject: <HTML:TEXTt> -tag problem


> hi,
> Here is my problem:
> I have to use pre-populate method to pre-fill the
> toForm based on some data from the previous JSP,
> called 'fromForm', but the only HTML components
> available for me is to use <html:text>, since I can
> set the property such as
> <html:text property="userID">
>
> But, as you all know, the text-tag does not provide a
> good looking, because the user dont need to enter
> anything into the text-field. Then I set the attribute
> 'disabled="true", but it can only make little
> improvement.
> <html:text property="userID" disabled="true">
>
> How do I make my text-field, using <html:text> tag,
> look like there is no text-field there at all? Or any
> other HTML-comp I can use instead
>
> Thank you very much
>
> Binh Nguyen
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>