On Tue, 21 May 2013 12:02:01 -0300, Nomen Nomanum <getibi...@outlook.com>
wrote:
Here is the code to see how this could be achieve
public Object getChoosenOne() {
if(first==true){
zona.getBody();
return firstBlock;
}
else if(second== true)
{
zona.getBody();
return blokLokaciji;
}
else
zona.getBody();
return null;
}
This method is a mess. Why do you call zona.getBody() and then return a
Block? Just return the block. In addition, you're not doing AJAX (your
ActionLinks don't have a zone parameter), so you don't need the Zone at
all.
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org