Problem with tapestry grid inside form

2009-10-24 Thread Vidya Sivadas
Hi, I am using tapestry 5.0.16. I have a grid,2 submit buttons embedded inside a form. One of the column in the grid displays checkboxes. After coming to the page (for eg:5 rows in the grid),if I manually delete a record from the database and click any of the submit buttons it is showing excep

Re: Tapestry behaving strangely in production environment

2009-10-24 Thread Vidya Sivadas
We got the solution for the issue. There were 2 hibernate.cfg.xml files that need to be modified. Earlier we have modified only one, thinking that the second one (inside the jar that contains the POJOs) will be ignored.But tapestry tries to contact the second file at times. Now we have only on

T4: bug in expression cache?

2009-10-24 Thread Marc van Kempen
Hi, I have copied and changed the Dialog component in my project (Tapestry 4.1.5) in order to create a HelpBalloon popup. This gives me the following files that I've added to my project: HelpBalloonDialog.java HelpBalloonDialog.jwc HelpBalloonDialog.script I kept the condition checking th

T5: how to put Testify into real use?

2009-10-24 Thread Angelo Chen
Hi, I have tested Testify with a simple sample and manage to make it work: public class MyPageTest extends TapestryTest{ private static final TapestryTester SHARED_TESTER = new TapestryTester("org.apache.tapestry5.tutorial", TestModule.class); public MyPageTest() {super(SHAR

T4: bug in expression cache?

2009-10-24 Thread Marc van Kempen
Hi, I have copied and changed the Dialog component in my project (Tapestry 4.1.5) in order to create a HelpBalloon popup. This gives me the following files that I've added to my project: HelpBalloonDialog.java HelpBalloonDialog.jwc HelpBalloonDialog.script I kept the condition checking th

Re: T4: bug in expression cache?

2009-10-24 Thread Andreas Andreou
I can't really see what's going on.. is it possible to include the exception and/or some related code? On Sat, Oct 24, 2009 at 2:44 PM, Marc van Kempen wrote: > Hi, > > I have copied and changed the Dialog component in my project (Tapestry > 4.1.5) in order to create a HelpBalloon popup. This giv

Re: Which service returns the eventContext?

2009-10-24 Thread Stephan Windmüller
Thiago H. de Paula Figueiredo wrote: >> What do you mean with "content"? How do I access this? > I was saying that, in a POST form submit, the field values aren't stored > in the URL, they are stored as the content of the HTTP request. You can > get any value by injecting Request and invoking

Re: Tapestry behaving strangely in production environment

2009-10-24 Thread Howard Lewis Ship
Tapestry is pretty verbose when it starts up, telling you what modules it has loaded and what pages/components/mixins it knows about. I wish some other frameworks would do something similar. On Sat, Oct 24, 2009 at 4:33 AM, Vidya Sivadas wrote: > > > We got the solution for the issue. > > There w

Re: T5: Weird problem with browser cache and component event redirect

2009-10-24 Thread Felix Gonschorek
Hi Toby, thank you very much for your hints. Since we have a tapestry-only application, i added a request filter that sends the cache control headers (expires, pragma, cacha-control, last-change etc.). I used your settings with no success so far. But I finally found a solution: I am appendin

Re: T4: bug in expression cache?

2009-10-24 Thread Marc van Kempen
Hi Andreas, When the application starts, first a page is displayed that contains the HelpBalloonDialog component, hence it's script expression is compiled into the expression cache. Then I open a page that uses the Dialog component, now it seems to retrieve the compiled expression for the

Re: T4: bug in expression cache?

2009-10-24 Thread Andreas Andreou
> Also, even though i dont remember (and kind find) any such bug report, kind find = can't find :) - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: T4: bug in expression cache?

2009-10-24 Thread Andreas Andreou
Hmm - don't see anything wrong... Are you using the latest ognl ... afaik it's 2.7.3 Also, even though i dont remember (and kind find) any such bug report, how hard is it to try this with 4.1.6 ? On Sat, Oct 24, 2009 at 9:08 PM, Marc van Kempen wrote: > Hi Andreas, > > When the application start

Re: hibernate @Embedded

2009-10-24 Thread Scot Mcphee
Thanks Thiago, I'll just put the fields in the bean model. regs scot 2009/10/23 Thiago H. de Paula Figueiredo : > Em Thu, 22 Oct 2009 21:13:08 -0200, Scot Mcphee > escreveu: > >> When I include the containing object ("Car" in my example) in a >> Tapestry grid the embedded object doesn't show up.

T5.1 - Select component with validation error

2009-10-24 Thread Benny Law
Hello everyone, Is there any reason why the t-error CSS class is not assigned to a Select component when it is in error? Moreover, a Select component in error does not get the keyboard focus when the form is rendered. How can I fix this so that Select components get the same treatment as, say, Te