[Seaside] Re: problems with onBlur:

Boris Popov, DeepCove Labs boris at deepcovelabs.com
Sun Oct 2 16:35:08 UTC 2011


If you're using jQuery these events are bound onDomReady, look towards the end of the page for that block.

Sent from my iPhone

On 2011-10-02, at 12:27, "Larry White" <ljw1001 at gmail.com> wrote:

> Sorry, reposting in the hope that someone can shed some light on why my onBlur textItem attribute gets dropped when Seaside renders it to a browse, but includes it when rendering within Smalltalk.
> 
> On Fri, Sep 30, 2011 at 5:34 PM, Larry White <ljw1001 at gmail.com> wrote:
> >
> I'm trying to add a snippet of javascript to a textInput using onBlur:  The code looks like this:
> 
> html textInput
>       id: self getHtmlId;
>       class: self cssInputClass;
>       size: metaData inputColumns;
>       callback: self callback  ;
> onBlur: 'document.getElementById("rowfrm").submit();';
> > value: self valueBlock value.
> > when I render it in Pharo (Thanks Boris!) I get something like this:
> >
> > <input id="PasswordReset_emailAddress" 
> >
> > class="xlarge text" size="30" name="1" 
> >
> > onblur="document.getElementById(&quot;rowfrm&quot;).submit();" 
> >
> > value="" type="text"/>
> >
> > when i see it in the browser, the onBlur is missing.
> >
> > <input id="PasswordReset_emailAddress" class="xlarge text" size="30" name="1" value="" type="text">
> >
> > Any idea what's going on? Also, is the encoding in the onBlur string part of the problem?
> >
> > Thanks.
> _______________________________________________
> 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/20111002/73f5a822/attachment.htm


More information about the seaside mailing list