[Seaside] Problem with WAScriptTag content escaping, when nestedinto a WAScriptTag

Steve Aldred aldreds at velocitynet.com.au
Fri Oct 17 10:09:35 UTC 2008


Balázs Kósi wrote:
>> I might have missed something in the thread, but I don't really
>> understand what you are trying to do with your example. Why do you
>> need the div tag at all?
>>     
> I tried to strip down the example, and it lost its meaning in the process.
>
> My goal is to create a form, where the user sees the values as parts
> of a sentence.
> When a value is clicked, i replace it with an editor for the value,
> much like the 'in-place-editor'.
>   

Couldn't you do that with a span containing another span (with your 
text) with an onClick? The onclick invokes an updater to update the 
outer span content with your editor - no scripts needed.

You need two spans else your next click fires it again.

cheers
Steve


More information about the seaside mailing list