[Catalyst] HTML::Prototype (observe_field)

Will Smith willbelair at yahoo.com
Tue Nov 22 20:53:39 CET 2005


thanks, for pointing that out. But it is an error when I type the mail :-) . 
   
  Anyone please? Hint, comment, instruction .. all will be thankful
   
  Thanks

Adam Jacob <adam at stalecoffee.org> wrote:
  
On Nov 22, 2005, at 8:51 AM, Will Smith wrote:

> I've used Html::Prototype in my app. The autocomplete working fine, 
> but the observer_field does not. Here is my simple code (i just 
> want to invoke the javax function for testing purpose, not to 
> return a value, will do this later):
> on the template:
> ---------
> [% c.prototype.define_javascript_functions %]
> [% c.prototype.observe_field %]
>  [input] 
> [% c.prototype.observe_field(myfield,{
> url => base _ observefield/go' # trigger the sub go -> to 
> another tmplate
> }) %]

Perhaps you are missing a ' in the url line?

url => base _ observefield/go' # trigger the sub go -> to 
another tmplate

Should be:

url => base _ 'observefield/go' # trigger the sub go -> to 
another tmplate

?

Adam

---
Victory has a thousand fathers, but defeat is an orphan. -- John F. 
Kennedy





_______________________________________________
Catalyst mailing list
Catalyst at lists.rawmode.org
http://lists.rawmode.org/mailman/listinfo/catalyst
  


		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20051122/e61d0a4f/attachment.htm


More information about the Catalyst mailing list