i'm surprised you can't do CheckboxWrapper : WOGenericContainer { //
VALID
On Sep 24, 2009, at 7:48 AM, Ramsey Lee Gurley wrote:
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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com