Re: Contribute SymbolConstants.SUPPRESS_REDIRECT_FROM_ACTION_REQUESTS does not work

2009-08-31 Thread Xuan Tran Le
I did debug and found that AppModule is loaded and the contribution is called. It runs properly in servlet mode, but when run in portlet mode it doesn't. On Tue, Sep 1, 2009 at 5:29 AM, Howard Lewis Ship wrote: > The only explanation for this is that your AppModule is not being > loaded; Tapestr

Re: [ANN] JumpStart 4.4 released

2009-08-31 Thread Kalle Korhonen
Hey Geoff, I recall reading at some point that you had recommended not using onActivate() for all initialization purposes, and sure enough, I dug it up and at http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/navigation/onactivateandonpassivate/3 you say "It can be tempting to put lo

Re: Getting list of Pages containing a specific annotation

2009-08-31 Thread Howard Lewis Ship
Part of Tapestry's goals it to support very large applications with, potentially, hundreds or even thousands of individual pages. To support that goal, Tapestry is very lazy and does not attempt to load pages (or transform their classes) until needed. However, you can get a list of page names as s

Re: Contribute SymbolConstants.SUPPRESS_REDIRECT_FROM_ACTION_REQUESTS does not work

2009-08-31 Thread Howard Lewis Ship
The only explanation for this is that your AppModule is not being loaded; Tapestry sends debug output at startup to list modules that are loaded; that's the first step. For example, AppModule must be in the correct package for Tapestry to find it. The rules for all this are in the documentation. O

Re: Debug using maven from IntelliJ IDEA on Mac

2009-08-31 Thread Kay
I had the same problem when starting IntelliJ from Spotlight. But it WORKS for me when I start it from Finder. See http://www.jetbrains.net/jira/browse/IDEA-21225 HTH, -Kay - To unsubscribe, e-mail: users-unsubscr...@tapestr

Re: Multiple images

2009-08-31 Thread Howard Lewis Ship
Tapestry 4 or Tapestry 5? On Sun, Aug 30, 2009 at 6:59 PM, chitraa wrote: > > Hi, > > Did you manage to find a solution to this? I am also trying to render > multiple chart images into the same page. However, the service renders the > same image (the last one). > > Thanks. > > > > Olexandr Yuzikov

Re: Question about SpringModuleDef

2009-08-31 Thread Howard Lewis Ship
Copy & paste is the only solution at this point. On Mon, Aug 31, 2009 at 3:24 AM, Andrey Larionov wrote: > Created TAP-830 (https://issues.apache.org/jira/browse/TAP5-830) > > On Mon, Aug 31, 2009 at 14:16, Andrey Larionov wrote: >> What solution i can advice until it not fixed? >> I see only copy

Re: ValidateForm Event

2009-08-31 Thread newtonik
Hi, To keep all your validation in onValidateForm, I something like this. String onValidateForm() { if(userName == null ) { form.recordError(usernameField, "Needs a Username") } if(password == null ) { form.recordError(passwordField, "Please Enter a pas

Re: [T5] Acces to current object in tab

2009-08-31 Thread Thiago H. de Paula Figueiredo
Em Mon, 31 Aug 2009 12:49:28 -0300, bdumeny escreveu: I realize that I don't know how to get a row from the grid. In fact I want to get the array index from grid. Read the Grid component documentation: http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/co

Re: [T5] Acces to current object in tab

2009-08-31 Thread bdumeny
Thx all, I realize that I don't know how to get a row from the grid. In fact I want to get the array index from grid. Before try to create a popup I have to understand this... :-) Oops! Forgotten the slash at the end. http://lombok.demon.co.uk/tapestry5Demo/ --- On Mon, 31/8/09, Shing Hing

Re: ValidateForm Event

2009-08-31 Thread Benny Law
Hi Onno, I am all for clean and maintainable code, and that's why I think ValidateForm can be cleaner if I didn't need to check for field errors first. On the main Tapestry 5.1 page, the Login example calls the authenticator in onValidateForm, but the same example in the User Guide under Input Va

Re: Question about SpringModuleDef

2009-08-31 Thread Andrey Larionov
Created TAP-830 (https://issues.apache.org/jira/browse/TAP5-830) On Mon, Aug 31, 2009 at 14:16, Andrey Larionov wrote: > What solution i can advice until it not fixed? > I see only copypaste method. > Thanks. > > On Mon, Aug 31, 2009 at 08:09, Howard Lewis Ship wrote: >> Please add an issue to JIR

Re: ServletOutputStream gives null pointer in v5.1.0.5 but not in v5.0.18

2009-08-31 Thread Marinus Maris
Solved it. I should have checked the Tapestry Wiki first before posting, sorry about that. http://wiki.apache.org/tapestry/Tapestry5HowToStreamAnExistingBinaryFile Still I don't know what changed in between versions, but I can live with that. Marinus Marinus Maris schreef: I post this mail

Re: Question about SpringModuleDef

2009-08-31 Thread Andrey Larionov
What solution i can advice until it not fixed? I see only copypaste method. Thanks. On Mon, Aug 31, 2009 at 08:09, Howard Lewis Ship wrote: > Please add an issue to JIRA. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apach

Re: [T5] Acces to current object in tab

2009-08-31 Thread Shing Hing Man
Oops! Forgotten the slash at the end. http://lombok.demon.co.uk/tapestry5Demo/ --- On Mon, 31/8/09, Shing Hing Man wrote: > From: Shing Hing Man > Subject: Re: [T5] Acces to current object in tab > To: "Tapestry users" > Date: Monday, 31 August, 2009, 6:06 PM > There is a PageLinkPopup compon

Re: [T5] Acces to current object in tab

2009-08-31 Thread Shing Hing Man
There is a PageLinkPopup component at http://lombok.demon.co.uk/tapestry5Demo If I remember correctly, a few months ago, someone posted a mixin for a popup. Shing --- On Mon, 31/8/09, bdumeny wrote: > From: bdumeny > Subject: Re: [T5] Acces to current object in tab > To: "Tapestry user

Re: Getting list of Pages containing a specific annotation

2009-08-31 Thread Kristian Marinkovic
there is no way to know unless the page was loaded and processed by a ComponentClassTransformWorker as a quick fix you could get all pages from the view ComponentClassResolver#getPageNames; iterate through the page names and load them eg. using the PagePool service g, kris chakra 30.08.

Re: [T5] Acces to current object in tab

2009-08-31 Thread bdumeny
Thank you! But doesn't PopupLink component exist? I don't find in t5... I am using jQuery UI for showing a modal dialog. In my case I use a PageLink to generate the links with the Object-ID as context. Then I add a custom Popup mixin to the PageLink. This mixin sets up the dialog on the client

Re: ValidateForm Event

2009-08-31 Thread Onno Scheffers
> Thanks for your response. Could you explain what you mean by keeping my > validation "in the correct callback"? I think it's about writing clean and maintainable code. For other developers reading back your code it makes more sense if you add your validation errors in the ValidateForm event an

Re: Multiple Chart Images

2009-08-31 Thread Onno Scheffers
> 1. Passing the current object to ChartService > 2. Rendering different images for each row (At the moment, the image > component on each row is pointing to URL of the last image - this is > because > they get rendered from the stream once, after all the iterations are > completed.) It looks li

Re: [T5] Acces to current object in tab

2009-08-31 Thread Onno Scheffers
I am using jQuery UI for showing a modal dialog. In my case I use a PageLink to generate the links with the Object-ID as context. Then I add a custom Popup mixin to the PageLink. This mixin sets up the dialog on the client, puts an iFrame inside it and makes sure the link gets an onclick event that

[T5] Acces to current object in tab

2009-08-31 Thread bdumeny
Hi all, I use a grid to display list of object, and I want to insert a link (in each line) which displays all attributes from current object in a popup. How can I do this? Best regards - To unsubscribe, e-mail: users-unsubs

Contribute SymbolConstants.SUPPRESS_REDIRECT_FROM_ACTION_REQUESTS does not work

2009-08-31 Thread Xuan Tran Le
Dear sir/madam, I am interested in implementing portlet for Tapestry 5.1.0.5. I have download the contribution from https://issues.apache.org/jira/browse/TAP5-78. However, there is an issue: when I contribute to the default applications by --- AppModule.java

Contribute SymbolConstants.SUPPRESS_REDIRECT_FROM_ACTION_REQUESTS does not work

2009-08-31 Thread Xuan Tran Le
Dear sir/madam, I am interested in implementing portlet for Tapestry 5.1.0.5. I have download the contribution from https://issues.apache.org/jira/browse/TAP5-78. However, there is an issue: when I contribute to the default applications by --- AppModule.java

Multiple Chart Images

2009-08-31 Thread chitraa
Hi all, I have searched this topic on this forum but did not succesfully find useful help. Question - Does anyone know how to render multiple chart images in a 'for' loop on a page? Observation Basically I have a 'For' component in my Tapestry page. I am using the ChartSer