I know :) as I wrote in the previous mail I have tried both ways, but still
not working

On Wed, Sep 10, 2014 at 9:09 PM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:

> 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
>
>


-- 
Sincerely
*Boris Horvat*

Reply via email to