Hi all,
I am writing an application in Struts framework that PostForm that contains a Education details to be filled. for this i have Add button when i click this it opens a pop up window there it adds the values to the ArrayList then popup window is closed and in the Parent window is getting refresh.it is working fine.
The added list has two options one is edit and delete edit is working fine and when i delete all the list of education it is deleted.now the problem occurs when i want to add new education detail it is not adding to the arraylist.
my code is this,
for add
<a onclick="Window.open('PostEducation.do?operation=s howEdu','_blank',800, 600, 1, 1, 0, 0, 0, 1, 0);"> <input type="button" value="Add"></a>
then it displays a popupwindow after adding the data to the List it closes poupwindow it has the code like this
<body onunload=" window.opener.location = window.opener.location; window.close(); return true;">
it closes the window it is also working fine in firefox browser.
for delete i have the link like this
<a onclick="PostEducation.do?operation=delEdu&delEdu_ id=<c:out value='${exp_rowNum-1}'/>">Delete</a>
it deletes the single element from the list and returns mapping to the same page.
Now...If i want to add the education to the list again, popup is opened.
After submitting the form it is not adding to the ArrayList.
Anyyyyyyyyyyyyy suggestion welcome
Thanks&Regards
sarfaraz
hyderabad