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

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 updat

[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: http://tapestry.apache.org/schema/tapest

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

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: 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 /> > > > The @MyTable is a component containing the TableView, TableColumns and the > other T

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 co

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 s

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 curre

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 ge

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 als

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 Tapest

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 So

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: [EMAI

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 weba

Re: T5: Integrating T5 webapp with Axis2 webservice framework

2008-07-11 Thread Andreas Pursian
Thanks for your responses! @kanga: thanks for the hint, i never heard about Apache CXF before. But the webservice itself is already running fine, at least as long as i don't use any T5 services. @Mahen: I also thought in this direction. But i think while Axis2 just handles soap request, just a

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. -Origi

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 f

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" Sent: Friday, July 11, 2008 6:44 AM Subject: RE: T5: Integ

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 Session/SessionImp

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 HttpServletR

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 ne

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

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 we

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 probabl

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 da

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 some

contrib:TableView nested inside @For component causing Pagination problem

2008-07-11 Thread Johnny Cormack
Hi, i am using an architecture like: <@For> <@MyTable /> 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 sourc

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. e