Re: Affortable Hosting solutions for Tapestry WebApps

2009-12-17 Thread Kristian Marinkovic
hi, theres is a patch in jira (with tests) submitted by Christian Köberl that replaces the stax2 parser with a sax parser and makes it possible to deploy T5.1.0.5+ on GAE g, kris Olle Hallin Gesendet von: olle.hal...@gmail.com 18.12.2009 08:30 Bitte antworten an "Tapestry users" An Tap

Re: Affortable Hosting solutions for Tapestry WebApps

2009-12-17 Thread Olle Hallin
Another alternative is www.slicehost.com. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se http://www.linkedin.com/in/ollehallin 2009/12/18 Olle Hallin > Google App Engine does not work for Tapestry 5.1 > > T5.1 uses an XML parser that is incompatible with GAE

Re: Affortable Hosting solutions for Tapestry WebApps

2009-12-17 Thread Olle Hallin
Google App Engine does not work for Tapestry 5.1 T5.1 uses an XML parser that is incompatible with GAE. T5.0.18 works fine from what I've heard. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se http://www.linkedin.com/in/ollehallin 2009/12/17 Kalle Korhonen

Re: dynamically switching layouts

2009-12-17 Thread Olle Hallin
I've used this technique in the past with good results, even for the notorious IE6. So I wouldn't be too pessimistic. Try @media print first before you decide to code a lot. There is a usability problem with @media print though. Users are so trained to look for printer-friendly versions of pages,

testify forcomponents problem

2009-12-17 Thread Yury Luneff
hello! I'm experiencing a sort of difficulty coping with testify. I have the following: public class ServTest extends TapestryTest { private static final TapestryTester SHARED_TESTER = new TapestryTester("serv", "app", "src/main/webapp"); public ServTest() { super(SHARED_TESTER

Tapestry5 and envers

2009-12-17 Thread Jim O'Callaghan
Has anyone got envers (http://www.jboss.org/files/envers/docs/index.html) running with Tapestry5/hibernate and care to share their configuration notes? I'm trying: ... ... having previously tried:

Re: dynamically switching layouts

2009-12-17 Thread Ilya Obshadko
I was reading exactly the same page and it doesn't look very optimistic :) On Thu, Dec 17, 2009 at 10:21 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Thu, 17 Dec 2009 19:03:38 -0200, Ilya Obshadko > escreveu: > > > Looks like there's a lot of browser compatibility issues

Re: dynamically switching layouts

2009-12-17 Thread Thiago H. de Paula Figueiredo
Em Thu, 17 Dec 2009 19:03:38 -0200, Ilya Obshadko escreveu: Looks like there's a lot of browser compatibility issues with this feature? I don't think so: http://www.codestyle.org/css/media/print-BrowserSummary.shtml -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 a

Re: dynamically switching layouts

2009-12-17 Thread Ilya Obshadko
Looks like there's a lot of browser compatibility issues with this feature? On Thu, Dec 17, 2009 at 8:20 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Thu, 17 Dec 2009 17:16:40 -0200, Ben Acker > escreveu: > > > I've used a printer friendly CSS styleheet in the past. You c

Re: Res: Exception Reporting and Production Mode configuration

2009-12-17 Thread Ulrich Stärk
Better yet, make the contribution to the Alias service, where you contribute your own ExceptionHandler, dependent on the value of the production mode symbol. Something along public void contributeAlias(Configuration configuration, MyOwnExceptionHandler handler, @Inject @Symbol(SymbolConstant

Res: Exception Reporting and Production Mode configuration

2009-12-17 Thread Everton Agner
So, in development enviroment I need to delete the ExceptionReport page files to see the default Exception page? De: Thiago H. de Paula Figueiredo Para: Tapestry users Enviadas: Quinta-feira, 17 de Dezembro de 2009 17:40:39 Assunto: Re: Exception Reporting an

Re: Exception Reporting and Production Mode configuration

2009-12-17 Thread Thiago H. de Paula Figueiredo
Em Thu, 17 Dec 2009 17:25:03 -0200, Everton Agner escreveu: Hi, Hi! Tapestry will always redirect to the configured exception page. The production mode symbol affects the Tapestry default erro page: if on, it shows almost nothing, otherwise, it shows all the information available. I'

Exception Reporting and Production Mode configuration

2009-12-17 Thread Everton Agner
Hi, Maybe i misunderstood something about this... In AppModule class, When I have the PRODUCTION_MODE = "false", Tapestry should redirect to it's shiny Exception Reporting page (with info for the developer). So, when I have the PRODUCTION_MODE = "true", Tapestry should redirect to it's simplifi

Re: dynamically switching layouts

2009-12-17 Thread Thiago H. de Paula Figueiredo
Em Thu, 17 Dec 2009 17:16:40 -0200, Ben Acker escreveu: I've used a printer friendly CSS styleheet in the past. You could have a link that switches to one of those and the templat html can remain the same. There's no need to switch CSS files: just add media="print" to the print CSS. It

Re: dynamically switching layouts

2009-12-17 Thread Thiago H. de Paula Figueiredo
Em Thu, 17 Dec 2009 17:13:15 -0200, Ilya Obshadko escreveu: In case I need to switch layouts dynamically (for example to create "printable version" of the same page) - is that possible to accomplish the task without creating a 'switch' construct between different blocks in the original la

Re: dynamically switching layouts

2009-12-17 Thread Ben Acker
I've used a printer friendly CSS styleheet in the past. You could have a link that switches to one of those and the templat html can remain the same. On Dec 17, 2009, at 11:13 AM, Ilya Obshadko wrote: In case I need to switch layouts dynamically (for example to create "printable version

dynamically switching layouts

2009-12-17 Thread Ilya Obshadko
In case I need to switch layouts dynamically (for example to create "printable version" of the same page) - is that possible to accomplish the task without creating a 'switch' construct between different blocks in the original layout component? Thanks. -- Ilya Obshadko

Re: Help with in for RSS AutoDiscovery

2009-12-17 Thread Ashwanth Kumar
I'll stick to creation of a new Page as u said. Thanks! - Ashwanth Kumar On Thu, Dec 17, 2009 at 10:25 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Thu, 17 Dec 2009 14:38:49 -0200, Ashwanth Kumar < > ashwanth.ku...@gmail.com> escreveu: > > > Okay, but just out of curiosi

Re: Affortable Hosting solutions for Tapestry WebApps

2009-12-17 Thread Kalle Korhonen
I've evaluated lots of different VPS providers, and I haven't found anybody offering more RAM for the same price than http://tektonic.net. If you know your way around Linux distros, their unmanaged plans are great. I've been a very happy user for a few years. But still, can't beat free - Google App

Re: T5 PageRedirectExeption

2009-12-17 Thread Thiago H. de Paula Figueiredo
Em Thu, 17 Dec 2009 15:11:53 -0200, Marcel Sammut escreveu: What is the equivalent to throwing a PageRedirectException in T3, T4 in T5? Just return the name of the target page, its class or an instance of it in the event handler method. -- Thiago H. de Paula Figueiredo Independent Java

T5 PageRedirectExeption

2009-12-17 Thread Marcel Sammut
What is the equivalent to throwing a PageRedirectException in T3, T4 in T5? I have a page that has some context activation handler that does validation of the page context parameters, and if not valid, redirects to a different page. I did this in previous versions of Tapestry using the PageRedir

Re: Help with in for RSS AutoDiscovery

2009-12-17 Thread Thiago H. de Paula Figueiredo
Em Thu, 17 Dec 2009 14:38:49 -0200, Ashwanth Kumar escreveu: Okay, but just out of curiosity, isn't there a way we could refer to a ActionLink dynamically on a page, by any means? I mean, if i could refer it like that, it would do the trick right? It would, but action links aren't suppose

Re: Affortable Hosting solutions for Tapestry WebApps

2009-12-17 Thread Joost Schouten (ml)
Though I'm still in a trial phase and have yet to go live with them, I am impressed with their service and understanding of JAVA so far. http://rimuhosting.com It is a new zealand based company with datacenters in the US, europe and Australia. just my 2 cents. Eldred Mullany wrote: Hi every

Re: Help with in for RSS AutoDiscovery

2009-12-17 Thread Ashwanth Kumar
Oh! Okay, but just out of curiosity, isn't there a way we could refer to a ActionLink dynamically on a page, by any means? I mean, if i could refer it like that, it would do the trick right? Anyways, i would take that suggesstion! - Ashwanth Kumar On Thu, Dec 17, 2009 at 8:48 PM, Thiago H. de

Affortable Hosting solutions for Tapestry WebApps

2009-12-17 Thread Eldred Mullany
Hi everyone Some time ago there was a discussion suitable hosting solutions specifically relating to tapestry applications. All I would like to know if anyone can recommend an affordable ISP, either in USA, Europe or better still in South Africa where I live. Just a few links would b

Re: Help with in for RSS AutoDiscovery

2009-12-17 Thread Thiago H. de Paula Figueiredo
Em Thu, 17 Dec 2009 11:21:40 -0200, Ashwanth Kumar escreveu: I know that, All i want to know is to which href i must point it to? I mean, i've an RSS generated in the Tempalte on an ActionLink. The best way to do that is to have a separate page (and URL) to generate the RSS. -- Thiago

Re: Help with Hibernate Data Fetch and Print

2009-12-17 Thread Ashwanth Kumar
Oh! I'm so sorry, i totally forgot about this! Thanks yar! - Ashwanth Kumar On Thu, Dec 17, 2009 at 8:09 PM, cordenier christophe < christophe.corden...@gmail.com> wrote: > Hi > > Use t:outputRaw component. > > 2009/12/17 Ashwanth Kumar > > > Hello, > > > > I need to fetch a Post from the Data

Re: Help with Hibernate Data Fetch and Print

2009-12-17 Thread cordenier christophe
Hi Use t:outputRaw component. 2009/12/17 Ashwanth Kumar > Hello, > > I need to fetch a Post from the Database and print them in an HTML. All > works fine, expect for the fact that, the printed text contains the HTML > tags as in the Post from the DB. How do i print the post text by parsing > th

Help with Hibernate Data Fetch and Print

2009-12-17 Thread Ashwanth Kumar
Hello, I need to fetch a Post from the Database and print them in an HTML. All works fine, expect for the fact that, the printed text contains the HTML tags as in the Post from the DB. How do i print the post text by parsing the HTML tags. - Ashwanth Kumar

Re: Class not transformed to component

2009-12-17 Thread Alessandro Bottoni
Il 17/12/2009 12:31, Thiago H. de Paula Figueiredo ha scritto: > Em Thu, 17 Dec 2009 09:04:03 -0200, Alessandro Bottoni > escreveu: > >> class UserProfile { > > Try setting this class as public instead of package-private. > Thanks Thiago. Now it works. -- Alessandro Bottoni Website: http://

Re: Help with in for RSS AutoDiscovery

2009-12-17 Thread Ashwanth Kumar
I know that, All i want to know is to which href i must point it to? I mean, i've an RSS generated in the Tempalte on an ActionLink. - Ashwanth Kumar On Thu, Dec 17, 2009 at 6:47 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Thu, 17 Dec 2009 10:59:58 -0200, Ashwanth Kumar

Re: Help with in for RSS AutoDiscovery

2009-12-17 Thread Thiago H. de Paula Figueiredo
Em Thu, 17 Dec 2009 10:59:58 -0200, Ashwanth Kumar escreveu: Hey, Hi! But, i need to've an "href" attribute, and what should i do for that? ( what value should i give there?) It must point to an RSS file or URL that returns an RSS file. It isn't generated automatically: the autodisco

Help with in for RSS AutoDiscovery

2009-12-17 Thread Ashwanth Kumar
Hey, I've a doubt! I've a page, and wish to have RSS Autodiscovery for the page! How do i do it? I mean i know the syntax is as this: But, i need to've an "href" attribute, and what should i do for that? ( what value should i give there?) PS: I've a component, which acts as a MasterTemplate La

Re: Help with @Inject in onEvent Handler Object

2009-12-17 Thread Ashwanth Kumar
Hey Thanks Guys! Its working cool! - Ashwanth Kumar On Thu, Dec 17, 2009 at 6:21 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Thu, 17 Dec 2009 10:17:15 -0200, Joost Schouten (ml) < > joost...@jsportal.com> escreveu: > > > Your DBConnect object is probably not in one of

Re: Help with Form Submission and OnActivate Handler

2009-12-17 Thread Ashwanth Kumar
Thanks Ma, Its working now! Thanks a lot! - Ashwanth On Wed, Dec 16, 2009 at 9:29 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Wed, 16 Dec 2009 13:47:09 -0200, Ashwanth Kumar < > ashwanth.ku...@gmail.com> escreveu: > > > Sorry, >> >> I dont understand. I'm a newbie here.

Re: Help with @Inject in onEvent Handler Object

2009-12-17 Thread Thiago H. de Paula Figueiredo
Em Thu, 17 Dec 2009 10:17:15 -0200, Joost Schouten (ml) escreveu: Your DBConnect object is probably not in one of the tapestry controlled packages and thus inject doesn't work. You can inject the Session directly into your page, or turn your DBConnect object into a tapestry service by ad

Re: Help with @Inject in onEvent Handler Object

2009-12-17 Thread Joost Schouten (ml)
Your DBConnect object is probably not in one of the tapestry controlled packages and thus inject doesn't work. You can inject the Session directly into your page, or turn your DBConnect object into a tapestry service by adding it to the services package, and changing the Session into a construc

Re: Compatibility between tapestry 4.1.6 and tapestry 4.0.2

2009-12-17 Thread Jabbar
I've fixed the problem now. Incidently I am using version 4.0.1, not 4.0.2. I modified java file org.apache.tapestry.services.impl.ObjectPoolImpl and changed private Map _pool = new HashMap(); to private Map _pool = new WeakHashMap(); Now when the JVM is low on memory the garbage collector w

Help with @Inject in onEvent Handler Object

2009-12-17 Thread Ashwanth Kumar
Hi, I've a problem. I'm using a page which has an actionlink like this: Link Text And i've an @OnEvent handler in my Page Class, as follows: @OnEvent(component="alid") void function() { DBConnect db = new DBConnect(); System.out.println(db.getLine()); } Till, this i've no problem. I've an obj

Re: Class not transformed to component

2009-12-17 Thread Thiago H. de Paula Figueiredo
Em Thu, 17 Dec 2009 09:04:03 -0200, Alessandro Bottoni escreveu: class UserProfile { Try setting this class as public instead of package-private. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software archi

Re: T5 Page Engine

2009-12-17 Thread Thiago H. de Paula Figueiredo
Em Thu, 17 Dec 2009 03:50:04 -0200, Marcel Sammut escreveu: Greetings, Hello! Why don't you use URL rewriting for that? Using it, there's no need to do redirection, as it happens before the request processing. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hib