Re: Java based spring configuration

2011-04-04 Thread Thiago H. de Paula Figueiredo
On Fri, 01 Apr 2011 19:35:52 -0300, Magnus Kvalheim mag...@kvalheim.dk wrote: Why is it that the tapestry module is only for web - can't it be re-factored/reconfigured so that it can be more closely integrated with spring applications... Tapestry-IoC is not only for web: it's absolutely

Re: XHR request to return a test/xml payload

2011-04-04 Thread Thiago H. de Paula Figueiredo
On Sat, 02 Apr 2011 01:53:47 -0300, coriolisguy escanz...@yahoo.com wrote: Hi All, Hi! I have an ajax request that needs to return a text/xml payload. Return a StreamResponse (TextStreamResponse will probably be useful to you. I need to dynamically make the URL string in the browser to

Re: Java based spring configuration

2011-04-04 Thread Taha Hafeez
Hi We are also in the final stage of migrating a wicket-spring-hibernate application into tapestry-tapestryioc-hibernate application. We are very happy with the new it. With Transactional, we had to create a simple module of our own... regards Taha On Mon, Apr 4, 2011 at 6:24 PM, Thiago H. de

Re: XHR request to return a test/xml payload

2011-04-04 Thread David Uttley
Hi, I do the following in the page code so that I don't have to manipulate urls, you never know if the format could change; @Inject private ComponentResources resources; public String getUrl() { return resources.createEventLink(someEvent, 'some

Re: XHR request to return a test/xml payload

2011-04-04 Thread Richard Hill
If you want to make ajax requests from your own javascript, you can do the following: In MyPage.java put the following method (handler): public StreamResponse onMyMethod() { // Construct your xml string String xml = return new TextStreamResponse(text/xml, xml); } Then in your

Re: [ANNOUNCEMENT] tapestry-routing 0.0.1 released!

2011-04-04 Thread Alejandro Scandroli
Hi Howard, Thiago How well does it handle a change to the @At annotation once the application is loaded?  Or the addition of new pages with @At annotations? This first version doesn't handle either. But these features are next in line. http://jira.codehaus.org/browse/TYNAMO-88 My first idea

New user and IDE issues

2011-04-04 Thread Grioni Stefano
Hello, I have just started using Tapestry (and I already love the spirit!). I however have some troubles finding an IDE that suits me.. At the moment I have tried 2 : IntelliJ and Eclipse. IntelliJ's integration of Tapestry doesn't seems to work at all (I opened a thread on Jetbrain's forum

Re: [ANNOUNCEMENT] tapestry-routing 0.0.1 released!

2011-04-04 Thread Howard Lewis Ship
On Mon, Apr 4, 2011 at 10:17 AM, Alejandro Scandroli alejandroscandr...@gmail.com wrote: Hi Howard, Thiago How well does it handle a change to the @At annotation once the application is loaded?  Or the addition of new pages with @At annotations? This first version doesn't handle either. But

Re: New user and IDE issues

2011-04-04 Thread Josh Canfield
I'm using IntelliJ 10 with Tapestry, and while the integration has some gaps, it mostly works fine for template completion (for some reason it want's the loop components value attribute to be a Loop object) and flipping between java/tml. Make sure that in your Tapestry facet for your module that

Re: New user and IDE issues

2011-04-04 Thread Mark
I believe IntelliJ's code completion only works with the full paid version. It does work, but I think you have to tell it where your app module is located. I had a similar problem with Eclipse the first time I tried to set it up. After going back through it again and following the instructions

Re: New user and IDE issues

2011-04-04 Thread Mark
Oh and if you are using Eclipse, make sure you install loom (http://code.google.com/p/loom-t5/). It lets you switch quickly between .tml and .java files and is a huge time saver. Mark - To unsubscribe, e-mail:

Re: New user and IDE issues

2011-04-04 Thread Guerin Laurent
Wich version of Eclipse did you use ? The configuration work for me with Ganymede and Helios versions. The first time, after saving configuration of the TLD, you must close the current TML file and reopen to made Eclipse recognize the association. Be aware to use the good Xsd reference in your

Re: New user and IDE issues

2011-04-04 Thread Thiago H. de Paula Figueiredo
On Mon, 04 Apr 2011 14:38:07 -0300, Grioni Stefano stefano.gri...@epfl.ch wrote: Hello, Hi! I have just started using Tapestry (and I already love the spirit!). Welcome to Tapestry and to the mailing list! Is there any other IDE which provides a better Tapestry integration? Or is

Re: New user and IDE issues

2011-04-04 Thread Adam Zimowski
I just configure Eclipse to edit .tml files as well-formed XML files and I'm very happy. :) Me too ! :-) On Mon, Apr 4, 2011 at 1:27 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Mon, 04 Apr 2011 14:38:07 -0300, Grioni Stefano stefano.gri...@epfl.ch wrote: Hello, Hi!

GAE Tapestry5 FORM

2011-04-04 Thread Fernando Benjamin
Hi all, I need some help on using tapestry's form component on GAE. I am uploading a file a beaneditor with a tapestry form component. The problem is that when the file gets uploaded to GAE, I get an exception. This exception occurs because, tapestry wants to create the file for me. Is there

Re: GAE Tapestry5 FORM

2011-04-04 Thread Alex Kotchnev
Fernando, There's nothing specific about the generic tapestry form. If you look at the stacktrace, the problem comes from Commons Fileupload trying to use a temp file to store the file upload. There is a version of Commons Fileupload that is GAE friendly, google it and you'll be able to get it

Re: New user and IDE issues

2011-04-04 Thread ael
Im Using Netbeans 6.9.1 on Tapestry with the help of built in maven. If you search this forum you can find how to create Tapestry 5 using Netbeans 6.9.1. It is very easy :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/New-user-and-IDE-issues-tp4282327p4282941.html Sent

Re: Tapestry Perf4J

2011-04-04 Thread Josh Canfield
Interesting. I actually built something backed by javasimon (http://javasimon.webnode.com/), although instead of providing a UI component I went the JMX integration route. My intention has been to eventually present the project for integration into the tapestry repository. I posted the code here

Using @Environmental and JavaScriptSupport Object to dynamically load css based on browser

2011-04-04 Thread bogdan_cm
Hi, There is one post regarding this here: http://tapestry.1045711.n5.nabble.com/Using-conditional-comments-with-Import-stylesheet-quot-quot-td3827508.html#a3887176 http://tapestry.1045711.n5.nabble.com/Using-conditional-comments-with-Import-stylesheet-quot-quot-td3827508.html#a3887176 but I

[tapestry-security] Redirecting to original page after login

2011-04-04 Thread wkm
Hi, I've been very much enjoying using tapestry-security. I can't seem to figure out how to redirect to the original page, after log-in, however. I've played around with various settings for SecuritySymbols.ON_SUCCESS, but that configures the landing page and seems to be independent of the

Re: Using @Environmental and JavaScriptSupport Object to dynamically load css based on browser

2011-04-04 Thread Taha Hafeez
Hi Bogdan, in your class you have import javascriptSupport and request object public class MyPage { @Environmental private JavaScriptSupport javaScriptSupport; @Import private Request request; void afterRender(){ String userAgent = request.getHeader(User-Agent);

My Multi-file upload problem

2011-04-04 Thread Amr Mohamed Mahmoud Hassanien
Hello there, I am new tapestry, and everytime I read about tapestry I find introduction says that tapestry boost productivity with its unique class loader which means once you replace the class file you get it running. Unfortunately this is not what I am doing :( ... every single