You can start by checking that the updated region is valid XML (XHTML it would be). Tacos sends the form information using Xml, so everything under "updateComponents" must conform to that.

--
Ing. Leonardo Quijano Vincenzi
DTQ Software


Chris Chiappone wrote:
Hi, I am trying to substitute the normal tapestry @Form and @Submit with the
tacos components.  Looking at the documentation it seemed to me there really
wasn't much that needed to be changed except adding the correct component
names.  When I try to use the submit after making these changes the form
seems to work except it seems to forward to a new page with just the updated
components being show.  Is someone could lead me in the right direction that
would be great.  Here is the html that I am using:

<table class="TapTable">
                <form jwcid="[EMAIL PROTECTED]:AjaxForm"
updateComponents="ognl:{'reviewForm'}">
                <tr>

                    <td class="infohead" colspan="2"><span
key="tableHeader">Table
                    Header</span></td>
                </tr>
                <tr>
                    <td class="contentbox" colspan="2"><span
jwcid="@ClientDetail" /></td>
                </tr>
                <tr>
                    <td align="left" valign="top" width="50%">

                    <table class="contentbox" width="100%">

                        <tr>
                            <td><span jwcid="addForensicUsers" /></td>
                        </tr>
                        <tr>
                            <td><span jwcid="addClientUsers" /></td>
                        </tr>
                        <tr align="center">
                            <td class="tableFooter"><input
jwcid="@tacos:AjaxSubmit" name="Submit"
                                label="message:submit"
updateComponents="ognl:{'showPermissions'}"
                                listener="listener:selectUserSubmit"/></td>
                        </tr>

                    </table>

                    <td align="left" valign="top" width="50%">
                    <div jwcid="[EMAIL PROTECTED]">
                    <table class="contentbox" width="100%">
                        <tr>
                            <td class="infohead"><span
key="User"></span></td>
                            <td class="infohead"><span
key="privateAccess"></span></td>
                            <td class="infohead"><span
key="writeAccess"></span></td>
                        </tr>

                        <tr jwcid="@For" source="ognl:mySelectedUsers"
value="ognl:selectedUser" element="tr">

                                <td class="tableinfo"><span jwcid="@Insert"
value="ognl:selectedUser.firstname">First</span>
                                    <span jwcid="@Insert" value="ognl:
selectedUser.lastname">First</span>
                                    (<span jwcid="@Insert" value="ognl:
selectedUser.username">uname</span>)
                                </td>
                                <td class="tableinfo"><span jwcid="
[EMAIL PROTECTED]" value="ognl:privateAccess"></span>
                                <td class="tableinfo"><span jwcid="
[EMAIL PROTECTED]" value="ognl:writeAccess"></span>

                        </tr>
                    </table>
                    </div>
                    </td>

                </tr>
                </form>
            </table>

--
~chris





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to