Issue 75 in struts2-jquery: sortable sj:div / sj:textarea / sj:textfield inside s:form force the page to reload / endless loading

23 views
Skip to first unread message

struts2...@googlecode.com

unread,
Feb 1, 2010, 6:35:25 AM2/1/10
to struts2...@googlegroups.com
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

struts2...@googlecode.com

unread,
Feb 1, 2010, 12:32:10 PM2/1/10
to struts2...@googlegroups.com
Updates:
Status: Accepted
Owner: johgep
Labels: -Priority-Medium Priority-Low Component-Logic

Comment #1 on issue 75 by johgep: 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

(No comment was entered for this change.)

struts2...@googlecode.com

unread,
Feb 2, 2010, 3:11:28 AM2/2/10
to struts2...@googlegroups.com
Updates:
Status: Started
Owner: ---
Labels: -Priority-Low -Component-Logic Priority-Medium

Comment #2 on issue 75 by johgep: sortable sj:div / sj:textarea /

struts2...@googlecode.com

unread,
Feb 2, 2010, 3:15:29 AM2/2/10
to struts2...@googlegroups.com
Updates:
Owner: johgep

Comment #3 on issue 75 by johgep: sortable sj:div / sj:textarea /

struts2...@googlecode.com

unread,
Feb 2, 2010, 2:08:16 PM2/2/10
to struts2...@googlegroups.com

Comment #4 on issue 75 by johgep: 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

There is a fix in the svn trunk or available as SNAPSHOT
http://struts2-jquery.googlecode.com/svn/maven/snapshots/

Hope it helps you

struts2...@googlecode.com

unread,
Feb 8, 2010, 2:50:54 AM2/8/10
to struts2...@googlegroups.com
Updates:
Status: Fixed

Comment #5 on issue 75 by johgep: 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

Now available with version 1.8.3

Reply all
Reply to author
Forward
0 new messages