Results 1 to 1 of 1
- 10-07-2008, 06:14 PM #1
Member
- Join Date
- Sep 2008
- Posts
- 4
- Rep Power
- 0
how to give a popup with back end data in struts
I have a page having information corresponding to a particular role..and there is a button for mapping/unmapping resources to that particular role...The problem is this button should open a pop-up with the whole resources' list with checkmark in already mapped resources' checkbox...and the user can then do map/unmap as he likes...i am using struts+spring dispatchactionsupport....
i have given the button as..
<html:button value="Map Resource" onclick="javascript:popitup('Role_Map_Resource.jsp ')" property="mapping" styleClass="orangebtn"></html:button>
and in script
function popitup(url) {
newwindow=window.open(url,'name','height=300,width =300');
if (window.focus) {newwindow.focus()}
return false;
}
But even this pop-up is not working...it's giving 404 error....only after getting this i can think of pre-populating it....Pls help if anyone knows what's wrong in this code.....
Similar Threads
-
Struts: Reuse data across multiple ActionForms problem
By Tequila_Burp in forum Web FrameworksReplies: 3Last Post: 12-12-2012, 10:04 AM -
enctype=multipart/form-data with form data in struts
By vk_satheesh in forum New To JavaReplies: 0Last Post: 09-19-2008, 12:48 PM -
Data Leakage in Struts 2
By arun3m in forum Web FrameworksReplies: 0Last Post: 07-26-2008, 07:54 PM -
how to get the data from hashmap into bean in struts framework
By java_arc in forum Advanced JavaReplies: 0Last Post: 04-07-2008, 07:54 PM -
give me a advise
By sireesha in forum New To JavaReplies: 3Last Post: 12-11-2007, 01:38 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks