Re: Tapestry 5 and Template Reloading

2007-05-14 Thread bjornharvold
I gave up on the JettyLauncher for now. I cannot figure it out. However, on a good note. I did move my pages to WEB-INF and launching the app from the command line using mvn jetty:run now works fine. I guess that will take care of reloading the pages when I save in Eclipse. I haven't figured out

Re: Tapestry 5 and Template Reloading

2007-05-11 Thread bjornharvold
Hi Andreas, Thanks for this. It's still not working. Still getting: [ main] INFO 2007-05-11 09:40:12,460 http.SocketListener - Started SocketListener on 0.0.0.0:8080 org.mortbay.util.MultiException[java.lang.RuntimeException: Error building service proxy for service 'Alias' (at

Re: Tapestry 5 and Template Reloading

2007-05-10 Thread bjornharvold
This is still an issue. I have installed t5 5.0.4 with my app on two PCs and 1 mac. Jetty launcher does not like jdk 1.6. All my laptops give me the same stacktace as noted. -- View this message in context: http://www.nabble.com/Tapestry-5-and-Template-Reloading-tf3671362.html#a10420939 Sent

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

Re: Tapestry 5 Mixins Remoting JSON

2007-05-08 Thread bjornharvold
Alexandru, How could you add runtime parameters to this Ajax call? e.g. you want to call isUsernameAvailable with parameter jsmith? Thanks bjorn -- View this message in context: http://www.nabble.com/Tapestry-5-Mixins-Remoting-JSON-tf3676880.html#a10378474 Sent from the Tapestry - User

Re: Tapestry 5 Mixins Remoting JSON

2007-05-08 Thread bjornharvold
Thank you for the lightning response! the parameter jsmith is of course the runtime text the user enters as his username so there is no way for me to hard code that into the getUrlFromClass method. Javascript is the only thing that knows what the username is at the time of checking. Can I use

Re: Tapestry 5 and Template Reloading

2007-05-08 Thread bjornharvold
FYI: it works great when just downloading the t 5 archetype and running it with jetty launcher etc. HOWEVER, My app has several modules with dependencies on spring, hibernate, xfire etc etc. This is where the problem must be. I think recalling seeing another post with this issue and the solution

Re: Tapestry 5 and Template Reloading

2007-05-07 Thread bjornharvold
Version 5.0.3 works fine. This is what I get when starting up Jetty with JettyLauncher inside eclipse 3.2.2. I have cleaned eclipse and built from scratch. main] INFO 2007-05-07 09:43:05,703 http.SocketListener - Started SocketListener on 0.0.0.0:8080

Re: Tapestry 5 and Template Reloading

2007-05-04 Thread bjornharvold
The problem was resolved. 1. I couldn't even get Jetty to run with 5.0.4-SNAPSHOT in Eclipse (this worked fine in Intellij / Tomcat). I reverted to 5.0.3. 2. The files had gotten jumbled around with html files in src/main/java and java files in src/main/resources. Real mess. 3. Maven adds the

Re: Tapestry 5 Mixins Remoting JSON

2007-05-02 Thread bjornharvold
non ajax aware components(if i'm not wrong.. ). hope it helps, Alex On 5/1/07, bjornharvold [EMAIL PROTECTED] wrote: I have a front-end that wants JSON data from the back-end. Using a regular webapp I would integrate JSON-RPC. I started out doing this with my t5 app and quickly

Re: Tapestry 5 Mixins Remoting JSON

2007-05-02 Thread bjornharvold
String getUrlFromClass() { return resources.createActionLInk(rpcTrigger,false).toString(); } StreamResponse onRpcTrigger() { //build your json object and wrapp it in a StreamResponse return streamResponse; } hope i haven't forgot anything. Alex On 5/2/07, bjornharvold

Re: Tapestry 5 and Template Reloading

2007-05-01 Thread bjornharvold
, and changes STILL don't come up. I have to CLEAN in order for it to update which leaves me to believe this is some caching issue on jetty or eclipse. Problem still not solved :-( thx bjorn bjornharvold wrote: I can't seem to get template reloading to work. Classes reload just fine. I installed

Tapestry 5 Mixins Remoting JSON

2007-05-01 Thread bjornharvold
I have a front-end that wants JSON data from the back-end. Using a regular webapp I would integrate JSON-RPC. I started out doing this with my t5 app and quickly realized I had to write something to put the jsonrpc bridge in the session (like a listener) and then some component that would have

Tapestry 5 and Template Reloading

2007-04-30 Thread bjornharvold
I can't seem to get template reloading to work. Classes reload just fine. I installed the latest Eclipse with JettyRunner and jetty 5.1. Anyone have the same problem or better yet, the solution? thx bjorn -- View this message in context:

Templating with Tapestry 5

2007-04-27 Thread bjornharvold
Ok, I've been barking up a tree the whole day... and I'm not even sure it's the wrong one. I want to be able to do real component templating like struts has it's tiles. So my page (CoolPage) would look something like this: t:layout/ .. a one liner My CoolPage.java would have some string

Re: Templating with Tapestry 5

2007-04-27 Thread bjornharvold
to the page content. Feels weird initially but works well. --- bjornharvold [EMAIL PROTECTED] wrote: Ok, I've been barking up a tree the whole day... and I'm not even sure it's the wrong one. I want to be able to do real component templating like struts has it's tiles. So my page (CoolPage

Re: Templating with Tapestry 5

2007-04-27 Thread bjornharvold
. And individual pages look like this; -- this is the first page line .. Meaningful page content .. --- bjornharvold [EMAIL PROTECTED] wrote: Konstantin, Can you give me an example? thx bjorn Konstantin Ignatyev wrote: Had the same problem when I started with T after

Re: Templating with Tapestry 5

2007-04-27 Thread bjornharvold
Nice - thanks :-) -- View this message in context: http://www.nabble.com/Templating-with-Tapestry-5-tf3659025.html#a10226122 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Tapestry 5 Component Inheritance and Performance

2007-04-23 Thread bjornharvold
Hi, This is a best practices question. What is the impact of component level inheritance as far as performance is concerned? Is the the best solution to keep components as flat as possible? Thanks bjorn -- View this message in context:

Re: Layout Component

2007-04-06 Thread bjornharvold
I must be daft. I can't make sense of this example. I'm using 5.0.3. We have a layout like so: (filename: Layout.html) html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; head Hello /head body t:body/ /body /html This layout goes in the pages

Re: Layout Component

2007-04-06 Thread bjornharvold
HAHA Like I said. I am daft :-p -- View this message in context: http://www.nabble.com/Layout-Component-tf3494445.html#a9878953 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: