On Wed, 10 Sep 2014 15:40:25 -0300, Boris Horvat
<horvat.z.bo...@gmail.com> wrote:
public String[] onPassivate() {
String[] a = new String[3];
a[0] = selectedScene != null ? selectedScene.getId().toString() :
null;
a[1] = selectedShot != null ? selectedShot.getId().toString() :
null;
a[2] = selectedComponent != null ?
selectedComponent.getId().toString() : null;
return a;
}
I said Object[], not String[]. ;)
public Object[] onPassivate() {
return new Object[] {selectedScene, selectedShot, selectedComponent}
}
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org