Re: How to add table id into the Grid

2008-03-02 Thread Filip S. Adamsen
Hi David, I added an issue: https://issues.apache.org/jira/browse/TAPESTRY-2218 -Filip DavidWei skrev: Thanks Howard. I have tried the suggestion Davor provided to use t:id instead before, but without any luck. Since you think it is a bug, I would like to report this. Can you tell me how to a

how do I reset a Grid (displayed page and sort column)

2008-03-02 Thread Jesper Zedlitz
Maybe it is a FAQ and I just did not know the good search terms to find the solution... I have a couple of lists with identification numbers. The lists contain entries that are displayed using a Grid. The page ShowEntries has a method onActivate(int id) to get the id from the request. A getEntries

##T4##Is tapestry service cached?!

2008-03-02 Thread Oliver Lee
i wrote my own service,but i found that when i request a service from one window only first time,i can debug,then every time request the service from the same window will response directly,i cant stop at the break point,the situation like serivice is cached,so ,i want ask does the service i wro

Injection of Spring bean aliases as services in Tapestry pages

2008-03-02 Thread Steph
I can easily inject a service A defined in Spring like that : in my tap pages : @Inject @Service("A") private MyObject a; That works fine. But if i declare in Spring an alias B on my bean A : when i try to inject my bean B in my tap pages : @Inject @Service("B") private

Re: Injection of Spring bean aliases as services in Tapestry pages

2008-03-02 Thread Adam Zimowski
http://tapestry.apache.org/tapestry5/tapestry-spring/ Last section at the bottom: "Limitations" Only the bean name is used, not any of the bean's aliases. On Sun, Mar 2, 2008 at 9:01 AM, Steph <[EMAIL PROTECTED]> wrote: > I can easily inject a service A defined in Spring like that : > > in

Re: JumpStart 3.3.3 now available - fixes 3.3.1 bugs

2008-03-02 Thread Gregory Mazurek
Hi Geoff, I'm new to Tapestry coming recently from RoR (encountered scaling problems in some of my web applications but still use it occasionally!). I'm going through the JumpStart 3.3.3 installation process and all has been going well until step 9 (of http://files.doublenegative.com.au/jumpstart

T5 : How to compare old and new values of a form ?

2008-03-02 Thread Webmaster Fée du Logis
I would like to check if a value has been updated in a form before launching a time consuming treatment. What's the simplest way to compare the old and new values of a form ? Thanks in advance. Stephane

PropertySelection hangs randomly or no response from Jetty / Tomcat!

2008-03-02 Thread sunilmanu
Hello Everyone, We went live with Tapestry 4.0.1 and Jetty 6.1.4 last week. We have an urgent production issue. In one of the pages, we have the PropertySelection and when diff. value is selected, it will update the form with the values corresponding to the newly selected value. But It hangs ran

PropertySelection hangs randomly or no response from Jetty / Tomcat!

2008-03-02 Thread sunilmanu
Hello Everyone, We went live with Tapestry 4.0.1 and Jetty 6.1.4 last week. We have an urgent production issue. In one of the pages, we have the PropertySelection and when diff. value is selected, it will update the form with the values corresponding to the newly selected value. But It hangs ran

Re: T5 : How to compare old and new values of a form ?

2008-03-02 Thread Davor Hrg
it depends how you store previous data, ... to do it all you'll need to look into form events http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Form.html Davor Hrg On 3/2/08, Webmaster Fée du Logis <[EMAIL PROTECTED]> wrote: > I would like to c

Re: PropertySelection hangs randomly or no response from Jetty / Tomcat!

2008-03-02 Thread Andreas Andreou
You'll need to investigate (or tell us) what happens within your setSelectedProductRep(...) On Sun, Mar 2, 2008 at 6:49 PM, sunilmanu <[EMAIL PROTECTED]> wrote: > > Hello Everyone, > > We went live with Tapestry 4.0.1 and Jetty 6.1.4 last week. We have an > urgent production issue. > > In one

Re: how do I reset a Grid (displayed page and sort column)

2008-03-02 Thread Howard Lewis Ship
There isn't an API for that currently (especially after I stripped out the accessors in favor of the @GenerateAccessors annotation). I believe a simple reset() method on Grid would do what you want. Please add a request into JIRA. On Sun, Mar 2, 2008 at 2:47 AM, Jesper Zedlitz <[EMAIL PROTECTED]

Re: Format Output in Grid Table

2008-03-02 Thread Howard Lewis Ship
You can peek in at how Tapestry is doing this by looking at the PropertyDisplayBlocks page. It comes down to this: public String getConvertedEnumValue() { Enum value = (Enum) _context.getPropertyValue(); if (value == null) return null; return TapestryInternalUtils

Re: T5: beaneditform and entities with lookup

2008-03-02 Thread Howard Lewis Ship
This is not (yet) supported by BeanEditForm. I hope to add this in the future, but that will be 5.1 not 5.0. On Sat, Mar 1, 2008 at 1:45 AM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi, > > I found beaneditform a time saver, so far I use it only on simple entities, > how to use it on entitie

Re: t5: BeanEditform and Timestamp

2008-03-02 Thread Marcus
Hi Angelo, Maybe this help: http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/beaneditform.html "Adding New Property Editors" Marcus

Re: t5: BeanEditform and Timestamp

2008-03-02 Thread Angelo Chen
Hi Howard, Thanks, I tried to follow the "Using the BeanEditForm Component" article and come out with a basic editor, my initial plan is, just to edit it first in a textfield, following is my code based exactly on the article, but I got this error: org.apache.tapestry.internal.services.RenderQue

RE: T5 PageTester problem (Spring and Hibernate)

2008-03-02 Thread Jonathan Barker
> > I don't have a solution for you, but it's a similar problem to trying to > > use the HibernateTemplate outside of a web-app. I have some command- > line > > tools that look like: > > > > > > this.session = > > SessionFactoryUtils.getSession(sessionFactory, true); > > > > TransactionSynchr

RE: JumpStart 3.3.3 now available - fixes 3.3.1 bugs

2008-03-02 Thread Nguyen, Michael
Geoff: I've just started reading the threads again and its great that there is a new tutorial up for Tapestry. I noticed that the package requires Jboss. If I wanted to configure it to work with Jetty or tomcat or even Weblogic, is there a lot of changes involved? I apologize in advance

Only one user request at the same time

2008-03-02 Thread spot_
Hello how can I make shure, that only one request of a user is processed at the same time. In other words: I want to dismiss a request of a user, if a request of the same user is already running at the moment. How can this be realized? Do you foresee any dangerous side effects by implementing th

T5 & JSecurity

2008-03-02 Thread Joshua Jackson
Hi all, Has anyone here evaluated JSecurity (http://jsecurity.org) and incorporated it in your T5 project? The words around said that this piece of work is much easier than Acegi. Can anyone share it here on how to use JSecurity with T5. Thanks in advance -- Let's show the world what we've got.

AW: Only one user request at the same time

2008-03-02 Thread Martin Kersten
If you drop the later request you would drop the one the browser is waiting for. Scenario: 1. User clicks link -> Request A -> User browser waits for Response A 2. User quickly clicks same link again -> Request B -> User browser only waits for Response B 3. You dismiss Request B (Same as A) 4.