|
Servoy 5.x Public API | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IProviderStylePropertyChanges
Implement this interface if wicket component/bean wants to update itself in the browser through ajax requests.
Servoy will call getStylePropertyChanges() on every ajax request (user action or ajax poll) to test
if this component is changed and wants to update itself.
Wicket components that implements this interface should call Component#setOutputMarkupPlaceholderTag(boolean) with true.
So that wicket ajax can replace/update the component.
and override the getMarkupId() so that the right servoy markupid is generated:
public String getMarkupId()
{
return WebComponentSpecialIdMaker.getSpecialIdIfAppropriate(this);
}
IStylePropertyChanges,
ChangesRecorder| Method Summary | |
|---|---|
IStylePropertyChanges |
getStylePropertyChanges()
Returns an instanceof IStylePropertyChanges that monitors the changes of this component
See ChangesRecorder for an implementation that you can use for this. |
| Method Detail |
|---|
IStylePropertyChanges getStylePropertyChanges()
IStylePropertyChanges that monitors the changes of this component
See ChangesRecorder for an implementation that you can use for this.
|
Copyright © 2010 Servoy B.V. | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||