File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Editable Text Box with Value
Joined: Apr 25, 2008
Dec 18, 2008 03:02:00
How can I create a textbox which will be populated from formbean and will show those datas .I have tried with the code given below
<html:text property="seletedBankcode" styleId="textbox"><bean:write name="bankdtls" property="bank_code"/></html:text>
but unable to display those datas in textbox.
paddy Mahadeva Iyer
Joined: Feb 10, 2007
Dec 18, 2008 03:06:00
i am not so clear with
1 tags but i think you should be trying to set the value in the property to the "value" attribute on <html:text> for it to display
Joined: Aug 29, 2008
Dec 18, 2008 20:50:00
You'll want to take the bean:write out and specify the name of your form bean in the name attribute of the text tag and the name of the property you want in the property attribute.
I agree. Here's the link:
subject: Editable Text Box with Value
disabling html:select and html:text by the value in another html:select
Please help me. Error when show data on the textbox
difference between html textbox and struts-html textbox?
help with tags
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015