Hello Volker,

thank you for the hint. It works fine for me.


kind regards

Adam A. Henne


[EMAIL PROTECTED] schrieb am 02.04.2007 14:57:05:

> Hi Adam,
> 
> if ajax-enabled is true, all sheet actions are done via ajax,
> currently only on ajax component could be updated in one request, this
> will change in future.
> This means for now, what you wand is not possible in clean tobago, but
> you can do it using javascript.
> 
> You can force the update of sheet B by sending javascript code inside
> the update of sheet A.
> 
> e.g. add a
> <tc:out escape="false" value="<script
> 
type=\"text/javasxcript\">Tobago.reloadComponent('page:sheetB');</script>"
> rendered="#{bean.ensureOnce}" />
> to one of the columns of sheet A.
> 
> the bean.isEnsureOnce() method should endure the tc:out is rendered
> only once per request, and not in every row.
> 
> (not tested, but somthing like this should do the trick)
> 
> Regards,
>   Volker
> 
> 2007/4/2, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> > Hi all,
> >
> > i've a sheet "A" which is sortable and has more than one page.
> > I've also a sheet "B" which should observe all changes on sheet A and
> > changes itself.
> > To notice changes in sheet "A" i am using the stateChangeListener and
> > sortActionListener methods.
> > The problem is that if in tobago-config.xml ajax-enabled is true, then
> > sheet "B" will not be reloaded so the changes are not visible.
> >
> > How can i solve this problem? Does anyone have some suggestions?
> >
> >
> > tobago-config.xml:
> >
> > <tobago-config>
> >   ...
> >   <ajax-enabled>true</ajax-enabled>
> > </tobago-config>
> >
> >
> >
> > kind regards
> >
> > Adam A. Henne
> >
> >
> >
> >

Reply via email to