[Seaside] new release of Seaside integration for JQueryMobile

Marten Feldtmann itlists at schrievkrom.de
Mon Oct 31 20:14:41 UTC 2011


Hello Nick,

there seems to be problems when updating buttons (with theme styles) 
during an ajax callback ...

renderBaseContentOn: html

| anID |
	
anID := html nextId.
html div	
   class: 'ui-body';
   class: 'ui-body-',self themeName;
   with: [	
     html div
       id: anID ;
       onTap:
         (html jQuery ajax
             callback: [ :val | ..... ];
             script: [ :s |
               s << ((s jQuery id: anID ) load
                    html: [ :ajax |
                       self renderForwardButtonOn: ajax])]
          );			
        with: [ self renderForwardButtonOn: html ]
   ].
		

and:

renderForwardButtonOn: html
   html anchor jqmButton
     with: 'Next Stop'


When this code is executed for the first time, all looks pretty nice.

But when updating via ajax most of the styles are lost - and the stuff 
is looking pretty ugly.

Any ideas if this bug is related to mobile ?

Marten


More information about the seaside mailing list