Re: Uncaught exception when tried to return a StreamResponse

2011-10-15 Thread Taha Hafeez Siddiqi
Here is a simple example with which you can compare public class ExportXML { StreamResponse onActivate(){ return new StreamResponse() { @Override public String getContentType() { return "text/xml"; } @Override

RE: Uncaught exception when tried to return a StreamResponse

2011-10-15 Thread Amr Mohamed Mahmoud Hassanien
I did not see them, both were in the junk folder , me too surprised that the answer was not as fast as you used to :) .. Tried what you said , changed a working page to export excel instead, and got the same error message... Regards, -Original Message- From: Muhammad Gelbana [mailto:m.

RE: Uncaught exception when tried to return a StreamResponse

2011-10-15 Thread Amr Mohamed Mahmoud Hassanien
Page link never renders correctly if the page name is not correct and it thankfully gives suggestions for the page name like this : Render queue error in BeginRender[user/List:pagelink]: Unable to resolve 'exportExcel' to a known page name. Available page names: (blank), About, Contact, Excepti

RE: Uncaught exception when tried to return a StreamResponse

2011-10-15 Thread Amr Mohamed Mahmoud Hassanien
Ok ...you are right and I changed the 'O' to 'o'. but the same I am getting , break point not hit and an error. OnEvent the same too. Regards, -Original Message- From: Taha Hafeez Siddiqi [mailto:tawus.tapes...@gmail.com] Sent: 13 أكتوبر, 2011 05:47 م To: Tapestry users Subject: Re: U

Re: Uncaught exception when tried to return a StreamResponse

2011-10-15 Thread Muhammad Gelbana
You've got 2 replies, are you saying none worked for you ? Why don't you try to just build another mock page for the same behavior with minimum tapestry customization efforts. May be your index page and see what happens. If it works, then you configured something wrong. If it doesn't, then it proba

[T5.3.x] Service IDs Conflict

2011-10-15 Thread Serge Eby
Hi, In trying to upgrade an app to 5.3-beta-22, I ran into conflicting service ID names. Here is an excerpt of the error message: start snip - java.lang.RuntimeException: Service id 'sessionFactory' has already been defined by org.apache.tapestry5.internal.services.SessionFactoryImpl(bo

Tapestry 3.0.3 and JDK 7

2011-10-15 Thread ScrumMaster
My Web app uses Tapestry 3.0.3 and it was running perfectly fine with JDK 6 (1.6.0.23). However, once I tried to run the same under JDK 7, I cannot even look at the first page. In the log file, I see: Method 'public abstract boolean org.apache.tapestry.form.AbstractFormComponent.isDisabled()' (

RE: Uncaught exception when tried to return a StreamResponse

2011-10-15 Thread Amr Mohamed Mahmoud Hassanien
Hi, No answer about this guys? Regards, -Original Message- From: Amr Mohamed Mahmoud Hassanien Sent: 13 أكتوبر, 2011 05:44 م To: Tapestry users Subject: Uncaught exception when tried to return a StreamResponse Hi Guys, I want to export data in excel sheet, so I made a page c

Complex use case about JSR-303, Tapestry, and JPA entity inheritance

2011-10-15 Thread Julien Martin
Hello, I have a JPA entity called ParentAccount that extends an abstract Account entity (see JPA inheritance). I have place the JSR-303 validation constraints in the Account entity. Now I have the following Tapestry class and templates and jsr-303 validation does not seem to work: *public class I

Re: @SetupRender not called

2011-10-15 Thread Howard Lewis Ship
We hit the same problem at a client's and found the same fix. I'm going to look into seeing if plastic can at least detect when this situation can happen. On Sat, Oct 15, 2011 at 4:55 AM, Christian Riedel wrote: > Found the cause! > > Tapestry5-jQuery adds, beside others, a custom Import-Worker:

Re: T5.3 date picker - no way to change/remove yellow highlight?

2011-10-15 Thread Muhammad Gelbana
I think white will even be prettier on other colors ! Nice choice. On Fri, Oct 14, 2011 at 9:20 PM, Lenny Primak wrote: > Thanks, Wulf, this is an excellent idea. > I wound up doing something similar: > > Effect.Highlight.prototype.initialize = function(element) { >this.element = $(element);

Re: Registry Shutdown - beta-21

2011-10-15 Thread Muhammad Gelbana
That's great Howard ! I also have some thoughts about this situation. I asked a similar question before and this is one of replies I got: http://mail-archives.apache.org/mod_mbox/tapestry-users/201110.mbox/%3Cop.v2wetk2d18r83n@lhost.localdomain%3E Thiago is suggesting to use the method: public s

RE: Page is getting cached in Tapestry 5.0.18

2011-10-15 Thread Wechsung, Wulf
Hi Manu, It helps to set the following meta tags: Kind Regards, Wulf -Original Message- From: ManuPK [mailto:manupk.t...@gmail.com] Sent: Samstag, 15. Oktober 2011 12:54 To: users@tapestry.apache.org Subject: Page is getting cached in Tapestry 5.0.18 I am using tapestry version 5.

Re: Page is getting cached in Tapestry 5.0.18

2011-10-15 Thread Muhammad Gelbana
If the request isn't initiated by the browser to the server, then shouldn't this be a browser issue ? On Sat, Oct 15, 2011 at 12:54 PM, ManuPK wrote: > I am using tapestry version 5.0.18. In my application the tapestry pages > are > getting cached. ie, when I hit the URL to load the page the re

Re: @SetupRender not called

2011-10-15 Thread Christian Riedel
Found the cause! Tapestry5-jQuery adds, beside others, a custom Import-Worker: @Contribute(ComponentClassTransformWorker2.class) @Primary public static void addWorker(OrderedConfiguration configuration, [...] configuration.addInstance("ImportJQueryUIWorker", ImportJQueryUIW

Page is getting cached in Tapestry 5.0.18

2011-10-15 Thread ManuPK
I am using tapestry version 5.0.18. In my application the tapestry pages are getting cached. ie, when I hit the URL to load the page the request is not reaching the server. I need to press ctrl+F5 to get the valid page. Is it because of the page pooling? Or how can I make sure always the request