RE: Advice on Handling From Validation

2008-03-08 Thread Peters, John
Why not use JavaScript for preliminary validation of the form? Sounds like your main issue is a user not entering a value in a field. -Original Message- From: Jon Wynacht [mailto:[EMAIL PROTECTED] Sent: Sat 3/8/2008 7:31 PM To: user@struts.apache.org Subject: Advice on Handling From Valid

Help Debugging Struts Question

2008-03-08 Thread Stephanie Oshe
Hi, I'm new to struts. I'm trying to write my own simple application with only 1 jsp, only 1 form bean and only 1 action. I've set a breakpoint in netbeans in the action's execute() method, but the application doesn't stop. I can stop in the BaseServlet so I think it's my struts configuration &

Advice on Handling From Validation

2008-03-08 Thread Jon Wynacht
Hi, I have the following scenario running with an application: 1. A setup action gets called and a form bean gets created, some lists in the form bean are populated with collections and then the whole mess gets sent to the user. 2. The user fills out the form and clicks save. 3. A save ac

Re: struts zero configuration limitations and s2.1 availlability question

2008-03-08 Thread Martin Gainty
in Axis-2.13 let us know if @ParentPackage annotation works on just the one action in your Java package (If this is not the case we'll need to update JIRA) Thanks Martin- - Original Message - From: "Jeromy Evans" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, March 08

[OT] Re: Struts1 - how to reload parent window from popup

2008-03-08 Thread Dave Newton
--- Martin Gainty <[EMAIL PROTECTED]> wrote: > use javascript > javascript:history.back(); I don't believe that would submit the form in the parent window, and I don't think the window that popped up would have a history anyway, no? Dave -

[OT] Re: Struts1 - how to reload parent window from popup

2008-03-08 Thread Dave Newton
Doesn't the popup get a reference to the opening window? Seems like you could populate the form directly via the DOM and submit it the same way. Dave --- bhaarat Sharma <[EMAIL PROTECTED]> wrote: > I am trying something like this > function openPopup() { > windowReference = window.open(' page="

Re: Struts1 - how to reload parent window from popup

2008-03-08 Thread Martin Gainty
use javascript javascript:history.back(); ? Martin - Original Message - From: "bhaarat Sharma" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, March 08, 2008 12:08 PM Subject: Re: Struts1 - how to reload parent window from popup > I am trying something like this > fu

Re: Struts1 - how to reload parent window from popup

2008-03-08 Thread bhaarat Sharma
I am trying something like this function openPopup() { windowReference = window.open('','windowName'); if (!windowReference.opener) windowReference.opener = self; } Add Contact I cant JUST pass /addContactInformationPopup.do to the window.open because then the parameters arent passed to the popu

Struts1 - how to reload parent window from popup

2008-03-08 Thread bhaarat Sharma
Hello I am wondering if there is anyway to reload a parent window from the popup window. Basically I have a parent window that has a 'Add Contact' link up top and then list of added contacts. When user clicks the addcontact info a popup window is opened where users enter information and click ad

Re: Not Able to call Action

2008-03-08 Thread Dave Newton
--- aum strut <[EMAIL PROTECTED]> wrote: > but when i hit submitt button.it is not able to find the action associated > with the index.jsp. *sigh* Okay, we're going to start over. This would be easier if you'd answer the questions, though. This time I've numbered them for your convenience. 1) Do

Re: struts zero configuration limitations and s2.1 availlability question

2008-03-08 Thread Jeromy Evans
Hi Meissa, Use the @ParentPackage annotation to name an alternative package for your action(s). Create a struts.xml file that sets up just the package and the interceptors it needs. Have a look at this issue and the ones it links to: https://issues.apache.org/struts/browse/WW-2016 It may