[Seaside] Re: Re-rendering page when Radio button is hit
squeakman at gmail.com
Thu Sep 22 20:16:00 UTC 2011
I got it working.
The fix was
Thanks so much for your help,
On 22/09/2011 3:58 PM, squeakman wrote:
> When I execute JSScript new refresh
> I get DNU on actionUrl
> because renderContext in JSScript>refresh is nil
> To try an fix this I did
> (JSScript context: r) refresh
> where r is the renderer passed to me in the onClick block. This seemed
> but it did not cause the page to refresh (I have a breakpoint in
> renderContentOn: that did not get triggered).
> Any ideas on what could be wrong?
> On 22/09/2011 3:00 PM, Lukas Renggli wrote:
>> following snippet creates the necessary code:
>> JSScript new refresh
>> On 22 September 2011 20:45, squeakman<squeakman at gmail.com> wrote:
>>> I have a page with a form that contains some radio buttons. I do NOT
>>> have a
>>> Submit button on the form.
>>> When a radio button is hit, I am using onClick: to execute some block of
>>> code. In that block of code I would like to force the entire page to be
>>> re-displayed. Is there a way to do this?
>>> Thank you for any help you can provide,
>>> seaside mailing list
>>> seaside at lists.squeakfoundation.org
More information about the seaside