Re: Weblogic 9.2 with JRockit R26.0 throws exception for Tapestry Filter

2009-02-02 Thread Sudarshan K
Hi Sudarshan, I think this may be because of Weblogic trying to load the application more than once since there is some problem in deployment descriptor as per the cause of this exception looking at the stack strace lines - Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean alrea

Re: How to implement a long lasting operation waiting page

2009-02-02 Thread nillehammer
Hi Hugo, perhaps you do not need ajax at all. The meta tag might come in handy. This tag causes the browser to wait a certain amount of seconds before it requests the url. You could implement "myWaitingPage" to check whether the operation finished. If yes it would redirect to the result page, if

Re: [T5] Problem using tapestry-hibernate inside a dispatcher

2009-02-02 Thread Howard Lewis Ship
It's even easier in Tapestry 5.1., as you can advise a service (or set of services), rather than decorate. On Mon, Feb 2, 2009 at 9:48 AM, Marcelo Lotif wrote: > Thanks Howard! It works beautifully! > > Just a note: I couldn't add this functionality directly to the dispatcher. > I've added it to

Re: How to override Tapestry's DocumentLinker ?

2009-02-02 Thread Dude.Checkitout
/app/page:anyEvent => will fire an event named "anyEvent" on the Page. This method returns void. At the end of this event, tapestry issues redirect, and rendering should happen in that request. And you are correct that I don't see this URL and I see the final redirected page URL. In the abov

Re: How to override Tapestry's DocumentLinker ?

2009-02-02 Thread Fernando Padilla
See that's the weird part.. 1) render page form: /myapp/page1 2) submit form: /myapp/page1.form:action 3) form handles submit(fail or success), then returns redirect to render page: redirect:/myapp/page1 4) page 1 is rendered once more. So I'm a little confused.. since you mention another ev

Re: How to override Tapestry's DocumentLinker ?

2009-02-02 Thread Dude.Checkitout
Thanks for the reply! I see there only two render pipelines in the TapestryModule.java. One is contributeMarkupRenderer and another one is contributePartialMarkupRenderer. PartialMarkupRenderer uses "PartialMarkupDocumentLinker" as the Document Linker. And PartialMarkupDocumentLinker generates

Re: How to override Tapestry's DocumentLinker ?

2009-02-02 Thread Fernando Padilla
Sorry for the wait. I don't have the final answer for you, but I do have information to share.. :) I think it'll be the same technique of overriding tapestry's document linker, but there are two render pipelines, so you have to find the correct place to contribute.. Don't forget that Tapes

Re: How to override Tapestry's DocumentLinker ?

2009-02-02 Thread Dude.Checkitout
Can anybody throw some light on this issue? I am stuck and not moving forward... Dude.Checkitout wrote: > > Fernando, need your expertise help! I thought the following trick > configuration.add( "CustomDocumentLinker", mydoclinker, > "after:DocumentLinker,before:RenderSupport" ); > worked.

Re: [T5] Problem using tapestry-hibernate inside a dispatcher

2009-02-02 Thread Marcelo Lotif
Thanks Howard! It works beautifully! Just a note: I couldn't add this functionality directly to the dispatcher. I've added it to the DAO instead. BTW, this is not a bad practice at all. Thank you! On Mon, Feb 2, 2009 at 1:12 PM, Howard Lewis Ship wrote: > See the documentation: > > http://tape

Re: [T5] strategy of tapestry-core vs. third-party modules

2009-02-02 Thread manuel aldana
I see, but what is the strategy if there is a feature request for tapestry which is covered by a third party module already? Could it still be that it will be reimplemented to tapestry-core or will the feature-request most of the time be referred to the third party module? From framework usa

Re: [T5] Problem using tapestry-hibernate inside a dispatcher

2009-02-02 Thread Howard Lewis Ship
See the documentation: http://tapestry.apache.org/tapestry5/tapestry-hibernate/userguide.html for how to decorate your service to enable @CommitAfter. On Mon, Feb 2, 2009 at 8:06 AM, Massimo Lusetti wrote: > On Mon, Feb 2, 2009 at 4:03 PM, Marcelo Lotif wrote: > >> But when we try to persist t

RE: T5: Validation and message catalogue

2009-02-02 Thread James Sherwood
Hello, NVM I am an idiot. I was forgetting the t: for the id..:( Thanks, --James -Original Message- From: James Sherwood [mailto:jsherw...@rgisolutions.com] Sent: February-02-09 11:58 AM To: 'Tapestry users' Subject: RE: T5: Validation and message catalogue Hello, It is not a matter

Re: [T5] Problem using tapestry-hibernate inside a dispatcher

2009-02-02 Thread Massimo Lusetti
On Mon, Feb 2, 2009 at 4:03 PM, Marcelo Lotif wrote: > But when we try to persist the entity into the DB, it fails because the > annotation @CommitAfter has no effect here (I suppose). I tried to start and > commit a transaction manually and it did well, but when tapestry-hibernate > tried to do

RE: T5: Validation and message catalogue

2009-02-02 Thread James Sherwood
Hello, It is not a matter of the text used in the validate(I actually did try it though), it is a matter of tapestry either a: not finding the file or b: I am implementing it wrong --James -Original Message- From: Sven Homburg [mailto:hombu...@googlemail.com] Sent: February-02-09 11:33

Re: T5: Validation and message catalogue

2009-02-02 Thread Sven Homburg
try double slashed like this ssn-regexp=\\d{3}-\\d{2}-\\d{4} 2009/2/2 James Sherwood > Hello, > > > > I cannot seem to get a textfield validate message to work using regexp and > message catalogs. > > > > I use Tomcat/Eclipse. > > > > This is my .tml: > > Cell Phone: > > > > > > This is my jav

T5: Validation and message catalogue

2009-02-02 Thread James Sherwood
Hello, I cannot seem to get a textfield validate message to work using regexp and message catalogs. I use Tomcat/Eclipse. This is my .tml: Cell Phone: This is my java: @Validate("regexp") public String getCellPhone(){ return getVisit().getNstuMember().getCellphone(); } publ

Re: Switch from Prototype to jQuery?

2009-02-02 Thread Joachim Van der Auwera
I am not so sure. Do all pages/components work the same way if you move the scripts to the top? If that is the case, then it would be nice if a component could indicate that the scripts should be at the top for the entire page. If not, then there is a problem if you want to combine a component

Re: [T5] strategy of tapestry-core vs. third-party modules

2009-02-02 Thread Howard Lewis Ship
That's part of the reason why we're setting up Tapestry360 (http://tapestry.formos.com), as a secondary space for Tapestry projects that can't be part of the project distribution itself, while providing a more consistent set of resources (Bamboo CI, JIRA, Confluence Wiki). On Mon, Feb 2, 2009 at 2

[T5] Problem using tapestry-hibernate inside a dispatcher

2009-02-02 Thread Marcelo Lotif
Hello all, I have a dispatcher service in my application to control the user access to pages they are not permitted to, or need to log in to do it. Besides, it does an insert into the DB to record the user's movements into the system, but just in case of success. It does well when we use the old w

How to implement a long lasting operation waiting page

2009-02-02 Thread Hugo Palma
I have an operation that needs to be executed that could take a couple of minutes and so i'd like to provide a page where at first it displays a waiting message while the operation is getting executed and then if shows the result of that operation, using ajax so that i don't have to go to another p

Re: Switch from Prototype to jQuery?

2009-02-02 Thread Kevin Menard
This was an older app that I haven't needed to revisit. At the time, no such directive existed. If it does, great. Then I guess there really aren't any problems after all. -- Kevin 2009/2/1 Howard Lewis Ship : > You'd probably want to use the option to move the

Adding validation to BeanEditFrom/BeanEditor

2009-02-02 Thread Thiago H. de Paula Figueiredo
Hi! I've been reading the Tapestry documentation and its sources trying to find a way to add validation to my beans without adding Tapestry annotations on them. As my beans already use Hibernate Validator, I wanted to find some way to use them with BeanEditor/BeanEditForm, but the couldn't find an

Re: Weblogic 9.2 with JRockit R26.0 throws exception for Tapestry Filter

2009-02-02 Thread Ritesh.S
Hi Sudarshan, I think this may be because of Weblogic trying to load the application more than once since there is some problem in deployment descriptor as per the cause of this exception looking at the stack strace lines - Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean alread

[T5] strategy of tapestry-core vs. third-party modules

2009-02-02 Thread manuel aldana
Hi, what is the general strategy for tapestry when it comes to using own modules vs. adding "similar-behaving" third party ones? take the sample, where I need a asset-type which is based on URL (currently tapestry supports only context and relative path). As mentioned in https://issues.apach

Re: Weblogic 9.2 with JRockit R26.0 throws exception for Tapestry Filter

2009-02-02 Thread Sudarshan K
Hi Ritesh, I am trying to deploy a Tepastry 5 application context in my Weblogic 9.2 domain, which is configured with Sun's 1.5 JDK (jdk1.5.0_12) However, when I try to activate changes in my Weblogic 9.2 console post deployment activities, I get the following message in my Admin console --

Re: Switch from Prototype to jQuery?

2009-02-02 Thread Peter Stavrinides
Hi All, I have to say I am with Chris on this one, Tapestry is in release now and changing the default .js library is a radical change from the end users point of view. It does not need to be fixed and the time it would take can be better spent elsewhere, which brings me to Geoff's comments (+1

Re: Switch from Prototype to jQuery?

2009-02-02 Thread Ulrich Stärk
Exactly! In JIRA, you can display a "Votes" column whith which you can sort issues by number of votes in descending order. I believe that those ranking top have to be addressed first! That's what the users need! Uli Borut Bolčina schrieb: IMHO creating more "high level" components and bette

Re: Switch from Prototype to jQuery?

2009-02-02 Thread Francois Armand
Kevin Menard wrote: Out of curiosity, has anyone that's claimed it's trivial to get jQuery working in Tapestry actually tried it? I actually did it not a week ago to integrate a js "windows pop-up" - I had to use what was given by the customer designer, and he used JQuery, with 3 others thir

[ANN] JumpStart 4.1 released - deploy to Glassfish

2009-02-02 Thread Geoff Callender
Hi all, JumpStart 4.1 is now available. Now you can develop with Jetty, then deploy to JBoss or Glassfish. Use it live: http://jumpstart.doublenegative.com.au:8080/jumpstart/ or download it: http://jumpstart.doublenegative.com.au Please keep the feedback and suggestions