[progress Communities] [progress Openedge Abl] Forum Post: Re: Client-side Api To Modify...

  • Thread starter Thread starter Timothy Williamson
  • Start date Start date
Status
Not open for further replies.
T

Timothy Williamson

Guest
What I meant was the Rollbase Script Component. I'm trying to find a way to persist some state data for a particular Script Component. Here's an example: There's a button. When you click the button, a modal dialog pops up. The dialog has a text box where you can enter some text. When you click "save" on the dialog, the value of that text box gets persisted. The next time the script runs, it can access that data by querying for it. (Using something like the "original id" of the Script Component as the key) The other piece of the puzzle is deleting the state data when a script component is removed from the page. Easy if the components could be edited via the client-side api...tougher if persisted elsewhere because there are no events that fire when a component is deleted :(

Continue reading...
 
Status
Not open for further replies.
Back
Top