Revision history [back]

click to hide/show revision 1
initial version

answered 2010-10-25 13:58:58 +0800

windeyu gravatar image windeyu flag of United States

With my understanding with ZK, you have few possible ways to achieve this. 1) In your onClick handler for but1 (similarly for but2 and but3), save the but1 as an attribute of win1. In your onClick handler for the submit button in win1, you retrieve the calling button from the win1 attribute. 2) You can get the parent of win1, whose space contains your but1, but2, and but3. So you can access those buttons by win1.getParent().getFellow("but1"); 3) You can publish an event with the data that your listener can use.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More