[Seaside] Disable a submit button

Julian Fitzell julian at beta4.com
Thu Jul 24 12:31:20 CEST 2003


Nevin Pratt wrote:
> 
> 
> Julian Fitzell wrote:
> 
>>>
>>
>> Can't you just put that page in a seaside transaction?  Then after 
>> they click the button, even if they go back and click on the button, 
>> it won't do anything - they'll get redirected to the most recent page 
>> in the session again.  This is assuming you are taking the approach 
>> that you discussed of doing the payment submission server-to-server, 
>> rather than having the user submit a form to to the payment site, of 
>> course.
>>
>> Julian
> 
> 
> 
> You do that via the 'self session isolate:' approach that Derek mentioned?
> 
> Today's a big Utah holiday-- gotta go with the family right now.  I'm 
> planning on toying with Derek's suggestion later tonight.
> 
> Thanks all!

Yup, #isolate: is what you're looking for.

Julian




More information about the Seaside mailing list