Hi, Zack

I just tried your example, but nothing wrong. Mine is 5.1.0.3.

DH
----- Original Message ----- 
From: "zack1403" <zack.mann...@gmail.com>
To: <users@tapestry.apache.org>
Sent: Wednesday, April 29, 2009 2:56 PM
Subject: Re: AjaxFormLoop Exception on 5.1.0.2 upgrade


> 
> Alright this is the simplest setup I could do.  This is way simpler than even
> the example thats in the nightly docs.  I am getting the same error.  If
> someone could please help me out as to what I am missing here I would be
> eternally grateful.  This is the complete source, there is no other source
> involved in this except what I am pasting.
> 
> Tml:
> 
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
> 
> <t:form>
> <t:ajaxformloop source="strings" value="currentString">
> <t:textfield t:id="thefield" value="currentString"/>
> <t:removeRowLink>Bye!</t:removeRowLink>
> </t:ajaxformloop>
> </t:form>
> 
> </html>
> 
> Page:
> 
> import java.util.ArrayList;
> import java.util.List;
> 
> import org.apache.tapestry5.annotations.Component;
> import org.apache.tapestry5.annotations.Property;
> import org.apache.tapestry5.corelib.components.TextField;
> 
> public class Test {
> 
>    @Property
>    private List<String> strings;
> 
>    @Property
>    private String currentString;
> 
>    @Component
>    private TextField theField;
> 
>    void onActivate() {
> strings = new ArrayList<String>();
> strings.add("Hello");
> strings.add("Heres a tester");
>    }
> 
>    String onAddRow() {
> return "Added!";
>    }
> 
>    void onRemoveRow(String toRemove) {
> strings.remove(toRemove);
>    }
> }
> 
> Sorry to be posting so much, I've just been pulling out my hair on this and
> (as I'm sure you all understand) we have a very tight deadline to meet. 
> Thank you all again for all the help!
> 
> Zack
> -- 
> View this message in context: 
> http://www.nabble.com/AjaxFormLoop-Exception-on-5.1.0.2-upgrade-tp23175801p23291616.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
>

Reply via email to