You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2007/05/13 18:31:43 UTC

[jira] Commented: (WW-1922) Ajax remote form fail to bind nested bean property

    [ https://issues.apache.org/struts/browse/WW-1922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40976 ] 

Musachy Barroso commented on WW-1922:
-------------------------------------

Is there any error on the log? There are a few examples on showcase submitting forms and they work (not suer of there is any with a nested bean, but that shouldn't matter).

> Ajax remote form fail to bind nested bean property
> --------------------------------------------------
>
>                 Key: WW-1922
>                 URL: https://issues.apache.org/struts/browse/WW-1922
>             Project: Struts 2
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 2.0.6
>            Reporter: Stanley Cheng
>         Assigned To: Musachy Barroso
>
> public class TestAction extends ActionSupport {
> private TestBean myBean;
> ...
> }
> public class TestBean implements Serializable {
> private String name;
> ...
> }
> myTest.jsp
> <s:form id="testForm" ...>
> <input type="text" name="myBean.name" value="TEST_STRING"/>
> <s:submit value="Submit Normal"/>
> </s:form>
> <!-- submit button outside form -->
> <s:url id="ajaxSubmitFormTest" value="..." />
> <s:submit type="submit" theme="ajax" href="%{ajaxSubmitFormTest}" formId="testForm" value="Submit Outside Form"/>
> The string "TEST_STRING" fail to bind to the field "myBean.name" inside the action class when I use the ajax submit button to submit my form. But it work find with normal submit form button.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.