Re: WOToManyRelationship and Extra Bindings

David LeBer <[email protected]> Mon, 26 May 2008 11:17:15 -0400
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
On 26-May-08, at 10:52 AM, WebObjects - Anazys wrote:

> Hi all,
>
> I have the same problem with CSS class name which is ignored in a  
> WOToManyRelationship or ERXToManyRelationship.

Well...

I believe that an ERXToManyRelationship renders as a select OR a table  
of checkboxes.

So you could always wrap it in a div (or span) then use that to create  
the css selector:

<div id="the_thing"><wo:ERXToManyRelationship .... /></div>

<style>
	#the_thing table {
		....
	}

	#the_thing select {
		...
	}
</style>

> Does anyone know how to fix this bug ?


I think I'd call it a feature request rather than a bug, and for ERX*  
you can always file one at <http://issues.objectstyle.org/jira/browse/WONDER 
 >

> Thanks,
> Cedric
>
>
> Le 14 nov. 04 à 23:10, Hunter Hillegas a écrit :
>
>> We use WOToManyRelationship in a few places.
>>
>> We often set and extra component binding for 'class', which we use  
>> to set the CSS class name.
>>
>> This doesn't seem to work with WOToManyRelationship - it doesn't  
>> seem to get the class name propagated to the rendered HTML.
>>
>> So... Is this a known issue? Or am I doing something wrong?
>>
>> I took at look at the source for both the Apple version and the  
>> Wonder version. They seem pretty similar.
>>
>> Has anyone else seen this issue?
>>
>> Thanks,
>> Hunter

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org

_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
smime.p7s (application/pkcs7-signature, 2.4 KB) - not displayed