Re: T5: Buttons, JS popup, Ajax/Zone and ActionLink

2011-01-14 Thread Michael Taylor
My first thought would be to include the action link in the page somewhere, but set its style to "display: none". Then your JavaScript can do something like document.location.href = document.getElementById('myActionLink').href; In the past I've done something similar to trigger a zone update from

Re: AJAX zone refresh error messages

2010-11-24 Thread Michael Taylor
>> that pop up when you get XHR errors. (Mike, Blackbird is a javascript-based >> error console per http://www.gscottolson.com/blackbirdjs/) >> >> Christian. >> >> On Nov 23, 2010, at 8:52 AM, Michael Taylor wrote: >> >> To be honest I'm not sure.

Re: AJAX zone refresh error messages

2010-11-23 Thread Michael Taylor
t SymbolConstants.BLACKBIRD_ENABLED to false in > your Module. > > p. > > > On 23/11/2010 5:51 AM, Michael Taylor wrote: > >> Greetings Tapestry users, >> >> I have a question about ajax refreshing zones. >> I have a page that contains a number of cus

AJAX zone refresh error messages

2010-11-22 Thread Michael Taylor
Greetings Tapestry users, I have a question about ajax refreshing zones. I have a page that contains a number of custom components each of which has its own zone that gets refreshed via ajax. I've noticed that if there is a problem on the server side when executing the ajax refresh tapestry dynami

Re: Loop values & AJAX refreshing components

2010-09-24 Thread Michael Taylor
if this is the cleanest solution, but it seems to work. Thanks again. Mike T On Fri, Sep 24, 2010 at 1:01 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 24 Sep 2010 13:11:02 -0300, Michael Taylor > wrote: > > It looks like at the point of the acti

Loop values & AJAX refreshing components

2010-09-24 Thread Michael Taylor
I’m having some issues with using an ajax refreshing component inside a loop, and I’m hoping someone can help. I have a component that contains an zone that I’m updating using a ajax request and an action link. In the onAction handler for the event link I do a data lookup based on an ID that I pa

Re: How to import an externally hosted javscript library?

2010-09-20 Thread Michael Taylor
Thank you! I think that's exactly what I was looking for. Mike T On Mon, Sep 20, 2010 at 1:39 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 20 Sep 2010 14:16:13 -0300, Michael Taylor > wrote: > > Greetings Tapestry Users, >> > &g

How to import an externally hosted javscript library?

2010-09-20 Thread Michael Taylor
Greetings Tapestry Users, I’m wondering what is the best way for a component class to import an externally hosted javscript library? I know that if I want to import a JS file from within my own project I can use the org.apache.tapestry5.annotations.Import annotation, and tapestry will make sure

Re: Event before which request data is processed.

2010-09-03 Thread Michael Taylor
go H. de Paula Figueiredo wrote: > > > On Fri, 03 Sep 2010 10:36:23 -0300, Michael Taylor < > miketay...@google.com> wrote: > > > >> Basically what we're trying to do is POST some data to our tapestry > webapp from an external application. > > > > Wh

Re: Event before which request data is processed.

2010-09-03 Thread Michael Taylor
Basically what we're trying to do is POST some data to our tapestry webapp from an external application. Our initial thought was to do exactly as Igor suggested, make a page object, inject the HttpServletRequest and then read the post data from it. The implementation looked something like this pub

Tapestry 5.1.0.5 Google App Engine

2010-04-16 Thread Michael Taylor
Hello Tapestry Users, I’ve been playing around with getting Tapestry 5.1.0.5 working on Google App Engine and I’m having a issue with running it on the DevApp server. Essentially the DevApp server uses a custom class loader to simulate the class loading restrictions imposed by GAE. It looks as