RE: Routing and REST
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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: FileUpload and time out
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. exception java.lang.RuntimeException: Unable to decode multipart encoded request. org.apache.tapestry5.upload.internal.services.MultipartDecoderImpl.parseRequest(MultipartDecoderImpl.java:100) org.apache.tapestry5.upload.internal.services.MultipartDecoderImpl.decode(MultipartDecoderImpl.java:78) $MultipartDecoder_11b110b3be8.decode($MultipartDecoder_11b110b3be8.java) $MultipartDecoder_11b110b3a04.decode($MultipartDecoder_11b110b3a04.java) org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:41) $HttpServletRequestHandler_11b110b3a07.service($HttpServletRequestHandler_11b110b3a07.java) org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62) $HttpServletRequestFilter_11b110b3a05.service($HttpServletRequestFilter_11b110b3a05.java) $HttpServletRequestHandler_11b110b3a07.service($HttpServletRequestHandler_11b110b3a07.java) $HttpServletRequestHandler_11b110b3a03.service($HttpServletRequestHandler_11b110b3a03.java) org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:168) root cause org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Read timed out org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:359) org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:126) org.apache.tapestry5.upload.internal.services.MultipartDecoderImpl.parseRequest(MultipartDecoderImpl.java:96) org.apache.tapestry5.upload.internal.services.MultipartDecoderImpl.decode(MultipartDecoderImpl.java:78) $MultipartDecoder_11b110b3be8.decode($MultipartDecoder_11b110b3be8.java) $MultipartDecoder_11b110b3a04.decode($MultipartDecoder_11b110b3a04.java) org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:41) $HttpServletRequestHandler_11b110b3a07.service($HttpServletRequestHandler_11b110b3a07.java) org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62) $HttpServletRequestFilter_11b110b3a05.service($HttpServletRequestFilter_11b110b3a05.java) $HttpServletRequestHandler_11b110b3a07.service($HttpServletRequestHandler_11b110b3a07.java) $HttpServletRequestHandler_11b110b3a03.service($HttpServletRequestHandler_11b110b3a03.java) org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:168) root cause java.net.SocketTimeoutException: Read timed out java.net.SocketInputStream.socketRead0(Native Method) java.net.SocketInputStream.read(SocketInputStream.java:129) org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:716) org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:746) org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:116) org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:675) org.apache.coyote.Request.doRead(Request.java:428) org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:298) org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:405) org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:313) org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:193) org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStream.java:959) org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:887) java.io.InputStream.read(InputStream.java:89) org.apache.commons.fileupload.util.Streams.copy(Streams.java:94) org.apache.commons.fileupload.util.Streams.copy(Streams.java:64) org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:354) org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:126) org.apache.tapestry5.upload.internal.services.MultipartDecoderImpl.parseRequest(MultipartDecoderImpl.java:96) org.apache.tapestry5.upload.internal.services.MultipartDecoderImpl.decode(MultipartDecoderImpl.java:78) $MultipartDecoder_11b110b3be8.decode($MultipartDecoder_11b110b3be8.java) $MultipartDecoder_11b110b3a04.decode($MultipartDecoder_11b110b3a04.java) org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:41) $HttpServletRequestHandler_11b110b3a07.service($HttpServletRequestHandler_11b110b3a07.java) org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
contrib:TableView nested inside @For component causing Pagination problem
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 source with e.g. 30 results. Setting the PageSize for each table to 10 this will produce a pagination for each table. When clicking in any table on the pagination links i recieve the result that each table paginates. This could be a construction problem but the components are mostly plain constructed. Anyone know this problem or has a solution to suggest how i can paginate on any table without effecting the other tables. Regards, Johnny -- View this message in context: http://www.nabble.com/contrib%3ATableView-nested-inside-%40For-component-causing-Pagination-problem-tp18398814p18398814.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: what part of tapestry adds Jsessionid
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 code uses Response while some use HttpServletResponse) still no luck. My code (almost an exact copy of the servlet filter I had ealier, but with overwriting the Tapestry-reponse as well) is: public boolean service(Request request, Response response, RequestHandler handler) throws IOException { if (request.isRequestedSessionIdValid() _globals.getHTTPServletRequest().getCookies()==null) { Session session = request.getSession(false); if (session != null) session.invalidate(); // wrap response to remove URL encoding HttpServletResponse httpResponse = _globals.getHTTPServletResponse(); HttpServletResponseWrapper wrappedResponse = new HttpServletResponseWrapper(httpResponse) { @Override public String encodeRedirectUrl(String url) { return url; } @Override public String encodeRedirectURL(String url) { return url; } @Override public String encodeUrl(String url) { return url; } @Override public String encodeURL(String url) { return url; } }; response = new ResponseImpl(wrappedResponse); _globals.storeServletRequestResponse(_globals.getHTTPServletRequest(), wrappedResponse); _globals.storeRequestResponse(request, response); } return handler.service(request, response); } But still JSessionId in the results. (although actionlinks take a cycle more to pick up the JSessionID than without the filter) Anyone? Robert Zeigler wrote: Just turn your ServletFilter into a RequestFilter. You can use ApplicationStateManager in RequestFilters now. (See, for example: http://code.google.com/p/tapestry5-cayenne/source/browse/trunk/tapestry5-cayenne-server/src/main/java/com/googlecode/tapestry5cayenne/services/CayenneRequestFilter.java) Robert On Jul 10, 2008, at 7/1012:30 PM , Britske wrote: yeah I realize that JSessionId is there for the session, but I want to build functionality into a dispatcher that strips this jsessionid from the request if a user is not logged in (logged in in my app means that a User- instance exists in the ASM) and if the user has cookies disabled. The rationale is that I don't want search-engines to see the JSessionid, but I want to enable users without cookies to login and track their settings using JSessionID in the url. Since search-engines don't login these 2 groups are nice mutually exclusive and so it's a clean cut when to strip the JSessionid and when not. Except that I'm still not sure how to do it. Wrapping the request and response in a handler (before Tapestry comes in action) and stripping it like that works, but doing it almost exactly the same in a dispather doesn't . That's why I think it has to do with some internal tapestry processing. Do you have an idea where to look? Howard Lewis Ship wrote: All the jsessionid functionality is provided by the servlet container, not by Tapestry. And it does exactly what you are suggesting ... except that its not about the user being logged in, its about the user have a session. On Thu, Jul 10, 2008 at 8:52 AM, Britske [EMAIL PROTECTED] wrote: partially related to a post I send a couple of days ago, but perhaps this explains better what I'm trying to do. I'm trying to strip the jSessionId from displaying in the url if: 1. user doesn't have cookies (otherwise it won't display anyway) 2. user is not logged in. I wanted to implement this as a filter, but I have to go with a dispather since to see if a user is logged in I need to have access to the ASM, which I can't get to in a filter. Now somewhere in between all the HttpSevletRequest to tapestry.request comversion, etc. tapestry decides to take over the JSessionId provided by the HttpServletRequest. I want to intercept this call somehow and strip the JSessionId from the request. I implemented a Dispatcher (the last in the line before onActivate is called) and basically wrapped (subclassed) HttpServletRequest and HttpServletResponse to return null for the sessionid and have redirecturl return url. My own HttpServlet get's called in the app (and returns null for getrequestedSessionId()) This
T5: possible to get the 'real' object instead of a proxy?
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 dao/repository layer a bit I want to rely on hibernate's DetachedCriteria for a lot of queries. THis basically enables you to build hibernate criteria's without having a session handy. (very useful in the light of MVC, etc. ) However, when actually executing these detachedcriteria through detachedcrit.getExecutableCriteria(Session session) a 'real' session has to be supplied since the method makes uses the underlying implementation instead of just the session-interface. (bad design, I know) Anyone? -- View this message in context: http://www.nabble.com/T5%3A-possible-to-get-the-%27real%27-object-instead-of-a-proxy--tp18400135p18400135.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T4: Alternatives to Servlet Sessions?
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 probably be unnecessarily hackish if there's a neater way of doing it. Regards, Andrew __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T5: Integrating T5 webapp with Axis2 webservice framework
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 webservice skeleton classes on the other hand. So the problem is, while all webservice requests are handled by the AxisServlet, T5 IoC can't handle the injection for the businessdelegate classes. So my question is, if somebody knows a elegant solution for integrating T5 and Axis2 to give webservice skeletons access to T5 services. thank you in advance Andreas -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: T5: Integrating T5 webapp with Axis2 webservice framework
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 .. I might be missing something here tho. -Original Message- From: Andreas Pursian [mailto:[EMAIL PROTECTED] Sent: 11 July 2008 11:21 To: Tapestry users Subject: T5: Integrating T5 webapp with Axis2 webservice framework 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 webservice skeleton classes on the other hand. So the problem is, while all webservice requests are handled by the AxisServlet, T5 IoC can't handle the injection for the businessdelegate classes. So my question is, if somebody knows a elegant solution for integrating T5 and Axis2 to give webservice skeletons access to T5 services. thank you in advance Andreas -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this email is strictly confidential and for the use of the addressee only, unless otherwise indicated. If you are not the intended recipient, please do not read, copy, use or disclose to others this message or any attachment. Please also notify the sender by replying to this email or by telephone (+44 (0)20 7896 0011) and then delete the email and any copies of it. Opinions, conclusions (etc.) that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. IG Index plc is a company registered in England and Wales under number 01190902. VAT registration number 761 2978 07. Registered Office: Friars House, 157-168 Blackfriars Road, London SE1 8EZ. Authorised and regulated by the Financial Services Authority. FSA Register number 114059. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Routing and REST
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 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: what part of tapestry adds Jsessionid
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 HttpServletRequest)) { chain.doFilter(request, response); return; } HttpServletRequest httpRequest = (HttpServletRequest) request; HttpServletResponse httpResponse = (HttpServletResponse) response; if (httpRequest.isRequestedSessionIdFromURL()) { HttpSession session = httpRequest.getSession(); if (session != null) session.invalidate(); } HttpServletResponseWrapper wrappedResponse = new StripUrlSessionIdHttpServletResponseWrapper(httpResponse); chain.doFilter(request, wrappedResponse); } public void init(FilterConfig config) throws ServletException { } public void destroy() { } private static class StripUrlSessionIdHttpServletResponseWrapper extends HttpServletResponseWrapper { public StripUrlSessionIdHttpServletResponseWrapper(HttpServletResponse httpResponse) { super(httpResponse); } public String encodeRedirectUrl(String url) { return url; } public String encodeRedirectURL(String url) { return url; } public String encodeUrl(String url) { return url; } public String encodeURL(String url) { return url; } } } Mapping: filter filter-namestrip/filter-name filter-classcom.example.StripUrlSessionIdFilter/filter-class /filter filter filter-nameapp/filter-name filter-classorg.apache.tapestry5.TapestryFilter/filter-class /filter filter-mapping filter-namestrip/filter-name url-pattern/*/url-pattern /filter-mapping filter-mapping filter-nameapp/filter-name url-pattern/*/url-pattern /filter-mapping Try that, it works. -Filip Britske skrev: 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 code uses Response while some use HttpServletResponse) still no luck. snip/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: possible to get the 'real' object instead of a proxy?
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/SessionImplementor interfaces and the way they're used isn't bad design - it's exactly what interfaces are for. :) -Filip Britske skrev: 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 dao/repository layer a bit I want to rely on hibernate's DetachedCriteria for a lot of queries. THis basically enables you to build hibernate criteria's without having a session handy. (very useful in the light of MVC, etc. ) However, when actually executing these detachedcriteria through detachedcrit.getExecutableCriteria(Session session) a 'real' session has to be supplied since the method makes uses the underlying implementation instead of just the session-interface. (bad design, I know) Anyone? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: Integrating T5 webapp with Axis2 webservice framework
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 Subject: RE: T5: Integrating T5 webapp with Axis2 webservice framework 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 .. I might be missing something here tho. -Original Message- From: Andreas Pursian [mailto:[EMAIL PROTECTED] Sent: 11 July 2008 11:21 To: Tapestry users Subject: T5: Integrating T5 webapp with Axis2 webservice framework 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 webservice skeleton classes on the other hand. So the problem is, while all webservice requests are handled by the AxisServlet, T5 IoC can't handle the injection for the businessdelegate classes. So my question is, if somebody knows a elegant solution for integrating T5 and Axis2 to give webservice skeletons access to T5 services. thank you in advance Andreas -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this email is strictly confidential and for the use of the addressee only, unless otherwise indicated. If you are not the intended recipient, please do not read, copy, use or disclose to others this message or any attachment. Please also notify the sender by replying to this email or by telephone (+44 (0)20 7896 0011) and then delete the email and any copies of it. Opinions, conclusions (etc.) that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. IG Index plc is a company registered in England and Wales under number 01190902. VAT registration number 761 2978 07. Registered Office: Friars House, 157-168 Blackfriars Road, London SE1 8EZ. Authorised and regulated by the Financial Services Authority. FSA Register number 114059. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: RequestDispatcher to include Tapestry5 Pages
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. There were some threads in the forum about this. But nothing worked. (tried dispatcherINCLUDE/dispatcherdispatcherFORWARD/dispatcher in the t5 filter mappings in web.xml) Any solutions would be greatly helpful in moving to Tapestry 5. -- View this message in context: http://n2.nabble.com/T5%3A-RequestDispatcher-to-include-Tapestry5-Pages-tp472602p473541.html Sent from the Tapestry Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: T5: Integrating T5 webapp with Axis2 webservice framework
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. -Original Message- From: kranga [mailto:[EMAIL PROTECTED] Sent: 11 July 2008 13:12 To: Tapestry users Subject: Re: T5: Integrating T5 webapp with Axis2 webservice framework 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 Subject: RE: T5: Integrating T5 webapp with Axis2 webservice framework 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 .. I might be missing something here tho. -Original Message- From: Andreas Pursian [mailto:[EMAIL PROTECTED] Sent: 11 July 2008 11:21 To: Tapestry users Subject: T5: Integrating T5 webapp with Axis2 webservice framework 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 webservice skeleton classes on the other hand. So the problem is, while all webservice requests are handled by the AxisServlet, T5 IoC can't handle the injection for the businessdelegate classes. So my question is, if somebody knows a elegant solution for integrating T5 and Axis2 to give webservice skeletons access to T5 services. thank you in advance Andreas -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this email is strictly confidential and for the use of the addressee only, unless otherwise indicated. If you are not the intended recipient, please do not read, copy, use or disclose to others this message or any attachment. Please also notify the sender by replying to this email or by telephone (+44 (0)20 7896 0011) and then delete the email and any copies of it. Opinions, conclusions (etc.) that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. IG Index plc is a company registered in England and Wales under number 01190902. VAT registration number 761 2978 07. Registered Office: Friars House, 157-168 Blackfriars Road, London SE1 8EZ. Authorised and regulated by the Financial Services Authority. FSA Register number 114059. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this email is strictly confidential and for the use of the addressee only, unless otherwise indicated. If you are not the intended recipient, please do not read, copy, use or disclose to others this message or any attachment. Please also notify the sender by replying to this email or by telephone (+44 (0)20 7896 0011) and then delete the email and any copies of it. Opinions, conclusions (etc.) that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. IG Index plc is a company registered in England and Wales under number 01190902. VAT registration number 761 2978 07. Registered Office: Friars House, 157-168 Blackfriars Road, London SE1 8EZ. Authorised and regulated by the Financial Services Authority. FSA Register number 114059. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: T5: Integrating T5 webapp with Axis2 webservice framework
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 webapp with Axis2 webservice framework 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 altering the filter order won't help because tapestryFilter don't know anything about soap requests. But maybe it is a possibilty to modify the tapestryFilter to propagate the service to the AxisServlet. hmmm ... further suggestions? Thanks a lot Andreas Original-Nachricht Datum: Fri, 11 Jul 2008 08:11:33 -0400 Von: kranga [EMAIL PROTECTED] An: Tapestry users users@tapestry.apache.org Betreff: Re: T5: Integrating T5 webapp with Axis2 webservice framework 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 Subject: RE: T5: Integrating T5 webapp with Axis2 webservice framework 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 .. I might be missing something here tho. -Original Message- From: Andreas Pursian [mailto:[EMAIL PROTECTED] Sent: 11 July 2008 11:21 To: Tapestry users Subject: T5: Integrating T5 webapp with Axis2 webservice framework 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 webservice skeleton classes on the other hand. So the problem is, while all webservice requests are handled by the AxisServlet, T5 IoC can't handle the injection for the businessdelegate classes. So my question is, if somebody knows a elegant solution for integrating T5 and Axis2 to give webservice skeletons access to T5 services. thank you in advance Andreas -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this email is strictly confidential and for the use of the addressee only, unless otherwise indicated. If you are not the intended recipient, please do not read, copy, use or disclose to others this message or any attachment. Please also notify the sender by replying to this email or by telephone (+44 (0)20 7896 0011) and then delete the email and any copies of it. Opinions, conclusions (etc.) that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. IG Index plc is a company registered in England and Wales under number 01190902. VAT registration number 761 2978 07. Registered Office: Friars House, 157-168 Blackfriars Road, London SE1 8EZ. Authorised and regulated by the Financial Services Authority. FSA Register number 114059. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Pt! Schon das coole Video vom GMX MultiMessenger gesehen? Der Eine für Alle: http://www.gmx.net/de/go/messenger03 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this email is strictly confidential and for the use of the addressee only, unless otherwise indicated. If you are not the intended recipient, please do not read, copy, use or disclose to others this message or any attachment. Please also notify the sender by replying to this email or by telephone (+44 (0)20 7896 0011) and then delete the email and any copies of it. Opinions, conclusions (etc.) that do not relate to the official business of this company
Re: T3 problem: spindle won't include the tap. .jars in the .war
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: [EMAIL PROTECTED]
AW: T5: Different behavior of Palette Component in FireFox, Safari and IE
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 Sorry the link was wrong, it should be https://issues.apache.org/jira/browse/TAPESTRY-2490 On Thu, Jul 10, 2008 at 7:37 AM, Yunhua Sang [EMAIL PROTECTED] wrote: What version of T5 are you guys using? I think there was a jira about it and it has been fixed already. see. https://issues.apache.org/jira/browse/TAPESTRY-2507 - Palette component forces an unwanted form submit under FireFox 3 Yunhua On Thu, Jul 10, 2008 at 5:44 AM, Martin Grotzke [EMAIL PROTECTED] wrote: Hi, we experience exactly the same issue: with FF3 the palette submits the form, with FF2 this is not the case. Max, when you submit the issue in jira please send a ping here, so that I can vote :) Cheers, Martin On Wed, 2008-07-09 at 18:23 +0200, Maximilian Weißböck wrote: Palette Component behaves different in FireFox then it does in Safari and IE If palette item is moved in FireFox the following events are triggered onSuccess() onSubmit() If palette item is moved in Safari or IE none of the above events is triggered. Is this suggested to be a bug? Then I would file a Jira Issue. Tested with FF 3.0, Safari 3.1 and IE 6 (all on Windows) Regards, Max - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: possible to get the 'real' object instead of a proxy?
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 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/SessionImplementor interfaces and the way they're used isn't bad design - it's exactly what interfaces are for. :) -Filip Britske skrev: 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 dao/repository layer a bit I want to rely on hibernate's DetachedCriteria for a lot of queries. THis basically enables you to build hibernate criteria's without having a session handy. (very useful in the light of MVC, etc. ) However, when actually executing these detachedcriteria through detachedcrit.getExecutableCriteria(Session session) a 'real' session has to be supplied since the method makes uses the underlying implementation instead of just the session-interface. (bad design, I know) Anyone? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5 - Javascript libraries on ajax requests
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 also only once after the ajax reply... that check, specially with firebug console activated, lags the app, even more if i have an animation just after the ajax reply. Regards. Chris Lewis-5 wrote: Hello, Short answers: 1. The behavior you're seeing is correct, you are doing nothing wrong. 2. JS libs are only ever included once. Longer answer: Firstly, rest easy knowing that the JS libs are only included once. Even if you see 3, 30, or 3000 ajax responses with script references, they are only loaded once. The loading of scripts that come as part of an ajax response is managed by tapestry.js, which checks to see if that script has already been loaded (on the client side). Zone responses that contain components which require external scripts always include those script URLs in the response. Why? Because there are cases where such components will not exist in the page until after an ajax request - meaning they were never processed and that the original page render lacks the needed script includes. Therefore, these components rendered via ajax would not have their script files loaded, and so would most likely be broken (try a test page in T5.0.13, you'll see it). If you examine those responses more closely you'll notice similar treatment of CSS files, because the same principle applies. Remember that ajax requests are independent requests to the server, so T5 has no way of knowing what scripts the browser may or may not have already loaded. This is theoretically possible with some kind of persistent page composition graph, but that would be complicated and probably wasteful. Why bother the server with something that the client can easily handle? Hope that clears things up. chris raulmt wrote: Hello, I have a zone that is updated with an ajax request. Inside this zone, I use an InPlaceEditor components (from t5components) many times (one for each row in a table). The InplaceEditor component include a javascript library, controls.js, with the IncludeJavascruptLibrary annotation. On the first request, this works ok, because even when the InPlaceEditor is used many times, control.js is included just once. But when I update this zone element and many other InPlaceEditor's arrived, this request comes with many requests for including control.js. The JSON response when I update the zone is something like this: {scripts:[/assets/scriptaculous/5.0.14-SNAPSHOT/controls.js,/assets/scriptaculous/5.0.14-SNAPSHOT/controls.js,/assets/scriptaculous/5.0.14-SNAPSHOT/controls.js,/assets/scriptaculous/5.0.14-SNAPSHOT/controls.js], I'm doing something wrong? Or T5 doesn't check that a library is included more than once in ajax requests?? Regards. -- http://thegodcode.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/T5---Javascript-libraries-on-ajax-requests-tp18395682p18407546.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: possible to get the 'real' object instead of a proxy?
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 getSession? Howard Lewis Ship wrote: 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 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/SessionImplementor interfaces and the way they're used isn't bad design - it's exactly what interfaces are for. :) -Filip Britske skrev: 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 dao/repository layer a bit I want to rely on hibernate's DetachedCriteria for a lot of queries. THis basically enables you to build hibernate criteria's without having a session handy. (very useful in the light of MVC, etc. ) However, when actually executing these detachedcriteria through detachedcrit.getExecutableCriteria(Session session) a 'real' session has to be supplied since the method makes uses the underlying implementation instead of just the session-interface. (bad design, I know) Anyone? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/T5%3A-possible-to-get-the-%27real%27-object-instead-of-a-proxy--tp18400135p18409476.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: possible to get the 'real' object instead of a proxy?
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 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 getSession? Howard Lewis Ship wrote: 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 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/SessionImplementor interfaces and the way they're used isn't bad design - it's exactly what interfaces are for. :) -Filip Britske skrev: 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 dao/repository layer a bit I want to rely on hibernate's DetachedCriteria for a lot of queries. THis basically enables you to build hibernate criteria's without having a session handy. (very useful in the light of MVC, etc. ) However, when actually executing these detachedcriteria through detachedcrit.getExecutableCriteria(Session session) a 'real' session has to be supplied since the method makes uses the underlying implementation instead of just the session-interface. (bad design, I know) Anyone? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/T5%3A-possible-to-get-the-%27real%27-object-instead-of-a-proxy--tp18400135p18409476.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: possible to get the 'real' object instead of a proxy?
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 should have been the type of the param. Filip S. Adamsen-2 wrote: 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/SessionImplementor interfaces and the way they're used isn't bad design - it's exactly what interfaces are for. :) -Filip Britske skrev: 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 dao/repository layer a bit I want to rely on hibernate's DetachedCriteria for a lot of queries. THis basically enables you to build hibernate criteria's without having a session handy. (very useful in the light of MVC, etc. ) However, when actually executing these detachedcriteria through detachedcrit.getExecutableCriteria(Session session) a 'real' session has to be supplied since the method makes uses the underlying implementation instead of just the session-interface. (bad design, I know) Anyone? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/T5%3A-possible-to-get-the-%27real%27-object-instead-of-a-proxy--tp18400135p18409536.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Routing and REST
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 code in general. So it's a matter of our code checking what team it's currently handling and rendering based on that. For us most of the functionality is the same except what labels we print up, or what team we associate new records, etc etc. So not too bad. The filter to change the Servlet Context Path isn't too big, if someone is thinking of changing the app's context path as we are.. any other questions? Harald Geritzer wrote: 1) We map the webapp to the root (/) context. 2) We use a normal Webapp Filter to pull out the first directory path from the url and make that the new context (request.getContextPath().. etc etc ), and capture that to determine which sports team we're going to be serving up. hi fernando, this sounds very interesting as i have similar needs. in the background, do you have one tapestry app at all or one for each sports team? would you share some more information on how you are doing it? thanks harald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: contrib:TableView nested inside @For component causing Pagination problem
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 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 source with e.g. 30 results. Setting the PageSize for each table to 10 this will produce a pagination for each table. When clicking in any table on the pagination links i recieve the result that each table paginates. This could be a construction problem but the components are mostly plain constructed. Anyone know this problem or has a solution to suggest how i can paginate on any table without effecting the other tables. Regards, Johnny -- View this message in context: http://www.nabble.com/contrib%3ATableView-nested-inside-%40For-component-causing-Pagination-problem-tp18398814p18398814.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr Tapestry / Tacos developer Open Source / JEE Consulting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: specify background color of dialogUnderlay div
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 possible to specify the background color of the dialogUnderlay div somewhere? Kind regards, Nils -- Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr Tapestry / Tacos developer Open Source / JEE Consulting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: possible to get the 'real' object instead of a proxy?
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 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 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 getSession? Howard Lewis Ship wrote: 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 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/SessionImplementor interfaces and the way they're used isn't bad design - it's exactly what interfaces are for. :) -Filip Britske skrev: 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 dao/repository layer a bit I want to rely on hibernate's DetachedCriteria for a lot of queries. THis basically enables you to build hibernate criteria's without having a session handy. (very useful in the light of MVC, etc. ) However, when actually executing these detachedcriteria through detachedcrit.getExecutableCriteria(Session session) a 'real' session has to be supplied since the method makes uses the underlying implementation instead of just the session-interface. (bad design, I know) Anyone? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/T5%3A-possible-to-get-the-%27real%27-object-instead-of-a-proxy--tp18400135p18409476.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/T5%3A-possible-to-get-the-%27real%27-object-instead-of-a-proxy--tp18400135p18413975.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[T5]
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 of layout component xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; ... it doesnt like the t:layout -- Element must be declared ( intellij IDEA 7.0.3 ) using 5.0.13. Thanks ..kace # org.apache.tapestry5.ioc.internal.util.TapestryException Unable to resolve 'layout' to a component class name. Available component types: ActionLink, AddRowLink, AjaxFormLoop, Any, BeanDisplay, BeanEditForm, BeanEditor, Checkbox, DateField, Delegate, Errors, EventLink, ExceptionDisplay, Form, FormFragment, FormInjector, Grid, GridCell, GridColumns, GridPager, GridRows, If, Label, Loop, Output, OutputRaw, PageLink, Palette, PasswordField, PropertyDisplay, PropertyEditor, Radio, RadioGroup, RemoveRowLink, RenderObject, Select, Submit, SubmitNotifier, TextArea, TextField, TextOutput, Unless, Zone. location context:Index.tml, line 1, column 125 1 t:layout t:title=literal:My first use of layout component xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; 2 3 4 p This is the start page for this application, a good place to start your modifications. 5 Just to prove this is liv4e: /p 6 # java.lang.IllegalArgumentException Unable to resolve 'layout' to a component class name. Available component types: ActionLink, AddRowLink, AjaxFormLoop, Any, BeanDisplay, BeanEditForm, BeanEditor, Checkbox, DateField, Delegate, Errors, EventLink, ExceptionDisplay, Form, FormFragment, FormInjector, Grid, GridCell, GridColumns, GridPager, GridRows, If, Label, Loop, Output, OutputRaw, PageLink, Palette, PasswordField, PropertyDisplay, PropertyEditor, Radio, RadioGroup, RemoveRowLink, RenderObject, Select, Submit, SubmitNotifier, TextArea, TextField, TextOutput, Unless, Zone. -- View this message in context: http://www.nabble.com/-T5--tp18415269p18415269.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5]
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 update Project Settings - Compiler; there's a resource patterns list there. It really needs an option that says everything in this folder. On Fri, Jul 11, 2008 at 7:05 PM, kace [EMAIL PROTECTED] wrote: 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 of layout component xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; ... it doesnt like the t:layout -- Element must be declared ( intellij IDEA 7.0.3 ) using 5.0.13. Thanks ..kace # org.apache.tapestry5.ioc.internal.util.TapestryException Unable to resolve 'layout' to a component class name. Available component types: ActionLink, AddRowLink, AjaxFormLoop, Any, BeanDisplay, BeanEditForm, BeanEditor, Checkbox, DateField, Delegate, Errors, EventLink, ExceptionDisplay, Form, FormFragment, FormInjector, Grid, GridCell, GridColumns, GridPager, GridRows, If, Label, Loop, Output, OutputRaw, PageLink, Palette, PasswordField, PropertyDisplay, PropertyEditor, Radio, RadioGroup, RemoveRowLink, RenderObject, Select, Submit, SubmitNotifier, TextArea, TextField, TextOutput, Unless, Zone. location context:Index.tml, line 1, column 125 1 t:layout t:title=literal:My first use of layout component xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; 2 3 4 p This is the start page for this application, a good place to start your modifications. 5 Just to prove this is liv4e: /p 6 # java.lang.IllegalArgumentException Unable to resolve 'layout' to a component class name. Available component types: ActionLink, AddRowLink, AjaxFormLoop, Any, BeanDisplay, BeanEditForm, BeanEditor, Checkbox, DateField, Delegate, Errors, EventLink, ExceptionDisplay, Form, FormFragment, FormInjector, Grid, GridCell, GridColumns, GridPager, GridRows, If, Label, Loop, Output, OutputRaw, PageLink, Palette, PasswordField, PropertyDisplay, PropertyEditor, Radio, RadioGroup, RemoveRowLink, RenderObject, Select, Submit, SubmitNotifier, TextArea, TextField, TextOutput, Unless, Zone. -- View this message in context: http://www.nabble.com/-T5--tp18415269p18415269.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5]
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 very picky about which files it copies into the out folder (which, along with compiled .class files, is the runtime classpath). You need to update Project Settings - Compiler; there's a resource patterns list there. It really needs an option that says everything in this folder. On Fri, Jul 11, 2008 at 7:05 PM, kace [EMAIL PROTECTED] wrote: 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 of layout component xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; ... it doesnt like the t:layout -- Element must be declared ( intellij IDEA 7.0.3 ) using 5.0.13. Thanks ..kace # org.apache.tapestry5.ioc.internal.util.TapestryException Unable to resolve 'layout' to a component class name. Available component types: ActionLink, AddRowLink, AjaxFormLoop, Any, BeanDisplay, BeanEditForm, BeanEditor, Checkbox, DateField, Delegate, Errors, EventLink, ExceptionDisplay, Form, FormFragment, FormInjector, Grid, GridCell, GridColumns, GridPager, GridRows, If, Label, Loop, Output, OutputRaw, PageLink, Palette, PasswordField, PropertyDisplay, PropertyEditor, Radio, RadioGroup, RemoveRowLink, RenderObject, Select, Submit, SubmitNotifier, TextArea, TextField, TextOutput, Unless, Zone. location context:Index.tml, line 1, column 125 1 t:layout t:title=literal:My first use of layout component xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; 2 3 4 p This is the start page for this application, a good place to start your modifications. 5 Just to prove this is liv4e: /p 6 # java.lang.IllegalArgumentException Unable to resolve 'layout' to a component class name. Available component types: ActionLink, AddRowLink, AjaxFormLoop, Any, BeanDisplay, BeanEditForm, BeanEditor, Checkbox, DateField, Delegate, Errors, EventLink, ExceptionDisplay, Form, FormFragment, FormInjector, Grid, GridCell, GridColumns, GridPager, GridRows, If, Label, Loop, Output, OutputRaw, PageLink, Palette, PasswordField, PropertyDisplay, PropertyEditor, Radio, RadioGroup, RemoveRowLink, RenderObject, Select, Submit, SubmitNotifier, TextArea, TextField, TextOutput, Unless, Zone. -- View this message in context: http://www.nabble.com/-T5--tp18415269p18415269.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr Tapestry / Tacos developer Open Source / JEE Consulting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]