on 03-10-2004 12:54 AM
I am using the hbj:fileUpload tag in a JSP page.
I would like to initialize the input field of the tag, but could not find any documentation.
I tried following, but it seems not to work:
<hbj:fileUpload id="fileUpload" size ="50" >
<%fileUpload.setFile( uploadBean.getSource());%>
</hbj:fileUpload>
Method getSource() returns a valid IFileParam object.
Hi Laurent,
if I dont misinterpret, you want the inputfield to already contain a text when the page is rendered, dont you?
I checked this and it seems there is really no "setText" method or anything like that.
But nevertheless you could try to discover which HTML tag is used for this HtmlB component in the end and try to set the appropriate attribute (e.g. "value" for a <input type="button"......>) using javascript and dom. At least if you can be sure that javascript is admitted in the final environment.
Salud
Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.