#954 ✓resolved
Sam

ajax functionality - part inside a field-view

Reported by Sam | May 23rd, 2011 @ 07:40 PM | in Hobo 1.3 (Rails 3)

I'm getting an error now in hobo 1.3 when calling a part that's inside a field-view. It used to work in Hobo 1.0. The error is ArgumentError (invalid typed-id: :myField):
I checked the log and it seems to be sending field_name instead of this:field_name as in the past. Now it looks like this: Call part: myPart. this-id = :myField, locals = []. In the past, it used to be: Call part: myPart. this-id = this:myField, locals = [], so now "this" is missing which I think causes find_by_typed_id to break with the above error. I am not sure if this is an intentional change. If it is, is there a workaround?
What I'm trying to achieve is similar to this recipe where there is a part inside the city-view:

http://cookbook.hobocentral.net/recipes/15-dynamically-populated-se...

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Tags

Referenced by

Pages