Thanks for the hint, but the suggested view code in new-for-event-page
for="Registration"
<form with="&Attendee.new" param>
<field-list: fields="registrations">
<registrations-view:>
<input-many>
<field-list fields="prices">
<prices-view:>
https://mail.google.com/mail/?shva=1#inbox/136453761ed5310a
<select-many/>
</prices-view:>
</field-list>
</input-many>
</registrations-view>
</field-list:>
<actions:>
<submit label="#{ht 'registration.actions.save',
:default=>['Save']}" param/>
<or-cancel with="&@event" param="cancel"/>
</actions:>
</form>
is not working. I'm seeing just the attendee fields in my form, but no
price checkboxes.
I would need to get the price list via the &@event parameter object, since
the Attendee model used as form context in the form has no direct reference
to prices. So I tried to change the price field list <field-list
fields="&@event.prices"> but that's not working either. Displaying the
event prices via the event param works fine.
I can associate existing event prices with a registration by calling
http://.../registration_price/new,
so the basic creation mechanism works fine too.
It feels I'm missing something obvious, but right now my mind is blank. I
predict a facepalm in my future.
--
Lea 'LadyBug' Viljanen
--
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.