Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 75 by paul.dunkler: sortable sj:div / sj:textarea / sj:textfield
inside s:form force the page to reload / endless loading
http://code.google.com/p/struts2-jquery/issues/detail?id=75
What steps will reproduce the problem?
1. Create a s:form
2. Put a sortable sj:div inside
3. Load it in your Browser
What is the expected output? What do you see instead?
So, the expected output would be a simple sortable list or a
textfield/textarea inside my form with ajax submit. For this moment, i´ve
taken the one from the current showcase.
Instead of the above, the page loads, shows a short picture of the site,
than reloads and goes into never ending loading. Since this point, there is
only a white page which is loading endless and Firebug giving
Javascript-Errors:
- ajaxhistory is not defined
Source: jquery.struts2.min.js
- $ is not defined (3 times under each other)
when i put sortable div / textareas / textfields outside the form, then it
works properly, but inside a form there is actually no way. I´ve found a
solution for the sj:textarea and sj:textfield:
<s:url id="blankPage" action="blank" namespace="/" />
Putting a href="%{blankPage}" in the sj:textarea / sj:textfield (it´s only
a blank page) solves the problem and it´s correctly displayed inside the
form, but this doesn´t work on a sortable div.
Which struts2 version?
2.1.8
Which struts2-jquery plugin version?
tested on 1.8.1 & 1.8.2
I hope you are able to solve the problem, or say me, what i´ve done the
wrong way. I hope the information, i´ve provided is enough to reconstruct
the problem.
Attachments:
edit.jsp 8.1 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings