I am not too sure, but i guess the getContent within the inner class refers to 
wrong object.
You should call MyApplication.this.getContent().
Give a try, i think it ll fix your pb.
Sandor


On 2012.02.18., at 7:22, Nitheesh Chandran <[email protected]> wrote:

> Hello ,
> 
> I want to display a dialog-box component when a user clicks on the
> flux table cell. So i just write the code like this. But it is not
> working
> 
> table.addTableListener(new TableListener() {
> 
>            @Override
>            public void onCellClicked(SourcesTableEvents sender, int row, int
> cell) {
> 
>                Window.alert(getContent(row,cell));
>                cell_content=getContent(row,cell);
> 
> 
> 
>                DialogBox db=new DialogBox();
>                db.setText("hello");
> 
> 
> 
> 
> 
> 
> 
> 
>                          }
> 
> 
> 
>                         });
> 
> 
> Can anyone tell me why ?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to