Hi I have 2 combo boxes in a form.
When the one combo box say COMBO1 is changed, onchange event runs with the option selected being appended to the url and the action associated with that action called (refreshing the page).
Based on the URL, COMBO2 is set.
Now my problem is when page refreshes, COMBO1 is getting the same value as before ie Option1 remains selected.
I should mention at this time...
User Profile
Collapse
-
Setting Select box using struts2 tag
-
Struts2 autofill of combo box
Hi,
I have a form, which has a combo box called employee list. By default this list should have all the employees in the database.
I have another combo box called shift details, which is fixed.
I have the project in struts2.
Now when in this form I select the shift, some logic has to run and employee list in the employee combo box needs to be reduced to all the employees working in that... -
IBatis DB2
Hi I am using DB2 with IBatis and I need to have a where clause which looks like
Code:WHERE UCASE(ps.DIAN_DESC) like UCASE(#prodCodeorName#)
Can anyone tell me how do I use DB2 functions with Ibatis inline parameters.
Thank you. -
The date object I talked about is a java date object.
I dont know where else the question would suit coz its not purely a database related question as well. -
DB2 Dates and Ibatis
Hi I had a question about DB2 dates.
I am trying to understand how the flow works in a system.
Firstly date is stored in the database as a 21 character format an example is
"20080808145325 00+0000" it seems to be of the form "yyyyddMMhhmm.. ..".
The dates are stored with
Code:INSERT INTO TABLE1( DATE_TO) VALUES( #dateTo:CHAR#)
-
Ok am really struck here
Code:private void dataReady(){ for (int itr = 0; itr < this.HOURS; itr++) { tempList = new ArrayList(); // Add all the till related data for(int tillItr = 0; tillItr < this.terminalList.size(); tillItr++){ tempList.add(this.transactions[itr][tillItr]); tempList.add(this.unitsSold[itr][tillItr]); } // add all overall
Leave a comment:
-
But I need to use struts2 iterator tag.
[code]
<s:iterator ....>
---
---
</s:iterator>
[,/code]Leave a comment:
-
Struts2 - iterator tag
Hi I had a question about struts2 iterator tag.
Suppose I had an array of the form
Code:private int [][]transactions = new int[11][this.size()];
Now using iterator tag I need to display this
Code:Hour Mac1 Xact Mac2 Xact .... MacX Xact 00:00 5 3 .... 2 01:00 6
-
Javascript call from java
Hi,
Is it possible to call javascript function from within java?
I am using Java not applet.
Thanks in advance.
No activity results to display
Show More
Leave a comment: