Hi Thaigo!

Yes, I'm sorry I should have mentioned this...

My form uses the zone attribute to indicate it should refresh a zone via
AJAX (or at lease that's my understanding of the attribute from the
documentation):


<form t:id="main" t:zone="primarySelectZone">
  <t:radiogroup t:id="mainCategoryGroup">
    <t:loop source="mainCategories" value="mainCategoryIterator"
        encoder="mainCategoryEncoder" index="radioIndex">
      <t:radio id="radio_${radioIndex}" value="mainCategoryIterator"
        onclick="this.form.submit();"/>
      <label for="radio_${radioIndex}">${mainCategoryIterator.name}</label>
    </t:loop>
  </t:radiogroup>
</form>


Thanks,

Levi

Thiago H. de Paula Figueiredo wrote:
> 
> Em Mon, 17 Aug 2009 18:23:40 -0300, xfile80303 <l...@grokers.net>
> escreveu:
> 
>> Hi all,
> 
> Hi!
> 
>> I'm trying to update two zones using the MultiZoneUpdate return type  
>> from my onSuccessFrom<Form> method, but Tapestry gives me an error  
>> saying the return type is not understood (see stack below).
> 
> You can only return MultiZoneUpdate (or Block or a component) when  
> handling an AJAX request. Use Request.isXHR() to check if the current  
> request is made through AJAX or not.
> 
> -- 
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/-T5.1--MultiZoneUpdate-can-not-be-handled-Error-tp3462182p3462442.html
Sent from the Tapestry Users 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