gigaZhang / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

Plz support new position style of jQuery UI 1.9 #951

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Current struts2-jquery only supports old style of position attribute of jQuery 
UI dialog

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Which struts2 version?
2.3.7

Which struts2-jquery plugin version?
3.5.0

position could be a Object, please modify following code

  <#if parameters.position?if_exists != "">
      <#-- Is position an Array? -->
      <#if parameters.position?substring(0, 1) == "[">
    options_${escapedOptionId?html}.position = ${parameters.position?html};
      <#else>
    options_${escapedOptionId?html}.position = "${parameters.position?html}";
      </#if>
  </#if>

Original issue reported on code.google.com by xcooper1...@gmail.com on 20 Feb 2013 at 3:25

GoogleCodeExporter commented 9 years ago

Original comment by johgep on 7 Apr 2013 at 11:26

GoogleCodeExporter commented 9 years ago
https://code.google.com/p/struts2-jquery/source/detail?r=1797

Original comment by johgep on 7 Apr 2013 at 11:29

GoogleCodeExporter commented 9 years ago

Original comment by johgep on 2 Jun 2013 at 1:02