Ok, I found It

/System/Library/Frameworks/JavaWOExtensions.framework/Versions/A/ Resources/WOStatsPage.wo ....

now toy can adjust the USERname field binding... change HTML or WOD...

works now.
Thanks Helge!


On 02/nov/05, at 17:59, Helge Staedtler wrote:

guy can you be a little more specific? no you can't?

if you might have mentioned that your error is something like:

Application:     test
Error: com.webobjects.appserver._private.WODeclarationFormatException:
no declaration for dynamic element (or component) named USERname
Reason: <WOHTMLTemplateParser> no declaration for dynamic element (or
component) named USERname
Stack trace:
File    Line#    Method    Package
WOHTMLWebObjectTag.java    212    _elementWithDeclaration
com.webobjects.appserver._private
WOHTMLWebObjectTag.java    122    dynamicElement
com.webobjects.appserver._private
WOHTMLTemplateParser.java    52    didParseClosingWebObjectTag
com.webobjects.appserver._private
WOHTMLParser.java    183    didParseClosingWebObjectTag
com.webobjects.appserver._private
WOHTMLParser.java    150    endOfWebObjectTag
com.webobjects.appserver._private
WOHTMLParser.java 67 parseHTML com.webobjects.appserver._private
WOHTMLTemplateParser.java    81    parseHTML
com.webobjects.appserver._private
WOHTMLTemplateParser.java    95    parse
com.webobjects.appserver._private
WOParser.java    71    templateWithHTMLAndDeclaration
com.webobjects.appserver._private
WOComponentDefinition.java    288    template
com.webobjects.appserver._private
WOComponent.java 597 templateWithName com.webobjects.appserver
WOComponent.java    507    template    com.webobjects.appserver
WOComponent.java 982 appendToResponse com.webobjects.appserver WOStatsPage.java 131 appendToResponse com.webobjects.woextensions
WOComponent.java    1388    _appendPageToResponse
com.webobjects.appserver
WOComponent.java    1356    _generateResponseInContext
com.webobjects.appserver
WOComponent.java 1351 generateResponse com.webobjects.appserver
WOActionRequestHandler.java    259    _handleRequest
com.webobjects.appserver._private
WOActionRequestHandler.java    142    handleRequest
com.webobjects.appserver._private
WOApplication.java 1306 dispatchRequest com.webobjects.appserver WOWorkerThread.java 173 runOnce com.webobjects.appserver._private
WOWorkerThread.java    254    run    com.webobjects.appserver._private
Thread.java    552    run    java.lang

one might have been able to help you.


seems like you did not mention you are working on WO5.3
5.3 Tools and Frameworks have some *nice* surprises which are the price for some new release, one of them is the error shown above. some template (think .wod-file) is corrupted with the string "USERname" I once read somewhere
that you need to fix this in the ???/Library/somewhereOnlyGodKnows and
rename the relevant string to "username", all lowercase. so it is DEFINITELY
NOT YOUR FAULT! its apples fault to be correct.

looks like time is in a way overdue for WO5.3.1 (or at least some patch) e.g. to fix the dev-tools (which are missing the EOModeler templates and
fixing the template error in the frameworks of 5.3)... this error now
appears for the n'th time on the mailinglist...

Mr. Tuel, any further constructive hint on this one?

regards,
helge








Am 02.11.2005 17:32 Uhr schrieb "Amedeo Mantica" unter
<[EMAIL PROTECTED]>:

I got always an error page, should be a WOStatsDirectAction
implemented??

Thanks

On 02/nov/05, at 17:05, Helge Staedtler wrote:

you can programmatically set the password in your Application.java
calling

statisticsStore().setPassword( "myObscurePassword" );

then call

http://yourservername/cgi-bin/WebObjects/yourappname.woa/wa/WOStats

and enter "myObscurePassword" if asked for the password.

this should work in any case.

regards,
helge



Am 02.11.2005 15:48 Uhr schrieb "Amedeo Mantica" unter
<[EMAIL PROTECTED]>:


I have done, but still doesn't work :(

On 02/nov/05, at 11:07, Dev WO wrote:


Hi Amedeo,
you've got to setup a password for the page I think.
using -WOStatisticsPassword=password in the argument list for your
application/instance.

Xavier





I cannnot reach the WOStats page

I call the page using applicationName.woa/wa/WOStats... but
doesn't work, how to?

Thanks
Amedeo
_______________________________________________
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/webobjects%
40anazys.com

This email sent to [EMAIL PROTECTED]








 _______________________________________________
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/lgxxl% 40web.de

This email sent to [EMAIL PROTECTED]


--
Helge Städtler

- Expect and Respect.




 _______________________________________________
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/lgxxl%40web.de

This email sent to [EMAIL PROTECTED]

--
Helge Städtler

- Expect and Respect.



_______________________________________________
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 archive@mail-archive.com

Reply via email to