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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to