Tom,
This is the issue related with our last e-mails. I think that the
problem is in the create-button. It can not update parts of a section
that contains the button itself. The turn-around is to force the
button to declare a part and update it. I used the following
turnaround:
<create-button update="self, members" model="GameMembership"
label="Register" fields="&{:user_id => current_user.id, :game_id =>
this.id}" part="registration-button"/>
TF
On Dec 1, 12:54 pm, Tom Locke <[EMAIL PROTECTED]> wrote:
> > I have a table-plus with registrations.
> > ...
>
> > When the user registers, the new model correctly object is created but
> > I get a nasty ajax exception.
>
> > When the user removes the registration, the model object is deleted
> > from the database but I get a nasty ajax exception.
>
> Long delay responding to this - it's been on my list and I've just got
> to it.
>
> 1. You might have hit a bug. I've just fixed a bunch but they were all
> related to Rails 2.2 support, so I'm not sure if they would have been
> effecting you or not.
>
> 2. Note that the ajax mechanism can't cope very well when the context
> is a collection. I haven't figured out a good solution, but here's a
> bodge that would help on an index page:
>
> <table-plus with="&@things || Thing.all" ... >
>
> Tom
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---