struts2 - Struts 2.3.16.3 upgrade - modal dialog (popup) not opening -



struts2 - Struts 2.3.16.3 upgrade - modal dialog (popup) not opening -

i upgraded struts 2.3.15.3 2.3.16.3.

struts jquery plugin - 3.7.1

struts jquery tree plugin - 3.7.1

java servlet api - 2.4

jquery-ui.js - 1.10.4

i have done above changes! css working , jquery working fine. none of modal dialogs (popups) opening up. have missed anything? can help me in this?

i utilize tiles in app. modallayout not working.. how open popup

<s:url var="editurl" action="edit" namespace="/app/edit" method="load" escapeamp="false"/> <td onclick="openedit('<s:property value="#editurl"/>','<s:property value="id" escape="false"/>')"> <sj:a id="editcplink" button="true" href="#" > edit </sj:a> </td> function openedit(modalurl,id) { var options_modaldialog = {}; winopen(options_modaldialog); options_modaldialog.height = 250; options_modaldialog.width = 870; options_modaldialog.title = 'edit'; options_modaldialog.id = "editdialog"; options_modaldialog.position = [ 250, 40 ]; options_modaldialog.href = modalurl; jquery.struts2_jquery.bind(jquery('#editdialog'), options_modaldialog); }

finally got issue resolved.

jquery.struts2_jquery.bind() have been replace jquery.struts2_jquery_ui.bind()

this because upgraded struts2jquery plugin 3.7.1 more compatible struts2_jquery_ui binding struts2_jquery. jquery.struts2_jquery_ui.bind() can used load popup.

note: create sure replace js , css files of upgraded js.

struts2 struts2-jquery

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -