I'm relatively new to Hobo, working with a relatively mature app ( > 1 
year) in Hobo 1.3.

The feature I'm adding requires me to add data to the join table of a 
many-to-many relationship. Specifically, GraphPanes >=< DataSets. To track 
whether a DataSet should appear in the GraphPane's legend, the join table 
(DataSetGraphPanes) now has a boolean in_legend field. This was easy enough.

Showing the relationship in the GraphPane show view was also manageable by 
changing the view hint from `children :data_sets` to `children 
:data_set_graph_panes` and tinkering with the card for DataSetGraphPanes a 
bit.

However, the form for adding these relationships is a puzzle for me. The 
existing form for a GraphPane adds a DataSet directly:

      <select-many:data_sets 
options="&DataSet.activity_is(activity_for(@this))" />

...but what I need now appears to be a sort of sub-form for a 
DataSetGraphPane which has that same select menu of DataSets, but shows an 
items list of DataSetGraphPanes, with a checkbox to set the in_legend 
boolean for them, and that sort of tag appears to require some contortions 
in DryML.

What have I gotten myself into?

pjm

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/hobousers/-/vqER6VxdNT4J.
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.

Reply via email to