I remember when I faced a similar case I debugged and reached that method *
org.apache.tapestry5.corelib.components.Form.preallocateNames(IdAllocator)*
which
looks like it's still pre-allocating IDs and have the JIRA issue's link
commented on it. And I can see the pre-allocating logic in v5.3.5


On Fri, Sep 7, 2012 at 9:48 PM, Howard Lewis Ship <hls...@gmail.com> wrote:

> This is, I believe, fixed in later versions of Tapestry 5.3.
>
> On Fri, Sep 7, 2012 at 12:05 PM, Muhammad Gelbana <m.gelb...@gmail.com>
> wrote:
> > Check this old thread
> >
> http://tapestry.1045711.n5.nabble.com/t5-3-1-Heads-up-for-special-form-field-names-similar-to-InternalSymbols-PRE-SELECTED-FORM-NAMES-td5101482.html
> >
> >
> > I understand you are saying that when the TextField id is changed,
> > everything else works, including the ajax part. Well although Howard
> didn't
> > explain what's going on in details, this may be your case regarding the
> id
> > issue.
> >
> > Also this page
> > https://issues.apache.org/jira/browse/TAP5-1632
> >
> > Which suggests that Tapestry needs to reserve some IDs to itself in order
> > to operate properly.
> >
> > On Fri, Sep 7, 2012 at 8:28 PM, René Bernhardsgrütter <
> > rene.bernhardsgruet...@cerder.com> wrote:
> >
> >> Hi there,
> >>
> >> I have a strange behavior of T5.3 here.
> >> Situation:
> >>
> >>  * A normal Page that contains a Form with a TextArea and a Component.
> >>  * The Component has:
> >>      o An Actionlink for a Zone
> >>      o A Zone that includes an AjaxUplaod-Component (form here:
> >>
> http://tawus.wordpress.com/**2011/06/25/ajax-upload-for-**tapestry/<
> http://tawus.wordpress.com/2011/06/25/ajax-upload-for-tapestry/>
> >> )
> >>        (That shouldn't effect the problem, I think)
> >>
> >> If I name the TextAare from the Form in the Page "content"
> >> (t:id="content"), the ActionLink cannot update the Zone.
> >>
> >> With "return zone.getBody();" in the onActionFromLink():
> >> |A component event handler method returned the value Block[Body of
> >> blog/New:ajaxuploaddisplay.**zone, at classpath:com/licliq/**
> >> components/ajaxUpload/**AjaxUploadDisplay.tml, line 5]. Return type
> >> org.apache.tapestry5.internal.**structure.BlockImpl can not be handled.|
> >>
> >> And with ajaxResponseRenderer.**addRenderer("zone", zone.getBody);:
> >>
> >> |Page must be specified before initializing for partial page render.
> >> |
> >>
> >> But when I rename the TextArea t:id to anything else then "content",
> >> everything works fine.
> >>
> >> Is this a bug or anything known? I couldn't find any information to
> this.
> >>
> >>
> >> Regrads,
> >> René
> >>
> >>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to