Evaluator not working anymore

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Evaluator not working anymore

Alejandro Martínez
i have updated to
Seaside2.8a1-mu.540
Scriptaculous-mb.239

and now the following evaluator do not work anymore:

renderProductListOn: html
    html multiSelect
        id: 'productList';
        list: self sampleProducts;
        onChange: ( html evaluator
                        triggerFormElement: 'formId';
                        callback: [: script | self halt. self updateInputsForSelectedProductOn: script ]
                    );
        callback: [: s | list := s ];                   
        on: #list
        of: self.

the callback with the halt is never evaluated when I click over the items in the list

==========================================================
renderContentOn: html

    html form
        id: 'formId';
        with: [ self renderProductListOn: html.
                 self renderInputsOn: html ]

==========================================================
renderInputsOn: html

(html div)
      id: 'nameId';
       with: [ html textInput on: #productName of: self ].

(html div)
      id: 'priceId';
      with: [html textInput on: #productPrice of: self ].


==========================================================

what i'm doing wrong?


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Evaluator not working anymore

Lukas Renggli
> what i'm doing wrong?

What does FireBug say?

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Evaluator not working anymore

Alejandro Martínez
i had to manually copied the response body to an html file. i get a walkback saying MNU on WAMultiSelectTag>>performCallback:

performCallback: anObject
    selected add: anObject

from the debugger i can see selected ivar is nil

2008/2/29, Lukas Renggli <[hidden email]>:
> what i'm doing wrong?


What does FireBug say?

Lukas


--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Evaluator not working anymore

Lukas Renggli
So this means there is problem on the client-side?

Can you provide the full stack?

Can you provide the full source?

Lukas



On 2/29/08, Alejandro Martínez <[hidden email]> wrote:

> i had to manually copied the response body to an html file. i get a walkback
> saying MNU on WAMultiSelectTag>>performCallback:
>
> performCallback: anObject
>     selected add: anObject
>
> from the debugger i can see selected ivar is nil
>
> 2008/2/29, Lukas Renggli <[hidden email]>:
> >
> > > what i'm doing wrong?
> >
> >
> > What does FireBug say?
> >
> > Lukas
> >
> >
> > --
> > Lukas Renggli
> > http://www.lukas-renggli.ch
> > _______________________________________________
> > seaside mailing list
> > [hidden email]
> >
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
>
>
> _______________________________________________
>  seaside mailing list
>  [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Evaluator not working anymore

Alejandro Martínez
believe it or not, problem was a firefox plugin...cannot tell you which one because i've uninstalled all of them and now it worked, FF do not shows me my installed plugin history :(

2008/2/29, Lukas Renggli <[hidden email]>:
So this means there is problem on the client-side?

Can you provide the full stack?

Can you provide the full source?


Lukas




On 2/29/08, Alejandro Martínez <[hidden email]> wrote:
> i had to manually copied the response body to an html file. i get a walkback
> saying MNU on WAMultiSelectTag>>performCallback:
>
> performCallback: anObject
>     selected add: anObject
>
> from the debugger i can see selected ivar is nil
>
> 2008/2/29, Lukas Renggli <[hidden email]>:
> >
> > > what i'm doing wrong?
> >
> >
> > What does FireBug say?
> >
> > Lukas
> >
> >
> > --
> > Lukas Renggli
> > <a href="http://www.lukas-renggli.ch" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.lukas-renggli.ch
> > _______________________________________________
> > seaside mailing list
> > [hidden email]
> >
> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
>
>
> _______________________________________________
>  seaside mailing list
>  [hidden email]
> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>



--

Lukas Renggli
<a href="http://www.lukas-renggli.ch" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside