gigaZhang / struts2-jquery

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

s:from sj:submit - Uncaught TypeError: Cannot call method 'split' of undefined #1046

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
(This is for feature requests and bugs in Struts2 jQuery Plugin - for
getting help, please use the User Group.
http://groups.google.com/group/struts2-jquery )

What steps will reproduce the problem?
1.<sj:div id="DivEC" >
    <s:form action="etiqueta-create">
        <s:hidden name="partitionDst" />
        <s:textfield label="Nueva Etiqueta" name="createTag"></s:textfield>
        <sj:submit cssClass="mbtnSubmtit greenBg btnRound"
            value="+" targets="DivEC"
            onCompleteTopics="event" />
    </s:form>
</sj:div>

2.The form with out an "id" attribute produce in js console "Uncaught 
TypeError: Cannot call method 'split' of undefined".
3.

What is the expected output? What do you see instead?
Better error msg or auto create form Id.

Which struts2 version?
3.4.1

Which struts2-jquery plugin version?
3.6.1

Please provide any additional information below.

Original issue reported on code.google.com by fritzmat...@gmail.com on 24 Sep 2013 at 2:38

GoogleCodeExporter commented 9 years ago

Original comment by johgep on 10 Apr 2014 at 7:02