I thought so too, but i'm starting to think there is one.
Here's some of the code in hope someone will spot something wrong:

template:
<div t:type="form" t:id="filterForm" zone="processGrid">
<!-- the filter inputs and stuff --> <div t:type="buttons/genericbutton" label="message:filter" submit="true"/> <div t:type="eventlink" event="linkTest" zone="processGrid">Search</div>

<div t:type="grid" t:id="processGrid" source="processes" inplace="true" rowsPerPage="prop:gridRowsPerPage" row="currentProcess" rowClass="rowClass" exclude="${message:proccessListExclusionColumns}" reorder="${message:proccessListColumnOrder}"/>
   </div>

on the class:

@OnEvent(value = "submit", component = "filterForm")
   Grid filter() {
       processes.remove(0);
       return processGrid;
   }

   Grid linkTest() {
       processes.remove(0);
       return processGrid;
   }

If i press the eventlink eveything goes fine, if i use the submit button i get the exception.

Thiago H. de Paula Figueiredo wrote:
Em Tue, 07 Oct 2008 15:22:03 -0300, Hugo Palma <[EMAIL PROTECTED]> escreveu:

What's the difference between using the form submit with a zone and using an event link besides the form parameters not getting updated ?

AFAIK, none.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to