Re: let tapestry handle hibernate or use spring ?

2011-06-08 Thread onj888-tapestry
於 2011/6/8 22:35, Thiago H. de Paula Figueiredo 提到:
> On Wed, 08 Jun 2011 11:31:56 -0300,  wrote:
>
>> Hi, what is the pros and cons of using tapestry to handle hibernate
>> instead of spring ?
>> I did a little bit research on google, but only most of them are howto
>> or integration tutorials.
>> would anyone please give me a link if it has been discussed somewhere?
>
> I'd say that if you have very simple transaction management needs (aka
> "I need this method to run inside a transaction" and nothing beyoned
> that) tapestry-hibernate can be used. Spring transaction management
> has way more features, but some projects just don't need them.
>
Thanks Thiago, is there anything which is unique in tapestry-hibernate?
I means, something I have to give up if I go for spring?


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: RE : Eclipse IDE and TML code completion

2011-06-08 Thread onj888-tapestry
Hi

Finally, get it working according to
http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse .  I don't
know why, but

http://tapestrytools.googlecode.com/svn/trunk/TapestryTools_UpdateSite/ just 
doesn't work for me. :(

Thanks
John


於 2011/6/9 0:10, onj888-tapes...@yahoo.com.hk 提到:
> thanks Mark and Laurent,
>
> So, I used my previous download helios
> eclipse-reporting-helios-SR1-win32.zip to make another trial, I use the
> updatesite
> http://tapestrytools.googlecode.com/svn/trunk/TapestryTools_UpdateSite/
> to install the tools, change the content type to add *.tml in jsp. I
> openned the quick-start index.tml with jsp editor, type  ok, but 
> Thanks
> John.
>
>
> 於 2011/6/8 22:00, Guerin Laurent 提到:
>> Mark is right, you have to use the JSP editor.
>> So, i have tested with Eclipse Helios  and it work for me.
>>
>> Laurent.
>>
>> -Message d'origine-
>> De : Mark [mailto:mark-li...@xeric.net] 
>> Envoyé : mercredi 8 juin 2011 15:49
>> À : Tapestry users; onj888-tapes...@yahoo.com.hk
>> Objet : Re: RE : Eclipse IDE and TML code completion
>>
>> On Tue, Jun 7, 2011 at 12:04 AM,   wrote:
>>> it doesn't response when I type > Make sure you are using the right editor. I can't remember if it is the xml 
>> editor or the jsp editor that you want, but the other editors won't work.
>>
>> Mark
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: RE : Eclipse IDE and TML code completion

2011-06-08 Thread onj888-tapestry
thanks Mark and Laurent,

So, I used my previous download helios
eclipse-reporting-helios-SR1-win32.zip to make another trial, I use the
updatesite
http://tapestrytools.googlecode.com/svn/trunk/TapestryTools_UpdateSite/
to install the tools, change the content type to add *.tml in jsp. I
openned the quick-start index.tml with jsp editor, type  Mark is right, you have to use the JSP editor.
> So, i have tested with Eclipse Helios  and it work for me.
>
> Laurent.
>
> -Message d'origine-
> De : Mark [mailto:mark-li...@xeric.net] 
> Envoyé : mercredi 8 juin 2011 15:49
> À : Tapestry users; onj888-tapes...@yahoo.com.hk
> Objet : Re: RE : Eclipse IDE and TML code completion
>
> On Tue, Jun 7, 2011 at 12:04 AM,   wrote:
>> it doesn't response when I type  Make sure you are using the right editor. I can't remember if it is the xml 
> editor or the jsp editor that you want, but the other editors won't work.
>
> Mark
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



let tapestry handle hibernate or use spring ?

2011-06-08 Thread onj888-tapestry
Hi, what is the pros and cons of using tapestry to handle hibernate
instead of spring ?
I did a little bit research on google, but only most of them are howto
or integration tutorials.
would anyone please give me a link if it has been discussed somewhere?

Thanks
John

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: RE : Eclipse IDE and TML code completion

2011-06-06 Thread onj888-tapestry
Thanks Laurent, yes, the temlate is good, I managed to import it in
eclipse, but it doesn't response when I type  Hi,
>
> you're right, the file is broken.
> I have updated the wiki page.
> You can also get the proper version here : 
> https://github.com/downloads/exanpe/tapestry-tldgen/NewTMLTemplate.xml
>
> BTW, you should also look at the WTP Eclipse plugin is being developed by 
> Gavin Lei in the scope of Google Summer of Code 
> (http://code.google.com/p/tapestrytools/).
> This looks very promising.
>
> 
> De : onj888-tapes...@yahoo.com.hk [onj888-tapes...@yahoo.com.hk]
> Date d'envoi : dimanche 5 juin 2011 17:51
> À : Tapestry users; zlau.dream...@gmail.com
> Objet : Re: Eclipse IDE and TML code completion
>
> Hi, I tried to follow the instruction on the page, but I couldn't import
> the template in eclipse.
> Does it support the latest eclipse 3.6.2? or the template from
>  
> https://issues.apache.org/jira/browse/TAP5-120?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aworklog-tabpanel#issue-tabs
> is a broken one?
>
> Thanks
> John
>
> ? 2010/9/22 16:50, Laurent Guerin ??:
>> For those interested in using Eclipse code completion with tml files,
>> EXANPE Team (Julien Maupoux, Katia Aresti and myself) has developped a
>> Maven plugin that allow you to generate a tld describing any Tapestry
>> 5 components library.
>>
>> The plugin uses both Javadoc and @Parameter annotation to perform the
>> generation.
>>
>> Once you have generated your TLD, just to configure Eclipse as
>> described in the Wiki :
>> http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse
>>
>> This plugin has been tested on Tapestry 5.2 itself (see result TLD
>> attachment for test completion with core components).
>>
>> The source code of this plugin is available here :
>> http://github.com/exanpe/tapestry-tldgen
>>
>> Informations, usage and notes available here :
>> http://exanpe.free.fr/tapestry-tldgen/
>>
>>
>> The plugin has been released as alpha version 1.0.0 and promoting into
>> Maven central repository.
>> So, all feedbacks are appreciated (directly on GitHub) !
>>
>> Best regards,
>>
>> Laurent Guerin
>>
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Eclipse IDE and TML code completion

2011-06-05 Thread onj888-tapestry
Hi, I tried to follow the instruction on the page, but I couldn't import
the template in eclipse.
Does it support the latest eclipse 3.6.2? or the template from
 
https://issues.apache.org/jira/browse/TAP5-120?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aworklog-tabpanel#issue-tabs
is a broken one?

Thanks
John

? 2010/9/22 16:50, Laurent Guerin ??:
> For those interested in using Eclipse code completion with tml files,
> EXANPE Team (Julien Maupoux, Katia Aresti and myself) has developped a
> Maven plugin that allow you to generate a tld describing any Tapestry
> 5 components library.
>
> The plugin uses both Javadoc and @Parameter annotation to perform the
> generation.
>
> Once you have generated your TLD, just to configure Eclipse as
> described in the Wiki :
> http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse
>
> This plugin has been tested on Tapestry 5.2 itself (see result TLD
> attachment for test completion with core components).
>
> The source code of this plugin is available here :
> http://github.com/exanpe/tapestry-tldgen
>
> Informations, usage and notes available here :
> http://exanpe.free.fr/tapestry-tldgen/
>
>
> The plugin has been released as alpha version 1.0.0 and promoting into
> Maven central repository.
> So, all feedbacks are appreciated (directly on GitHub) !
>
> Best regards,
>
> Laurent Guerin
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org



Can't import template from Tapestry5JSPEditorEclipse howto into eclipse 3.6.2

2011-06-04 Thread onj888-tapestry
Dear List,

I followed the steps in
http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse,
but I can't down load the NewTMLTemplate.xml from the it, so I download
the template
from https://issues.apache.org/jira/browse/TAP5-120 instead, but I can't
import the template
as described.  Please help.

Thanks
 

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: [Bulk] Re: 10 Minute Web Application Demo

2011-02-21 Thread onj888-tapestry
good point

於 2011/2/18 4:06, Howard Lewis Ship 提到:
> I spend a lot of time when teaching Tapestry getting people to do One
> Small Step at a time. Everyone feels the need to jump from a blank
> page to the final solution in one go, and that's really hard.  I do a
> lot of "placeholder goes here", then do a series of refinements.
> That's how I work on real projects as well, not just tutorials and
> demos.
>
> On Thu, Feb 17, 2011 at 6:39 AM, Inge Solvoll  wrote:
>> Nice work, Mark!
>>
>> I have some feedback for you here:
>>
>> Tapestry is great because it enables me to work tiny iterations. These tiny
>> iteratinos are enabled by live reloading and excellent error reporting. I
>> use this to work in a TDD way (without actually doing TDD), adding one bit
>> at a time and verifying its behaviour in the browser before continuing.
>> Being used to that, I was a bit overwhelmed by your speed in this tutorial,
>> adding lots of things before reloading in the browser. That approach might
>> work very well for you, but probably not for beginners.
>>
>> I believe a lot of people out there are used to quite long development
>> cycles. They are used to coding lots of lines before restarting the server
>> and checking the GUI. Upon arrival in the T5 world, it might be hard to
>> adjust quickly. Sure, everyone loves live class reloading and it works
>> instantly. But do they understand how to get the full power out of it? I'll
>> give a (hopefully understandable) example:  If you ask your grandmother to
>> send you an email, she might print it, put it in an envelope and go for a
>> walk to the post office. Not what you intended when you provided her with
>> the very effective tools necessary :)
>>
>> Don't get me wrong, I love this tutorial! Just wanted to write a few words
>> about how I feel T5 could gain more popularity.  Highly efficient tools
>> aren't enought, we should also focus on showing a set of simple and
>> simplifying techniques that makes it very hard to fail and very much fun to
>> be a T5 programmer. Also for newbies :)
>>
>> On Thu, Feb 17, 2011 at 9:46 AM, Peter Stavrinides <
>> p.stavrini...@albourne.com> wrote:
>>
>>> :) Excellent Mark! I know the feeling... does she also give the blank
>>> expression?
>>>
>>> - Original Message -
>>> From: "Mark" 
>>> To: "Tapestry users" 
>>> Sent: Wednesday, 16 February, 2011 23:25:47 GMT +02:00 Athens, Beirut,
>>> Bucharest, Istanbul
>>> Subject: Re: 10 Minute Web Application Demo
>>>
>>> I keep showing my wife, but she doesn't ever seem to get very excited
>>> about it. :)
>>>
>>> On Wed, Feb 16, 2011 at 2:27 PM, Michael Gentry 
>>> wrote:
 Sure, but I don't general show people Tapestry 5 at home.  I'll bet
 most of us don't do that, either.  :-)

 mrg


 On Wed, Feb 16, 2011 at 2:28 PM, Christian Riedel
  wrote:
> don't you have internet at home? :p
>
>
> Am 16.02.2011 um 19:54 schrieb Michael Gentry:
>
>> That's not an option for some of us, either.  :-)
>>
>>
>> On Wed, Feb 16, 2011 at 1:48 PM, Lenny Primak 
>>> wrote:
>>> That's what the your mobile device is for :)
>>>
>>> On Feb 16, 2011, at 1:47 PM, Michael Gentry wrote:
>>>
 Hi Mark,

 Keep in mind that a lot of companies block YouTube access (and other
 media sites), so putting it on YouTube might actually restrict access
 more than you intended.

 mrg
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>
 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org


>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>>
>
>


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h

any good wyswyg web editor recommend?

2011-02-11 Thread onj888-tapestry
Hi list,

I found that's quite troublesome using dreamweaver to edito tml pages,
any better solution?

Thanks
John


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: problme learning t5+spring+hibernate

2010-11-29 Thread onj888-tapestry
Thanks all, problem resolved after adding 
"tapestry.use-external-spring-context" to "true".

於 2010/11/29 5:24, Jonathan Barker 提到:
> Remove the ContextLoaderListener, and remove the @Service annotation.
>
> One of the changes in T5.1 was the ability to inject T5 services into Spring
> beans as well as the the other way around.  The downside is that now you are
> restricted to only a single Spring bean for each service type that you want
> to inject into a Tapestry page or service (you no longer get to pick your
> bean id so you don't need the service annotation).
>
> For example, you can have two SessionFactories configured for two different
> databases, and if you only use those for Spring-configured DAO's, everything
> is fine.  If you try to inject a SessionFactory into a Tapestry page,
> Tapestry will grumble loudly.
>
> Hopefully that addresses you problem,
>
> Jonathan
>
>
>
> On Sun, Nov 28, 2010 at 3:38 PM,  wrote:
>
>> Hi Chrstophe,
>>
>> thank you for your reply, I followed the example to local
>> ApplicationContext.xml in my web.xml.
>> I know if it is configured externally or internally, the information on
>> the page is just not enough.
>> Can you point me some other references?
>>
>> Thanks
>> John
>>
>> 於 2010/11/29 0:55, Christophe Cordenier 提到:
>>> I forgot to say that T5.1 was compatible with Spring 3 but in external
>>> configuration (Spring ContextLoaderListener)
>>>
>>> 2010/11/28 Christophe Cordenier 
>>>
 Hi

 Currently T5.1 was not compatible with spring 3.0, but if you use spring
 2.5.6 you should have no problem using T5.1 or T5.2.

 The only difference if you use a ContextLoaderListener to load Spring is
 that you will not be able to inject Tapestry services inside Spring
>> beans.
 Make sure you have declared TapestrySpringFilter instead regular
 TapestryFilter in your web.xml file.

 see http://tapestry.apache.org/spring.html


 2010/11/28 Roy Chan 

 hi list,
> I'm new to tapestry 5, so I follow tutorial from wiki to learn
> t5+spring+hibernate.
> <
>
>> http://wiki.apache.org/tapestry/Tapstry5First_project_with_Tapestry5,_Spring_and_Hibernate
> However, I use the t5.2.4, spring 2.5.6 and hibernate 3.3 instead.
>
> I had a problem of double context, so I checked out the web site
>> knowing
> that T5
> no longer create  contextLoaderListener.  After delete it from the
> web.xml, I have
> "userManager service id undefined" error.  After digging the web,  I
> down load the
> tapestwitter  to find out
>> that
> it is using contextLoaderListener with t5.2, I was confused.
> so which one is right? can anyone can give me some hints to fix the
> problem, or can
> any one point me to a more recent t5+spring+hibernate tutorial?
>
> Thanks
> John Chan
>
>
 --
 Regards,
 Christophe Cordenier.

 Committer on Apache Tapestry 5
 Co-creator of wooki @wookicentral.com

>>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: problme learning t5+spring+hibernate

2010-11-28 Thread onj888-tapestry
Hi Chrstophe,

thank you for your reply, I followed the example to local
ApplicationContext.xml in my web.xml.
I know if it is configured externally or internally, the information on
the page is just not enough.
Can you point me some other references?

Thanks
John

於 2010/11/29 0:55, Christophe Cordenier 提到:
> I forgot to say that T5.1 was compatible with Spring 3 but in external
> configuration (Spring ContextLoaderListener)
>
> 2010/11/28 Christophe Cordenier 
>
>> Hi
>>
>> Currently T5.1 was not compatible with spring 3.0, but if you use spring
>> 2.5.6 you should have no problem using T5.1 or T5.2.
>>
>> The only difference if you use a ContextLoaderListener to load Spring is
>> that you will not be able to inject Tapestry services inside Spring beans.
>> Make sure you have declared TapestrySpringFilter instead regular
>> TapestryFilter in your web.xml file.
>>
>> see http://tapestry.apache.org/spring.html
>>
>>
>> 2010/11/28 Roy Chan 
>>
>> hi list,
>>> I'm new to tapestry 5, so I follow tutorial from wiki to learn
>>> t5+spring+hibernate.
>>> <
>>> http://wiki.apache.org/tapestry/Tapstry5First_project_with_Tapestry5,_Spring_and_Hibernate
>>> However, I use the t5.2.4, spring 2.5.6 and hibernate 3.3 instead.
>>>
>>> I had a problem of double context, so I checked out the web site knowing
>>> that T5
>>> no longer create  contextLoaderListener.  After delete it from the
>>> web.xml, I have
>>> "userManager service id undefined" error.  After digging the web,  I
>>> down load the
>>> tapestwitter  to find out that
>>> it is using contextLoaderListener with t5.2, I was confused.
>>> so which one is right? can anyone can give me some hints to fix the
>>> problem, or can
>>> any one point me to a more recent t5+spring+hibernate tutorial?
>>>
>>> Thanks
>>> John Chan
>>>
>>>
>>
>> --
>> Regards,
>> Christophe Cordenier.
>>
>> Committer on Apache Tapestry 5
>> Co-creator of wooki @wookicentral.com
>>
>
>


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org