[Seaside] Weird back button problem
Lawrence Kellogg
mac.hive at me.com
Fri Apr 6 10:48:26 UTC 2012
Johan,
Unfortunately, changing it from value: to with: does not make any difference, the bug is still there. I looked through my code and it looks like I am calling html form: for all the resources I am rendering, as far as I can tell.
Does this snippet of code provide any clue?
….
<form accept-charset="utf-8" method="post" action="/PracticeJournalLoginTask?_s=MQjCWJGC8kOo0deT&_k=ZS373GZpYr33sacc"><br/>
<input class="btn submit" name="12" value="Back" type="submit"/>
<br/><br/><br/>
<form accept-charset="utf-8" method="post" action="/PracticeJournalLoginTask?_s=MQjCWJGC8kOo0deT&_k=ZS373GZpYr33sacc"><object>
<param name="width" value="586"></param>
<param name="height" value="355"></param>
<param name="movie" value="http://www.youtube.com/v/PIlDmg2iFgA?fs=1&hl=es&rel=0&cc_load_policy=1&cc_lang_pref=es&version=3"></param><param name="cc_load_policy" value="1"></param>
<param name="allowFullScreen" value="false"></param><param name="allowScriptAccess" value="always"></param>
<embed src="http://www.youtube.com/v/PIlDmg2iFgA?fs=1&hl=es&rel=0&cc_load_policy=1&cc_lang_pref=es&version=3" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="false" width="586" height="355"></embed></object><br/></form><br/>
<input class="btn submit" name="13" value="Back" type="submit"/><br/></form></div></div><div class="wa-toolbar"></div>
<script type="text/javascript">/*<![CDATA[*/function onLoad(){};/*]]>*/</script></body></html>
Regards,
Larry
www.practicemusic.com
On Apr 6, 2012, at 6:35 AM, Johan Brichau wrote:
> It's a guess but did you try replacing
>
> value: 'Back'
>
> with
>
> with: 'Back'
>
> ?
>
> Otherwise, a snippet of the 'weird rendering' might help
>
> Johan
>
> On 05 Apr 2012, at 23:10, Lawrence Kellogg wrote:
>
>> Hello,
>> I noticed a weird issue with rendering the Back button. If I have
>>
>> renderBackButtonOn: html
>> html break.
>> html cancelButton
>> class: 'btn';
>> callback: [ self back ];
>> value: 'Back'.
>> html break
>>
>> and this:
>>
>> back
>> self answer: false
>>
>> and then this:
>>
>> html
>> form: [
>> self renderBackButtonOn: html.
>>
>> self resources do: [: each | html render: each].
>>
>> self renderBackButtonOn: html].
>>
>>
>> I often see the case where the first rendering of the Back button works correctly, but the last render does not work. I press the button and nothing happens. Any idea what is going on here?
>>
>> Regards,
>>
>> Larry Kellogg
>> www.practicemusic.com
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20120406/37f81d88/attachment-0001.htm
More information about the seaside
mailing list