Re: T5: Tapestry 5.07 released?

2007-12-26 Thread yuan gogo
Thank you Howard. One more question : 5.0.[what] will be the final T5 release? 2007/12/27, Howard Lewis Ship <[EMAIL PROTECTED]>: > > I've been away, skiing. I'll be putting the 5.0.7 release up tomorrow. > > On Dec 26, 2007 3:22 PM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > > > already

Re: T5: Tapestry 5.07 released?

2007-12-26 Thread Joshua Jackson
Cool Howard. Thanks for your effort :) Thanks in advance On 12/27/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > I've been away, skiing. I'll be putting the 5.0.7 release up tomorrow. > > On Dec 26, 2007 3:22 PM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > > > already more than 3 days, time t

Re: T5: Tapestry 5.07 released?

2007-12-26 Thread Howard Lewis Ship
I've been away, skiing. I'll be putting the 5.0.7 release up tomorrow. On Dec 26, 2007 3:22 PM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > already more than 3 days, time to released? > > > Davor Hrg wrote: > > > > 5.0.7 release is currently under vote > > > > > > > > -- > View this message in cont

T5 - ActionLink - What's the equivalent to T4 EventListener with SubmitForm?

2007-12-26 Thread Daniel Leffel
Hi All, What's the best way to submit the form before firing the method corresponding to the ActionLink? In T4, this used to be accomplished with the EventListener and setting the submitForm=[form name] annotation. Thanks in advance! Danny

Session Creation...

2007-12-26 Thread Steven Woolley
I am having an issue where a new session is being created by a plugin within a page that already has a session. I need to use just one session for both the page and the plugin. I've tried appending the jsessionid to all the requests made by the plugin, but a new session is still created (

Re: [T5] default DateFormat for DateFields

2007-12-26 Thread Sven Homburg
have a look at http://wiki.apache.org/tapestry/Tapestry5LocalizedDateField Marcelo lotif wrote: > > I found this question interesting too... > > anyone has any solution to this? > > 2007/12/22, Moritz Gmelin <[EMAIL PROTECTED]>: >> >> Hi, >> >> Is there a way to set the default DateFormat f

Re: T5: Tapestry 5.07 released?

2007-12-26 Thread Angelo Chen
already more than 3 days, time to released? Davor Hrg wrote: > > 5.0.7 release is currently under vote > > > -- View this message in context: http://www.nabble.com/T5%3A-Tapestry-5.07-released--tp14492234p14507640.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: [T5] : tapestry + spring

2007-12-26 Thread Michael Lake
an advantage to NOT having tapestry built on spring is that we can drop in our legacy spring contexts where we don't want to upgrade from 1.x I really think tapestry-ioc was designed in such a way to allow maximum refactorability and ease of testing from the developer's standpoint. In

Re: T5: Tapestry 5.07 released?

2007-12-26 Thread Davor Hrg
5.0.7 release is currently under vote On Dec 25, 2007 1:16 AM, Michael Lake <[EMAIL PROTECTED]> wrote: > > I believe 5.0.7-SNAPSHOT is available the tapestry maven repository. > > if you're using maven, all you need to do is add the repository and to > your .m2/settings.xml > or the pom of the pro

Re: [T5] : tapestry + spring

2007-12-26 Thread Fernando Padilla
I apologize. I didn't mean to infer that it doesn't integrate nicely, nor that it's not good. So don't take offense, I was just doing some uneducated guesstimates on tapestry adoption. The IoC is actually quite good once you get used to it (except for the Aliases mechanism which I haven't lo

Re: T5: 404 http error

2007-12-26 Thread Sven Homburg
i think its not your or a tapestry problem. jetty gives tapestry a closed http connection if you set a response error i dont know, if this a special jetty behavior. i think it should cool, if howard consider this behavior in StreamResponseResultProcessor.processComponentEvent osamuo wrote: >

Re: T5: 404 http error

2007-12-26 Thread Sven Homburg
not possible since 5.0.7 signature of ComponentEventResultProcessor was changed Yoshikazu Kuramochi wrote: > > I am doing as follows. > > > public class ErrorResponse { > > private int _statusCode; > private String _message; > > public Err

Re: T5: 404 http error

2007-12-26 Thread Yoshikazu Kuramochi
I am doing as follows. public class ErrorResponse { private int _statusCode; private String _message; public ErrorResponse(int statusCode, String message) { super(); _statusCode = statusCode; _message = message; }

Re: T5 & Ajax - Which Ajax/Javascript framework will be next?

2007-12-26 Thread Daniel Jue
> I thought that Dojo was *the* standard framework of choice of Tapestry 4. Am > I missing something here? Fixed. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [T5] : tapestry + spring

2007-12-26 Thread Thiago H de Paula Figueiredo
On Wed, 26 Dec 2007 13:07:49 -0200, Fernando Padilla <[EMAIL PROTECTED]> wrote: But my guess is that using a different IoC system is really hurting adoption of tapestry. If tapestry could really integrate well with spring, then it could be more easily understood/picked up/recommended by

Re: AjaxStatus not working when not using @Shell?

2007-12-26 Thread Andreas Andreou
It should work, but I can try and look it up a bit... what Tapestry version? On Dec 26, 2007 5:22 PM, Kaspar Fischer <[EMAIL PROTECTED]> wrote: > Dear list, > > I am trying to display a "please wait" text during an asynchronous AJAX > request and went for > > style="display:none;color:white;ba

Re: T5: 404 http error

2007-12-26 Thread osamuo
Thank you for your advice. But I still get an exception. Sven Homburg wrote: > > i have never tested it, its only an idea: > > Test.java: > > public class Test{ > @Inject > private Response response; > > StreamResponse onActivate( Object[] parameter

AjaxStatus not working when not using @Shell?

2007-12-26 Thread Kaspar Fischer
Dear list, I am trying to display a "please wait" text during an asynchronous AJAX request and went for style="display:none;color:white;background:red"> Loading... which I cannot get to work. From AjaxStatus.script I see that a dojo.require("tapestry.fx"); should get output into m

Re: [T5] : tapestry + spring

2007-12-26 Thread Fernando Padilla
I think we all agree that tapestry is generally amazing. And these threads are really just nit-picks :) So I'll go ahead and say that I kinda side with trying to use spring instead of reinventing the wheel. Though it's more important to get Tapestry to work, and part of that is to make sure

Re: why special position for pages, components and ...?

2007-12-26 Thread Chris Lewis
but you can see some mechanism in JPA (Java Persistence API). here you just Annotate a class with @Entity for using it as a Entity in application. I'm no JPA expert, but I use hibernate as my JPA/ORM implementation and I /still/ have to tell hibernate which classes are entities through a co

Re: why special position for pages, components and ...?

2007-12-26 Thread Mohammad Shamsi
but you can see some mechanism in JPA (Java Persistence API). here you just Annotate a class with @Entity for using it as a Entity in application. i think number of entities in a application is not much less then number of pages.but i have no performance problem in my apps using JPA. On Dec

Re: Displaying form data in Tapestry 5

2007-12-26 Thread Marcelo Lotif
If your form has one object that will be populated with it, you can inject the page(that may have the same object as the form) and then set the object to the form's object. Then, you can return the page you injected to show the object to the user... this is how i do without spring... 2007/12/26,

Re: why special position for pages, components and ...?

2007-12-26 Thread Chris Lewis
Aside from the reason I just mentioned, T5 has to know where to look to find pages (meaning a java package). With your suggested annotation only half the work is done. If I'm not mistaken there is no clean way to aggregate all loaded classed in the JVM. If there was, then T5 would have to scan

Re: [T5] : tapestry + spring

2007-12-26 Thread Chris Lewis
Personally I attribute many of the T5 issues you mentioned to that fact that it is largely a one man show. For the most part I agree with the issues you are raising, I simply draw different conclusions. It comes down to deciding which issue is heavier, and this of course is in the hands of deve

Re: [T5] default DateFormat for DateFields

2007-12-26 Thread Marcelo Lotif
I found this question interesting too... anyone has any solution to this? 2007/12/22, Moritz Gmelin <[EMAIL PROTECTED]>: > > Hi, > > Is there a way to set the default DateFormat for all DateField > elements of a BeanForm? > I know that I could specify the format in a block for > the form. But th

Re: [T5] : tapestry + spring

2007-12-26 Thread Mohammad Shamsi
I Agree with you on this but i have my own problems too. I have about 6 years experience on working with Java Web Frameworks. such as Struts, JSF , WebWorks... I found that Tapestry (especially T5) is Much Better than others, but its development process is so slow and unpredictable. I think tha

Re: why special position for pages, components and ...?

2007-12-26 Thread Mohammad Shamsi
i just know that Tapestry use this location for looking up pages. how about a simple Annotation for page classes instead of ? just with using a simple Annotation (for exmaple @Page) for a Page Class we code place classes every where that we like. On Dec 26, 2007 3:16 PM, Chris Lewis <[EMAIL PROTE

Re: why special position for pages, components and ...?

2007-12-26 Thread Chris Lewis
Because it removes the necessity to think about something that generally doesn't deserve thought. If you want them elsewhere, make a contribution in your app module. chris Mohammad Shamsi wrote: Hi, i want to know that why i should place my pages and components in special folder ? any idea

Re: [T5] : tapestry + spring

2007-12-26 Thread Chris Lewis
I couldn't disagree with you more. For people like you who are familiar with spring, you may think the ioc part of T5 is a waste of time. That makes sense if you use and are happy with spring. For people like me it's a completely different story. I have been working with java for years - on the

Re: T5: 404 http error

2007-12-26 Thread Sven Homburg
i have never tested it, its only an idea: Test.java: public class Test{ @Inject private Response response; StreamResponse onActivate( Object[] parameters ) throws IOException{ TextStreamResponse textStream = null; if( parameters == null ||

why special position for pages, components and ...?

2007-12-26 Thread Mohammad Shamsi
Hi, i want to know that why i should place my pages and components in special folder ? any idea ? -- sincerely yours M. H. Shamsi

Re: T5: A web flow idea on T5

2007-12-26 Thread Martino Piccinato
This is exactly what I'm trying to do for T4, it should be quite inobstrusive so that conversational persistence could be added without much effort and be easily used with your pattern if needed. Be careful that the problem might not just be having 2 flows at a time for the same session but also ma

Re: [T5] : tapestry + spring

2007-12-26 Thread Mohammad Shamsi
Dear Friends, With this abilities that all we know about Frameworks like Spring, is there any need to Tapestry Focus on providing Hibernate Integration Tools or Tapestry IOC ? i read Howards Documents about need for new Ioc for Tapestry, but i still think that using Spring Ioc and Spring XML fil

Re: [T5] : tapestry + spring

2007-12-26 Thread Arve Klev
T5 + Spring is in my opinion a very good choose. I let Spring integrate ORM (Hibernate, JDBC, TopLink, etc). sincerely, Arve Klev 2007/12/24, Mohammad Shamsi <[EMAIL PROTECTED]>: > > Hi All, > > i want to start new Java EE projecct, Formerly we used Spring + Struts in > our projects. > after abo

Re: [T5] : tapestry + spring

2007-12-26 Thread Mohammad Shamsi
Hi Yuan, what version of Spring ? my you give me some info about your projects scale ? and do you have any problem with integrating spring and tapestry ? On Dec 26, 2007 12:50 PM, yuan gogo <[EMAIL PROTECTED]> wrote: > I personally think T5 + spring + ibatis is very good. > I'm using this com

RE: Displaying form data in Tapestry 5

2007-12-26 Thread Yeeswara Nadapana (HCL Financial Services)
Thanks Joshua, I am new to tapestry.. I have built a sample application with some form elements. I want to see that data in a fresh page when I submit the form. Please guide me a simple way to do that... -Original Message- From: Joshua Jackson [mailto:[EMAIL PROTECTED] Sent: Wednesday, D

Re: Displaying form data in Tapestry 5

2007-12-26 Thread Joshua Jackson
I think T5 has got the best Spring integration there is. I mean, the integration between T5 and Spring is seamless. You can inject Spring bean into T5 just you would inject a T5 bean/components. The configuration is also very small in web.xml I think T5 with Spring is the best deal out there. On 1

Displaying form data in Tapestry 5

2007-12-26 Thread Yeeswara Nadapana (HCL Financial Services)
Hi, I am using Tapestry 5. When I submit a form, how do I display the form's data on a freshly injected page? Please help Thanks, Yeeswar. DISCLAIMER: --- The contents of th

Re: [T5] : tapestry + spring

2007-12-26 Thread yuan gogo
I personally think T5 + spring + ibatis is very good. I'm using this combination on our company's projects now! 2007/12/24, Mohammad Shamsi <[EMAIL PROTECTED]>: > > Hi All, > > i want to start new Java EE projecct, Formerly we used Spring + Struts in > our projects. > after about 4 month testin

Re: T5: Palette does not retrieved the latest object from DB

2007-12-26 Thread Joshua Jackson
Thanks Sven, This approach works best. I also like the code better than the first approach. Cheers On 12/21/07, Sven Homburg <[EMAIL PROTECTED]> wrote: > here an other approche: > >@Persist("flash") >private DatasourceSelectModel _datasourceSelectModel; > >@SetupRender >public vo