Re: attn howard: live reloading breaking using jetty

2011-01-11 Thread Sven Homburg
since using tapestry, there is more time for gaming ;-) with regards Sven Homburg Founder of the Chenille Kit Project http://chenillekit.codehaus.org 2011/1/11 Thiago H. de Paula Figueiredo : > Take a look at > http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows. One more > reason

Tapestry 5.1.0.5 and HTML 5 Doctype

2011-01-11 Thread Benny Law
I am trying to convert my pages to HTML5 but am having problem getting the correct DOCTYPE to be output. The I put in the .tml file is ignored, and the generated HTML code has no DOCTYPE. I'm interested in how people are working around this. Thanks. Benny

Re: tapestry-auth

2011-01-11 Thread Taha Hafeez
Sorry... I had to forward it to someone else... Taha On Wed, Jan 12, 2011 at 9:21 AM, Taha Hafeez wrote: > >

Re: Context of a Zone

2011-01-11 Thread Mark
> Can you trigger the update via onchange instead of keyup? I'm not sure > how to keep the focus, or why it's being taken away... onChange will fire the update, but it requires the user move the focus out of the changed textbox to do the update. Like I said this isn't being designed for superman a

Re: Context of a Zone

2011-01-11 Thread Josh Canfield
> Thanks for your suggestion. It sounds like I'm not overlooking > anything obvious. :) Well, at least not obvious to me! > Redrawing the entire loop works with some > issues. I figured if it was capable of redrawing the entire loop then > I should be able to get access to what I need to redraw o

Re: attn howard: live reloading breaking using jetty

2011-01-11 Thread Paul Stanton
my prev suspicion was correct ... i've changed the output for the classpath entry to something arbitrary (other than 'target/classes') and it now seems to work fine. thanks for the responses. p. On 12/01/2011 8:32 AM, Thiago H. de Paula Figueiredo wrote: Take a look at http://docs.codehaus.

Re: attn howard: live reloading breaking using jetty

2011-01-11 Thread Thiago H. de Paula Figueiredo
Take a look at http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows. One more reason for me using Linux for work and Windows just for the games I can't run on Linux. :) -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and

Re: attn howard: live reloading breaking using jetty

2011-01-11 Thread Paul Stanton
dammit, it seems like it is my classpathentry .. removed that and i can't break the reloading. not sure why this causes a problem .. it wouldn't be jetty locking the source files would it? would jetty be locking the output files? (target/classes...) would changing the classpathentry so that

Re: attn howard: live reloading breaking using jetty

2011-01-11 Thread Paul Stanton
Tapestry 5.2.4 Win XP Eclipse 3.5 Jetty 7.2.1.v2010 i have my src/main/resources configured as a classpathentry On 12/01/2011 8:05 AM, Kalle Korhonen wrote: I bet it's Windows and it's because Eclipse's not able to copy around the resource files since they are locked. Simply *don't* copy

Re: attn howard: live reloading breaking using jetty

2011-01-11 Thread Thiago H. de Paula Figueiredo
On Tue, 11 Jan 2011 19:09:54 -0200, Paul Stanton wrote: sorry, thought that was appropriate .. i thought you'd be interested - you always seem respond to 'reloading' questions. Contrary to what some trolls love to say, Tapestry isn't a one-man project, so no need to ask for attention of

Re: attn howard: live reloading breaking using jetty

2011-01-11 Thread Mark
You might try running mvn jetty:run from the command line and see if the problem only happens in Eclipse? I've been doing something similar all day and haven't had any problem, but I don't run Jetty from within Eclipse. Mark On Tue, Jan 11, 2011 at 2:49 PM, Paul Stanton wrote: > Hi, > > I've be

Re: attn howard: live reloading breaking using jetty

2011-01-11 Thread Paul Stanton
sorry, thought that was appropriate .. i thought you'd be interested - you always seem respond to 'reloading' questions. On 12/01/2011 7:52 AM, Howard Lewis Ship wrote: Why "attn: howard"? Version of Tapestry and operating system details, please. On Tue, Jan 11, 2011 at 12:49 PM, Paul Stanton

Re: attn howard: live reloading breaking using jetty

2011-01-11 Thread Kalle Korhonen
I bet it's Windows and it's because Eclipse's not able to copy around the resource files since they are locked. Simply *don't* copy them. http://tynamo.org/Developing+with+Tomcat+and+Eclipse is for Tomcat but same principles apply. Kalle On Tue, Jan 11, 2011 at 12:52 PM, Howard Lewis Ship wrote

Re: Context of a Zone

2011-01-11 Thread Mark
Thanks for your suggestion. It sounds like I'm not overlooking anything obvious. :) Redrawing the entire loop works with some issues. I figured if it was capable of redrawing the entire loop then I should be able to get access to what I need to redraw only certain parts of it. The problem I'm hav

Re: attn howard: live reloading breaking using jetty

2011-01-11 Thread Howard Lewis Ship
Why "attn: howard"? Version of Tapestry and operating system details, please. On Tue, Jan 11, 2011 at 12:49 PM, Paul Stanton wrote: > Hi, > > I've been using jetty with live reloading working just fine. > > however i've just started using javascript files located in my > src/main/resources dir

Spring SymbolProvider breaks when upgrading from 5.1.0.5 to 5.2.4

2011-01-11 Thread Ólafur Freyr Hjálmsson
Hello My application is using Hibernate for the database with Spring wired services for business logic and Tapestry for the UI. To customize the database access and image base url and the like, I use multiple properties files for configuration, loaded from the filesystem or classpath depending o

attn howard: live reloading breaking using jetty

2011-01-11 Thread Paul Stanton
Hi, I've been using jetty with live reloading working just fine. however i've just started using javascript files located in my src/main/resources dir via the @Import annotation: @Import(library = "MyScript.js") public class MyPage {} src/main/resources/basepackage/pages/MyScript.js After e

Re: chenillekit-tapestry 1.3.0 Unable to resolve 'chenillekit/TabSet'

2011-01-11 Thread Josh Canfield
Ah well... I guess I'm stunned and surprised :) Although, the JVM defect mentioned in the link was supposedly fixed in JDK 1.4.1... On Tue, Jan 11, 2011 at 11:03 AM, Borut Bolčina wrote: > Here is something to backup my claims: > http://docs.codehaus.org/display/JETTY/Socket+reuse+on+Windows, but

Re: Tapestry 4.1 injecting the wrong application state object

2011-01-11 Thread Pepijn Schmitz
Hi, Thanks! But I don't think that's it. We're already using HTTPS, but also that would not explain how the correct application state object can be on the HttpSession, even though Tapestry injected the wrong one... We are using Apache 2 using mod_proxy as a front-end though. Apache takes car

Re: Context of a Zone

2011-01-11 Thread Josh Canfield
> but that just sets > every price to the same thing as the row that is being updated. This > is because the context of the row/event that triggered the updated > doesn't provide the context for the zones that need to be updated. Ah... static structure ;) You have a single zone component and when

Re: chenillekit-tapestry 1.3.0 Unable to resolve 'chenillekit/TabSet'

2011-01-11 Thread Borut Bolčina
Here is something to backup my claims: http://docs.codehaus.org/display/JETTY/Socket+reuse+on+Windows, but seems old. I can repeat this behaviour any time. No complaint about port already taken! I can start webapp A, then webapp B, browse to localhost:8080, it displays the webapp B, then I stop we

Re: Opportunity for some PR?

2011-01-11 Thread Joel Halbert
+1 On Mon, 2011-01-10 at 11:36 -0800, Josh Canfield wrote: > I love working in Tapestry and there is some truth in what the person > has to say. I believe in the Tapestry5 framework but I also know there > is a long way we need to go to distance ourselves from the pain that > people experienced w

Re: Tapestry 4.1 injecting the wrong application state object

2011-01-11 Thread Koka Kiknadze
I did have exactly similar problem couple of years ago - JSF app worked fine from intranet, but messed up user sessions when accessed from WAN side. So initial suspect was the squid proxy configuration of our ISP. The problem disappeared as soon as we turned encryption on for the whole site (so th

Context of a Zone

2011-01-11 Thread Mark
I have a form with a loop that looks something like this: |__QTY__|_ITEM__|__PRICE__| |__1_|_soup__|$1| |__3_|_peas__|$3| etc. Users can change the quantity and it automatically changes the price. Each price is in its own zone and the KeyUp action on the cooresponding QTY

Re: How to hide a component ?

2011-01-11 Thread Taha Hafeez
Thanks Christian & Thiago regards Taha On Tue, Jan 11, 2011 at 9:18 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 11 Jan 2011 13:02:03 -0200, Taha Hafeez > wrote: > > Hi >> > > Hi! > > Can I hide a component in code. Say I have >> >> class Page { >> >> @Component >

Tapestry 4.1 injecting the wrong application state object

2011-01-11 Thread Pepijn Schmitz
Hi everyone, I'm having a bizarre problem with Tapestry, and I'm hoping someone here might be able to point me to a solution. Before I go into detail I'd like to describe the problem generally, in the hopes that it might be a known problem or someone may have encountered something similar. T

Re: How to hide a component ?

2011-01-11 Thread Thiago H. de Paula Figueiredo
On Tue, 11 Jan 2011 13:02:03 -0200, Taha Hafeez wrote: Hi Hi! Can I hide a component in code. Say I have class Page { @Component private Select select; } Now I want to hide select in code(not in template using ), how can i do that ? If it's just hiding, use CSS for that. If you don

Re: chenillekit-tapestry 1.3.0 Unable to resolve 'chenillekit/TabSet'

2011-01-11 Thread Josh Canfield
I'd be stunned and surprised if your second instance was able to start on the same port. Try to do this intentionally and you should get a "port already in use" error on the second instance, is it possible you didn't notice the error? This isn't a Jetty thing, it's an OS thing, or more specifically

Re: How to hide a component ?

2011-01-11 Thread Christian Riedel
hi taha, you could add the DiscardBody mixin: http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/mixins/DiscardBody.html or write your own one that implements some more sophisticated visibility-function. cheers christian Am 11.01.2011 um 16:02 schrieb Taha Hafee

Re: Tapestry5 and pop-up parameters

2011-01-11 Thread Josh Canfield
There isn't much information in your request so I'm not going to write a book guessing every possible thing you might be talking about. If you know the parameters that you want to pass when you are rendering the page that opens the popup then you can use something like: @Inject PageRenderLinkSourc

How to hide a component ?

2011-01-11 Thread Taha Hafeez
Hi Can I hide a component in code. Say I have class Page { @Component private Select select; } Now I want to hide select in code(not in template using ), how can i do that ? regards Taha

Re: chenillekit-tapestry 1.3.0 Unable to resolve 'chenillekit/TabSet'

2011-01-11 Thread Borut Bolčina
Just not to leave this hanging... The problem has nothing to do with ChenilleKit nor with Tapestry - it is Jetty related. I run the application in the command line (mvn jetty:run) in Friday and forgot about it. Then I ran another instance within Eclipse, but the browser was still responding to the

Use shiro's session object instead of SSO(ASO)

2011-01-11 Thread Ronald Luke
Hello, list, I am using shiro(tapestry-security) in my tapestry project. and since there is a session object in shiro, I am considering using this session object to store user specific data instead of SSO(ASO), but I am not sure if this is a good practice. Please shed some light on this, Tha

Re: Tapestry5 + Tomcat5 + Apache2

2011-01-11 Thread LLTYK
I think apache just isn't expecting urls to be in the js and isn't replacing it. I wonder if Chenillekit should be using toAbsoluteURI, wouldn't a relative path work just fine? As for the solution, well make your own copy of the mixin and fix it (I'd make it use a relative path instead). -- Vie

Tapestry5 and pop-up parameters

2011-01-11 Thread Argo Vilberg
hi, How to add parameters into Tapetstry page java object if i open page with javascript pop-up windows ? Argo

Re: Building a multizone update in a loop

2011-01-11 Thread Paul Stanton
have a read of this... you might find it useful. https://issues.apache.org/jira/browse/TAP5-1407 On 11/01/2011 5:10 PM, Mark wrote: Thank you. That makes sense now. On Mon, Jan 10, 2011 at 11:44 PM, Josh Canfield wrote: MultiZoneUpdate is confusing for sure. public MultiZoneUpdate add(Strin

Re: translators in 5.2+

2011-01-11 Thread Paul Stanton
ah that's better :) and i now have arithmetic support in my text fields .. jeez shunting-yard/rpn/infix/postfix blah blah is a pain and now that i have a method that works i hope i never have to look at it all again!!! p. On 11/01/2011 9:15 AM, Josh Canfield wrote: Have you tried : configu

Re: T5.2 Need Advice on JDBC and Transaction Mgmt

2011-01-11 Thread Yohan Yudanara
I've try it and it's working. Thank you very much. Now I can use JdbcTemplate and declarative transaction on my Tapestry Service, so I can take advantage of T 5.2 service reload feature. This is improving productivity a lot. Thanks... Best regards, Yohan Yudanara On Mon, Dec 13, 2010 at 8:32 A