Skip to Content
Prevents Double submit without "action-url-redirect" - Message Board Discussions, Suggestions and news
Sign In
Navigation
Welcome
Downloads
Help and Support
Examples
Follow @xmlpf
Breadcrumbs
xmlportletfactory.org
Help and Support
Forums
2.- Usage ( From Xml file to CRUD Portlet)
Prevents Double submit without "action-url-redirect"
Navigation
Welcome
Downloads
Help and Support
Forums
Wiki
Contact
Video Tutorials
Examples
Message Boards
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to 2.- Usage ( From Xml file to CRUD Portlet)
Prevents Double submit without "action-url-redirect"
Threads [
Previous
|
Next
]
Prevents Double submit without "action-url-redirect"
Anonymous
7/24/13 11:25 AM
RE: Prevents Double submit without "action-url-redirect"
Jack A. Rider
7/24/13 2:47 PM
RE: Prevents Double submit without "action-url-redirect"
Anonymous
7/24/13 3:35 PM
Anonymous
Prevents Double submit without "action-url-redirect"
double submit
actionurl
Answer
7/24/13 11:25 AM
I need to prevent double submit after ADD or EDIT record.
I know that xmlPortletFactory adds "<action-url-redirect>true</action-url-redirect>" in liferay-portlet.xml to prevents double submit, but for other reasons, I had to disable action-url-redirect atribute.
I try to sendRedirect(request, response) at addXXXURL() process action but fails with :
"Set render parameter has already been called"
is there any workarround to prevent double submit without "action-url-redirect" attribute?
Thanks
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Jack A. Rider
Rank:
Jedi Knight
Posts:
134
Join Date:
7/16/11
Recent Posts
RE: Prevents Double submit without "action-url-redirect"
Answer
7/24/13 2:47 PM as a reply to Anonymous.
Hola,
Maybe you can get more information from this thread:
http://www.liferay.com/community/forums/-/message_boards/message/493491
Anyway, can you explay why you have to disable action-urlredirect? seems the right way of doing things.
Saludos, Jack.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Anonymous
RE: Prevents Double submit without "action-url-redirect"
Answer
7/24/13 3:35 PM as a reply to Jack A. Rider.
This post didn't help me . If I use sendRedirect in xmlPortletFactory process action (addENTITY for example) => Exception :
"Set render parameter has already been called"
I need to disable action-url-redirect , if it's true, invoking portlet within modal windows doesn't work, action url like addEntityURL will not show ok.....for this reason I need to implement manual redirect.
Thanks for help
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top