Re: submit button errors on deployment
Re: submit button errors on deployment
- Subject: Re: submit button errors on deployment
- From: Chuck Hill <email@hidden>
- Date: Thu, 10 Feb 2011 14:37:18 -0800
On Feb 10, 2011, at 2:08 PM, Joe Little wrote:
> On Thu, Feb 10, 2011 at 2:04 PM, Chuck Hill <email@hidden> wrote:
>> On Feb 10, 2011, at 2:01 PM, Joe Little wrote:
>>
>>> That was it. Why oh why does it work in development?
>>
>> I am not sure. Is it getting embedded? Is it not installed in your dev environment, so embedding can't find it?
>
> Its working w/ WOOGNL even though it wasn't added to the project. Its
> in my dev environment in /Library/Frameworks, but of course for
> deployment it needs to be defined in the project to be embedded.
Really not sure how that could be working.
>
>
>>
>>
>>> As for your quip about UNIX knowledge, you got me on that one.
>>
>> Especially considering that it usually takes you about 2 seconds to leave me in the dust...
>>
>>>
>>>
>>> On Thu, Feb 10, 2011 at 1:55 PM, Chuck Hill <email@hidden> wrote:
>>>>
>>>> On Feb 10, 2011, at 1:49 PM, Joe Little wrote:
>>>>
>>>>> Its embedded, but I'm wondering if there is a version issue with the
>>>>> classpath, as if something is overriding the methods in a new way.
>>>>
>>>> Do you see WOOGNL.framework in /Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks? It is NOT in your class path below. ognl is, but not WOOGNL.
>>>>
>>>>
>>>>> I don't get a classpath when running in development, but Wonder
>>>>> reports it in deployment, although its not easily parsable to the
>>>>> naked eye :)
>>>>
>>>> Ya know, a person with some UNIX knowledge could probably replace the : with a line break. Search and replace in a text editor has been known to work too. :-P
>>>>
>>>>
>>>>>
>>>>> com.webobjects.classpath=/Library/WebObjects/Applications/Affiliates.woa/Contents/Resources/Java/:/Library/WebObjects/Applications/Affiliates.woa/Contents/Resources/Java/affiliates.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERJars.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERPrototypes.framework/Resources/Java/ERPrototypes.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERModernLook.framework/Resources/Java/ERModernLook.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERModernDefaultSkin.framework/Resources/Java/ERModernDefaultSkin.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERModernDirectToWeb.framework/Resources/Java/ERModernDirectToWeb.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERDirectToWeb.framework/Resources/Java/ERDirectToWeb.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/Ajax.framework/Resources/Java/Ajax.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/WOLips.framework/Resources/Java/WOLips.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERTaggable.framework/Resources/Java/ERTaggable.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/PostgresqlPlugIn.framework/Resources/Java/PostgresqlPlugIn.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERCoolComponents.framework/Resources/Java/ERCoolComponents.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/AffiliatesModel.framework/Resources/Java/affiliatesmodel.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERChronic.framework/Resources/Java/ERChronic.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaDTWGeneration.framework/Resources/Java/javadtwgeneration.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaDirectToWeb.framework/Resources/Java/javadirecttoweb.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaEOProject.framework/Resources/Java/javaeoproject.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERFoundation.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERWebObjects.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/erxservletadaptor.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/junit-4.8.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.14.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ognl-2.6.7.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.5.0.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.5.0.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/Ajax.framework/Resources/Java/jabsorb-1.2.2.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/AffiliatesModel.framework/Resources/Java/postgresql-8.2-508.jdbc3.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERChronic.framework/Resources/Java/commons-lang-2.4.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaDTWGeneration.framework/WebServerResources/Java/JavaDTWGeneration.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaDirectToWeb.framework/WebServerResources/Java/JavaDirectToWeb.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaFoundation.framework/WebServerResources/Java/JavaFoundation.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaXML.framework/WebServerResources/Java/javaxml.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaWebObjects.framework/WebServerResources/Java/JavaWebObjects.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaEOAccess.framework/WebServerResources/Java/JavaEOAccess.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaEOControl.framework/WebServerResources/Java/JavaEOControl.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaJDBCAdaptor.framework/WebServerResources/Java/JavaJDBCAdaptor.jar:/Library/WebObjects/Extensions/postgresql.jar:/Library/WebObjects/Extensions/
>>>>>
>>>>> On Thu, Feb 10, 2011 at 1:21 PM, Chuck Hill <email@hidden> wrote:
>>>>>> Is it missing from the deployment server? Did not get embedded? Classpath is wrong?
>>>>>>
>>>>>>
>>>>>> On Feb 10, 2011, at 11:45 AM, Joe Little wrote:
>>>>>>
>>>>>>> Yep, it's my status page since I couldn't list multiple entities in one page, i am instead getting 4 different arrays and creating listpageinterfaces for each similar to the excel look demo.
>>>>>>>
>>>>>>> As for wognl, it's enabled, as it works in development mode.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Feb 10, 2011, at 11:17 AM, David LeBer <email@hidden> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> On 2011-02-10, at 2:04 PM, Joe Little wrote:
>>>>>>>>
>>>>>>>>> I'm getting these errors:
>>>>>>>>>
>>>>>>>>> Error: com.webobjects.appserver._private.WODynamicElementCreationException:
>>>>>>>>> 'action' is a constant.
>>>>>>>>> Reason: <er.extensions.foundation.ERXPatcher$DynamicElementsPatches$SubmitButton>'action'
>>>>>>>>> is a constant.
>>>>>>>>>
>>>>>>>>> For this section
>>>>>>>>>
>>>>>>>>> <tr>
>>>>>>>>> <td style="text-align:right"><wo:string value="$recentNotes.count"/>
>>>>>>>>> <wo:submit action="$viewRecentNotes" value="View"/></td>
>>>>>>>>> <td style="text-align:right"><wo:string value="$dueNotes.count"/>
>>>>>>>>> <wo:submit action="$viewDueNotes" value="View"/></td>
>>>>>>>>> <td style="text-align:right"><wo:string value="$newProjects.count"/>
>>>>>>>>> <wo:submit action="$viewNewProjects" value="View"/></td>
>>>>>>>>> <td style="text-align:right"><wo:string
>>>>>>>>> value="$expiringProjects.count"/> <wo:submit
>>>>>>>>> action="$viewExpiringProjects" value="View"/></td>
>>>>>>>>> </tr>
>>>>>>>>>
>>>>>>>>> In ModernLook. I noticed that I was getting XML parsing errors as well
>>>>>>>>> in deployment though the PageWrapper marks it as HTML4 transitional.
>>>>>>>>
>>>>>>>> That does not look like ModernLook code. So I'm assuming it's a custom component of yours.
>>>>>>>>
>>>>>>>> Is WOOgnl enabled?
>>>>>>>>
>>>>>>>> ;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
>>>>>>>> twitter: http://twitter.com/rebeld
>>>>>>>> --
>>>>>>>> Toronto Area Cocoa / WebObjects developers group:
>>>>>>>> http://tacow.org
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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/products/practical_webobjects
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>> --
>>>> 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/products/practical_webobjects
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>> --
>> 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/products/practical_webobjects
>>
>>
>>
>>
>>
>>
>>
>>
--
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/products/practical_webobjects
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