Nillehammer, I don't mind. I've been an interface designer for years, so
moving to the backend I'm rather green. The more I can learn the better. I
am very confused with how to use annotations in my situation, so I'm going
to post a snippet of my code and hopefully you guys will be able to help
clarify this for me. 

If I understood Thiago correctly, I should be using onSuccess with the
onSelect events.

Thanks!

My two events. 

@CommitAfter
Object onSelectedFromUpdate() {
     session.saveOrUpdate();
     return formZone.getBody();        
}

Object onSelectedFromSave() {
     purchaseRequestState.setPurchaseRequest(getPurchaseRequest());

     return
pageRenderLinkSource.createPageRenderLinkWithContext(Update.class,
getPurchaseRequest().getId());
}

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Form-using-both-a-zone-and-no-zone-tp4635695p4638729.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