And then I have a button my page like as follows: <sj:submit key="button.overview" formIds="displayOverview" />
This used to automatically submit that form's data to the action URL; however this is no longer working. How do I use the sj:submit much like a regular submit where I want to specify the form contents to serialize, the destination href or action url and have it refresh the entire page?
CranCran77
unread,
Jun 1, 2011, 1:18:17 PM6/1/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to struts2...@googlegroups.com
Appears to be an issue when "targets" attribute isn't defined and a javascript error is thrown.
jogep
unread,
Jun 1, 2011, 1:58:51 PM6/1/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to struts2-jquery
I think this is fixed in current trunk and SNAPSHOT.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to struts2...@googlegroups.com
I just downloaded the Jun 01 snapshot and this is still an issue.
Firebug still reports that o.targets is undefined. This property is not
suppose to be required based on the java documentation but it appears
that since upgrading from 2.5.3 that it's being required to avoid
javascript errors so the jquery functionality works.
CranCran77
unread,
Jun 1, 2011, 4:39:43 PM6/1/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to struts2...@googlegroups.com
Another example of my usage of the sj:submit tag is as follows:
The
simple example above is erroring with o.targets is undefined.
Furthermore, the above scenario would allow me to open the sj:dialog by
its id and because I wanted this dialog's content to be dynamic, the
href parameter on the button controlled where the dialog was suppose to
get its content.
Am I using the framework incorrectly or am I just experiencing issues with the 3.1 06/01/2011 snapshot?
jogep
unread,
Jun 2, 2011, 5:38:56 AM6/2/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to struts2-jquery
Do you have cleared your browser caches after upgrading?
Can you please set compressed to false in your head tag and
send me the line where the error happens?