Form submission in Tap5

2008-10-31 Thread Vinayak Borkar
Hi, I am trying to build a simple GET based form to implement a search box. All the examples (that I could find) seem to focus on forms using POST to create new entities. Is there an example to show simple GET based form requests? Thanks, Vinayak

Re: Port Redirect problem

2008-10-31 Thread Jecki
Hi, It might be related to ProxyPassReverse setting. http://httpd.apache.org/docs/1.3/mod/mod_proxy.html#proxypassreverse On Sat, Nov 1, 2008 at 5:50 AM, abangkis <[EMAIL PROTECTED]> wrote: > Hi all, > > I've created a simple T 5.0.15 app, and deploy it to my server. The > server setup for my ser

Application hangs

2008-10-31 Thread raulmt
Hi, I'm load testing my T5 application in a Jboss server. Using jmeter with 50 threads making an HTTP request to a tapestry page that has medium processing, the application stops responding after 5k - 7k requests. It's weird because a new request stays waiting for ever, but the server doesn't use

Re: [T5] Creating Links At Runtime

2008-10-31 Thread Marcel Sammut
Thanks for the quick response. My delima is that I need to have a reference to the link in the .tml template. I was hoping to just use a pure Java implementation to let the developer configure the menu via code. In order to do this, I believe I have to inject the ComponentResources object of my

RE: Problems with 4.1.6 ExternalPages and back/forward button

2008-10-31 Thread Jon Williams
Alejandro Your suggestions totally fixed my problem. Thank you very much. Jon -Original Message- From: Alejandro Scandroli [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2008 2:30 PM To: Tapestry users Subject: Re: Problems with 4.1.6 ExternalPages and back/forward button This one

Re: [T5] Creating Links At Runtime

2008-10-31 Thread Robert Zeigler
Why not just use ComponentResources.createActionLink and ComponentResources.createPageLink? .tml: Link Text .java: @Inject private ComponentResources resources; public String getSomeLink() { return resources.createPageLink("mypage",true,contextValue1,contextValue2,...); } Robert On Oc

[T5] Creating Links At Runtime

2008-10-31 Thread Marcel Sammut
Greetings, I'm looking at porting my 3.0 tapestry web application to v5 and I'm trying to build a menu component which accepts a parameter of type ArrayList that contains a list of AbstractLink objects. These items get rendered in a menu layout etc. The page that this menu component exists on wi

Port Redirect problem

2008-10-31 Thread abangkis
Hi all, I've created a simple T 5.0.15 app, and deploy it to my server. The server setup for my server is, a tomcat server behind apache server. I Used reverse proxy to do this. But i've encounter A problem. I've managed to get to the start page just fine. But after i logged in it keep redirecting

Accessing ApplicationStateManager from within a Filter

2008-10-31 Thread Keith Bottner
Is it possible to retrieve ApplicationStateManager from within a Filter? I tried using an @Inject and it always returns null. I tried placing it in the constructor of the filter but when it is accessed it is null. Is there a recommend way of doing this or is it even advisable? Thanks in adva

Re: T5: Ajax components

2008-10-31 Thread devilabit
It is easy to make custom components or create mixins in Tapestry and the t5components you mention do look promising. You also have the option of using another javascript library like extjs if you need more advanced "sexy" looking widgets. James Sherwood wrote: > > Hello, > > > > I have be

Re: flash variables being cleared too aggressively?

2008-10-31 Thread Fernando Padilla
So yes it looks like the Flash variables of a Page are scrubbed when the page is removed from the cache, no matter if it's rendered or not. The stack trace is below. I know that my example might be a bit extreme, but here are some other usecases that should be affected as well: -- Page Rend

Re: T5: Spring prototype behavior equivalent ?

2008-10-31 Thread Lutz Hühnken
Hi Stephane, I think you can inject the WebApplicationContext and then use context.getBean to get fresh instances of your prototype bean. See http://tapestry.apache.org/tapestry5/tapestry-spring/ "The Spring WebApplicationContext is also added as a service..." "For the moment, you should consid

flash variables being cleared too aggressively?

2008-10-31 Thread Fernando Padilla
So I have an issue, and it's that the Form.validationDelegate Flash variable is being cleared too soon. I'll say that we don't have a normal usecase, but just wondering how you could help. The reason for the modified flow is because we are embedding the site withing Facebook/OpenSocial. I'm

T5: Spring prototype behavior equivalent ?

2008-10-31 Thread Stephane Decleire
Is there a way to get the same behavior as Spring prototype in Tapestry 5 ? If not, what's the easiest way to inject Spring prototype bean ? thanks in advance Stephane

Re: URLEncoder and Javascript

2008-10-31 Thread Howard Lewis Ship
On Fri, Oct 31, 2008 at 8:11 AM, Martijn Brinkers <[EMAIL PROTECTED]> wrote: > > On Fri, 2008-10-31 at 07:59 -0700, Howard Lewis Ship wrote: >> My general approach is to use query parameters, not context info in >> the path, for any dynamic portions of a query from the client. > > This is new to me

Re: URLEncoder and Javascript

2008-10-31 Thread Martijn Brinkers
On Fri, 2008-10-31 at 07:59 -0700, Howard Lewis Ship wrote: > My general approach is to use query parameters, not context info in > the path, for any dynamic portions of a query from the client. This is new to me. How do you get those query parameters? by injecting Request and getting the paramet

Re: Tapestry 5.0.15 w/ Tomcat won't start on machine under load

2008-10-31 Thread Francois Armand
Daniel Leffel wrote: [...]The only solution is to block request volume at the firewall, start Tomcat up and wait for it to finish startup, make a single request and wait for it to respond and then remove the block from the firewall. Is this a known issue? It would be intersting to know if you

Re: URLEncoder and Javascript

2008-10-31 Thread Howard Lewis Ship
My general approach is to use query parameters, not context info in the path, for any dynamic portions of a query from the client. On Fri, Oct 31, 2008 at 7:43 AM, Martijn Brinkers <[EMAIL PROTECTED]> wrote: > The latest build (5.0.16) comes with a new URLBuilder. The problem I now > have is that

URLEncoder and Javascript

2008-10-31 Thread Martijn Brinkers
The latest build (5.0.16) comes with a new URLBuilder. The problem I now have is that some AJAX'ified javascripts suddenly stops working because the context now contains illegal characters (for example the @ symbol of an email address). I therefore need to encode the parameters before building the

Re: T5 id component render in version 5.0.15

2008-10-31 Thread Howard Lewis Ship
Its now done on demand, so no id attribute is rendered unless you invoke getClientId() on the component. On Fri, Oct 31, 2008 at 2:01 AM, Riccardo Ruffilli <[EMAIL PROTECTED]> wrote: > > Hi everybody, I've worked with the 5.0.11 version of tapestry creating > js code that works looking for anchor

Re: Anyone using weblogic?

2008-10-31 Thread Dan Adams
Well, I did set the check for updates interval to 10h. But I also noticed delays when doing things like searching with lucene for the first time which loads a bunch of stuff into memory. My first hunch was that weblogic has it's own classloader or does it's own memory management or something. D

Re: [T5] - Using a mixin on a beaneditform to do an submit without a page reload

2008-10-31 Thread BarryDev
I've tried a few different things and I've searched this mailing list archive and the website but I can't figure out a way to clear the textbox in my beaneditform with a zone once I click submit. Here's my OnSuccess Method and my beaneditform/zone definition: @InjectComponent("zone") private Zon

T5 id component render in version 5.0.15

2008-10-31 Thread Riccardo Ruffilli
Hi everybody, I've worked with the 5.0.11 version of tapestry creating js code that works looking for anchor id. After installing the latest t5 lib, I've noticed that all my action link rendered anchor don't have any id. I've a look at the new AbstractLink class and the older Element e = writer