D2W component ??
D2W component ??
- Subject: D2W component ??
- From: Theodore Petrosky <email@hidden>
- Date: Sat, 14 Mar 2015 23:15:31 -0400
I have a whole bunch of booleans (attributes) in the security section of my Person (Entity). I have been using the ERD2WMultiItemCustomComponent to aggregate multiple check boxes (with labels [the propertyKeys]) to a single line.
The problem with ERD2WMultiItemCustomComponent is that it appears to be incomplete. the HTML from the component:
<webobject name="Repetition1"><span class="PropertyName"><webobject name=PropertyName></webobject></span> <webobject name="SwitchComponent1"></webobject> </webobject>
notice there is a repetition then a span with a class. Unfortunately, the class is “PropertyName”. if I have 15 items wrapped in this component, the all have the class of “PropertyName”. There is no way to target custom CSS on each element.
So a question, is there a different component that can be used to aggregate multiple attributes to a single line? Or should I fix the component and add custom classes to each iteration of the repetition.
I cloned ERD2WMultiItemCustomComponent and added the elements to include targetable css to each and any attribute the is included. I was thinking of making the change to the Wonder component and requesting a pull.
Before I do that, I wanted to make sure it is something that is needed. Maybe there is a better component that I should be using.
Is there a better way to accomplish this without ERD2WMultiItemCustomComponent?
Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden