Re: Tapestry 5.2.1 upgrade woes

2011-02-09 Thread ppetroup
I just hit the same problem while attempting to upgrade from T5.1.0.5 to T5.2.4 Caused by: java.lang.ClassNotFoundException: org.apache.tapestry5.internal.services.RequestPathOptimizer I read the relevant posts and made sure I only have the following T5 dependencies but I am still getting the sam

Re: Tapestry 4.1 injecting the wrong application state object

2011-02-09 Thread Andreas Andreou
I recently run into https://issues.apache.org/bugzilla/show_bug.cgi?id=49417 and it reminded me of your case, so take a look, perhaps it's related (assuming the getLocale() change you mentioned didn't help) In short, that bug report mentions: "when you use mod_proxy to connect to a backend tomcat

Re: Regarding overlay image in tapestry

2011-02-09 Thread Rich M
Hi, still trying to clarify in my head what you are trying to do, but almost all of that functionality would still be HTML using CSS. I'm guessing you are laying a link element over the image element you have (or making the img the CSS background-image of a link element). The only difference

Re: Regarding overlay image in tapestry

2011-02-09 Thread Josh Canfield
> Is there anyway I can do this in tapestry as we do like in html using css. I'm not sure what would be different. There isn't a built in method for doing this if that's what your asking. Tapestry generates plain-old-html so you can do whatever javascript magic you want when the page has rendered.

Regarding overlay image in tapestry

2011-02-09 Thread sarov saravanan
Hi,   I am just trying to display a playbutton image over a list of main images, That is you see list of images on a page and each will have a playbutton image over it which on clicking leads to another page. Is there anyway I can do this in tapestry as we do like in html using css. Any he

Re: Simple radiogroup question

2011-02-09 Thread hese
Thanks Rich! Looks like mine was a page refresh problem (or god knows what!) but my code works now! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Simple-radiogroup-question-tp3377848p3378235.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Filter and Component sharing a SessionStateObject

2011-02-09 Thread Thiago H. de Paula Figueiredo
On Wed, 09 Feb 2011 16:30:16 -0200, Wechsung, Wulf wrote: Hi Users@tapestry, Hi! For this I need the active page name (many sources for that, RequestGlobals i.e) and the the EventContext (which context parameters where given when the page was called). The only way I found to get these

Re: Simple radiogroup question

2011-02-09 Thread Rich M
Here is some code I recently used with a RadioGroup and two buttons. Mine is tailored to decide whether a user wants to be contacted by Phone or E-Mail, but I'm sure you can adapt. The key for me was using an Enum as the value on the RadioGroup and as the value of each Radio. ContactBy.java:

Filter and Component sharing a SessionStateObject

2011-02-09 Thread Wechsung, Wulf
Hi Users@tapestry, I'm trying to implement a generic "bread crumb" component in t5 (5.2.4). The component should render out a list of previously accessed page links like this: Index > Page1 > Page2 For this I need the active page name (many sources for that, RequestGlobals i.e) and the the Even

Re: Simple radiogroup question

2011-02-09 Thread hese
thanks. but, i saw this example and it doesn't talk about how to check a particular button in the group. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Simple-radiogroup-question-tp3377848p3377957.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Simple radiogroup question

2011-02-09 Thread Mark
Here is the example from the component reference: http://tapestry.apache.org/tapestry5.2-dev/tapestry-core/ref/org/apache/tapestry5/corelib/components/Radio.html Mark On Wed, Feb 9, 2011 at 10:19 AM, hese <1024h...@gmail.com> wrote: > > > Hi, > > The task is simple. I have a radiogroup with two b

Simple radiogroup question

2011-02-09 Thread hese
Hi, The task is simple. I have a radiogroup with two buttons. When the page loads I want to check one of the buttons depending on a logic. This is supposed to be very easy, but I am unable to get it working! here is my code: tml java @Property private String forbidRequireRadio;

Re: Noticed another stackoverflow question on Tapestry 5, go vote

2011-02-09 Thread Mark
On Wed, Feb 9, 2011 at 12:07 AM, Kalle Korhonen wrote: > See > http://stackoverflow.com/questions/3831807/java-server-faces-2-0-or-tapestry-5-2. > I love the marketing effort from the play framework guys, they are > very serious about their play :) The given Tapestry answers given seem > very rea

Re: Noticed another stackoverflow question on Tapestry 5, go vote

2011-02-09 Thread Joost Schouten (ml)
Same here. Using many Datasources. I even would say as much that tapestry caters really well for this as it allowed me through the use of a few simple custom services to inject my DAO's without ever having to worry about using the correct DS. I don't use tap-hibernate as I prefer to completel

RE: Noticed another stackoverflow question on Tapestry 5, go vote

2011-02-09 Thread Newham, Cameron
Bit of an odd statement! I'm using Hibernate with Spring and Tapestry and you can use multiple data sources with that solution. No hacking involved. I never have used Tapestry-Hibernate. -Original Message- From: antalk [mailto:ant...@intercommit.nl] Sent: 09 February 2011 08:32 To: us

Re: Noticed another stackoverflow question on Tapestry 5, go vote

2011-02-09 Thread Michael Gentry
Hi, This isn't a Tapestry issue. I don't know anything about the tap-hibernate extension, but Tapestry itself isn't stopping you from accessing multiple databases. mrg On Wed, Feb 9, 2011 at 3:31 AM, antalk wrote: > > True, > > But they have forgotten to ask if the original poster wants to us

Re: Noticed another stackoverflow question on Tapestry 5, go vote

2011-02-09 Thread Nicolas Barrera
Hi antalk, You could use Tapestry and use many different datasources..., since tapestry is a presentation framework, I think you could just drop tapestry-hibernate. I 'm using tapestry backed up with pre-existent spring/hibernate beans and although I 'm not using it right now I think I could use

Re: Noticed another stackoverflow question on Tapestry 5, go vote

2011-02-09 Thread antalk
True, But they have forgotten to ask if the original poster wants to use multiple databases, if so i wouldn't encourage using Tapestry (sigh). For me this is one of the biggest letdown's , i have written 2 apps in Tap 5.2 who both require access to multiple datasources, but the inability to use