[Seaside] JQueryMobile, Seaside 3.0.6 on Pharo, call answer refresh issue

Yuet Ip sentraca at gmail.com
Thu Apr 5 16:33:01 UTC 2012


All,

I'm using JQueryMobile (ConfigurationOfJQueryMobile-NickAger.25) on Seaside
3.0.6 on Pharo1.3 #13302.

A call, answer followed by browser refresh sequence results in the user
being taken back to the "called" component rather than the "caller".
The same components when registered through WAAdmin rather than JQMAdmin
work as expected.

Any chance someone could shed some light on this?

As far as I can tell, it could be getting the wrong
WAActionPhaseContinuation or somehow the WASnapshot retains the called
WADelegate decoration (even though, this decoration appeared to be removed
correctly from the render continuation post answer !?).

Well, any help would be appreciated.

Yuet
-----------------------------------------------------------------------------------------------

*Caller Component*

WAComponent subclass: #AATestMainComponent
instanceVariableNames: 'testValue'
classVariableNames: ''
poolDictionaries: ''
category: 'AATest'


renderContentOn: html
html
anchor
callback: [
testValue := self call: AATestGetValueComponent new
];
with:  '(1) Click here to set the Test Value'.
html
break;
text: ' (2) The Test Value is: ',  testValue greaseString.
html
break;
text: '(3) Now press the REFRESH button on the browser'.


*Called component*

WAComponent subclass: #AATestGetValueComponent
instanceVariableNames: 'testValue'
classVariableNames: ''
poolDictionaries: ''
category: 'AATest'


renderContentOn: html
html form
with: [
html label
for: html nextId;
with: 'Test Value'.
html textInput
on: #testValue of: self;
id: html lastId.
html button
callback: [ self answer: testValue ];
with: 'Accept' ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20120406/b7253be2/attachment.htm


More information about the seaside mailing list