RE: [ADV] Upcoming Tapestry Training: London, Paris

2009-12-22 Thread Newham, Cameron
Looking forward to it. SkillsMatter is in a new building too. -Original Message- From: Howard Lewis Ship [mailto:hls...@gmail.com] Sent: 22 December 2009 18:03 To: Tapestry users Subject: [ADV] Upcoming Tapestry Training: London, Paris I'll be doing two trainings with SkillsMatter (htt

RE: Discussion

2009-12-22 Thread Newham, Cameron
I don't agree with the OP that the ServerSide discussion shows Tapestry "has lost the battle" - two posters state they don't want to see Tapestry mentioned. That's all there is. However, I can't agree with you Thiago. The old saying is "if you say it enough times then people will believe it is

Re: Discussion

2009-12-22 Thread Thiago H. de Paula Figueiredo
Em Tue, 22 Dec 2009 19:53:46 -0200, Gerald Bauer escreveu: Robert, You need to be a Tapestry evangelist as well. Remember, Howard wants to make money- he wants to strike it rich. Please co-operate to make his dream come true. Don't be a free loader, man! Gerald, I hope you're being s

Re: Discussion

2009-12-22 Thread Gerald Bauer
Robert, You need to be a Tapestry evangelist as well. Remember, Howard wants to make money- he wants to strike it rich. Please co-operate to make his dream come true. Don't be a free loader, man! On Tue, Dec 22, 2009 at 10:28 PM, Robert Zeigler wrote: > I like to think that's because the Tapes

Re: Discussion

2009-12-22 Thread Robert Zeigler
I like to think that's because the Tapestry users are using Tapestry to be productive, instead of just talking about it making them productive. ;) But we could all certainly step our publicity up a bit. Cheers, Robert On Dec 22, 2009, at 12/221:21 PM , Howard Lewis Ship wrote: Exactly .

Re: JSON in Tapestry

2009-12-22 Thread cleverpig
anywhere has code example for that? On Wed, Dec 23, 2009 at 1:23 AM, Howard Lewis Ship wrote: > ... and all of this is easier in Tapestry 5, by design. > > On Tue, Dec 22, 2009 at 5:06 AM, Andreas Andreou wrote: >> I'm not sure if IJSONRender will work with pages, but i know it works with >> com

Re: Hibernate session should be cleared/flushed between lifecycle methods?

2009-12-22 Thread Taylor Mathewson
Rather than flushing and or clearing the full session, you can evict that particular instance. https://www.hibernate.org/hib_docs/v3/api/org/hibernate/Session.html#evict%28java.lang.Object%29 On Fri, Dec 18, 2009 at 2:40 PM, Everton Agner wrote: > Hi, > > I had a weird situation here and I want

Re: Discussion

2009-12-22 Thread Howard Lewis Ship
Exactly ... I have yet to figure out why the Tapestry community as a whole is somewhat passive whereas other communities (such as Wicket and Rails) are extremely vocal. Out in the larger world, the best impression of Tapestry comes not from its creators, but from its users, and the users do not tal

Re: Discussion

2009-12-22 Thread Vangel V. Ajanovski
On 22.12.2009 17:41, Alfonso Quiroga wrote: > I agree with Thiago, but I've never used Wicket. I've used tapestry5 > and I really like it. Both frameworks are component-based, maybe some > day I'll try wicket. But if tap5 works for me... why do I have to > discuss in server-side? I prefer to share

Re: JSON in Tapestry

2009-12-22 Thread Howard Lewis Ship
... and all of this is easier in Tapestry 5, by design. On Tue, Dec 22, 2009 at 5:06 AM, Andreas Andreou wrote: > I'm not sure if IJSONRender will work with pages, but i know it works with > components. > > The trick is then to generate a url that will rerender that component... > similar > to a

Re: Discussion

2009-12-22 Thread Alfonso Quiroga
I agree with Thiago, but I've never used Wicket. I've used tapestry5 and I really like it. Both frameworks are component-based, maybe some day I'll try wicket. But if tap5 works for me... why do I have to discuss in server-side? I prefer to share my solutions and workarounds in this list, where the

Re: Discussion

2009-12-22 Thread Thiago H. de Paula Figueiredo
Em Tue, 22 Dec 2009 12:45:20 -0200, Banchi Liko escreveu: Hi guys, Hi! There is a discussion going on here http://www.theserverside.com/news/thread.tss?thread_id=58858 and seems like Tapestry ihas already been ruled out as a viable and serious web framework. TheServerSide comments h

Discussion

2009-12-22 Thread Banchi Liko
Hi guys, There is a discussion going on here http://www.theserverside.com/news/thread.tss?thread_id=58858 and seems like Tapestry ihas already been ruled out as a viable and serious web framework. Wicket seems to be the favorite. I'm sad Tapestry has lost the battle and afraid it might die soon. P

Re: Help with using DWR with Tapestry

2009-12-22 Thread Lance Java
No probs. To verify that the TapestryFilter is doing it's job, try to @Inject RequestGlobals into your bean. Cheers, Lance. 2009/12/22 Ashwanth Kumar > Sure, > > Thanks a lot! I'll post my code, once i get it working! > > - Ashwanth Kumar > > On Tue, Dec 22, 2009 at 5:32 PM, Lance Java >wrote

Re: JSON in Tapestry

2009-12-22 Thread Andreas Andreou
I'm not sure if IJSONRender will work with pages, but i know it works with components. The trick is then to generate a url that will rerender that component... similar to a directlink url that defines the updateComponents parameter accordingly On Tue, Dec 22, 2009 at 10:35, EveningSun wrote: > >

Re: [newbie] Intercepting client-side form validation/submission

2009-12-22 Thread Ashwanth Kumar
On Tue, Dec 22, 2009 at 6:14 PM, Kenneth CH, LEE wrote: > Hi there, > Hello, > > Is there any existing facilities to trigger some custom Javascript > code _after_ validating the form? > > I'm now doing it with some Javascript tricks: > === > > ... > > Event.observe(window, "load"

[newbie] Intercepting client-side form validation/submission

2009-12-22 Thread Kenneth CH, LEE
Hi there, Is there any existing facilities to trigger some custom Javascript code _after_ validating the form? I'm now doing it with some Javascript tricks: === ... Event.observe(window, "load", function() { var f = $("myform").onsubmit; $("myform").onsubmit = function(e) {

Re: Help with using DWR with Tapestry

2009-12-22 Thread Ashwanth Kumar
Sure, Thanks a lot! I'll post my code, once i get it working! - Ashwanth Kumar On Tue, Dec 22, 2009 at 5:32 PM, Lance Java wrote: > The tapestry creator will look something like... > > public class TapestryCreator extends AbstractCreator { >private String beanName; > >public String get

Re: Help with using DWR with Tapestry

2009-12-22 Thread Lance Java
The tapestry creator will look something like... public class TapestryCreator extends AbstractCreator { private String beanName; public String getBeanName() { return beanName; } // set by config in dwr.xml (see my prev email) public void setBeanName(String beanName) {

Re: Help with using DWR with Tapestry

2009-12-22 Thread Ashwanth Kumar
Can u provide an example! I dont find any good example on the site! - Ashwanth Kumar On Tue, Dec 22, 2009 at 5:10 PM, Lance Java wrote: > Ah... great. > > The TapestryCreator can access the servlet context using: > org.directwebremoting.WebContextFactory.get().getServletContext(); > > http://di

Re: Help with using DWR with Tapestry

2009-12-22 Thread Lance Java
Ah... great. The TapestryCreator can access the servlet context using: org.directwebremoting.WebContextFactory.get().getServletContext(); http://directwebremoting.org/dwr/server/javaapi.html 2009/12/22 Thiago H. de Paula Figueiredo > Em Tue, 22 Dec 2009 09:27:26 -0200, Lance Java > escreveu:

Re: Help with using DWR with Tapestry

2009-12-22 Thread Thiago H. de Paula Figueiredo
Em Tue, 22 Dec 2009 09:27:26 -0200, Lance Java escreveu: One more thing to note is that DWR supports ajax filters which are basically interceptors on DWR services. You may want to duplicate some of the TapestryFilter's functionality in an AjaxFilter. There's no need to do that. Tapestry

Re: Help with using DWR with Tapestry

2009-12-22 Thread Lance Java
One more thing to note is that DWR supports ajax filters which are basically interceptors on DWR services. You may want to duplicate some of the TapestryFilter's functionality in an AjaxFilter. http://directwebremoting.org/dwr/server/dwrxml/filters.html 2009/12/22 Lance Java > For a bit more inf

Re: Help with using DWR with Tapestry

2009-12-22 Thread Lance Java
For a bit more info your dwr.xml might look like this: Perhaps some of the tapestry gurus can help out a bit more here. For normal DWR usage in tapestry, you disable the tapestry filter for /dwr/*. It seems that you might want a bit of the tapestry filter's fun

Re: Help with using DWR with Tapestry

2009-12-22 Thread Lance Java
You might like to take this discussion onto the dwr user's list. I think it might involve writing a TapestryCreator which is able to look up services from the tapestry registry. Please download the dwr source and have a look at the SpringCreator for inspiration. Cheers, Lance. 2009/12/21 Ashwanth

Re: Help with using DWR with Tapestry

2009-12-22 Thread Ashwanth Kumar
I've a doubt, how will the Tapestry's @SessionState work with DWR ah?? And here by Session i mean Hibernate's Session instance we use in Tapestry for accessing it! - Ashwanth On Tue, Dec 22, 2009 at 1:14 PM, Peter Stavrinides < p.stavrini...@albourne.com> wrote: > What is Session? surely you s

Re: Hibernate session should be cleared/flushed between lifecycle methods?

2009-12-22 Thread Alessandro Bottoni
Il 18/12/2009 20:57, Thiago H. de Paula Figueiredo ha scritto: > Em Fri, 18 Dec 2009 17:40:10 -0200, Everton Agner > escreveu: >> So, In my onSuccess() method, I update my "current" object on Session. >> But, I get a: >> >> "a different object with the same identifier value was already >> associ

Re: JSON in Tapestry

2009-12-22 Thread EveningSun
I'm using Tapestry 4.1.6 by the way. -- View this message in context: http://old.nabble.com/JSON-in-Tapestry-tp26885074p26885256.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

JSON in Tapestry

2009-12-22 Thread EveningSun
Hi, I'm new to tapestry, now I want to create a page which could handle ajax request and return JSON response. But I can't get it work. Here is what I did: First I have a page which extends BasePage and implement IJSONRender: public abstract class JsonPage extends BasePage implements IJSONRender