This is a bug I've discovered in the last few days. Will be fixed sometime
over this weekend.

On 3/24/06, Kristian Marinkovic <[EMAIL PROTECTED]> wrote:
>
>
> hi,
>
> whenever i add an AjaxLinkSubmit and an AjaxForm to my page it disables
> my other Tapestry LinkSubmit buttons.
>
> Has anyone encountered the same problem? How can I solve it (workaround)?
> Is it a bug (Tacos or Tapestry)?
>
> best regards,
> kris
>
>
> Example Code (my real world app is much more complicated :)):
>
> Home.page
> <inject property="ajaxRequest" object="service:tacos.AjaxWebRequest" />
> <component id="form1" type="Form" />
>     <!--
>       <component id="form2" type="Form" />
>     -->
> <component id="form2" type="tacos:AjaxForm" />
>
> <component id="text1" type="TextField">
>         <binding name="value" value="text1" />
> </component>
>
> <component id="text2" type="TextField">
>         <binding name="value" value="text2" />
> </component>
>
> <component id="submit" type="LinkSubmit">
>         <binding name="listener" value="listener:doSubmit" />
> </component>
>
> <component id="submitajax" type="tacos:AjaxLinkSubmit">
>     <!--
> <component id="submitajax" type="LinkSubmit">
>     -->
>         <binding name="listener" value="listener:doSubmitAjax" />
>         <binding name="updateComponents" value="ognl:{'upd1'}" />
> </component>
>
> Home.html
>       <script type="text/javascript">
>       djConfig = { isDebug: false,
>                         baseRelativePath: "js/dojo/",
>              preventBackButtonFix: false,
>              parseWidgets: false
>            };
>       </script>
>       <script type="text/javascript" src="js/dojo/dojo.js">  </script>
>   </head>
>   <body jwcid="@Body">
>       <div jwcid="[EMAIL PROTECTED]" id="upd1">
>             <form jwcid="form1">
>                   <input jwcid="text1" />
>                   <a jwcid="submit">No Ajax submit</a>
>             </form>
>       </div>
>       <div jwcid="[EMAIL PROTECTED]" id="upd2">
>             <form jwcid="form2">
>                   <input jwcid="text2" />
>                   <a jwcid="submitajax">Ajax submit</a>
>             </form>
>       </div>
>
> java
> public abstract class TacosTest extends BasePage {
>
>       @InitialValue("literal:'no text1'")
>       public abstract String getText1();
>       public abstract void setText1(String text1);
>
>       @InitialValue("literal:'no text2'")
>       public abstract String getText2();
>       public abstract void setText2(String text2);
>
>       public void doSubmit() {
>             setText1("without ajax");
>             setText2("without ajax");
>       }
>
>       public void doSubmitAjax() {
>             setText1("with ajax");
>             setText2("with ajax");
>       }
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.  http://opennotion.com

Reply via email to