Re: problem with component

2010-01-30 Thread Josh Canfield
> I tried to use following code: > >public Request process(Request request, URLRewriteContext context) { >return new SimpleRequestWrapper(request, request.getPath()); >} > > When I use this code then context of component event is even lost. I didn't > find way how to create Simp

Re: from tapestry5 quickstart to jumpstart?

2010-01-30 Thread Geoff Callender
Cool. On 31/01/2010, at 3:23 PM, faye alaska wrote: > > Now I finally fixed my jumpstart as well, and it is working with database... > I think I had a mismatch of where the openejb is -- I originally had the > /openejb-3.1.1 directory under the jumpstart directory and tried to modify > some of t

Re: from tapestry5 quickstart to jumpstart?

2010-01-30 Thread Geoff Callender
Sorry but I have no idea! I've just tried installation from scratch and it worked, but I noticed a couple of things... * openejb-3.1.1 is no longer available, so I used openejb-3.1.2. i will have to upgrade the instructions. * You are right that initially there is no directory o

Re: from tapestry5 quickstart to jumpstart?

2010-01-30 Thread faye alaska
Now I finally fixed my jumpstart as well, and it is working with database... I think I had a mismatch of where the openejb is -- I originally had the /openejb-3.1.1 directory under the jumpstart directory and tried to modify some of the files and the VM arguments, but the database could not get po

Re: [ANNOUNCEMENT] Introducing Tynamo!

2010-01-30 Thread Kalle Korhonen
Application scope? Why not just use a static property? Kalle On Sat, Jan 30, 2010 at 3:53 PM, sodium wrote: > > Nice project. Since there is conversational scope already, is there any plan > to include application scope to Tynamo future roadmap as well? > > > Kalle Korhonen-2 wrote: >> >> We ar

Re: from tapestry5 quickstart to jumpstart?

2010-01-30 Thread faye alaska
another observation is that, In the installation, it says: "In Eclipse, open the data_util.properties file and modify the properties hsqldb.data.dir and hsqldb.jar.dir. Use relative paths eg. ../openejb-3.1.1/data/hsqldb and ../openejb-3.1.1/lib" I didn't see a hsqldb directory under ../openejb-3

Re: from tapestry5 quickstart to jumpstart?

2010-01-30 Thread faye alaska
Hi Geoff, I read in several threads about conflicts of OpenEJB and Hibernate on ASM. I am wondering how you got around it or was it an old issue to worry about. I did follow the populate the database "Drag the data_util.xml file to the Ant view and run its target reset-database-hsqldb-prompted. I

Re: [ANNOUNCEMENT] Introducing Tynamo!

2010-01-30 Thread sodium
Nice project. Since there is conversational scope already, is there any plan to include application scope to Tynamo future roadmap as well? Kalle Korhonen-2 wrote: > > We are pleased to officially introduce Tynamo project and announce our > first releases and immediate availability of tapestry

Re: from tapestry5 quickstart to jumpstart?

2010-01-30 Thread Geoff Callender
That's good news. After step 8 there is a section titled "Populate the database". That will do it. Regards, Geoff On 31/01/2010, at 8:17 AM, faye alaska wrote: > > Hi Geoff, > > I did get jumpstart to work. The instruction is definitely accurate. My > error was indeed with step 8, "Click Ad

Re: problem with component

2010-01-30 Thread Jan Jirout
Hi, thanks for answer. In my real application I change just pieces of path but it didn't work. I tried to use following code: public Request process(Request request, URLRewriteContext context) { return new SimpleRequestWrapper(request, request.getPath()); } When I use this

Re: problem with component

2010-01-30 Thread Thiago H. de Paula Figueiredo
On Sat, 30 Jan 2010 19:58:34 -0200, Jan Jirout wrote: Hi All, Hi! I have strange problem with URL rewriting. I'm changing path name in URLRewriterRule. In following way: public Request process(Request request, URLRewriteContext context) { return new SimpleRequestWr

problem with component

2010-01-30 Thread Jan Jirout
Hi All, I have strange problem with URL rewriting. I'm changing path name in URLRewriterRule. In following way: public Request process(Request request, URLRewriteContext context) { return new SimpleRequestWrapper(request, "somePath"); } It works fine. Problem is with pa

Re: from tapestry5 quickstart to jumpstart?

2010-01-30 Thread faye alaska
Hi Geoff, I did get jumpstart to work. The instruction is definitely accurate. My error was indeed with step 8, "Click Add Jars... and add every JAR in OpenEJB's lib/ directory to the new user library." my mistake was that I added the Jars to the build path rather than to the "new user library"

Re: from tapestry5 quickstart to jumpstart?

2010-01-30 Thread Kalle Korhonen
On Sat, Jan 30, 2010 at 11:23 AM, faye alaska wrote: > Thanks for your help again. Is OpenEjb included in this quick start project? > Do I need to add it as a user library like in the jumpstart to use it? Or > does the quick start have something else that does serve the purpose for > OpenEJB? I ha

Re: from tapestry5 quickstart to jumpstart?

2010-01-30 Thread faye alaska
Thanks for your help again. Is OpenEjb included in this quick start project? Do I need to add it as a user library like in the jumpstart to use it? Or does the quick start have something else that does serve the purpose for OpenEJB? I have read some threads that the openEJB and Hibernate have conf

Re: from tapestry5 quickstart to jumpstart?

2010-01-30 Thread Kalle Korhonen
I'm glad you were able to figure it out. Yes, we've tried to make the whole setup as easy as possible. One option is to copy the themes/tapestryskin resources from target to source so you don't have move things around, then remove war dependency from the pom (it uses a specific Maven functionality

Re: [T5] UTF-8 in URL | onActivate(String utf8String)

2010-01-30 Thread Nicolas Bouillon
Thiago H. de Paula Figueiredo a écrit : This doesn't override a service, just adds another implementation. To actually override a service, you need to contribute to the ServiceOverrides service: public static void contributeServiceOverride(MappedConfiguration configuration) { configurat

Re: [T5] UTF-8 in URL | onActivate(String utf8String)

2010-01-30 Thread Thiago H. de Paula Figueiredo
On Sat, 30 Jan 2010 13:09:05 -0200, Nicolas Bouillon wrote: Hi, Hi! I've tried to ovveride the URLEncoderImpl.java using : binder.bind(URLEncoder.class, MyURLEncoderImpl.class).withId("MyURLEncoderImpl"); This doesn't override a service, just adds another implementation. To actually

[T5] UTF-8 in URL | onActivate(String utf8String)

2010-01-30 Thread Nicolas Bouillon
Hi, I'm trying to resolve the following issue : I have a page MyPage that take a string as an activation context. The URL then looks like http://localhost/mypage/Café I got the following exception : java.lang.IllegalArgumentException Input string 'Café' is not valid; the character 'é' at posi

Re: Can't get the prototype.js????

2010-01-30 Thread cordenier christophe
Hi, I already encounter this kind of error but the cause was not prototype.js. There was a problem with anotherJS file (wymeditor) that was trying to access to the script declarations to obtain path information. First you can disable "tapestry.combine-scripts" to see what happens. Then have a clo

Re: New Tapestry Website - http://www.seesaw.com/

2010-01-30 Thread Thiago H. de Paula Figueiredo
On Fri, 29 Jan 2010 08:18:51 -0200, Ben Gidley wrote: Hi, Hi! We have just launched http://www.seesaw.com/ into beta this is a Tapestry 5 powered website providing a video on demand site (like iPlayer or Hulu) in the UK market. I loved it! Very beautiful design! The only downside is th

Can't get the prototype.js????

2010-01-30 Thread Donyee
Hi all,My app is using T5.1.0.5, and tomcat 6.0.18,jdk6,deployed as a war file. when app works fine some days, then it blocked when the brower request the prototype.js. I use the firebug to find that the blocked request is */assets/virtual/H4sIAIXNQQrCMBCF4XGhXkREhE500QNN41SqlYS86aKeyat

Re: from tapestry5 quickstart to jumpstart?

2010-01-30 Thread faye alaska
Hi Kalle, I got it figured out. I needed to point the WebApp Dir to the target instead of the source. Anyways, I will play with it more. Thanks a bunch for your help. Faye faye alaska wrote: > > Hi Kalle, > The quick start is really easy to set up. However, when I try to run it > using http

Re: from tapestry5 quickstart to jumpstart?

2010-01-30 Thread faye alaska
Hi Kalle, The quick start is really easy to set up. However, when I try to run it using http://localhost:8080/, I get the following error: An unexpected application exception has occurred. * org.apache.tapestry5.internal.services.RenderQueueException Render queue error in SetupRender[I