Re: Updated to 3.5 and now lots of html errors
Re: Updated to 3.5 and now lots of html errors
- Subject: Re: Updated to 3.5 and now lots of html errors
- From: Ramsey Lee Gurley <email@hidden>
- Date: Thu, 24 Sep 2009 07:48:00 -0400
On Sep 23, 2009, at 11:45 PM, Ramsey Lee Gurley wrote: Of course, this works fine, but it gives me a red X. The trick that worked before was...
CheckboxWrapper //VALID : WOGenericContainer {
That was a bit of overkill because it disabled validation on the whole WOD, but it did work. Now, that's not working... sooooo, any hints on how to make my red Xs go away?
i'm amazed that worked before :) i didn't intentionally disable this, but then i never really intentionally ENABLED it. Valid should definitely not have disabled for the entire WOD -- are you sure it did that? what red 'x' are you getting btw? that elementName is a required binding? if it isn't, then we should remove it from the API validation rules for WOGenericContainer.
ms
Oh yes, I remember quite distinctly that it would nuke the validation for the whole WOD (^_^) But that was ok, because I got everything else right and never touched it again after I put the //VALID on it.
And yeah, the red X is regarding the missing elementName binding. I was surprised, but WOGenericContainer works without it. And in this case, it is the only way I can produce valid XHTML with this component. Those bindings are copied from Apple sample code, comment and all, located at
/Developer/Examples/JavaWebObjects/Frameworks/WOComponentElements/wo-resources/Resources/WXCheckBoxList.wo/WXCheckBoxList.wod
Ramsey
BTW, I looked for a WOGenericContainer.api in ERExtensions. Nothing there, so I guess that's Apple binding validation? I can see why 99% of the time, I would want that validation. Perhaps there is some other way to mark this one instance //VALID?
Ramsey
|
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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