T5 Page Doctype Causing Application to Hang

2011-03-11 Thread Kartweel
Hi, I have a mobile web application using the doctype ;. On the first page request the application hangs for several hours before it will send a response. It used to only take several sec

Re: tapestry-upload and zones?

2011-03-11 Thread Kalle Korhonen
I second Juan on the Valums uploader - it's the best I've seen. And great news Christian, I should keep a closer eye on tapestry-jquery (been using a fairly old frozen version of it), thanks! Kalle On Fri, Mar 11, 2011 at 4:16 PM, Christian Riedel wrote: > I contributed an integration with this

Re: tapestry-upload and zones?

2011-03-11 Thread Christian Riedel
I contributed an integration with this file-uploader for Tapestry5-JQuery lately (if you consider using jQuery instead:) https://github.com/got5/tapestry5-jquery https://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/components/AjaxUpload.java Am 12.03.201

Re: tapestry-upload and zones?

2011-03-11 Thread Juan E. Maya
Hi Rich, u might try this Project. https://github.com/valums/file-uploader Demo: http://valums.com/files/2010/file-uploader/demo.htm I have used it successfully in a few Tap5 projects and was not that hard to integrated. Sadly i haven't had the time to release it as a standalone tap module. It eve

Re: tapestry-upload and zones?

2011-03-11 Thread Rich M
Looking through it seems like some browsers (Firefox 3 at the least) have started working file uploads into their APIs so they can be used in AJAX, but I don't believe the cross-browser coverage for that is good enough yet. I was reading into the IFrame solution when I happened upon a comment

Re: Prevent overriding services implementation

2011-03-11 Thread Howard Lewis Ship
I can see some of this, but I think it's still a process problem, not something that can be fixed by changing the container. BTW preventDecoration() (which also prevents advice) exists to prevent certain types of recursive builds (where a service needed for decorating/advising services ends up dec

Re: tapestry-upload and zones?

2011-03-11 Thread Rich M
Oh... I did not realize that. Great reference, I'll see what I can figure out, thanks! On 03/11/2011 03:17 PM, Thiago H. de Paula Figueiredo wrote: File uploading doesn't work with AJAX without faking it using iframes or using Flash. It doesn't matter if you're using Tapestry or not, this is a

Re: tapestry-upload and zones?

2011-03-11 Thread Thiago H. de Paula Figueiredo
File uploading doesn't work with AJAX without faking it using iframes or using Flash. It doesn't matter if you're using Tapestry or not, this is a limitation of AJAX itself. See this: http://stackoverflow.com/questions/543926/is-it-possible-to-use-ajax-to-do-file-upload. On Fri, 11 Mar 201

tapestry-upload and zones?

2011-03-11 Thread Rich M
Hi, I've been working on Image file upload and display. With the help of a previous thread, I was able to get a fully working test component that could have a client upload a file from a form, and then have the file saved on the server and rendered back to the client in the browser. I've mov

Re: remove HTML comments from output

2011-03-11 Thread Howard Lewis Ship
On Fri, Mar 11, 2011 at 3:15 AM, stephanos2k wrote: > Thanks to you two - I think the TemplateParser option does everything I need > now. I'm quite amazed how simply Tapestry can be customized. Thanks. That's an important message, but a hard one to get out. > > -- > View this message in context:

Re: JasperReports integration

2011-03-11 Thread Rich M
How are you running your webapp. Maven and mvn jetty:run, deployed into some servlet, something else? The answer most likely depends on your answer here. If using Maven, you add the jars as a dependency in the pom.xml like: jasperreports-local jasperreports-local 3.5.0 Otherwise, look up ho

Re: Uploading then displaying Images

2011-03-11 Thread Rich M
Thanks everyone for the responses so far, conceptually I think this is coming together for me. So, I'm glad the context path was not a good idea, it felt dirty from the beginning. Avoiding that, there are two main options: use the database to store/retrieve the images, or use a configured syst

Re: Uploading then displaying Images

2011-03-11 Thread Thiago H. de Paula Figueiredo
On Fri, 11 Mar 2011 09:24:35 -0300, LLTYK wrote: Nobody's mentioned createEventLink. That's where you get the image url, create an event link pointing to the event handler that returns the stream response. I haven't mentioned it because my preferred approach is to create a page just for r

Re: Uploading then displaying Images

2011-03-11 Thread LLTYK
Nobody's mentioned createEventLink. That's where you get the image url, create an event link pointing to the event handler that returns the stream response. -- View this message in context: http://tapestry-users.832.n2.nabble.com/Uploading-then-displaying-Images-tp6159049p6161239.html Sent from t

Re: Updating a Field on event in Tapestry5

2011-03-11 Thread gauravchopra
Thanks for your help Josh!! I have used the OnEvent component of chenillekit and implemented the same. -- View this message in context: http://tapestry-users.832.n2.nabble.com/Updating-a-Field-on-event-in-Tapestry5-tp6157127p6161110.html Sent from the Tapestry Users mailing list archive at Nabb

Re: remove HTML comments from output

2011-03-11 Thread stephanos2k
Thanks to you two - I think the TemplateParser option does everything I need now. I'm quite amazed how simply Tapestry can be customized. -- View this message in context: http://tapestry.1045711.n5.nabble.com/remove-HTML-comments-from-output-tp3415110p3424881.html Sent from the Tapestry - User ma

Re: JasperReports integration

2011-03-11 Thread degressor
Here is the whole exception: [java] 11.03.2011 11:24:36 net.sf.jasperreports.engine.xml.JRBandFactory createObject [java] WARNUNG: The 'isSplitAllowed' attribute is deprecated. Use the 'splitType' attribute instead. [java] net.sf.jasperreports.engine.JRException: Errors were encountered

Re: [OT] encoding of properties files

2011-03-11 Thread Ivano Luberti
Thanks to Hugo and Jim for their answers. Sorry to come back on this after so much time. I was aware of the encoding of files that Java uses for properties files and so my editor (actually the Eclipse default properties file editor) is set properly to ISO-8859-1 . However my deve environment is on

Re: [OT] encoding of properties files

2011-03-11 Thread Ivano Luberti
Thanks to Hugo and Jim for their answers. I was aware of the encoding of files that Java uses for properties files and so my editor (actually the Eclipse default properties file editor) is set properly to ISO-8859-1 . However my deve environment is on a Windows machine and when I test my web site

Re: JasperReports integration

2011-03-11 Thread degressor
Noob question: how can I add the jars to the webapp classpath? -- View this message in context: http://tapestry.1045711.n5.nabble.com/JasperReports-integration-tp3415368p3424778.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: Prevent overriding services implementation

2011-03-11 Thread Nourredine Khadri
Hi Howard, Some precisions. I think the term "security" that i've used can be misleading and maybe inappropriate here. Actually, the purpose is to share an existing common complex business layer (BL) and to expose parts of it depending on the GUIs that uses it (admin, front, segmented by sector/b