Re: Cannot run hilo game in T5 tutorial

2007-05-09 Thread John Lee

Here is the err dump.

[INFO] Jetty server exiting.
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] org/apache/tapestry/ioc/ServiceLocator
[INFO] 
[INFO] Trace
java.lang.NoClassDefFoundError: org/apache/tapestry/ioc/ServiceLocator
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
at java.lang.Class.privateGetPublicMethods(Class.java:2488)
at java.lang.Class.getMethods(Class.java:1406)
at 
org.apache.tapestry.ioc.internal.DefaultModuleDefImpl.grind(DefaultModuleDefImpl.java:135)
at 
org.apache.tapestry.ioc.internal.DefaultModuleDefImpl.init(DefaultModuleDefImpl.java:106)

at org.apache.tapestry.ioc.RegistryBuilder.add(RegistryBuilder.java:109)
at 
org.apache.tapestry.internal.TapestryAppInitializer.createRegistry(TapestryAppInitializer.java:79)
at 
org.apache.tapestry.internal.TapestryAppInitializer.init(TapestryAppInitializer.java:68)
at 
org.apache.tapestry.internal.TapestryAppInitializer.init(TapestryAppInitializer.java:55)

at org.apache.tapestry.TapestryFilter.init(TapestryFilter.java:71)
at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:95)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at 
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:544)

at org.mortbay.jetty.servlet.Context.startContext(Context.java:128)
at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1136)
at 
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:420)

at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
at 
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at 
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:119)

at org.mortbay.jetty.Server.doStart(Server.java:221)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at 
org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:134)
at 
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:327)
at 
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:272)
at 
org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:177)

at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] 
[INFO] Total time: 16 seconds
[INFO] Finished at: Wed May 09 14:36:11 CST 2007
[INFO] Final Memory: 6M/11M
[INFO] 






- Original Message - 
From: John Lee [EMAIL PROTECTED]

To: Tapestry users users@tapestry.apache.org
Sent: Wednesday, May 09, 2007 2:23 PM
Subject: Cannot run hilo game in T5 tutorial


Dear List,

I am reading T5 tutorial, I follow the instruction to download the hilo game
by maven

mvn 

Re: Cannot run hilo game in T5 tutorial

2007-05-09 Thread Joshua Jackson

The command will install jetty for you.

Show us the stacktrace here

On 5/9/07, John Lee [EMAIL PROTECTED] wrote:

Dear List,

I am reading T5 tutorial, I follow the instruction to download the hilo game
by maven

mvn archetype:create ↵
-DarchetypeGroupId=org.apache.tapestry ↵
-DarchetypeArtifactId=quickstart ↵
-DarchetypeVersion=5.0.4 ↵
-DgroupId=org.example ↵
-DartifactId=hilo ↵
-DpackageName=org.example.hilo

I managed to down the application, but I can run it by command

mvn jetty:run

Question: do I need to install Jetty first, or the command will install jetty 
for me?

Best regards
John


MSN: [EMAIL PROTECTED]

 __  __   __  __  __  __  
/\  _  \/\ \ /\ \/\__  _\/\ \/\ \/\  _`\
\ \ \L\ \ \ \\ \ \   \/_/\ \/\ \ \_\ \ \ \L\_\
 \ \  __ \ \ \  __\ \ \  __ \ \ \ \ \  _  \ \  _\L
 \ \ \/\ \ \ \L\ \\ \ \L\ \ \ \ \ \ \ \ \ \ \ \L\ \
  \ \_\ \_\ \/ \ \/  \ \_\ \ \_\ \_\ \/
   \/_/\/_/\/___/   \/___/\/_/  \/_/\/_/\/___/


  __
/\  _`\  /\  _`\ /\  _`\ /\__  _\
\ \ \L\ \\ \ \L\_\ \,\L\_\/_/\ \/
 \ \  _ '\ \  _\L\/_\__ \  \ \ \
 \ \ \L\ \\ \ \L\ \/\ \L\ \ \ \ \
  \ \/ \ \/\ `\\ \ \_\
   \/___/   \/___/  \/_/  \/_/





--
YM!: thejavafreak
Blog: http://www.nagasakti.or.id/roller/joshua/


Re: [T5] Calling URL without pages

2007-05-09 Thread Blackwings

I can't use filter. In fact, I have a swing application implemented with
HttpClient that try to authenticate a user by calling my Tapestry5 web
application. The server will receive my request and should return an xml
response with the user information or any other response.
Filter are used to change/adapt/... the request/response content before the
treatment, but I don't need that. I need a treatment and a direct answer.

I developped the authentication mecanism using the tapestry-ioc via a module
with a buildUserHandler method creates an instance of UserHandlerImpl which
implements UserHandler interface and return it to the caller. I want to
reuse that mecanism.

I think I need to implement a web service mecanism (Axis?) unless there is
another solution using T5.

Thanks

Michael


2007/5/8, Robert Zeigler [EMAIL PROTECTED]:


How about doing this with a request filter?

Robert

On May 8, 2007, at 5/89:47 AM , Blackwings wrote:

 Hi everybody!

 I'm developping a simple login/registration web site with T5. It works
 normally, no problems... but what I want to do is to bypass the use
 of the
 formular using a url like
 http://www.myloginsite.com/start?
 login=myloginpassword=mypasswordfromoutside=yes.

 I'd like to call directly the onSuccess method after having
 automatically
 fill the fromOutside field. In the onSuccess, it reacts differently
 regarding the existence of fromOutside (return an xml instead of a
 page).

 Anyway, I didn't manage to call the onSuccess method in the page. I
 understand that such URL call a page and not a servlet, so I was
 almost sure
 it wouldn't work...

 Any idea how I could manage that?
 Thanks,

 Michael


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Cannot run hilo game in T5 tutorial

2007-05-09 Thread John Lee

Dear Joshua ,

Here is the trace, seems like a bug in T5 snapshot.

Best regards
John


[INFO] Jetty server exiting.
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] org/apache/tapestry/ioc/ServiceLocator
[INFO] 
[INFO] Trace
java.lang.NoClassDefFoundError: org/apache/tapestry/ioc/ServiceLocator
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
at java.lang.Class.privateGetPublicMethods(Class.java:2488)
at java.lang.Class.getMethods(Class.java:1406)
at 
org.apache.tapestry.ioc.internal.DefaultModuleDefImpl.grind(DefaultModuleDefImpl.java:135)
at 
org.apache.tapestry.ioc.internal.DefaultModuleDefImpl.init(DefaultModuleDefImpl.java:106)

at org.apache.tapestry.ioc.RegistryBuilder.add(RegistryBuilder.java:109)
at 
org.apache.tapestry.internal.TapestryAppInitializer.createRegistry(TapestryAppInitializer.java:79)
at 
org.apache.tapestry.internal.TapestryAppInitializer.init(TapestryAppInitializer.java:68)
at 
org.apache.tapestry.internal.TapestryAppInitializer.init(TapestryAppInitializer.java:55)

at org.apache.tapestry.TapestryFilter.init(TapestryFilter.java:71)
at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:95)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at 
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:544)

at org.mortbay.jetty.servlet.Context.startContext(Context.java:128)
at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1136)
at 
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:420)

at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
at 
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at 
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:119)

at org.mortbay.jetty.Server.doStart(Server.java:221)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at 
org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:134)
at 
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:327)
at 
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:272)
at 
org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:177)

at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] 
[INFO] Total time: 16 seconds
[INFO] Finished at: Wed May 09 14:36:11 CST 2007
[INFO] Final Memory: 6M/11M
[INFO] 


- Original Message - 
From: Joshua Jackson [EMAIL PROTECTED]
To: Tapestry users users@tapestry.apache.org; John Lee 
[EMAIL PROTECTED]

Sent: Wednesday, May 09, 2007 2:50 PM
Subject: Re: Cannot run hilo game in T5 tutorial



The 

RE: How to pass custom arguments to @EventListener, TabSet, persistent props in XHR's

2007-05-09 Thread Marcus.Schulte
 
 What do you mean by forbidden? And also by changing page 
 properties in an XHR request?
 
 I do this quite often myself so maybe it's just a matter of 
 ~when~ you try to change the properties.

Oops, silly mistake in the component. It works perfectly well.

 
 p.s. Have you guys noticed any performance gains? Besides 
 ognl I've been squeezing every millisecond out that I can via 
 yourkit profiler. It's almost in a state where I don't think 
 there's a whole lot more I can do to make it faster but I'm 
 sure there is...
 

Rendering time is generally very fast. I've absolutely no issues with
that (never had, to be honest, compared to DB- and network- roundtrip
times (some 100ms), tapestry's rendering time was always negligible).
My biggest performance-issue is dojo-initialisation on page-reload. At
least I think it's that. Firebug tells me that about 1000ms are spent in
dojo.loaded. Some 900 ms of these seem to come from
buildWidgetFromParseTree.

I don't really know whether there's something which can be done about
this - it's not really a problem for us. Maybe it's just the price to
pay for some the really snappy XHR requests ...

Marcus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Cannot run hilo game in T5 tutorial

2007-05-09 Thread Joshua Jackson

What is the value of
tapestry-release-version/ in your pom.xml ?

On 5/9/07, John Lee [EMAIL PROTECTED] wrote:

Dear Joshua ,

Here is the trace, seems like a bug in T5 snapshot.

Best regards
John


[INFO] Jetty server exiting.
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] org/apache/tapestry/ioc/ServiceLocator
[INFO] 
[INFO] Trace
java.lang.NoClassDefFoundError: org/apache/tapestry/ioc/ServiceLocator
 at java.lang.Class.getDeclaredMethods0(Native Method)
 at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
 at java.lang.Class.privateGetPublicMethods(Class.java:2488)
 at java.lang.Class.getMethods(Class.java:1406)
 at
org.apache.tapestry.ioc.internal.DefaultModuleDefImpl.grind(DefaultModuleDefImpl.java:135)
 at
org.apache.tapestry.ioc.internal.DefaultModuleDefImpl.init(DefaultModuleDefImpl.java:106)
 at org.apache.tapestry.ioc.RegistryBuilder.add(RegistryBuilder.java:109)
 at
org.apache.tapestry.internal.TapestryAppInitializer.createRegistry(TapestryAppInitializer.java:79)
 at
org.apache.tapestry.internal.TapestryAppInitializer.init(TapestryAppInitializer.java:68)
 at
org.apache.tapestry.internal.TapestryAppInitializer.init(TapestryAppInitializer.java:55)
 at org.apache.tapestry.TapestryFilter.init(TapestryFilter.java:71)
 at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:95)
 at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
 at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:544)
 at org.mortbay.jetty.servlet.Context.startContext(Context.java:128)
 at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1136)
 at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:420)
 at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
 at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
 at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
 at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
 at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
 at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
 at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
 at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:119)
 at org.mortbay.jetty.Server.doStart(Server.java:221)
 at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
 at
org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:134)
 at
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:327)
 at
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:272)
 at
org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:177)
 at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183)
 at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] 
[INFO] Total time: 16 seconds
[INFO] Finished at: Wed May 09 14:36:11 CST 2007
[INFO] Final Memory: 6M/11M
[INFO] 


- Original Message -
From: Joshua Jackson [EMAIL PROTECTED]
To: Tapestry users users@tapestry.apache.org; 

best practice advice

2007-05-09 Thread Ulrich Stärk

Hi List,

I want the content of a GET parameter passed to my page included as a hidden field into a form on 
that page. To do this I implement the PageBeginRender interface in my page class and check for the 
presence of that parameter in pageBeginRender(). If it's there I set a property on my page to it's 
content and reference this property in a @Hidden component on my page.


Is this how to do what I want or is there an easier or better way?

Uli

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Cannot run hilo game in T5 tutorial

2007-05-09 Thread John Lee

Here you are.

   properties
   tapestry-release-version5.0.4-SNAPSHOT/tapestry-release-version
   /properties



- Original Message - 
From: Joshua Jackson [EMAIL PROTECTED]
To: Tapestry users users@tapestry.apache.org; John Lee 
[EMAIL PROTECTED]

Sent: Wednesday, May 09, 2007 4:39 PM
Subject: Re: Cannot run hilo game in T5 tutorial



What is the value of
tapestry-release-version/ in your pom.xml ?

On 5/9/07, John Lee [EMAIL PROTECTED] wrote:

Dear Joshua ,

Here is the trace, seems like a bug in T5 snapshot.

Best regards
John


[INFO] Jetty server exiting.
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] org/apache/tapestry/ioc/ServiceLocator
[INFO] 
[INFO] Trace
java.lang.NoClassDefFoundError: org/apache/tapestry/ioc/ServiceLocator
 at java.lang.Class.getDeclaredMethods0(Native Method)
 at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
 at java.lang.Class.privateGetPublicMethods(Class.java:2488)
 at java.lang.Class.getMethods(Class.java:1406)
 at
org.apache.tapestry.ioc.internal.DefaultModuleDefImpl.grind(DefaultModuleDefImpl.java:135)
 at
org.apache.tapestry.ioc.internal.DefaultModuleDefImpl.init(DefaultModuleDefImpl.java:106)
 at org.apache.tapestry.ioc.RegistryBuilder.add(RegistryBuilder.java:109)
 at
org.apache.tapestry.internal.TapestryAppInitializer.createRegistry(TapestryAppInitializer.java:79)
 at
org.apache.tapestry.internal.TapestryAppInitializer.init(TapestryAppInitializer.java:68)
 at
org.apache.tapestry.internal.TapestryAppInitializer.init(TapestryAppInitializer.java:55)
 at org.apache.tapestry.TapestryFilter.init(TapestryFilter.java:71)
 at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:95)
 at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

 at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:544)
 at org.mortbay.jetty.servlet.Context.startContext(Context.java:128)
 at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1136)
 at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:420)
 at 
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
 at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

 at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
 at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
 at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

 at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
 at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

 at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:119)
 at org.mortbay.jetty.Server.doStart(Server.java:221)
 at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

 at
org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:134)
 at
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:327)
 at
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:272)
 at
org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:177)
 at 
org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183)

 at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] 

Re: How to store the rendering of a page in a String

2007-05-09 Thread Stephane Decleire

Thanks Jesse,

I think i can manage the alterations in the ResponseBuilder but i would 
welcome some advice on the way to inject the custom ResponseBuilder in 
the rendering cycle.


--
Stéphane Decleire
www.bebe-nounou.com



Jesse Kuhnert a écrit :
It's a little more complicated looking than saying it just stores a 
string
but you could easily cut  paste (or extend - but carefully as this 
impl is

a moving target)

http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/services/impl/DojoAjaxResponseBuilder.java?view=markup 



or even

http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/services/impl/JSONResponseBuilder.java?view=markup 



On 5/7/07, Stephane Decleire [EMAIL PROTECTED] wrote:


Hi,

I'd like to store the rendering of a page in a String instead of sending
it back to the client.
Has anybody already implemented such a task ?
Any idea is welcome :-)

Thanks

--
Stéphane Decleire
www.bebe-nounou.com







Re: Cannot run hilo game in T5 tutorial

2007-05-09 Thread John Lee

find out it IS a bug, not until 5.05, this bug will not be fixed.
see below





I used to work with tapestry 3 and 4 but I dont know much about
tapestry 5 and almost nothing about maven. But I wanted to test the
great new functionality of tap 5 so I wanted to run the project in the
tutorial. I had this error also. This is due to the fact that the
tapestry 5.0.4-SNAPSHOT doesn't have ServiceLocator anymore. What I
did was to change every reference of tapestry 5.0.4-SNAPSHOT to
tapestry 5.0.3, even in the pom.xml inside the directory where mvn
jetty:run is executed. In this way I finally could run the example in
the tutorial.

I hope that this can help and also that the tutorial and the
quickstart are fixed so that anyone can run it without any problem at
any time!!.

Gabriel H. Lozano M.

2007/5/4, Jun Tsai [EMAIL PROTECTED]:

[EMAIL PROTECTED]:~/workspace-tmp/myapp$ mvn -up jetty:run
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO] 

[INFO] Building myapp Tapestry 5 Application
[INFO]task-segment: [jetty:run]
[INFO] 

[INFO] Preparing jetty:run
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.apache.tapestry:tapestry-core:5.0.4-SNAPSHOT:
checking for updates from tapestry-snapshots
[INFO] snapshot org.apache.tapestry:tapestry-core:5.0.4-SNAPSHOT:
checking for updates from codehaus.snapshots
[INFO] snapshot org.apache.tapestry:tapestry-core:5.0.4-SNAPSHOT:
checking for updates from openqa
Downloading: 
http://people.apache.org/~hlship/tapestry-snapshot-repository//org/apache/tapestry/tapestry-core/5.0.4-SNAPSHOT/tapestry-core-5.0.4-20070329.233018-1.pom

4K downloaded
[INFO] snapshot org.apache.tapestry:tapestry-project:5.0.4-SNAPSHOT:
checking for updates from tapestry-snapshots
[INFO] snapshot org.apache.tapestry:tapestry-project:5.0.4-SNAPSHOT:
checking for updates from codehaus.snapshots
[INFO] snapshot org.apache.tapestry:tapestry-project:5.0.4-SNAPSHOT:
checking for updates from openqa
Downloading: 
http://people.apache.org/~hlship/tapestry-snapshot-repository//org/apache/tapestry/tapestry-project/5.0.4-SNAPSHOT/tapestry-project-5.0.4-20070426.014648-2.pom

9K downloaded
[INFO] snapshot org.apache.tapestry:tapestry-ioc:5.0.4-SNAPSHOT:
checking for updates from tapestry-snapshots
[INFO] snapshot org.apache.tapestry:tapestry-ioc:5.0.4-SNAPSHOT:
checking for updates from codehaus.snapshots
[INFO] snapshot org.apache.tapestry:tapestry-ioc:5.0.4-SNAPSHOT:
checking for updates from openqa
Downloading: 
http://people.apache.org/~hlship/tapestry-snapshot-repository//org/apache/tapestry/tapestry-ioc/5.0.4-SNAPSHOT/tapestry-ioc-5.0.4-20070426.014648-2.pom

4K downloaded
Downloading: 
http://people.apache.org/~hlship/tapestry-snapshot-repository//org/apache/tapestry/tapestry-core/5.0.4-SNAPSHOT/tapestry-core-5.0.4-20070329.233018-1.jar

709K downloaded
Downloading: 
http://people.apache.org/~hlship/tapestry-snapshot-repository//org/apache/tapestry/tapestry-ioc/5.0.4-SNAPSHOT/tapestry-ioc-5.0.4-20070426.014648-2.jar

249K downloaded
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [jetty:run]
[INFO] Configuring Jetty for project: myapp Tapestry 5 Application
[INFO] Webapp source directory = 
/home/jcai/workspace-tmp/myapp/src/main/webapp

[INFO] web.xml file =
/home/jcai/workspace-tmp/myapp/src/main/webapp/WEB-INF/web.xml
[INFO] Classes = /home/jcai/workspace-tmp/myapp/target/classes
2007-05-05 10:42:30.462::INFO:  Logging to STDERR via 
org.mortbay.log.StdErrLog

[INFO] Context path = /myapp
[INFO] Tmp directory = /home/jcai/workspace-tmp/myapp/target/work
[INFO] Web defaults =  jetty default
[INFO] Webapp directory = /home/jcai/workspace-tmp/myapp/src/main/webapp
[INFO] Starting jetty 6.1.0pre0 ...
2007-05-05 10:42:30.560::INFO:  jetty-6.1.0pre0
[INFO] Classpath =
[file:/home/jcai/workspace-tmp/myapp/target/classes/,
file:/home/jcai/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar,
file:/home/jcai/.m2/repository/org/apache/tapestry/tapestry-core/5.0.4-SNAPSHOT/tapestry-core-5.0.4-SNAPSHOT.jar,
file:/home/jcai/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar,
file:/home/jcai/.m2/repository/org/apache/tapestry/tapestry-ioc/5.0.4-SNAPSHOT/tapestry-ioc-5.0.4-SNAPSHOT.jar,
file:/home/jcai/.m2/repository/log4j/log4j/1.2.9/log4j-1.2.9.jar,
file:/home/jcai/.m2/repository/jboss/javassist/3.4.ga/javassist-3.4.ga.jar]
2007-05-05 10:42:31.033::WARN:  failed app
java.lang.NoClassDefFoundError: org/apache/tapestry/ioc/ServiceLocator
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
at java.lang.Class.privateGetPublicMethods(Class.java:2519)
at 

tapestry 4.2

2007-05-09 Thread Gareth
Hi,

I noticed there was a new snapshot release of tapestry 4 recently.  Does anyone 
have a feel for when the final tapestry 4.2 version will be released?

Also, is there a specific reason that downloading up to date documentation in 
archive format for tapestry 4.1 is currently unsupported - its a real pain 
having to be connected to the web all the time.  If anyone has instructions 
that would enable me to do generate such a copy of the tap 4.1 website myself, 
I'd really appreciate it - I've not had much luck when trying to do things with 
maven so far.

Many Thanks.

Gareth


  ___
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 

dirty form checking ...

2007-05-09 Thread Marcus.Schulte
I'm implementing a dirty form checking component.
 
Can I avoid the dreaded window.onbeforeunload and use some convenient
dojo-hook to upon unloading the form?
 
Any ideas are welcome!
 
thanks, Marcus


Tapestry 4.1.1 Hello World not working on Oracle 10.1.3.2.0

2007-05-09 Thread Jan Vissers

Below the trace I see, whenever Tapestry 4.1.1 tries to load
Has anybody ever tried Tapestry 4.1.1 on OC4J?

**


07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: 
Unable to construct service tapestry.init.ApplicationSpecificationInitial
izer: Error building service 
tapestry.init.ApplicationSpecificationInitializer: Error at 
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applica
tions/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-INF/tapestry.init.xml, 
line 46, column 89: Service interceptor
factory hivemind.LoggingInterceptor failed to create 
org.apache.tapestry.parse.ISpecificationParser interceptor for service 
tapestry.parse.S
pecificationParser as class $ISpecificationParser_112709303e6: argument 
type mismatch
07/05/09 13:22:02location: 
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo

rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 42, column 21

07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: Error 
building service tapestry.init.ApplicationSpecificationInitializer:
Error at 
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-IN
F/tapestry.init.xml, line 46, column 89: Service interceptor factory 
hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.
ISpecificationParser interceptor for service 
tapestry.parse.SpecificationParser as class 
$ISpecificationParser_112709303e6: argument type mi

smatch
07/05/09 13:22:02location: 
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo

rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 42, column 21

07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: Error 
building service tapestry.init.ApplicationSpecificationInitializer:
Error at 
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-IN
F/tapestry.init.xml, line 46, column 89: Service interceptor factory 
hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.
ISpecificationParser interceptor for service 
tapestry.parse.SpecificationParser as class 
$ISpecificationParser_112709303e6: argument type mi

smatch
07/05/09 13:22:02location: 
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo

rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 43, column 67

07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: Error 
at code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/
refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-INF/tapestry.init.xml, 
line 46, column 89: Service interceptor factory hivem
ind.LoggingInterceptor failed to create 
org.apache.tapestry.parse.ISpecificationParser interceptor for service 
tapestry.parse.SpecificationP

arser as class $ISpecificationParser_112709303e6: argument type mismatch
07/05/09 13:22:02location: 
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo

rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 46, column 89

07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: 
Service interceptor factory hivemind.LoggingInterceptor failed to create
org.apache.tapestry.parse.ISpecificationParser interceptor for service 
tapestry.parse.SpecificationParser as class $ISpecificationParser_112

709303e6: argument type mismatch

07/05/09 13:22:02 java.lang.IllegalArgumentException: argument type mismatch
07/05/09 13:22:02 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
07/05/09 13:22:02 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
07/05/09 13:22:02 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
07/05/09 13:22:02 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
07/05/09 13:22:02 
org.apache.hivemind.service.impl.LoggingInterceptorFactory.instantiateInterceptor(LoggingInterceptorFactory.java:290)
07/05/09 13:22:02 
org.apache.hivemind.service.impl.LoggingInterceptorFactory.createInterceptor(LoggingInterceptorFactory.java:255)
07/05/09 13:22:02 
org.apache.hivemind.impl.ServiceInterceptorContributionImpl.createInterceptor(ServiceInterceptorContributionImpl.java:95)
07/05/09 13:22:02 
org.apache.hivemind.impl.InterceptorStackImpl.process(InterceptorStackImpl.java:116)
07/05/09 13:22:02 
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.addInterceptors(AbstractServiceModelImpl.java:85)
07/05/09 13:22:02 
org.apache.hivemind.impl.servicemodel.PooledServiceModel.constructServiceProxy(PooledServiceModel.java:154)
07/05/09 13:22:02 
org.apache.hivemind.impl.servicemodel.PooledServiceModel.init(PooledServiceModel.java:130)
07/05/09 

Tapestry 4.1.1 Hello World (also) not working on Oracle 11.1.1.0.0 (Technology Preview)

2007-05-09 Thread Jan Vissers

Below the trace I see, whenever Tapestry 4.1.1 tries to load
This time on 11g (Technology Preview)

**


07/05/09 14:51:08 org.apache.hivemind.ApplicationRuntimeException: 
Unable to construct service tapestry.init.ApplicationSpecificationInitial
izer: Error building service 
tapestry.init.ApplicationSpecificationInitializer: Error at 
code-source:/D:/ora/ocj11_1_1_0_0/j2ee/home/applica
tions/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-INF/tapestry.init.xml, 
line 46, column 89: Service interceptor
factory hivemind.LoggingInterceptor failed to create 
org.apache.tapestry.parse.ISpecificationParser interceptor for service 
tapestry.parse.S
pecificationParser as class $ISpecificationParser_11270e49392: argument 
type mismatch
07/05/09 14:51:08location: 
code-source:/D:/ora/ocj11_1_1_0_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo

rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 42, column 21

07/05/09 14:51:08 org.apache.hivemind.ApplicationRuntimeException: Error 
building service tapestry.init.ApplicationSpecificationInitializer:
Error at 
code-source:/D:/ora/ocj11_1_1_0_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-IN
F/tapestry.init.xml, line 46, column 89: Service interceptor factory 
hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.
ISpecificationParser interceptor for service 
tapestry.parse.SpecificationParser as class 
$ISpecificationParser_11270e49392: argument type mi

smatch
07/05/09 14:51:08location: 
code-source:/D:/ora/ocj11_1_1_0_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo

rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 42, column 21

07/05/09 14:51:08 org.apache.hivemind.ApplicationRuntimeException: Error 
building service tapestry.init.ApplicationSpecificationInitializer:
Error at 
code-source:/D:/ora/ocj11_1_1_0_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-IN
F/tapestry.init.xml, line 46, column 89: Service interceptor factory 
hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.
ISpecificationParser interceptor for service 
tapestry.parse.SpecificationParser as class 
$ISpecificationParser_11270e49392: argument type mi

smatch
07/05/09 14:51:08location: 
code-source:/D:/ora/ocj11_1_1_0_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo

rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 43, column 67

07/05/09 14:51:08 org.apache.hivemind.ApplicationRuntimeException: Error 
at code-source:/D:/ora/ocj11_1_1_0_0/j2ee/home/applications/refapp/
refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-INF/tapestry.init.xml, 
line 46, column 89: Service interceptor factory hivem
ind.LoggingInterceptor failed to create 
org.apache.tapestry.parse.ISpecificationParser interceptor for service 
tapestry.parse.SpecificationP

arser as class $ISpecificationParser_11270e49392: argument type mismatch
07/05/09 14:51:08location: 
code-source:/D:/ora/ocj11_1_1_0_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo

rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 46, column 89

07/05/09 14:51:08 org.apache.hivemind.ApplicationRuntimeException: 
Service interceptor factory hivemind.LoggingInterceptor failed to create
org.apache.tapestry.parse.ISpecificationParser interceptor for service 
tapestry.parse.SpecificationParser as class $ISpecificationParser_112

70e49392: argument type mismatch

07/05/09 14:51:08 java.lang.IllegalArgumentException: argument type mismatch
07/05/09 14:51:08 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
07/05/09 14:51:08 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
07/05/09 14:51:08 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
07/05/09 14:51:08 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
07/05/09 14:51:08 
org.apache.hivemind.service.impl.LoggingInterceptorFactory.instantiateInterceptor(LoggingInterceptorFactory.java:290)
07/05/09 14:51:08 
org.apache.hivemind.service.impl.LoggingInterceptorFactory.createInterceptor(LoggingInterceptorFactory.java:255)
07/05/09 14:51:08 
org.apache.hivemind.impl.ServiceInterceptorContributionImpl.createInterceptor(ServiceInterceptorContributionImpl.java:95)
07/05/09 14:51:08 
org.apache.hivemind.impl.InterceptorStackImpl.process(InterceptorStackImpl.java:116)
07/05/09 14:51:08 
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.addInterceptors(AbstractServiceModelImpl.java:85)
07/05/09 14:51:08 
org.apache.hivemind.impl.servicemodel.PooledServiceModel.constructServiceProxy(PooledServiceModel.java:154)
07/05/09 14:51:08 
org.apache.hivemind.impl.servicemodel.PooledServiceModel.init(PooledServiceModel.java:130)
07/05/09 14:51:08 

Re: Tapestry (4.0.2) / Hivemind (1.1.1) in OC4J 10.1.3 - Dig a little bit more, anyone please give me a ladder to climb up

2007-05-09 Thread Jesse Kuhnert

I believe this may be useful to Jan.

On 8/24/06, Jesse Kuhnert [EMAIL PROTECTED] wrote:


Hi,

Looking at the source for the hivemind LoggingInterceptorFactory leads me
to believe it could very well be a bug on hivemind's part. Not because I
saw anything particular, just because it looked complicated and scary ;)

To get around this problem temporarily you could do something like this:

Override the default service implementation for this logging interceptor,
the syntax for doing this is
http://jakarta.apache.org/hivemind/descriptor.html#implementation.

You will need to do this in your hivemodule.xml file (placed in the
WEB-INF directory).

You want to implement the hivemind.LoggingInterceptor service point,
http://jakarta.apache.org/hivemind/hivedocs/service/hivemind.LoggingInterceptor.html
.

Just create a dummy object that implements the
org.apache.hivemind.ServiceInterceptorFactory interface but does nothing.

On 8/23/06, Vinicius Carvalho [EMAIL PROTECTED]  wrote:

 Well, I'll check it deeper tonight (from 10pm-midnight) it's the free
 time I have to fix OC4J to work with tapestry.

 I do have commons-logging 1.0.4 and Log4J 1.2.9 bundled on my
 application. I'm also forcing the oracle container to load
 applications libs first.

 Best Regards

 On 8/23/06, hv @ Fashion Content [EMAIL PROTECTED] wrote:
  Are you testing your app against a local test db like hypersonic/mysql
 ?
 
  I should think that you would weed out all the trivial blunders if you
 get a
  local db working, or even an in memory db first.
 
  Vinicius Carvalho [EMAIL PROTECTED] skrev i en meddelelse
  news:[EMAIL PROTECTED] ...
   Hello there! I still did not gave up OC4J 10.1.3 (well, I'd love to,
   but my boss wont let me).
   So, just to fresh-up memories, I get a nasty exception when I deploy
   my app on oracle AS:
  
   06/08/22 23:23:51 java.lang.IllegalArgumentException: argument type
   mismatch
   06/08/22 23:23:51
   sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
   06/08/22 23:23:51
   sun.reflect.NativeConstructorAccessorImpl.newInstance(
 NativeConstructorAccessorImpl.java:39)
   06/08/22 23:23:51
   sun.reflect.DelegatingConstructorAccessorImpl.newInstance (
 DelegatingConstructorAccessorImpl.java:27)
   06/08/22 23:23:51
   java.lang.reflect.Constructor.newInstance(Constructor.java:494)
   06/08/22 23:23:51
  
 
org.apache.hivemind.service.impl.LoggingInterceptorFactory.instantiateInterceptor(
 LoggingInterceptorFactory.java:290)
   06/08/22 23:23:51
  
 org.apache.hivemind.service.impl.LoggingInterceptorFactory.createInterceptor
 (LoggingInterceptorFactory.java:255)
  
   Ok, so I start debuging the app on both tomcat and Oracle:
  
   Here's the snippet I was debugging inside the
 LogginInterceptorFactory:
  
  private Object instantiateInterceptor(InterceptorStack stack,
   Class interceptorClass)
  throws Exception
  {
  Object stackTop = stack.peek();
  
  Constructor c = interceptorClass.getConstructors()[0];
  
  return c.newInstance(new Object[] { stack.getServiceLog(),
   stackTop }); - point of problem
  }
  
   Well below it's a toString of each of the variables involved:
  
   Tomcat:
   stack
  
 
=InterceptorStackImpl[contribution=ServiceInterceptorContributionImpl[factoryServiceId=
 hivemind.LoggingInterceptor
   parameters=null precedingInterceptorIds=null
   followingInterceptorIds=null name=null] interfaceClass=interface
   org.apache.tapestry.parse.ISpecificationParser top=PooledProxy for
   tapestry.parse.SpecificationParser(
 org.apache.tapestry.parse.ISpecificationParser )]
  
   interceptorClass = lass $ISpecificationParser_10d3ecd54a4
  
   stackTop = PooledProxy for
   tapestry.parse.SpecificationParser(
 org.apache.tapestry.parse.ISpecificationParser )
  
   c = public
   $ISpecificationParser_10d38c5277a(org.apache.commons.logging.Log
 ,$ISpecificationParser_10d38c52779)
  
   stack.getServiceLog =
 [EMAIL PROTECTED]
  
  
   OC4J
   stack =
  
 
InterceptorStackImpl[contribution=ServiceInterceptorContributionImpl[factoryServiceId=
 hivemind.LoggingInterceptor
   parameters=null precedingInterceptorIds=null
   followingInterceptorIds=null name=null] interfaceClass=interface
   org.apache.tapestry.parse.ISpecificationParser top=PooledProxy for
   tapestry.parse.SpecificationParser(
 org.apache.tapestry.parse.ISpecificationParser )]
  
   interceptorClass = class $ISpecificationParser_10d38ce04a4
  
   stackTop = PooledProxy for
   tapestry.parse.SpecificationParser(
 org.apache.tapestry.parse.ISpecificationParser )
  
   c = public
   $ISpecificationParser_10d38c89a9b(org.apache.commons.logging.Log
 ,$ISpecificationParser_10d38c89a9a)
  
   stack.getServiceLog =
 [EMAIL PROTECTED]
  
   Well, I got stuck because, all the variables seems to be the same
   type, hence, how could a  type mismatch could be happening.
  
   I couldn't find a way to figure out the interfaces of the stackTop.
  
   Well I hope this piece of 

Re: Tapestry 4.1.1 Hello World (also) not working on Oracle 11.1.1.0.0 (Technology Preview)

2007-05-09 Thread Jesse Kuhnert

I re-forwarded a solution/reply from a previous user list question.

p.s. I thought you were off using wicket now?

On 5/9/07, Jan Vissers [EMAIL PROTECTED] wrote:


Below the trace I see, whenever Tapestry 4.1.1 tries to load
This time on 11g (Technology Preview)




--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


Re: dirty form checking ...

2007-05-09 Thread Jesse Kuhnert

dojo.addOnUnload

On 5/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


I'm implementing a dirty form checking component.

Can I avoid the dreaded window.onbeforeunload and use some convenient
dojo-hook to upon unloading the form?

Any ideas are welcome!

thanks, Marcus





--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


Re: Tapestry 4.1.1 Hello World (also) not working on Oracle 11.1.1.0.0 (Technology Preview)

2007-05-09 Thread Jan Vissers

Hi Jesse -

Is it me, I didn't quite catch the fowarded solution/reply...

Thanks,
-J.

p.s. No, not wicket - although I've been trying some Faclets+Seam+JSF 
lately... ;-)


Jesse Kuhnert wrote:

I re-forwarded a solution/reply from a previous user list question.

p.s. I thought you were off using wicket now?

On 5/9/07, Jan Vissers [EMAIL PROTECTED] wrote:


Below the trace I see, whenever Tapestry 4.1.1 tries to load
This time on 11g (Technology Preview)






--
Cumquat Information Technology
De Dreef 19
3706 BR Zeist
T +31 (0)30 - 6940490
F +31 (0)30 - 6940499
W http://www.cumquat.nl

E [EMAIL PROTECTED]
M +31 6 51 169 556
B http://www.cumquat.nl/technology_atom10.xml



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to pass custom arguments to @EventListener, TabSet, persistent props in XHR's

2007-05-09 Thread Jesse Kuhnert

Ah good good..

I'm not sure if it was announced yet or not but I'll probably be integrating
the new 0.9 version of dojo in a 4.2 tapestry release.  The internal
bickering is done and the performance / no code bloat people have won.  The
library has also been broken up into three modules to make things easier for
whatever your greatest interest is.

Needless to say the performance of that version is about as good as it can
be. (not to mention size of download) It'll be exciting playing with it
soon!

On 5/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:



 What do you mean by forbidden? And also by changing page
 properties in an XHR request?

 I do this quite often myself so maybe it's just a matter of
 ~when~ you try to change the properties.

Oops, silly mistake in the component. It works perfectly well.


 p.s. Have you guys noticed any performance gains? Besides
 ognl I've been squeezing every millisecond out that I can via
 yourkit profiler. It's almost in a state where I don't think
 there's a whole lot more I can do to make it faster but I'm
 sure there is...


Rendering time is generally very fast. I've absolutely no issues with
that (never had, to be honest, compared to DB- and network- roundtrip
times (some 100ms), tapestry's rendering time was always negligible).
My biggest performance-issue is dojo-initialisation on page-reload. At
least I think it's that. Firebug tells me that about 1000ms are spent in
dojo.loaded. Some 900 ms of these seem to come from
buildWidgetFromParseTree.

I don't really know whether there's something which can be done about
this - it's not really a problem for us. Maybe it's just the price to
pay for some the really snappy XHR requests ...

Marcus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


Re: How to store the rendering of a page in a String

2007-05-09 Thread Jesse Kuhnert

You have to contribute a new ResponseContributor to the service point here:

http://tapestry.apache.org/tapestry4.1/tapestry-framework/hivedoc/config/tapestry.services.ResponseContributors.html

It works the same way as the tacos version. Different response types sniff
the incoming http request and one of them wins in responding to it.

On 5/9/07, Stephane Decleire [EMAIL PROTECTED] wrote:


Thanks Jesse,

I think i can manage the alterations in the ResponseBuilder but i would
welcome some advice on the way to inject the custom ResponseBuilder in
the rendering cycle.

--
Stéphane Decleire
www.bebe-nounou.com



Jesse Kuhnert a écrit :
 It's a little more complicated looking than saying it just stores a
 string
 but you could easily cut  paste (or extend - but carefully as this
 impl is
 a moving target)


http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/services/impl/DojoAjaxResponseBuilder.java?view=markup


 or even


http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/services/impl/JSONResponseBuilder.java?view=markup


 On 5/7/07, Stephane Decleire [EMAIL PROTECTED] wrote:

 Hi,

 I'd like to store the rendering of a page in a String instead of
sending
 it back to the client.
 Has anybody already implemented such a task ?
 Any idea is welcome :-)

 Thanks

 --
 Stéphane Decleire
 www.bebe-nounou.com









--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


Re: Tapestry 4.1.1 Hello World (also) not working on Oracle 11.1.1.0.0 (Technology Preview)

2007-05-09 Thread janjonge

Maybe he's building a prototype in both frameworks in order to convince his
client that Tapestry is not the way to go.
That said, I also want to add that not all tasks have to be done with
Tapestry. Sometimes some framework, like Wicket,  does the job better and
more effieciently.
Jesse, let me ask you this question. Why does anyone originating from the
Netherlands or having the .nl extension in his email address have to be a
Wicket user in your eyes? You seem to be a very narrow minded boy and asks
myself if you deserve to be commiter. People like you can only introduce
bugs but not make things better.

Regrads,
Jan de Jonge

Jessek wrote:
 
 I re-forwarded a solution/reply from a previous user list question.
 
 p.s. I thought you were off using wicket now?
 
 On 5/9/07, Jan Vissers [EMAIL PROTECTED] wrote:

 Below the trace I see, whenever Tapestry 4.1.1 tries to load
 This time on 11g (Technology Preview)


 
 -- 
 Jesse Kuhnert
 Tapestry/Dojo team member/developer
 
 Open source based consulting work centered around
 dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
 
 

-- 
View this message in context: 
http://www.nabble.com/Tapestry-4.1.1-%22Hello-World%22-%28also%29-not-working-on-Oracle-11.1.1.0.0-%28Technology-Preview%29-tf3715519.html#a10394216
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tapestry 5 and Template Reloading

2007-05-09 Thread bjornharvold

Another FYI,

I can start my application using mvn jetty:run without problems using 5.0.4.
It's the jettylauncher and eclipse that is the problem.
-- 
View this message in context: 
http://www.nabble.com/Tapestry-5-and-Template-Reloading-tf3671362.html#a10394244
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: dirty form checking ...

2007-05-09 Thread Marcus.Schulte
thanks, but I don't seem to be able to veto that event.
dojo.event.browser.stopEvent(evt)  doesn't seem to work ... 

 -Original Message-
 From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, May 09, 2007 2:57 PM
 To: Tapestry users
 Subject: Re: dirty form checking ...
 
 dojo.addOnUnload
 
 On 5/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  I'm implementing a dirty form checking component.
 
  Can I avoid the dreaded window.onbeforeunload and use some 
 convenient 
  dojo-hook to upon unloading the form?
 
  Any ideas are welcome!
 
  thanks, Marcus
 
 
 
 
 --
 Jesse Kuhnert
 Tapestry/Dojo team member/developer
 
 Open source based consulting work centered around 
 dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dirty form checking ...

2007-05-09 Thread Jesse Kuhnert

Oh ...Forgot that you wanted to stop it. Yeah that wouldn't work there.

I don't think there is anything to do other than what tacos does:

http://opencomponentry.com:8080/tacos/forms/DirtyFormExample.html

On 5/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


thanks, but I don't seem to be able to veto that event.
dojo.event.browser.stopEvent(evt)  doesn't seem to work ...

 -Original Message-
 From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, May 09, 2007 2:57 PM
 To: Tapestry users
 Subject: Re: dirty form checking ...

 dojo.addOnUnload

 On 5/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  I'm implementing a dirty form checking component.
 
  Can I avoid the dreaded window.onbeforeunload and use some
 convenient
  dojo-hook to upon unloading the form?
 
  Any ideas are welcome!
 
  thanks, Marcus
 



 --
 Jesse Kuhnert
 Tapestry/Dojo team member/developer

 Open source based consulting work centered around
 dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


Re: Anybody have the FCKEditor working in IE7?

2007-05-09 Thread Jacob Bergoo

Hi,
my problem turned out to be ... a non problem... In 2 different places in
our app we have a tab group and in the first tab on both of the tab groups
we have the FCKEditor. The one page I checked before my posting here on the
list didn't render the FCKEditor but the second one did and we have a slight
difference in how we build up the page. The one that works we don't show the
tab group until we have selected the article that we will display inside. So
somehow the other page where we show the tab group something is interfering
with the editor.

So we just changed the we we render the page and this problem is no more.
Thanks guys for all the help to try to find a solution to our problem.

Cheers,
Jacob

-- 
View this message in context: 
http://www.nabble.com/Anybody-have-the-FCKEditor-working-in-IE7--tf3603233.html#a10395046
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Job Offer in Miami: 1 Java/Tapestry Developer, 1 Web Designer

2007-05-09 Thread Jacob Bergoo

Hi all,
sorry to spam the list with this Job Offer but I figure that it could be of
interest to know that we are looking to expand our (Tapestry) Development
Team here in Miami Lakes. We are currently 3 Java/Tapestry Developers, 2
DBA, 1 Web Designer, 2 Sys. Admin and 2 Support Guys. We are working on
rebuilding a old JSP 1-tier based system into a 3-tier System working with
some of the latest Open Source frameworks (Tapestry 4.0.2, Tacos 4.0.1,
Spring 2.0.2, Acegi 1.0.3, Hibernate 3.1, etc.). A couple of weeks ago we
rolled out our first release of the first module that building our clients
Web Sites (+320) and allowing our Compliance Department to Approve/Reject
changes to the clients Web Sites.
The positions are on site here in Miami and applicants must be allowed to
work in the U.S. (sorry, but this a must).

Java/Tapestry Developer:
Location: Miami Lakes, Florida, United States

Investacorp Inc., a leading, privately owned broker-dealer firm, seeks to
hire a System Developer to join our MIS team.  This person will be
responsible for the design, development, and maintenance of Java based
applications.  The Java/Tapestry Developer will participate in the full
development life cycle from gathering requirements to implementation and
maintenance.

Technical Skill Requirements:

* 3 or more years of experience in Information Technology.
* Strong programming skills in Java.  Preferably with experience with
some of the following:  JSP’s, servlets, Spring, Hibernate 3, Tapestry
4.0.2/ Tapestry 4.1.X, and Ant.
* Relational databases (preferably Oracle) and SQL.  Preferably with
experience in PL/SQL.
* Web technologies including HTML, Javascript, and CSS.
* Experience with JBoss application server or Jetty Web Server.
* Understanding of Linux, Unix, and NT environments.
* Ajax/Tacos a plus.

Other Skill Requirements:

* Ability to analyze complex business problems and implement solutions
with a minimum of direction.
* Ability to work well both independently and as part of a team.
* Experience with both unit testing and integrated system testing.

This job requires a commitment to excellence and the ability to function in
a small team-oriented environment.


Graphic/Web Designer
We are looking for a Graphics Designer / WEB Developer to design ads and
catalogues.  The right candidate will also be responsible for building and
maintaining the company's web sites, prepare sales material, and fulfill
other graphics and Internet requirements.  Proficiencies in graphics
software and basic web development technologies are required

Requirements

* Familiar with web design working with Photoshop, Illustrator,
Dreamweaver, HTML, Flash, CSS2
* Proficiency in Adobe Photoshop, Illustrator and Dreamweaver.
* Working knowledge of Flash, Interworld and Open Source a plus.
* Detail oriented, team player with a good sense of design.

College students and recent graduates welcome. We offer an attractive
compensation package including salary and bonus, a comprehensive benefits
package including 401(k) and pension plans.

No third party agencies, Principals only.



Apply to Investacorp:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-- 
View this message in context: 
http://www.nabble.com/Job-Offer-in-Miami%3A-1-Java-Tapestry-Developer%2C-1-Web-Designer-tf3716288.html#a10396103
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tapestry 4.1.1 Hello World not working on Oracle 10.1.3.2.0

2007-05-09 Thread Jan Vissers

Hi,

With the help of this Tapestry (4.0.2) / Hivemind (1.1.1) in OC4J 
10.1.3 - Dig a little bit more, anyone please give me a ladder to climb 
up post

I've now got things working on 10.1.3.2

Below the hivemodule.xml I created:

?xml version=1.0?
module id=com.cumquatit.refapp version=1.0.0 
package=com.cumquatit.refapp

   implementation service-id=hivemind.LoggingInterceptor
   create-instance 
class=com.cumquatit.refapp.HivemindFixLoggingInterceptor /

   /implementation
/module


And the class to go along with it:

package com.cumquatit.refapp;

import java.util.List;

import org.apache.hivemind.InterceptorStack;
import org.apache.hivemind.ServiceInterceptorFactory;
import org.apache.hivemind.internal.Module;

public class HivemindFixLoggingInterceptor implements 
ServiceInterceptorFactory {

   @SuppressWarnings(unchecked)
   public void createInterceptor(InterceptorStack arg0, Module arg1, 
List arg2) {

   }
}


This basically does the trick.
Thanks Jesse (and I hope you refrain from taking every post coming from 
me as an insult),


-J.

(On OC4J11 Tech Preview, it is not yet working - but the error indicates 
something different than a specific Hivemind issue)



Jan Vissers wrote:

Below the trace I see, whenever Tapestry 4.1.1 tries to load
Has anybody ever tried Tapestry 4.1.1 on OC4J?

**


07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: 
Unable to construct service tapestry.init.ApplicationSpecificationInitial
izer: Error building service 
tapestry.init.ApplicationSpecificationInitializer: Error at 
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applica
tions/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-INF/tapestry.init.xml, 
line 46, column 89: Service interceptor
factory hivemind.LoggingInterceptor failed to create 
org.apache.tapestry.parse.ISpecificationParser interceptor for service 
tapestry.parse.S
pecificationParser as class $ISpecificationParser_112709303e6: 
argument type mismatch
07/05/09 13:22:02location: 
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo 


rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 42, column 21

07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: 
Error building service tapestry.init.ApplicationSpecificationInitializer:
Error at 
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-IN 

F/tapestry.init.xml, line 46, column 89: Service interceptor factory 
hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.
ISpecificationParser interceptor for service 
tapestry.parse.SpecificationParser as class 
$ISpecificationParser_112709303e6: argument type mi

smatch
07/05/09 13:22:02location: 
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo 


rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 42, column 21

07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: 
Error building service tapestry.init.ApplicationSpecificationInitializer:
Error at 
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-IN 

F/tapestry.init.xml, line 46, column 89: Service interceptor factory 
hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.
ISpecificationParser interceptor for service 
tapestry.parse.SpecificationParser as class 
$ISpecificationParser_112709303e6: argument type mi

smatch
07/05/09 13:22:02location: 
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo 


rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 43, column 67

07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: 
Error at code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/
refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-INF/tapestry.init.xml, 
line 46, column 89: Service interceptor factory hivem
ind.LoggingInterceptor failed to create 
org.apache.tapestry.parse.ISpecificationParser interceptor for service 
tapestry.parse.SpecificationP

arser as class $ISpecificationParser_112709303e6: argument type mismatch
07/05/09 13:22:02location: 
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo 


rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 46, column 89

07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: 
Service interceptor factory hivemind.LoggingInterceptor failed to create
org.apache.tapestry.parse.ISpecificationParser interceptor for service 
tapestry.parse.SpecificationParser as class $ISpecificationParser_112

709303e6: argument type mismatch

07/05/09 13:22:02 java.lang.IllegalArgumentException: argument type 
mismatch
07/05/09 13:22:02 

Re: T5: Since update from 5.03 to 5.04 class not found

2007-05-09 Thread Eugene Lozovan

Hello all,

Could you please give a piece of advice, I downloaded tapestry quick-start
5.0.4 using such a command:

mvn archetype:create -DarchetypeGroupId=org.apache.tapestry
-DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.4
-DgroupId=org.example -DartifactId=myapp
-DpackageName=org.example.myapp -Dversion=1.0.0-SNAPSHOT

Then, the project was imported in Eclipse and ran with jetty launcher, but
the stack trace is:

Exception in thread main java.lang.NoClassDefFoundError:
org/apache/tapestry/ioc/ServiceLocator
   at java.lang.Class.getDeclaredMethods0(Native Method)
   at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
   at java.lang.Class.privateGetPublicMethods(Class.java:2519)
   at java.lang.Class.getMethods(Class.java:1406)
   at org.apache.tapestry.ioc.internal.DefaultModuleDefImpl.grind(
DefaultModuleDefImpl.java:135)
   at org.apache.tapestry.ioc.internal.DefaultModuleDefImpl.init(
DefaultModuleDefImpl.java:106)
   at org.apache.tapestry.ioc.RegistryBuilder.add(RegistryBuilder.java:109)
   at org.apache.tapestry.internal.TapestryAppInitializer.createRegistry(
TapestryAppInitializer.java:79)
   at org.apache.tapestry.internal.TapestryAppInitializer.init(
TapestryAppInitializer.java:68)
   at org.apache.tapestry.internal.TapestryAppInitializer.init(
TapestryAppInitializer.java:55)
   at org.apache.tapestry.TapestryFilter.init(TapestryFilter.java:71)
   at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:71)
   at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(
WebApplicationHandler.java:310)
   at org.mortbay.jetty.servlet.WebApplicationContext.doStart(
WebApplicationContext.java:509)
   at org.mortbay.util.Container.start(Container.java:72)
   at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
   at org.mortbay.util.Container.start(Container.java:72)
   at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
   at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
   at com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)

So, how it's possible to get 5.0.4 work?

E.L.

On 08/05/07, Mike_R [EMAIL PROTECTED] wrote:



Hi Sabine,

Another thing to try is issuing a 'mvn -U clean' command. The -U forces
maven to update its dependencies, this could solve the outdated core
problem.

Mike


kristian.marinkovic wrote:

 hi sabine,

 have you tried to clean install everything?

 from the stack you can see it is trying to call the
 OnEventWorker.extractComponentIds method
 that does not exist anymore (since 13.3.2007). The
 correct name now would be extractComponentId.
 I suppose at least your Tapestry Core library is not
 up to date.

 g,
 kris





 Sabine K. [EMAIL PROTECTED]
 08.05.2007 11:04
 Bitte antworten an
 Tapestry users users@tapestry.apache.org


 An
 users@tapestry.apache.org
 Kopie

 Thema
 T5: Since update from 5.03 to 5.04 class not found







 Hello Guys!

 ive updatet with maven and now i got this error. Ive got no idea how to
 solve it?

 Best regards Sabine

 An unexpected application exception has occurred.

 * java.lang.RuntimeException
   java.lang.ClassNotFoundException: caught an exception while
 obtaining
 a class file for org.firma.tool.pages.Start
 * java.lang.ClassNotFoundException
   caught an exception while obtaining a class file for
 org.firma.tool.pages.Start

 exception
   java.lang.ClassCastException: java.lang.String incompatible with
 [Ljava.lang.String;


 Stack trace

 *
 org.apache.tapestry.internal.services.OnEventWorker.extractComponentIds(
OnEventWorker.java:153)
 *
 org.apache.tapestry.internal.services.OnEventWorker.addCodeForMethod(
OnEventWorker.java:107)
 *
 org.apache.tapestry.internal.services.OnEventWorker.transform(
OnEventWorker.java:66)
 *

org.apache.tapestry.internal.services.ComponentClassTransformerImpl.transformComponentClass
(ComponentClassTransformerImpl.java:131)
 *

org.apache.tapestry.internal.services.ComponentInstantiatorSourceImpl.onLoad
(ComponentInstantiatorSourceImpl.java:177)
 * javassist.Loader.findClass(Loader.java:340)
 *

org.apache.tapestry.internal.services.ComponentInstantiatorSourceImpl$PackageAwareLoader.findClass
(ComponentInstantiatorSourceImpl.java:85)
 * javassist.Loader.loadClass(Loader.java:311)
 * java.lang.ClassLoader.loadClass(ClassLoader.java:568)
 *

org.apache.tapestry.internal.services.ComponentInstantiatorSourceImpl.findClass
(ComponentInstantiatorSourceImpl.java:254)
 *

org.apache.tapestry.internal.services.ComponentInstantiatorSourceImpl.findInstantiator
(ComponentInstantiatorSourceImpl.java:240)
 *

org.apache.tapestry.internal.services.PageElementFactoryImpl.newRootComponentElement
(PageElementFactoryImpl.java:188)
 *

org.apache.tapestry.internal.services.PageLoaderProcessor.loadRootComponent
(PageLoaderProcessor.java:345)
 *
 

Improving Autocompleter performance T 4.1.2

2007-05-09 Thread Chris Chiappone

I am trying to figure out why my autocompleter performs so slowly.
I've tried multiple things to try to improve.  I've tried using the
DefaultAutoComplete model, a StringAutoCompleteModel that just takes
in a ListString and looks for a match where the List is created in
PageBeginRender and set as a abstract property, and even a
DBAutoCompleteModel that queries the db for matches.

Looking at FireBug the dojo response time is around 11000ms which is
way to long.  What other things could I try to improve the performace?

Thanks,

--
~chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tapestry 4.1.1 Hello World not working on Oracle 10.1.3.2.0

2007-05-09 Thread janjonge

It seems your jar is corrupted. Try updating it.

Jan

Jan Vissers wrote:
 
 Below the trace I see, whenever Tapestry 4.1.1 tries to load
 Has anybody ever tried Tapestry 4.1.1 on OC4J?
 
 **
 
 
 07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: 
 Unable to construct service tapestry.init.ApplicationSpecificationInitial
 izer: Error building service 
 tapestry.init.ApplicationSpecificationInitializer: Error at 
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applica
 tions/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-INF/tapestry.init.xml,
  
 line 46, column 89: Service interceptor
 factory hivemind.LoggingInterceptor failed to create 
 org.apache.tapestry.parse.ISpecificationParser interceptor for service 
 tapestry.parse.S
 pecificationParser as class $ISpecificationParser_112709303e6: argument 
 type mismatch
 07/05/09 13:22:02location: 
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo
 rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 42, column 21
 
 07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: Error 
 building service tapestry.init.ApplicationSpecificationInitializer:
  Error at 
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-IN
 F/tapestry.init.xml, line 46, column 89: Service interceptor factory 
 hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.
 ISpecificationParser interceptor for service 
 tapestry.parse.SpecificationParser as class 
 $ISpecificationParser_112709303e6: argument type mi
 smatch
 07/05/09 13:22:02location: 
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo
 rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 42, column 21
 
 07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: Error 
 building service tapestry.init.ApplicationSpecificationInitializer:
  Error at 
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-IN
 F/tapestry.init.xml, line 46, column 89: Service interceptor factory 
 hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.
 ISpecificationParser interceptor for service 
 tapestry.parse.SpecificationParser as class 
 $ISpecificationParser_112709303e6: argument type mi
 smatch
 07/05/09 13:22:02location: 
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo
 rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 43, column 67
 
 07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: Error 
 at code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/
 refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-INF/tapestry.init.xml,
  
 line 46, column 89: Service interceptor factory hivem
 ind.LoggingInterceptor failed to create 
 org.apache.tapestry.parse.ISpecificationParser interceptor for service 
 tapestry.parse.SpecificationP
 arser as class $ISpecificationParser_112709303e6: argument type mismatch
 07/05/09 13:22:02location: 
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo
 rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 46, column 89
 
 07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: 
 Service interceptor factory hivemind.LoggingInterceptor failed to create
 org.apache.tapestry.parse.ISpecificationParser interceptor for service 
 tapestry.parse.SpecificationParser as class $ISpecificationParser_112
 709303e6: argument type mismatch
 
 07/05/09 13:22:02 java.lang.IllegalArgumentException: argument type
 mismatch
 07/05/09 13:22:02 
 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 07/05/09 13:22:02 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 07/05/09 13:22:02 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 07/05/09 13:22:02 
 java.lang.reflect.Constructor.newInstance(Constructor.java:513)
 07/05/09 13:22:02 
 org.apache.hivemind.service.impl.LoggingInterceptorFactory.instantiateInterceptor(LoggingInterceptorFactory.java:290)
 07/05/09 13:22:02 
 org.apache.hivemind.service.impl.LoggingInterceptorFactory.createInterceptor(LoggingInterceptorFactory.java:255)
 07/05/09 13:22:02 
 org.apache.hivemind.impl.ServiceInterceptorContributionImpl.createInterceptor(ServiceInterceptorContributionImpl.java:95)
 07/05/09 13:22:02 
 org.apache.hivemind.impl.InterceptorStackImpl.process(InterceptorStackImpl.java:116)
 07/05/09 13:22:02 
 org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.addInterceptors(AbstractServiceModelImpl.java:85)
 07/05/09 13:22:02 
 

Re: Tapestry 4.1.1 Hello World not working on Oracle 10.1.3.2.0

2007-05-09 Thread janjonge

Hmm, this looks and smells like a bug in Tapestry.

Jan

Jan Vissers wrote:
 
 Hi,
 
 With the help of this Tapestry (4.0.2) / Hivemind (1.1.1) in OC4J 
 10.1.3 - Dig a little bit more, anyone please give me a ladder to climb 
 up post
 I've now got things working on 10.1.3.2
 
 Below the hivemodule.xml I created:
 
 ?xml version=1.0?
 module id=com.cumquatit.refapp version=1.0.0 
 package=com.cumquatit.refapp
 implementation service-id=hivemind.LoggingInterceptor
 create-instance 
 class=com.cumquatit.refapp.HivemindFixLoggingInterceptor /
 /implementation
 /module
 
 
 And the class to go along with it:
 
 package com.cumquatit.refapp;
 
 import java.util.List;
 
 import org.apache.hivemind.InterceptorStack;
 import org.apache.hivemind.ServiceInterceptorFactory;
 import org.apache.hivemind.internal.Module;
 
 public class HivemindFixLoggingInterceptor implements 
 ServiceInterceptorFactory {
 @SuppressWarnings(unchecked)
 public void createInterceptor(InterceptorStack arg0, Module arg1, 
 List arg2) {
 }
 }
 
 
 This basically does the trick.
 Thanks Jesse (and I hope you refrain from taking every post coming from 
 me as an insult),
 
 -J.
 
 (On OC4J11 Tech Preview, it is not yet working - but the error indicates 
 something different than a specific Hivemind issue)
 
 
 Jan Vissers wrote:
 Below the trace I see, whenever Tapestry 4.1.1 tries to load
 Has anybody ever tried Tapestry 4.1.1 on OC4J?

 **


 07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: 
 Unable to construct service tapestry.init.ApplicationSpecificationInitial
 izer: Error building service 
 tapestry.init.ApplicationSpecificationInitializer: Error at 
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applica
 tions/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-INF/tapestry.init.xml,
  
 line 46, column 89: Service interceptor
 factory hivemind.LoggingInterceptor failed to create 
 org.apache.tapestry.parse.ISpecificationParser interceptor for service 
 tapestry.parse.S
 pecificationParser as class $ISpecificationParser_112709303e6: 
 argument type mismatch
 07/05/09 13:22:02location: 
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo
  

 rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 42, column 21

 07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: 
 Error building service tapestry.init.ApplicationSpecificationInitializer:
 Error at 
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-IN
  

 F/tapestry.init.xml, line 46, column 89: Service interceptor factory 
 hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.
 ISpecificationParser interceptor for service 
 tapestry.parse.SpecificationParser as class 
 $ISpecificationParser_112709303e6: argument type mi
 smatch
 07/05/09 13:22:02location: 
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo
  

 rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 42, column 21

 07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: 
 Error building service tapestry.init.ApplicationSpecificationInitializer:
 Error at 
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-IN
  

 F/tapestry.init.xml, line 46, column 89: Service interceptor factory 
 hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.
 ISpecificationParser interceptor for service 
 tapestry.parse.SpecificationParser as class 
 $ISpecificationParser_112709303e6: argument type mi
 smatch
 07/05/09 13:22:02location: 
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo
  

 rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 43, column 67

 07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: 
 Error at code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/
 refapp-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-INF/tapestry.init.xml,
  
 line 46, column 89: Service interceptor factory hivem
 ind.LoggingInterceptor failed to create 
 org.apache.tapestry.parse.ISpecificationParser interceptor for service 
 tapestry.parse.SpecificationP
 arser as class $ISpecificationParser_112709303e6: argument type mismatch
 07/05/09 13:22:02location: 
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-framewo
  

 rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 46, column 89

 07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: 
 Service interceptor factory hivemind.LoggingInterceptor failed to create
 org.apache.tapestry.parse.ISpecificationParser interceptor for service 
 tapestry.parse.SpecificationParser as class 

Re: Improving Autocompleter performance T 4.1.2

2007-05-09 Thread Jesse Kuhnert

Try using http://yourkit.com/ . It leaves 0 doubt about the performance
bottleneck in these things.

On 5/9/07, Chris Chiappone [EMAIL PROTECTED] wrote:


I am trying to figure out why my autocompleter performs so slowly.
I've tried multiple things to try to improve.  I've tried using the
DefaultAutoComplete model, a StringAutoCompleteModel that just takes
in a ListString and looks for a match where the List is created in
PageBeginRender and set as a abstract property, and even a
DBAutoCompleteModel that queries the db for matches.

Looking at FireBug the dojo response time is around 11000ms which is
way to long.  What other things could I try to improve the performace?

Thanks,

--
~chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


Re: Improving Autocompleter performance T 4.1.2

2007-05-09 Thread janjonge

Please use detachable models!

Jan

mistapony wrote:
 
 I am trying to figure out why my autocompleter performs so slowly.
 I've tried multiple things to try to improve.  I've tried using the
 DefaultAutoComplete model, a StringAutoCompleteModel that just takes
 in a ListString and looks for a match where the List is created in
 PageBeginRender and set as a abstract property, and even a
 DBAutoCompleteModel that queries the db for matches.
 
 Looking at FireBug the dojo response time is around 11000ms which is
 way to long.  What other things could I try to improve the performace?
 
 Thanks,
 
 -- 
 ~chris
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Improving-Autocompleter-performance-T-4.1.2-tf3716452.html#a10396701
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tapestry 4.1.1 Hello World not working on Oracle 10.1.3.2.0

2007-05-09 Thread Jesse Kuhnert

I wonder if there is going to be a 1.1.2 hivemind release or should I try
applying patches and waiting for the eventual good-enough-to-commit blah
blah to eventually get some of these things fixed up?

On 5/9/07, Jan Vissers [EMAIL PROTECTED] wrote:


Hi,

With the help of this Tapestry (4.0.2) / Hivemind (1.1.1) in OC4J
10.1.3 - Dig a little bit more, anyone please give me a ladder to climb
up post
I've now got things working on 10.1.3.2

Below the hivemodule.xml I created:

?xml version=1.0?
module id=com.cumquatit.refapp version=1.0.0
package=com.cumquatit.refapp
implementation service-id=hivemind.LoggingInterceptor
create-instance
class=com.cumquatit.refapp.HivemindFixLoggingInterceptor /
/implementation
/module


And the class to go along with it:

package com.cumquatit.refapp;

import java.util.List;

import org.apache.hivemind.InterceptorStack;
import org.apache.hivemind.ServiceInterceptorFactory;
import org.apache.hivemind.internal.Module;

public class HivemindFixLoggingInterceptor implements
ServiceInterceptorFactory {
@SuppressWarnings(unchecked)
public void createInterceptor(InterceptorStack arg0, Module arg1,
List arg2) {
}
}


This basically does the trick.
Thanks Jesse (and I hope you refrain from taking every post coming from
me as an insult),

-J.

(On OC4J11 Tech Preview, it is not yet working - but the error indicates
something different than a specific Hivemind issue)


Jan Vissers wrote:
 Below the trace I see, whenever Tapestry 4.1.1 tries to load
 Has anybody ever tried Tapestry 4.1.1 on OC4J?

 **


 07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException:
 Unable to construct service
tapestry.init.ApplicationSpecificationInitial
 izer: Error building service
 tapestry.init.ApplicationSpecificationInitializer: Error at
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applica
 tions/refapp/refapp-web-1.0.0/WEB-INF/lib/tapestry-
framework-4.1.1.jar!/META-INF/tapestry.init.xml,
 line 46, column 89: Service interceptor
 factory hivemind.LoggingInterceptor failed to create
 org.apache.tapestry.parse.ISpecificationParser interceptor for service
 tapestry.parse.S
 pecificationParser as class $ISpecificationParser_112709303e6:
 argument type mismatch
 07/05/09 13:22:02location:
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-
web-1.0.0/WEB-INF/lib/tapestry-framewo

 rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 42, column 21

 07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException:
 Error building service tapestry.init.ApplicationSpecificationInitializer
:
 Error at
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-
web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-IN

 F/tapestry.init.xml, line 46, column 89: Service interceptor factory
 hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.
 ISpecificationParser interceptor for service
 tapestry.parse.SpecificationParser as class
 $ISpecificationParser_112709303e6: argument type mi
 smatch
 07/05/09 13:22:02location:
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-
web-1.0.0/WEB-INF/lib/tapestry-framewo

 rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 42, column 21

 07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException:
 Error building service tapestry.init.ApplicationSpecificationInitializer
:
 Error at
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-
web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/META-IN

 F/tapestry.init.xml, line 46, column 89: Service interceptor factory
 hivemind.LoggingInterceptor failed to create org.apache.tapestry.parse.
 ISpecificationParser interceptor for service
 tapestry.parse.SpecificationParser as class
 $ISpecificationParser_112709303e6: argument type mi
 smatch
 07/05/09 13:22:02location:
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-
web-1.0.0/WEB-INF/lib/tapestry-framewo

 rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 43, column 67

 07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException:
 Error at
code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/
 refapp-web-1.0.0/WEB-INF/lib/tapestry-
framework-4.1.1.jar!/META-INF/tapestry.init.xml,
 line 46, column 89: Service interceptor factory hivem
 ind.LoggingInterceptor failed to create
 org.apache.tapestry.parse.ISpecificationParser interceptor for service
 tapestry.parse.SpecificationP
 arser as class $ISpecificationParser_112709303e6: argument type mismatch
 07/05/09 13:22:02location:
 code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/refapp/refapp-
web-1.0.0/WEB-INF/lib/tapestry-framewo

 rk-4.1.1.jar!/META-INF/tapestry.init.xml, line 46, column 89

 07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException:
 Service interceptor factory hivemind.LoggingInterceptor failed to create
 org.apache.tapestry.parse.ISpecificationParser 

RE: dirty form checking ...

2007-05-09 Thread Marcus.Schulte
Yes, that's what I started with. 
The basic check works, now. But I can't seem to hook into regular
form-submission nicely, to switch
off the dirty-check in that case.
I tried 

dojo.event.connect(form_${formName},onsubmit,tapestry.dirtyFormWarning
, defuse);

That works just fine for @Submit, but not at all for @LinkSubmit ... .

 -Original Message-
 From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, May 09, 2007 3:53 PM
 To: Tapestry users
 Subject: Re: dirty form checking ...
 
 Oh ...Forgot that you wanted to stop it. Yeah that wouldn't 
 work there.
 
 I don't think there is anything to do other than what tacos does:
 
 http://opencomponentry.com:8080/tacos/forms/DirtyFormExample.html
 
 On 5/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  thanks, but I don't seem to be able to veto that event.
  dojo.event.browser.stopEvent(evt)  doesn't seem to work ...
 
   -Original Message-
   From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, May 09, 2007 2:57 PM
   To: Tapestry users
   Subject: Re: dirty form checking ...
  
   dojo.addOnUnload
  
   On 5/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   
I'm implementing a dirty form checking component.
   
Can I avoid the dreaded window.onbeforeunload and use some
   convenient
dojo-hook to upon unloading the form?
   
Any ideas are welcome!
   
thanks, Marcus
   
  
  
  
   --
   Jesse Kuhnert
   Tapestry/Dojo team member/developer
  
   Open source based consulting work centered around 
   dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
  
 
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 --
 Jesse Kuhnert
 Tapestry/Dojo team member/developer
 
 Open source based consulting work centered around 
 dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dirty form checking ...

2007-05-09 Thread Jesse Kuhnert

I think you can connect to tapestry.form.onFormSubmit as per:

http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/form.js?view=markup

On 5/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Yes, that's what I started with.
The basic check works, now. But I can't seem to hook into regular
form-submission nicely, to switch
off the dirty-check in that case.
I tried

dojo.event.connect(form_${formName},onsubmit,tapestry.dirtyFormWarning
, defuse);

That works just fine for @Submit, but not at all for @LinkSubmit ... .

 -Original Message-
 From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, May 09, 2007 3:53 PM
 To: Tapestry users
 Subject: Re: dirty form checking ...

 Oh ...Forgot that you wanted to stop it. Yeah that wouldn't
 work there.

 I don't think there is anything to do other than what tacos does:

 http://opencomponentry.com:8080/tacos/forms/DirtyFormExample.html

 On 5/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  thanks, but I don't seem to be able to veto that event.
  dojo.event.browser.stopEvent(evt)  doesn't seem to work ...
 
   -Original Message-
   From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, May 09, 2007 2:57 PM
   To: Tapestry users
   Subject: Re: dirty form checking ...
  
   dojo.addOnUnload
  
   On 5/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   
I'm implementing a dirty form checking component.
   
Can I avoid the dreaded window.onbeforeunload and use some
   convenient
dojo-hook to upon unloading the form?
   
Any ideas are welcome!
   
thanks, Marcus
   
  
  
  
   --
   Jesse Kuhnert
   Tapestry/Dojo team member/developer
  
   Open source based consulting work centered around
   dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
  
 
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 Jesse Kuhnert
 Tapestry/Dojo team member/developer

 Open source based consulting work centered around
 dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


Re: dirty form checking ...

2007-05-09 Thread Andreas Andreou

And hey, if that works, perhaps contribute back into tacos?

i'm sure we'll have to implement that eventually, so it'll be a huge
shortcut
if we could use that!

On 5/9/07, Jesse Kuhnert [EMAIL PROTECTED] wrote:


I think you can connect to tapestry.form.onFormSubmit as per:


http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/form.js?view=markup

On 5/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Yes, that's what I started with.
 The basic check works, now. But I can't seem to hook into regular
 form-submission nicely, to switch
 off the dirty-check in that case.
 I tried

 dojo.event.connect(form_${formName},onsubmit,tapestry.dirtyFormWarning
 , defuse);

 That works just fine for @Submit, but not at all for @LinkSubmit ... .

  -Original Message-
  From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, May 09, 2007 3:53 PM
  To: Tapestry users
  Subject: Re: dirty form checking ...
 
  Oh ...Forgot that you wanted to stop it. Yeah that wouldn't
  work there.
 
  I don't think there is anything to do other than what tacos does:
 
  http://opencomponentry.com:8080/tacos/forms/DirtyFormExample.html
 
  On 5/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  
   thanks, but I don't seem to be able to veto that event.
   dojo.event.browser.stopEvent(evt)  doesn't seem to work ...
  
-Original Message-
From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 09, 2007 2:57 PM
To: Tapestry users
Subject: Re: dirty form checking ...
   
dojo.addOnUnload
   
On 5/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 I'm implementing a dirty form checking component.

 Can I avoid the dreaded window.onbeforeunload and use some
convenient
 dojo-hook to upon unloading the form?

 Any ideas are welcome!

 thanks, Marcus

   
   
   
--
Jesse Kuhnert
Tapestry/Dojo team member/developer
   
Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
   
  
  
  -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
  --
  Jesse Kuhnert
  Tapestry/Dojo team member/developer
 
  Open source based consulting work centered around
  dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com





--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / JEE Consulting


Re: localization oddity

2007-05-09 Thread Jesse Kuhnert

This sounds troublesome, if you file this in jira I should be able to track
down the discrepancy. (if any)

On 5/9/07, Eric Schneider [EMAIL PROTECTED] wrote:


Hi,

I'm in the process of moving my page and component message bundles into a
global file.  In the long run this seems like a much more manageable
approach.  But, I'm seeing some results that I didn't expect.

For example, moving recap_label=Récapitulation from a page property file
to the global property file causes the label to render differently.

When it was in the page_fr.properties file it would render in the
browser
properly, Récapitulation.  When being pulled from the global file
(app_name_fr.properties) it would render like RÈcapitulation.

Another example of the oddness, RÉSERVATION BLESSÉE renders as
R…SERVATION BLESS…E from the global properties file.

Anyone know why this would be happening?

Thanks in advance.
Eric





--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


Re: localization oddity

2007-05-09 Thread Jesse Kuhnert

Not much - and definitely not anything that would be related to what you are
seeingSo if you see an oddity that would explain it it has to in there,
or your copy  paste of the characters didn't come through ok in the new
file,.

On 5/9/07, Eric Schneider [EMAIL PROTECTED] wrote:


I'm still using 4.0.2.   Not sure how much has changed since then.

e.


On 5/9/07, Jesse Kuhnert [EMAIL PROTECTED] wrote:

 I don't know what version you are on but most of that happens in here:



http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/services/impl/ComponentMessagesSourceImpl.java?view=markup

 I haven't changed things ~too~ much in 4.1.2 but there are slight
 differences...Reading the code leads me to believe that the namespace
 properties (ie the global) would be read from the same service...In fact
I
 know it is since I added something in for appfuse to be able to place
them
 in different locations.

 Maybe you'll see a slight difference in component vs. namespace reading
in
 there? If you do let me know.

 On 5/9/07, Eric Schneider [EMAIL PROTECTED] wrote:
 
  Thanks for the tip, I'll give it shot.
 
  I'm still very curious about why it would behave differently.  :-|
 
  e.
 
  On 5/9/07, Michael Maier [EMAIL PROTECTED] wrote:
  
   I wonder that 'recap_label=Récapitulation' works...
  
   try
  
   man native2ascii
  
   *.properties are invented by english speaking man, so everything is
   ascii...:-)
  
   maybe this will help
  
  
   Am 10.05.2007 um 00:16 schrieb Eric Schneider:
  
I'm in the process of moving my page and component message bundles
into a
global file.  In the long run this seems like a much more
manageable
approach.  But, I'm seeing some results that I didn't expect.
   
For example, moving recap_label=Récapitulation from a page
property file
to the global property file causes the label to render
differently.
   
When it was in the page_fr.properties file it would render in
the
browser
properly, Récapitulation.  When being pulled from the global
file
(app_name_fr.properties) it would render like RÈcapitulation.
   
Another example of the oddness, RÉSERVATION BLESSÉE renders as
R…SERVATION BLESS…E from the global properties file.
  
  
  
-
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 



 --
 Jesse Kuhnert
 Tapestry/Dojo team member/developer

 Open source based consulting work centered around
 dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com






--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


Re: T5 - Location of files

2007-05-09 Thread Weisu

If you use Tomcat, try put jdbc jar in tomcat\common\lib, see if it works.

Marcus-11 wrote:
 
 Hi,
 
 Where, in T5, should i put others jars necessary to application, for
 example, if i want to put my jdbc driver in file myApp.war.
 I've try  WEB-INF/lib, but don't work.
 
 Thank's
 Marcus
 
 

-- 
View this message in context: 
http://www.nabble.com/T5---Location-of-files-tf3717485.html#a10405434
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 - Location of files

2007-05-09 Thread Joshua Jackson

What is the error stack trace? Can you see it in your logs?

On 5/10/07, Marcus [EMAIL PROTECTED] wrote:

Hi,

Where, in T5, should i put others jars necessary to application, for
example, if i want to put my jdbc driver in file myApp.war.
I've try  WEB-INF/lib, but don't work.

Thank's
Marcus




--
YM!: thejavafreak
Blog: http://www.nagasakti.or.id/roller/joshua/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Does anyone have the same problem of following the T5 tutorial

2007-05-09 Thread John Lee
Dear List, 

I follow the tutorial to download hilo game. Since 5.0.4-snapshot have
bug, I modified pom.xml to use 5.0.3 instead, and I get it running.

However, after important the project to eclipse, I get compile error in 
org.example.hilo.services.AppModule.

1. The type MappedConfiguration is not generic; it cannot be parameterized with 
arguments String, 
 String

2. The method format(String, Object[]) in the type String is not applicable for 
the arguments (String, long)

I use jdk1.5.0_11 in the build path, java 5 should support generic class and 
boxing conversion.

What's wrong with the project?

Regards
John 


MSN: [EMAIL PROTECTED]

 __  __   __  __  __  __    
/\  _  \/\ \ /\ \/\__  _\/\ \/\ \/\  _`\
\ \ \L\ \ \ \\ \ \   \/_/\ \/\ \ \_\ \ \ \L\_\  
 \ \  __ \ \ \  __\ \ \  __ \ \ \ \ \  _  \ \  _\L  
  \ \ \/\ \ \ \L\ \\ \ \L\ \ \ \ \ \ \ \ \ \ \ \L\ \
   \ \_\ \_\ \/ \ \/  \ \_\ \ \_\ \_\ \/
\/_/\/_/\/___/   \/___/\/_/  \/_/\/_/\/___/ 


  __   
/\  _`\  /\  _`\ /\  _`\ /\__  _\  
\ \ \L\ \\ \ \L\_\ \,\L\_\/_/\ \/  
 \ \  _ '\ \  _\L\/_\__ \  \ \ \  
  \ \ \L\ \\ \ \L\ \/\ \L\ \ \ \ \ 
   \ \/ \ \/\ `\\ \ \_\
\/___/   \/___/  \/_/  \/_/