Re: Wonder WebObjects question
Re: Wonder WebObjects question
- Subject: Re: Wonder WebObjects question
- From: Chuck Hill <email@hidden>
- Date: Fri, 03 Aug 2012 12:33:59 -0700
Hi Helmut,
I am not sure which replacements you are referring to. ERWebObjects.jar in ERJars/Library replaces these classes:
com/webobjects/_ideservices/_IDEProject.class
com/webobjects/_ideservices/_IDEProjectPB.class com
com/webobjects/_ideservices/_IDEProjectPBX.class
com/webobjects/_ideservices/_IDEProjectWOLips.class
com/webobjects/_ideservices/_NSProjectBundleIDEProject$Resource.class
com/webobjects/_ideservices/_NSProjectBundleIDEProject.class
com/webobjects/_ideservices/_PBProject.class
com/webobjects/_ideservices/_PBXProjectWatcher.class
com/webobjects/_ideservices/_WOAntProject.class
com/webobjects/_ideservices/_WOLaunchServices.class
com/webobjects/_ideservices/_WOLipsProject.class
com/webobjects/_ideservices/_WOProject.class
com/webobjects/appserver/_private/WOBundle.class
com/webobjects/appserver/_private/WODeployedBundle.class
com/webobjects/appserver/_private/WOProjectBundle$PBWOProjectAndDirFilter.class
com/webobjects/appserver/_private/WOProjectBundle.class
ERXPatcher replaces these classes:
public static synchronized void installPatches() {
DynamicElementsPatches.cleanupXHTML = ERXValueUtilities.booleanValueWithDefault(System.getProperty("er.extensions.ERXPatcher.cleanupXHTML"), false);
DynamicElementsPatches.useButtonTag = ERXProperties.booleanForKeyWithDefault("er.extensions.foundation.ERXPatcher.DynamicElementsPatches.SubmitButton.useButtonTag", false);
if (DynamicElementsPatches.useButtonTag) {
ERXPatcher.setClassForName(ERXSubmitButton.class, "WOSubmitButton");
} else ERXPatcher.setClassForName(DynamicElementsPatches.SubmitButton.class, "WOSubmitButton");
ERXPatcher.setClassForName(DynamicElementsPatches.ResetButton.class, "WOResetButton");
ERXPatcher.setClassForName(DynamicElementsPatches.TextField.class, "WOTextField");
ERXPatcher.setClassForName(DynamicElementsPatches.GenericElement.class, "WOGenericElement");
// ERXPatcher.setClassForName(DynamicElementsPatches.GenericContainer.class, "WOGenericContainer");
ERXPatcher.setClassForName(DynamicElementsPatches.Image.class, "WOImage");
ERXPatcher.setClassForName(DynamicElementsPatches.ActiveImage.class, "WOActiveImage");
ERXPatcher.setClassForName(DynamicElementsPatches.Text.class, "WOText");
ERXPatcher.setClassForName(DynamicElementsPatches.PopUpButton.class, "WOPopUpButton");
ERXPatcher.setClassForName(DynamicElementsPatches.Browser.class, "WOBrowser");
ERXPatcher.setClassForName(DynamicElementsPatches.CheckBox.class, "WOCheckBox");
ERXPatcher.setClassForName(DynamicElementsPatches.CheckBoxList.class, "WOCheckBoxList");
ERXPatcher.setClassForName(DynamicElementsPatches.FileUpload.class, "WOFileUpload");
ERXPatcher.setClassForName(DynamicElementsPatches.HiddenField.class, "WOHiddenField");
ERXPatcher.setClassForName(DynamicElementsPatches.ImageButton.class, "WOImageButton");
ERXPatcher.setClassForName(DynamicElementsPatches.PasswordField.class, "WOPasswordField");
ERXPatcher.setClassForName(DynamicElementsPatches.RadioButton.class, "WORadioButton");
ERXPatcher.setClassForName(DynamicElementsPatches.RadioButtonList.class, "WORadioButtonList");
// AK This is needed so we get our versions of the WOToXXRelationships installed even if the
// ones from WOExtensions are before us in the classpath
ERXPatcher.setClassForName(WOToManyRelationship.class, "WOToManyRelationship");
ERXPatcher.setClassForName(WOToOneRelationship.class, "WOToOneRelationship");
ERXPatcher.setClassForName(ERXHyperlink.class, "WOHyperlink");
if (ERXProperties.booleanForKeyWithDefault("er.extensions.WOSwitchComponent.patch", true)) {
ERXPatcher.setClassForName(ERXSwitchComponent.class, "WOSwitchComponent");
}
if (!ERXApplication.isWO54() || ERXProperties.booleanForKey("er.extensions.WOConditional.patch")) {
ERXPatcher.setClassForName(ERXWOConditional.class, "WOConditional");
}
// RM XHTML strict compliance
ERXPatcher.setClassForName(DynamicElementsPatches.JavaScript.class, "WOJavaScript");
}
Does that answer your question?
Chuck
On 2012-08-03, at 11:58 AM, Helmut Tschemernjak wrote:
> Dear Wonder Experts,
>
> for the Wonder project I can find only a handful source replacements of the JavaWebObjects Framework. I see much more changes for the woextensions, and certainly foundation replacements in Utilities/NSFoundation/*.
>
> I am interested which of the JavaWebObjects Framework classes getting replaced by Wonder. Pointing to the classnames would be of help for me.
>
>
> Thanks
>
> Helmut
>
> PS: I am new to Wonder, at present I start just browsing it.
>
>
> _______________________________________________
> 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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects
_______________________________________________
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