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é
>
>

Reply via email to