Re: Help Tapestry5 Block with JavaScript? Anyone

2009-11-24 Thread alanearl
Excuse Me Sir Howard, Could you help me with this? Im receiving error... org.apache.tapestry5.internal.services.RenderQueueException Render queue error in BeginRender[Index:myblock]: org.apache.tapestry5.ioc.internal.util.TapestryException Template Class Click Me1!  Click Me2! 

Re: Help Tapestry5 Block with JavaScript? Anyone

2009-11-24 Thread alanearl
Sorry @Environment is lacking But still no luck heheheh... alanearl wrote: > > Excuse Me Sir Howard, > > Could you help me with this? Im receiving error... > > > org.apache.tapestry5.internal.services.RenderQueueException > Render queue error in BeginRender[Index:myblock]: > org.apache.tape

Re: method advisors... change parameters

2009-11-24 Thread Thiago H. de Paula Figueiredo
Em Tue, 24 Nov 2009 04:31:32 -0200, Alfonso Quiroga escreveu: Hi, is there a way to change the parameters of a service "invocation"? I have the T5Invocation, the java Method.. I saw that invocation has the real values inside (p0, p1.. fields). I can access them via reflection (brute force), m

determine current page context from component

2009-11-24 Thread Ilya Obshadko
Is there a way to determine current page context from within a component? Use case: suppose you have a component that appears on every page and contains login form. It is obviously desirable to return to the same page with the same context after user submits logon information. Returning null from

Tapestry and JMeter

2009-11-24 Thread I Wayan Saryada
Hi, I'm trying to do a load test on some of my Tapestry pages using JMeter. I create an http request from JMeter to submit the form and passes all the required input field value including the hidden field that contains value like formids, seedids, etc. When submitting the form from a browser it w

Re: "Object expected error" with prototype.js and IE 8

2009-11-24 Thread Inge Solvoll
I'm using tapx-prototype and I am still getting errors in IE8. It gets worse with COMBINE_SCRIPTS, my popup links stop working. It's actually hard to tell where the error is, the log messages are rather cryptic: "Object doesn't support this property or method", pointing to prototype.js or the comb

Re: "Object expected error" with prototype.js and IE 8

2009-11-24 Thread Inge Solvoll
On the other hand, the page below loads perfectly in my IE8, and it contains complex javascript using prototype.js, even the older version. I have also tested without tapx-prototype, no change. http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/ajaxonevent On Tue, Nov 24, 2

Re: determine current page context from component

2009-11-24 Thread Thiago H. de Paula Figueiredo
Em Tue, 24 Nov 2009 09:07:53 -0200, Ilya Obshadko escreveu: Is there a way to determine current page context from within a component? AFAIK no. Use case: suppose you have a component that appears on every page and contains login form. It is obviously desirable to return to the same page w

Question to HLS: Separate Tapestry-IOC mailing list or forum or any other point of connection?

2009-11-24 Thread alebu
Hi Howard, Are there any posibility that there will be a separate mailing list or forum maybe explicitly for Tapestry-IOC? I can explain my interest in it. In the past I have quite serious experience with Tapestry 4 (and not the bad one). So, Hivemind was a required knowledge to be effective with T

Re: Combining Javascript doesn't work with libraries like TinyMCE

2009-11-24 Thread raulmt
This is a good workaround, thanks. This won't work when the textarea with TinyMCE is loaded from an Ajax request, though. Nevertheless, the problem shouldn't arise when the script is loaded from an Ajax request, so in case the request is an Ajax request, you can include it with RenderSupport as u

Re: determine current page context from component

2009-11-24 Thread Ilya Obshadko
Thanks, it worked. On Tue, Nov 24, 2009 at 5:17 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Tue, 24 Nov 2009 09:07:53 -0200, Ilya Obshadko > escreveu: > > > Is there a way to determine current page context from within a component? >> > > AFAIK no. > > > Use case: suppos

injecting services in the module

2009-11-24 Thread Alfonso Quiroga
Is it possible to inject a service in a module? I am *advising* application methods... and I need to use a service. If I do: @Inject private GeneralService generalService; in the module... it gets "null" when the advisor executes.. any workaround? thanks ---

Re: Question to HLS: Separate Tapestry-IOC mailing list or forum or any other point of connection?

2009-11-24 Thread Howard Lewis Ship
I don't think the number of T5 IoC messages really warrants it. On Tue, Nov 24, 2009 at 6:30 AM, alebu wrote: > Hi Howard, > Are there any posibility that there will be a separate mailing list or > forum maybe explicitly for Tapestry-IOC? I can explain my interest in > it. In the past I have quit

Re: injecting services in the module

2009-11-24 Thread Howard Lewis Ship
You can inject into your advise method simply by providing additional parameters on the advise method. On Tue, Nov 24, 2009 at 9:01 AM, Alfonso Quiroga wrote: > Is it possible to inject a service in a module? I am *advising* > application methods... and I need to use a service. If I do: >       �

Re: injecting services in the module

2009-11-24 Thread Alfonso Quiroga
Great idea :) thanks On Tue, Nov 24, 2009 at 2:18 PM, Howard Lewis Ship wrote: > You can inject into your advise method simply by providing additional > parameters on the advise method. > > On Tue, Nov 24, 2009 at 9:01 AM, Alfonso Quiroga > wrote: >> Is it possible to inject a service in a modu

Form submitions without t:formdata

2009-11-24 Thread Ed Bowler
Hi, I am new to tapestry, and am generally impressed by how clean it makes our code, but have got stuck on a seemingly simple problem. I have to implement a page as part of a tapestry 5.1 application, that responds to a specific post request (in order to integrate with another system). I

Re: Form submitions without t:formdata

2009-11-24 Thread Thiago H. de Paula Figueiredo
Em Tue, 24 Nov 2009 15:22:12 -0200, Ed Bowler escreveu: Hi, Hi! I am new to tapestry, and am generally impressed by how clean it makes our code, but have got stuck on a seemingly simple problem. I have to implement a page as part of a tapestry 5.1 application, that responds to a spe

Re: Combining Javascript doesn't work with libraries like TinyMCE

2009-11-24 Thread Josh Canfield
> However, I think the ticket should still be considered. Definitely. On Tue, Nov 24, 2009 at 7:07 AM, raulmt wrote: > > This is a good workaround, thanks. > > This won't work when the textarea with TinyMCE is loaded from an Ajax > request, though. Nevertheless, the problem shouldn't arise when

Re: Combining Javascript doesn't work with libraries like TinyMCE

2009-11-24 Thread Howard Lewis Ship
I'm picturing this as a new form of the @IncludeJavascript annotation that allows new options to be included, such as browser type (i.e., build that comment thingey around the

Re: Combining Javascript doesn't work with libraries like TinyMCE

2009-11-24 Thread Thiago H. de Paula Figueiredo
Em Tue, 24 Nov 2009 18:25:10 -0200, Howard Lewis Ship escreveu: I'm picturing this as a new form of the @IncludeJavascript annotation that allows new options to be included, such as browser type (i.e., build that comment thingey around the

Re: Tapestry and JMeter

2009-11-24 Thread Andreas Andreou
Well, somehow the hidden fields are arriving modified / cropped to the tapestry application. Did you setup jmeter to do a post? On Tue, Nov 24, 2009 at 1:16 PM, I Wayan Saryada wrote: > Hi, > > I'm trying to do a load test on some of my Tapestry pages using > JMeter. I create an http request fro

Re: Tapestry and JMeter

2009-11-24 Thread I Wayan Saryada
Yes, I did a post request to the tapestry application. Does it mean that jmeter didn't send the hidden field correctly? On Wed, Nov 25, 2009 at 6:41 AM, Andreas Andreou wrote: > Well, somehow the hidden fields are arriving modified / cropped to the > tapestry application. > > Did you setup jmete

Re: Tapestry and JMeter

2009-11-24 Thread Andreas Andreou
Either that, or jmeter doesn't have the correct values to send... try to capture and compare the requests - perhaps through a servlet filter? (a proxy such charles can also help debug this) On Wed, Nov 25, 2009 at 1:55 AM, I Wayan Saryada wrote: > Yes, I did a post request to the tapestry applica

Re: Tapestry and JMeter

2009-11-24 Thread I Wayan Saryada
Hi Andreas, I've installed charles proxy and captured both the request parameters sent by web browser and JMeter. I've found out that the request sent by the browser is encoded, on the other hand I didn't encode the request parameters sent by JMeter. After telling JMeter to encode the parameters t