CSS and ERD2WMultiItemCustomComponent
CSS and ERD2WMultiItemCustomComponent
- Subject: CSS and ERD2WMultiItemCustomComponent
- From: Theodore Petrosky <email@hidden>
- Date: Sat, 07 Feb 2015 19:45:03 -0500
I have a couple of elements that I want to put on a single line. I found ERD2WMultiItemCustomComponent and it seemed to do the trick with a couple of rules:
100 : pageConfiguration = 'EditEvent' => displayPropertyKeys = ("topLine", "eventPersons") [com.webobjects.directtoweb.Assignment]
100 : (pageConfiguration = 'EditEvent' and propertyKey = 'topLine') => componentName = "ERD2WMultiItemCustomComponent" [com.webobjects.directtoweb.Assignment]
100 : (pageConfiguration = 'EditEvent' and propertyKey = 'topLine') => displayPropertyKeys = ("show.showName", "dateTime") [com.webobjects.directtoweb.Assignment]
100 : (pageConfiguration = 'EditEvent' and propertyKey = 'show.showName') => componentName = "D2WDisplayString" [com.webobjects.directtoweb.Assignment]
It seems that in ERD2WMultiItemCustomComponent there is a repetition that wraps a span. Problem is that the span has a hard coded class. No matter how many attributes you add to the line, each item gets wrapped in <span class = “PropertyName”> </span>
I am looking at the other D2W Components. Is there a way to put multiple attributes on a line in D2W and have independent class names to target with CSS?
_______________________________________________
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