I have run the page/code given in your original mail
with property text set to 'Hello world'.
After I edit 'Hello world' and click the save button,
the listener method onTextUpdate is called. 

I have no javascript errors and I am using Tapestry
4.1.2 Snapshot.



Shing




--- Marcus Thiesen <[EMAIL PROTECTED]>
wrote:

> Hey Shing,
> 
> Am Mittwoch 31 Januar 2007 11:07 schrieb Shing Hing
> Man:
> > The displayed html is blank because you have not
> given
> >
> > the property text a value.
> >
> 
> Well, this didn't really do the trick. I see that
> the generated Javscript 
> changed to 
> 
> tapestry.widget.synchronizeWidgetState("testEdit",
> "InlineEditBox", 
> {"widgetId":"testEdit","value":"Hello 
>
World","mode":"text","minWidth":100,"minHeight":200,"doFade":false},
> false);
> 
> so it sees the "Hello World" but nothing is
> displayed and I still get a 
> JavaScript Error in my error console. Furthermore,
> if I change my template 
> from
> 
> <div jwcid="testEdit" />
> 
> to 
> 
> <div jwcid="testEdit">Here should be an edit</div>
> 
> I see this text, which I think should actually be
> overwritten by the 
> Javascript of the InlineEditBox. So it looks more
> like the script doesn't 
> run. 
> 
> BTW, shouldn't an EditBox work regardless of a value
> set (in case you wan't to 
> use it for an initial value?)
> 
> > Shing
> 
> Have fun,
>       Marcus
> 
> 
> -- 
> Marcus Thiesen
> Bachelor of Science (BSc)
> 
> freiheit.com technologies gmbh
> Straßenbahnring 22 / 20251 Hamburg, Germany
> fon       +49 (0)40 / 890584-0
> fax       +49 (0)40 / 890584-20
> 
> 0553 222D ABF2 DF71 0CF6  C262 C77E 2AAF 6BE4 4DA4
> 
> Bücher kaufen und Freie Software fördern |
> http://bokzilla.de/
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Home page :
  http://uk.geocities.com/matmsh/index.html


                
___________________________________________________________ 
Inbox full of unwanted email? Get leading protection and 1GB storage with All 
New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to