Re: [T5] force a Zone update after page rendering?

2008-11-01 Thread thermus
Were you able to solve this problem. I'm facing a similar issue. Can you or anyone else share your solution if available? Andy Pahne-3 wrote: > > > I'd like to force a Zone update after page rendering without clicking > any links or submitting any forms. > > I have the Zone ID, but have no

Pivot table result in Grid component

2008-11-01 Thread thermus
Is there a component available that accepts something equivalent to a Swing TableModel and renders a pageable and sortable table like the grid component. I need something to display a pivot table result so I don't know the number of columns ahead of time. Can anyone suggest a way to implement th

Combine a form and response in same template/Java class

2008-11-01 Thread thermus
I currently have a very simple webapp. I have a form and return a pageable grid component based on the form parameters. Right now, I have the form and response as separate tml/Java classes. Everything works fine, but it's getting to be a pain to keep all of these pieces in order (2 templates an

Re: [T5] Creating Links At Runtime

2008-11-01 Thread Marcel Sammut
Thanks! I seem to be able to render the anchor component based on the Link being created from the ComponentResources.createActionLink(). However, the action does not seem to be fired when I hook up the event using the @OnEvent annotation. The anchor is rendered using the MarkupWriter.element() m

Re: Application hangs

2008-11-01 Thread raulmt
Thanks Howard, I updated the server to 1.6.0_07 and apparently the problem is over. Regards. Howard Lewis Ship wrote: > > There's a JVM bug that's causing the problem, it is fixed in later > version of JDK 1.6. > > See https://issues.apache.org/jira/browse/TAPESTRY-2561 and > https://issues.a

Re: [Tapestry 5.0.15] - Hidding client-side validation

2008-11-01 Thread Howard Lewis Ship
This can be done by "monkey patching" the Tapestry JavaScript. You can have a JS library that overwrites the definitions of some of the built-in Tapestry functions related to validation. In this way, you can prevent the pop up bubbles, or change how the validation messages are presented to the us

Re: Application hangs

2008-11-01 Thread Howard Lewis Ship
There's a JVM bug that's causing the problem, it is fixed in later version of JDK 1.6. See https://issues.apache.org/jira/browse/TAPESTRY-2561 and https://issues.apache.org/jira/browse/TAPESTRY-2468. On Fri, Oct 31, 2008 at 6:22 PM, raulmt <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm load testing

Re: [T5] Creating Links At Runtime

2008-11-01 Thread Howard Lewis Ship
click me You just have to provide getCreateURL() as a wrapper around ComponentResources.createActionLink(). You don't instantiate a component, just @Inject the ComponentResources. On Fri, Oct 31, 2008 at 5:24 PM, Marcel Sammut <[EMAIL PROTECTED]> wrote: > > Thanks for the quick response. My del

Re: Accessing ApplicationStateManager from within a Filter

2008-11-01 Thread Howard Lewis Ship
When you contribute a filter, you need to instantiate it. Generally it looks something like: public void contributeRequestHandler(OrderedConfiguration configuration, ObjectLocator locator) { configuration.add("MyFilter", locator.autobuild(MyFilter.class)); } The ObjectLocator is a reso

Re: Form submission in Tap5

2008-11-01 Thread Howard Lewis Ship
Tapestry restricts the Form component, and form submissions, to using POST. On Fri, Oct 31, 2008 at 10:58 PM, Vinayak Borkar <[EMAIL PROTECTED]> wrote: > 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 us

Re: Accessing ApplicationStateManager from within a Filter

2008-11-01 Thread Ulrich Stärk
You have to make your Filter a Tapestry service in your module and you have to have a constructor parameter which is of type ApplicationStateManager. No need of @Inject inside your Filter. Uli Keith Bottner schrieb: Is it possible to retrieve ApplicationStateManager from within a Filter? I tr