[Seaside] Using SUInPlaceEditor in a different way
lochan94 at gmail.com
Sun May 20 18:53:33 UTC 2007
I have been bit by Seaside Bug and have been trying my hands on it. I am
quite a newbie and have got an interesting question to ask. I have been
trying to make a simple web application which has to do the following thing.
The page should have a Button/Anchor for Creating a List of Contents. On
clicking that, he should be rendered with a SUInPlaceEditor in the same
page. Once he enters the details and press OK, it should show the entered
content. If he wants to edit it, he can either click and edit. By clicking
the button again, another SUInPlaceEditor should render itself just beneath
the previous one and so on.
I tried on the lines of MyAddressBook example (
to have 2 pages, one page lists all the items and another page where you get
SUInPlaceEditor to enter the details. Unlike in a normal textInput field,
where upon saving, the repository updates itself, I am not able to achieve
the same with my application. Am I missing something ?
In the example of scriptaculous, the text (inst variable) of
SUInPlaceEditorTest is initialized to 'Click and Edit me". I believe, to
have persistence, we need to go for Class Instance Variables, how do we do
It would be great to discus further with you all. Is there any tutorial
specific for Scriptaculous ?
Anticipating for your help,
+91 9212090622 (Gurgaon)
080 65355873 (Bangalore)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside