RE: Routing and REST

2008-07-11 Thread Henry Remigio C. Osorio II
I am new to tapestry, and currently using Tapestry 3.0 for our development. I keep on experiencing the problem Page Recorder for page X locked after a commit, I would like to confer if it still exist within Tapestry 4? Thanks

Re: T5: FileUpload and time out

2008-07-11 Thread Angelo Chen
Hi Josh, here is the exception, happens often when file is a little big, say around 900k, the message is a little lengthy, sorry for that: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request.

contrib:TableView nested inside @For component causing Pagination problem

2008-07-11 Thread Johnny Cormack
Hi, i am using an architecture like: @For @MyTable / / For The @MyTable is a component containing the TableView, TableColumns and the other Table components that are needed to render a fully fledged table. I have 4 Tables created by this @For component. Each table points to a specific

Re: T5: what part of tapestry adds Jsessionid

2008-07-11 Thread Britske
Yep I tried that, but when I converted a working stripping servletfilter to a requestfiler, I have to deal with tapestry's request and response in addition to sevlet.HttpServletRequest and servlet.httpServletRepsonse. Although I override both (Response and HttpServletResponse, since I guess

T5: possible to get the 'real' object instead of a proxy?

2008-07-11 Thread Britske
When injecting a (hibernate) Session a proxy to the actual session is returned. However, when using the session in a lot of my dao-services I need to have access to the 'real' underlying session instead of just the proxy. Is there a way to do this? Some background: after revisioning my

T4: Alternatives to Servlet Sessions?

2008-07-11 Thread Andrew Ingram
Dear Tapestry Mailing List, How are you today? I am wonder if there's a straightforward way of getting tapestry to use an alternative session approach to Servlet Sessions, ie file system or database. One option would be to completely bypass Tapestry's session mechanisms but this would

T5: Integrating T5 webapp with Axis2 webservice framework

2008-07-11 Thread Andreas Pursian
Dear list, i'am working on a webapp which should be accessible through a normal html based interface and a webservice component. I use a couple of business delegate classes to seperate presentation and domain layer which i @Inject as a service into my page classes on the one hand and into my

RE: T5: Integrating T5 webapp with Axis2 webservice framework

2008-07-11 Thread Mahen Perera
Not sure if this helps.. From what I know, Tapestry does its core of work in the Tapestry Filter,. So, if you add this filter in to the filter list of the Axis Servlet, ,,, so that the Tapestry filter kicks in before the request goes to Axis, Then you should be able to get the Tapestry features

Re: Routing and REST

2008-07-11 Thread Filip S. Adamsen
Hi, Please start a new thread to ask a new question. That said, Tapestry 3 is rather old by now - if at all possible I'd advice you to move to Tapestry 5. And unfortunately, I don't know how to solve your problem. Maybe someone else knows. -Filip Henry Remigio C. Osorio II skrev: I am

Re: T5: what part of tapestry adds Jsessionid

2008-07-11 Thread Filip S. Adamsen
Hi, I use a regular servlet filter for this: Filter: public class StripUrlSessionIdFilter implements Filter { public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { if (!(request instanceof

Re: T5: possible to get the 'real' object instead of a proxy?

2008-07-11 Thread Filip S. Adamsen
Hi, The problem here is that the proxy generated by Tapestry doesn't implement SessionImplementor. You'll have to get the SessionFactory and grab a Session from there if you want to do this. I don't use tapestry-hibernate so that's all I can say about that. By the way, the

Re: T5: Integrating T5 webapp with Axis2 webservice framework

2008-07-11 Thread kranga
Also checkout Apache CXF - with its full Jaxws annotations support and spring integration, it is silly easy to turn a class into a web service. - Original Message - From: Mahen Perera [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org Sent: Friday, July 11, 2008 6:44 AM

Re: T5: RequestDispatcher to include Tapestry5 Pages

2008-07-11 Thread Dude.Checkitout
Any pointers on how to do this? Dude.Checkitout wrote: Trying to include Tap5 pages from another J2EE War Servlet/JSP. Using RequestDispatcher to include the tapestry5 page. It keeps complaining that the tap5 page does not exist. If I try the same URL in browser, it works fine.

RE: T5: Integrating T5 webapp with Axis2 webservice framework

2008-07-11 Thread Mahen Perera
Ok , if you want to use Apache CXF, (which is AFAIK different from Axis2), Make the T5 services available via Spring,, and then use Apache CXF - Spring integration. Or else, if you want to go ahead with Axis2 , then possibly add the Tapestry filter in to the AxisServlet Filter List.

RE: T5: Integrating T5 webapp with Axis2 webservice framework

2008-07-11 Thread Mahen Perera
Er,, SOAP requests are sent over HTTP. So, its just like any other request. The tapestry filter should be able to intercept these, AFAIK. -Original Message- From: Andreas Pursian [mailto:[EMAIL PROTECTED] Sent: 11 July 2008 15:12 To: Tapestry users Subject: Re: T5: Integrating T5

Re: T3 problem: spindle won't include the tap. .jars in the .war

2008-07-11 Thread Tomi N/A
Never mind, I circumvented the problem (if anyone is interested to hear) by explicitly adding every necessary library including tapestry libraries. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

AW: T5: Different behavior of Palette Component in FireFox, Safari and IE

2008-07-11 Thread Maximilian Weißböck
Thanks for the info, I'm on 5.0.13 and the bug is fixed in 5.0.14 Max -Ursprüngliche Nachricht- Von: Yunhua Sang [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 10. Juli 2008 13:40 An: Tapestry users Betreff: Re: T5: Different behavior of Palette Component in FireFox, Safari and IE

Re: T5: possible to get the 'real' object instead of a proxy?

2008-07-11 Thread Howard Lewis Ship
The injectable Session object is a property shadow of HibernateSessionManager.session. In other words, inject HibernateSessionManager, invoke getSession(). On Fri, Jul 11, 2008 at 4:57 AM, Filip S. Adamsen [EMAIL PROTECTED] wrote: Hi, The problem here is that the proxy generated by Tapestry

Re: T5 - Javascript libraries on ajax requests

2008-07-11 Thread raulmt
Thanks for the answer, Chris, it was very clear, and I see this now in the Firebug console. Nevertheless, it would be nice if the JSON reply comes with the scripts included only once... I understand that even then, the script could be already loaded (in the page request) but checked if loaded

Re: T5: possible to get the 'real' object instead of a proxy?

2008-07-11 Thread Britske
and this would also give me a session bound to the current thread? Like, I would inject in into a custom singleton service, and invoke the getSession-method from different threads. Would I still get the session bound to the current-thread or the session bound to the thread which first invoked

Re: T5: possible to get the 'real' object instead of a proxy?

2008-07-11 Thread Howard Lewis Ship
No, this is the actual Hibernate Session object; you'll have to be careful if you share it around between threads, or hold onto it after the end of the current request. On Fri, Jul 11, 2008 at 11:04 AM, Britske [EMAIL PROTECTED] wrote: and this would also give me a session bound to the current

Re: T5: possible to get the 'real' object instead of a proxy?

2008-07-11 Thread Britske
I meant that the hibernate-implementation is bad design here. Having a method: getExecutableCriteria(Session session) to me would mean that any object adhering to the interface Session could be passed as a parameter. However getExecutableCriteria really needs a SessionImpl to be passed so that

Re: Routing and REST

2008-07-11 Thread Fernando Padilla
We have one webapp (implemented using tapestry). During the step #2 i stated below we create another object called FandomContext, this object maintains the team specific information (teamId, rivalId, etc etc) and put that object into the request attributes, making it available to the webapp

Re: contrib:TableView nested inside @For component causing Pagination problem

2008-07-11 Thread Andreas Andreou
Do you know if this problem happens with contrib:Table ? On Fri, Jul 11, 2008 at 11:13 AM, Johnny Cormack [EMAIL PROTECTED] wrote: Hi, i am using an architecture like: @For @MyTable / / For The @MyTable is a component containing the TableView, TableColumns and the other Table

Re: specify background color of dialogUnderlay div

2008-07-11 Thread Andreas Andreou
Adding a more specific css rule than dojo does will help you override the color... so, try something like div.dialogUnderlay { ... } On Thu, Jul 10, 2008 at 10:35 AM, Nils Preusker [EMAIL PROTECTED] wrote: Hi, I'm working with Tapestry 4.1.1 and I'm using client side validation. Is it

Re: T5: possible to get the 'real' object instead of a proxy?

2008-07-11 Thread Britske
Would there be a way to both get 1. the real session object 2. the session object belonging to to current thread at the same time? Howard Lewis Ship wrote: No, this is the actual Hibernate Session object; you'll have to be careful if you share it around between threads, or hold onto it

[T5]

2008-07-11 Thread kace
Hi fellas, grabbed the simple archetype for T5 and playing about with the layout feature. Created Layout.java and Layout.tml and trying to use it on Index.tml but I get the error listed below... Also on the Index.tml page it doesn't like the following: t:layout t:title=literal:My first use

Re: [T5]

2008-07-11 Thread Howard Lewis Ship
It's too much trouble to get IntelliJ to ignore the elements in the namespace; I just ignore the warnings. The big challenge with IntelliJ is that it's very picky about which files it copies into the out folder (which, along with compiled .class files, is the runtime classpath). You need to

Re: [T5]

2008-07-11 Thread Andreas Andreou
i think it's just !?*.java (everything but the java source files) On Sat, Jul 12, 2008 at 5:49 AM, Howard Lewis Ship [EMAIL PROTECTED] wrote: It's too much trouble to get IntelliJ to ignore the elements in the namespace; I just ignore the warnings. The big challenge with IntelliJ is that it's