Re: datefield - no option to cancel?

2011-05-30 Thread Paul Stanton
hi antal, i'm using your patch now as it is more complete than mine. it still leaves one problem which is that the selected date (ie 25th) is highlighted no matter what month/year calendar you are looking at. ie, if you have selected 25th of may 2011, open the calendar, change the month and

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-05-30 Thread ael
Hi Taha, The error will occur if validate required is set in the template for uploading files. Maintenance Class /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.dash.t5wdb.pages; import com.dash.t5wdb.daoservices.*; import com.da

Re: T5 Locale problem

2011-05-30 Thread atcach
Yes, If I run it from outside Tapestry/Jetty/etc, it runs ok. I mean, It comes with some sample .java to show how to load a report. I used them to load my reports and it worked ok. The order of the pentaho's method calls is the same in my app. Regards ! -- View this message in context: http://ta

Re: Render a block and a div in render phase methods

2011-05-30 Thread dragan.sahpas...@gmail.com
OK got it sorry. The solution was to use the RenderCommand pushing multiple RenderCommands in the RenderQueue. I was just doing it in the wrong order. Cheers, Dragan Sahpaski On Mon, May 30, 2011 at 10:26 AM, dragan.sahpas...@gmail.com < dragan.sahpas...@gmail.com> wrote: > Hi, > I just can't

Re: BeanEditForm for hibernate entity with version field

2011-05-30 Thread Geoff Callender
I've just re-tested the JumpStart page and it does what you want. Just be sure to use two different browsers applications for the two users so you're absolutely sure they're not sharing one user session. Are you retrieving the user from the DB in onPrepare()? In debug you would expect to see i

Render a block and a div in render phase methods

2011-05-30 Thread dragan.sahpas...@gmail.com
Hi, I just can't wrap my head around on how to do the following. @Parameter private Block block; void afterRender(MarkupWriter writer) { writer.element("div"); // here I want to render the block writer.end(); } I cannot use tml template and also I cannot implement this is different passes of b

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-05-30 Thread Taha Hafeez
I think the solution lies in com.dash.t5wdb.pages.Maintenance.onSuccessFromguestForm(Maintenance.java:281) Can you share that code ? regards Taha On Mon, May 30, 2011 at 12:35 PM, ael wrote: > Can anyone explain this? > > An unexpected application exception has occurred. > >org.apache.tap

T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-05-30 Thread ael
Can anyone explain this? An unexpected application exception has occurred. org.apache.tapestry5.runtime.ComponentEventException context eventType action location classpath:com/dash/t5wdb/pages/Maintenance.tml, line 133 128 129 130