on 03-27-2007 10:13 PM
Hi all,
I have this requirement.
I have BAPI, I am able to call the BAPI and I am storing the values as a record set in a bean. In JSP I have table with 3 rows, each row got 2 text fields, I trying to figure out how to set the value of text field to record set values.
Record set got 3 rows for each day, each day got one check in and check out time. Here my requirement is get the value from record set and set that particular value to text fields. Please guide me how to get this done.
Thanx
Keerthi
Is this what you are looking for?
<jsp:useBean id="user" class="myBean" scope="session"/>
<HTML>
<BODY>
<INPUT TYPE=TEXT NAME=field1 SIZE=20 VALUE='<%= user.getField1() %>'><BR>
</BODY>
</HTML>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dennis,
I have following code
IRecordSet set = userBean.gedata()// this will give BAPI data as a record set
String var = set.getString("xxxxxx")
now I want to set this value with value field in below text field
<input type="text" id="val1" name="val1" value=" ">
if I say like value = "var", its printing like var not the value in var
So I am wondering how to do that.
Thanx
Keerthi
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.