- status: open --> closed
To all,
Just in case someone else has the same problem and has a
bugger of a time working out what it is.
I'm using the the LookupDispatch class to redirect my
actions and I'm using the parameter name submit in the
action class.
By using this parameter though it may cause issues with
javascript.
For instance I'm producing a popup child window that
submits the parent class and then closes the child window.
The basic syntax is in the child window is
window.opener.document.ParentForm.submit()
window.close()
however because I have buttons named submit on the
ParentForm this is causing issues.
I'm not an expert on javascript so the only solution I can
think of at the moment is to make sure when your
implementing the LookupDispatch class to use a parameter
other than submit in the action of the phpmvc-config.xml file.
If someone else can think of a better way - I'd be happy to
here it because it took me ages to resolve this issue and
now I'm going to have to go back through all my code and
change the parameter name to something else.
So if your implementing an application using the
LookupDispatchAction class I recommend you use a
parameter name of something other than submit.
Cheers
Andrew