Building Beijing Tapestry Developer Community

2010-10-23 Thread cleverpig
-bj/peeps/interview-tin-yue-tian-gets-busy-with-the-beijing-open-party/ official site:http://www.beijing-open-party.org as you guess,openparty is no profit event,I love it as I love tapestry,they give me happiness! -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen

Re: T5.1.05 always runing slowly when it handle the page requests

2010-10-10 Thread cleverpig
http://jira.codehaus.org/browse/WSTX-248 Note that Tapestry 5.1 depends on woodstox 4.0.3, they say that 4.1 is backward compatible 2010/7/23 cleverpig greatclever...@gmail.com: So stranger,I use Tapestry5.1.05(stable version) in these environment: 1.product environment :Tomcat6+windows 2003

Re: HTML 5 support

2010-10-10 Thread cleverpig
- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN

Re: [tynamo-user] Tynamo and Tapestry in the Vodafone Mobile Clicks 2010 finals

2010-09-19 Thread cleverpig
me to keep working on them in the future :) Thanks in advance. Cheers. Alejandro Scandroli. - To unsubscribe from this list, please visit:    http://xircles.codehaus.org/manage_email -- cleverpig(Dan) Location

Re: T5+hibernate - multiple session factories

2010-09-14 Thread cleverpig
: users-h...@tapestry.apache.org -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN: great_liu...@hotmail.com QQ: 149291732 Skype: cleverpigatmatrix Facebook ID:cleverpig Blog: cleverpig.name/dan/ Tags: del.icio.us/cleverpig

Re: what is wrong???

2010-09-13 Thread cleverpig
)    ... 73 more - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue

Re: T5+hibernate - multiple session factories

2010-09-13 Thread cleverpig
...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South

Re: Tapestry5 Form submit Encoding (Chinese)!!

2010-09-10 Thread cleverpig
! - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode

Re: Tapestry5 Form submit Encoding (Chinese)!!

2010-09-10 Thread cleverpig
check source code from svn meeting your tapestry version,and look up the inside of link.addParameter function. ps: your search.getTitle() return value is correct? On Fri, Sep 10, 2010 at 5:21 PM, Fanzhen fanzhen.m...@hotmail.com wrote:  hey,cleverpig. have tried all you guys said . I think

Re: How to get RESTful hierarchical URLs

2010-09-10 Thread cleverpig
look here: http://tynamo.org/tapestry-resteasy+guide you can try tynamo resteasy component to implements restful. or add on restlet api or any other JAX-RS implementation that can run as a servlet :http://stackoverflow.com/questions/2765178/tapestry-rest -- View this message in context:

what time T5.2x would support Spring web flow integration

2010-09-09 Thread cleverpig
? Thanks! -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN: great_liu...@hotmail.com QQ: 149291732 Skype: cleverpigatmatrix Facebook ID:cleverpig Blog: cleverpig.name/dan/ Tags: del.icio.us/cleverpig Twitter: twitter.com

Re: Tapestry5 Form submit Encoding (Chinese)!!

2010-09-09 Thread cleverpig
!!! - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing

Re: Tynamo on T5:conversation.moderator component doesn't work with IE7.

2010-08-19 Thread cleverpig
+ this.keepAlive + 'warn=' + this.warnBeforeSeconds+'date='+date.getTime(), { method: 'get', evalJSON:true, onSuccess: this.handleIdleCheckResult.bind(this) }); On Fri, Aug 13, 2010 at 6:37 PM, cleverpig greatclever...@gmail.com wrote: hi, all! I found conversation.moderator seem

Tynamo on T5:conversation.moderator component doesn't work with IE7.

2010-08-13 Thread cleverpig
(); } this.conversationId=conversationId; return null; } String onPassivate(){ return conversationId; } ... } tml: ... t:conversation.moderator t:keepalive=true/ ... -- cleverpig(Dan) Location: Beijing Address: Room

Re: Using Tapestry? Add yourself to the Map!

2010-08-13 Thread cleverpig
- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing

session share problem in multiple-tab browser

2010-08-10 Thread cleverpig
at this occasion,instead of using form-post necessary data? Or we have a way like Jboss Seam's conversation to manage session? -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN: great_liu...@hotmail.com QQ: 149291732 Skype

Re: session share problem in multiple-tab browser

2010-08-10 Thread cleverpig
PM, cleverpig greatclever...@gmail.com wrote: Hi,dear all! I sometime use @Persist annotation to make object store in session. such as: public class PageNav2 {       �...@persist(session)       �...@property        private Paging paging;       �...@setuprender        void onLoad

Re: How to using jmockit or dbunit to test DAO (hibernate) in tapestry?

2010-08-08 Thread cleverpig
extends T5DAOTestCaseMyDAO { ... } Enjoy this~ On Sat, Aug 7, 2010 at 4:34 AM, cleverpig greatclever...@gmail.com wrote: I checked out T5-hibernate-core source code,there's possible to make a test module for hibernate-core module. in HibernateCoreModule: public class HibernateCoreModule

Re: How to using jmockit or dbunit to test DAO (hibernate) in tapestry?

2010-08-06 Thread cleverpig
://tapestry.apache.org/tapestry5/tapestry-test/ http://tapestry.formos.com/projects/tapestry-testify/ ref: http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry cleverpig-2 wrote: JMockit allows developers to write unit and integration tests without the testability issues typically found with other mocking

How to using jmockit or dbunit to test DAO (hibernate) in tapestry?

2010-08-04 Thread cleverpig
? -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN: great_liu...@hotmail.com QQ: 149291732 Skype: cleverpigatmatrix Facebook ID:cleverpig Blog: cleverpig.name/dan/ Tags: del.icio.us/cleverpig Twitter: twitter.com/cleverpig 新浪微博

Re: No service implements the interface org.slf4j.Logger

2010-08-04 Thread cleverpig
-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South

Re: No service implements the interface org.slf4j.Logger

2010-08-04 Thread cleverpig
. On Thu, Aug 5, 2010 at 9:34 AM, cleverpig greatclever...@gmail.com wrote: yes,you bet. in T5,Pages and DAOs/Services  should used @Inject. On Wed, Aug 4, 2010 at 3:00 PM, Moritz Gmelin moritz.gme...@gmx.de wrote: Hi, this was indeed the correct answer. In Rest Services the logger must

Re: No service implements the interface org.slf4j.Logger

2010-08-03 Thread cleverpig
For additional commands, e-mail: users-h...@tapestry.apache.org -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN: great_liu...@hotmail.com QQ: 149291732 Skype: cleverpigatmatrix Facebook ID:cleverpig Blog: cleverpig.name/dan/ Tags

Re: T5.1.05 always runing slowly when it handle the page requests

2010-07-30 Thread cleverpig
sent which was being waited for. This was on Windows and some systems suffered more from this problem than others (some OS version etc). Very weird. Hope this helps you, Kind regards, Joachim On 07/27/2010 02:49 AM, cleverpig wrote: Oh,thanks Joachim ! Seem like your strange problem,my

Re: T5.1.05 always runing slowly when it handle the page requests

2010-07-27 Thread cleverpig
to error and try it again.  - Ville cleverpig-2 wrote: Oh,thanks Joachim ! Seem like your strange problem,my product hosts were deployed in internal network. And my development host at internet.Maybe we are in the same trouble. How can I find where is the problem? and how to work out

Re: T5.1.05 always runing slowly when it handle the page requests

2010-07-27 Thread cleverpig
christophe.corden...@gmail.com wrote: Hi We have found a similar issue that is due to woodstox DTD caching strategy, it stores java.net.URL objects as keys, but URL tries to access to network in its hashCode method. Can you check your network and hostname resolution on your platform ? 2010/7/27 cleverpig

Re: T5.1.05 always runing slowly when it handle the page requests

2010-07-26 Thread cleverpig
:33 PM, cleverpig wrote: yes,of course.but there is nothing,I had changed tow host,the problem keeps. On Fri, Jul 23, 2010 at 8:50 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com  wrote: On Fri, 23 Jul 2010 04:38:15 -0300, cleverpiggreatclever...@gmail.com wrote: In dev environment

T5.1.05 always runing slowly when it handle the page requests

2010-07-23 Thread cleverpig
created a issue and uploaded error.log: https://issues.apache.org/jira/browse/TAP5-1214 -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN: great_liu...@hotmail.com QQ: 149291732 Skype: cleverpigatmatrix Facebook ID:cleverpig Blog

T5.2-Snapshot Can't handle components and mixins' script or css files with includeJavascript and includeStyle method.

2010-07-23 Thread cleverpig
Confirm('%s', '%s');, element.getClientId(), message)); } } I created a issue: https://issues.apache.org/jira/browse/TAP5-1215 -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN: great_liu

Re: T5.2-Snapshot Can't handle components and mixins' script or css files with includeJavascript and includeStyle method.

2010-07-23 Thread cleverpig
#a4141853 On Fri, Jul 23, 2010 at 3:50 PM, cleverpig greatclever...@gmail.com wrote: I don't why but it really happend when I changed to use 5.2.0-snapshot. if any script or css files which put in classpath,just not web context,they must miss at the page. sample code-comfirm mixin

Re: T5.1.05 always runing slowly when it handle the page requests

2010-07-23 Thread cleverpig
yes,of course.but there is nothing,I had changed tow host,the problem keeps. On Fri, Jul 23, 2010 at 8:50 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Fri, 23 Jul 2010 04:38:15 -0300, cleverpig greatclever...@gmail.com wrote: In dev environment,everything is okay

T5 AppModule best practice

2010-07-23 Thread cleverpig
://tapestry.apache.org/tapestry5/tapestry-ioc/index.html is too little practice code. -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN: great_liu...@hotmail.com QQ: 149291732 Skype: cleverpigatmatrix Facebook ID:cleverpig Blog

Re: [Tapestry Central] Securing Tapestry pages with Annotations, Part 1

2010-01-02 Thread cleverpig
- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN

Re: JSON in Tapestry

2009-12-22 Thread cleverpig
! (971) 678-5210 http://howardlewisship.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- cleverpig(Dan) Location: Beijing Address: Room

Re: T5:how to support AJAX submit

2009-11-01 Thread cleverpig
at 2:29 PM, cleverpig greatclever...@gmail.com wrote: thanks! it's really good solution! in another side: if we do some background-process such as autosave when user input a long form. we should use ajax.periodUpdater method to save data automaticly,but this way only can use url as target

Re: T5:how to support AJAX submit

2009-10-30 Thread cleverpig
to that zone. Uli Am 30.10.2009 05:55 schrieb cleverpig: Currently the Editor component does not support an asynchronous submit (AJAX). for example: 1.build a form with submit button to save data to database. 2.add a mixins which listening click event to this submit button with ajax request

T5:how to support AJAX submit

2009-10-29 Thread cleverpig
will submit return. 4.so ajax request maybe be handled,but callback will lost,since the form submit. and how to use post way in ajax, so that tapestry event handler counld accept the ajax post? do you have idea on it? -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue

T5:what can replace jsp's include tag in Tapestry?

2009-10-19 Thread cleverpig
pages,such as help link. it sounds like include tag in jsp times. i think it maybe can be done as what in the layout! please give me a hand! -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN: great_liu...@hotmail.com QQ: 149291732

Re: T5:what can replace jsp's include tag in Tapestry?

2009-10-19 Thread cleverpig
components are used for: reusable pieces of markup and logic. Just build a component that's responsible for rendering out your common code and place that on each page where this common code shall be displayed. Cheers, Uli Am 19.10.2009 11:44 schrieb cleverpig: i knew in the layout page,we

Re: T5:how to customize grid ui?

2009-10-18 Thread cleverpig
i found a way to make a special grid pager:modify the GridPager class. but it was a hard coding way.anyone have a more general way to define pager's function and style? 2009/10/17 cleverpig greatclever...@gmail.com: hi,all buddy! I got a new trouble that i never met that is customize tapestry

Re: T5:how to customize grid ui?

2009-10-18 Thread cleverpig
; margin-right:5px; padding:2px 5px; text-decoration:underline; } 2009/10/19 cleverpig greatclever...@gmail.com: i found a way to make a special grid pager:modify the GridPager class. but it was a hard coding way.anyone have a more general way to define pager's function

T5:how to customize grid ui?

2009-10-17 Thread cleverpig
! -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN: great_liu...@hotmail.com QQ: 149291732 Skype: cleverpigatmatrix Facebook ID:cleverpig Blog: www.cleverpig.name Tags: del.icio.us/cleverpig Twitter: twitter.com/cleverpig 新浪微博

Re: T5:hibernate @Length validator doesn't work

2009-10-05 Thread cleverpig
thanks! On Sat, Oct 3, 2009 at 2:38 AM, Valentin Yerastov xib...@gmail.com wrote: Try this project http://code.google.com/p/tapestry-validator/ cleverpig-2 wrote: hi,all! i got a trouble in hibernate @Length validator with Tapestry 5.1. i think it's a easy-meet problem for newbie(it's

Re: T5:how to call ajax callback function after form submit

2009-09-28 Thread cleverpig
://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/creatingmixins1 Also Sebastian sent on the past days a solution that doesn't use Javascript On Mon, Sep 28, 2009 at 4:52 AM, cleverpig greatclever...@gmail.com wrote: hi,dear buddies! I had a bean edit form to save my entity,and added

Re: T5:how to call ajax callback function after form submit

2009-09-28 Thread cleverpig
will get 2 same data submit and save 2 same data(primary key value is different) in the database. On Mon, Sep 28, 2009 at 3:32 PM, cleverpig greatclever...@gmail.com wrote: hi,Juan! thank for your reply! i saw the mixin you finger out. :) but i will find a generic way to protect user from

Re: T5:how to call ajax callback function after form submit

2009-09-28 Thread cleverpig
so i would find a generic way to call javascript function after ajax reponse returned. just like callback function in prototype's ajax. 2009/9/28 cleverpig greatclever...@gmail.com: On Mon, Sep 28, 2009 at 10:36 PM, Juan E. Maya maya.j...@gmail.com wrote: Look for Double submit handling

T5:how to call ajax callback function after form submit

2009-09-27 Thread cleverpig
a return link in the response div. the first way is unusually. the second way would get some script to control button status,i can't get way to handle this in beanEditForm,can you give me some help? -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China

Re: T5:how to call ajax callback function after form submit

2009-09-27 Thread cleverpig
, Sep 28, 2009 at 10:52 AM, cleverpig greatclever...@gmail.com wrote: hi,dear buddies! I had a bean edit form to save my entity,and added div by using ajax zone to show what's the submit response. such as: ... t:beaneditform t:id=scripEditForm object=s

Re: T5:how to do initialization work when custom component was called?

2009-09-26 Thread cleverpig
Andreou andy...@di.uoa.gr wrote: There's a nice diagram at http://tapestry.apache.org/tapestry5/guide/rendering.html And there's another great diagram (but this time for the whole request) at the nightly docs: http://tapestry.formos.com/nightly/tapestry5/guide/request.html -- cleverpig(Dan

T5:how to do initialization work when custom component was called?

2009-09-25 Thread cleverpig
would call serv's list method to assign a list to data variable. but i got null exception... what's the way to prepare data for component which get data from page's parameter that depend on inject service? -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing

Re: T5:how to do initialization work when custom component was called?

2009-09-25 Thread cleverpig
ok! thanks! it's working! by the way:what's the page or component's render order? @SetupRender/beginRender/endRender/@BeforeRenderTemplate/@AfterRenderTemplate what's the order? 2009/9/26 Juan E. Maya maya.j...@gmail.com: Hi cleverpig, You can use @SetupRender or onActivation methods to setup

Re: T5:how to inject slf4j service?

2009-09-24 Thread cleverpig
i used maven to create the project. what's your mean about starting a project? run app in jetty with maven? 2009/9/24 Otho taa...@googlemail.com: When you just use the maven archetype for starting a project everything works right out of the box. 2009/9/24 cleverpig greatclever...@gmail.com

Re: T5:how to inject slf4j service?

2009-09-23 Thread cleverpig
configuration, good luck 2009/9/23 cleverpig greatclever...@gmail.com: so,after add the buildLogger function,we can use these code to inject Logger service: Class Start{ ... @Inject private Logger log; ... } On Wed, Sep 23, 2009 at 12:29 PM, cleverpig greatclever...@gmail.com wrote: I got

T5:why I got this exception-hibernate.LazyInitializationException?

2009-09-23 Thread cleverpig
t:id=submitQueryButton/ /p /div /t:form /html who can give me some suggestion? Any help is welcome! :) -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN: great_liu...@hotmail.com QQ: 149291732

Re: T5:why I got this exception-hibernate.LazyInitializationException?

2009-09-23 Thread cleverpig
, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: Em Wed, 23 Sep 2009 07:10:29 -0300, cleverpig greatclever...@gmail.com escreveu: org.hibernate.LazyInitializationException: could not initialize proxy This is a Hibernate issue, not a Tapestry one. By the way, understanding

T5:select component's label doesn't work

2009-09-23 Thread cleverpig
=catEncoder t:lable=catSelector/ -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN: great_liu...@hotmail.com QQ: 149291732 Skype: cleverpigatmatrix Facebook ID:cleverpig Blog: www.cleverpig.name Tags: del.icio.us/cleverpig

T5:tapestry should add a package-level localization feature

2009-09-23 Thread cleverpig
just like struts2 had done in Localization:http://struts.apache.org/2.1.6/docs/localization.html -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN: great_liu...@hotmail.com QQ: 149291732 Skype: cleverpigatmatrix Facebook

Re: T5:select component's label doesn't work

2009-09-23 Thread cleverpig
yes,this was my handwriting mistake. but the label doesn't work.. 2009/9/23 Juan E. Maya maya.j...@gmail.com: u have a typo. t:label not t:lable :) 2009/9/23 cleverpig greatclever...@gmail.com: my tapestry's version is Tapestry5.1.05. i read this from select component manual: Component

Re: T5:tapestry should add a package-level localization feature

2009-09-23 Thread cleverpig
Paula Figueiredo thiag...@gmail.com wrote: Em Wed, 23 Sep 2009 12:09:59 -0300, cleverpig greatclever...@gmail.com escreveu: just like struts2 had done in Localization:http://struts.apache.org/2.1.6/docs/localization.html You can file a JIRA for that. I never missed this feature. -- Thiago

Re: T5:select component's label doesn't work

2009-09-23 Thread cleverpig
i created a issue in JIRA:https://issues.apache.org/jira/browse/TAP5-855 2009/9/24 cleverpig greatclever...@gmail.com: yes,this was my handwriting mistake. but the label doesn't work.. 2009/9/23 Juan E. Maya maya.j...@gmail.com: u have a typo. t:label not t:lable :) 2009/9/23 cleverpig

Re: T5:tapestry should add a package-level localization feature

2009-09-23 Thread cleverpig
hi,all! the issue i created,here:https://issues.apache.org/jira/browse/TAP5-854 On Thu, Sep 24, 2009 at 9:02 AM, cleverpig greatclever...@gmail.com wrote: hi,all! thanks for your suggestion from experience! I mean when i develope some page class in the same package,i always meet some same

Re: T5:select component's label doesn't work

2009-09-23 Thread cleverpig
added label before the select component? it's a waste time way... ///:^) On Thu, Sep 24, 2009 at 9:50 AM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: Em Wed, 23 Sep 2009 21:57:36 -0300, cleverpig greatclever...@gmail.com escreveu: but you can't make this label work in this way

Re: T5:how to inject slf4j service?

2009-09-22 Thread cleverpig
I checked slf4j sourcecode,there has a Logger interface implement:org.slf4j.impl.Log4jLoggerAdapter but how to bind them together and make a inject? need improve AppModule's function? I don't know why tapestry hadn't done it for user? need help too... On Tue, Sep 22, 2009 at 11:16 AM, cleverpig

Re: T5:how to inject slf4j service?

2009-09-22 Thread cleverpig
-with-log4j/ On Tue, Sep 22, 2009 at 4:36 AM, cleverpig greatclever...@gmail.com wrote: I checked slf4j sourcecode,there has a Logger interface implement:org.slf4j.impl.Log4jLoggerAdapter but how to bind them together and make a inject? need improve AppModule's function? I don't know why tapestry

Re: T5:how to inject slf4j service?

2009-09-22 Thread cleverpig
yes,i'd read it..but i can't get the door to answer... On Wed, Sep 23, 2009 at 9:57 AM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: Em Tue, 22 Sep 2009 21:55:44 -0300, cleverpig greatclever...@gmail.com escreveu: oh,thanks for your reply,Alfonso! just now,i get know i need

Re: T5:how to inject slf4j service?

2009-09-22 Thread cleverpig
so,after add the buildLogger function,we can use these code to inject Logger service: Class Start{ ... @Inject private Logger log; ... } On Wed, Sep 23, 2009 at 12:29 PM, cleverpig greatclever...@gmail.com wrote: I got the answer! It's so easy...thank all of my helpers and opensource! my

Re: T5:how to inject slf4j service?

2009-09-22 Thread cleverpig
of TranslatorSourceImpl are, it can instantiate the class with dependencies using the autobuild() method. The service builder then adds the new service as a listener of the ComponentInstantiatorSource, before returning it. 2009/9/23 cleverpig greatclever...@gmail.com: yes,i'd read it..but i can't get

T5:how to inject slf4j service?

2009-09-21 Thread cleverpig
uses Log4J as the logging toolkit, though this can be changed. but this can be changed page link is invalid. somebody help me?give me example to fire a light in my darkness. :) -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN

T5:can we nest a bean's property value in message resource?

2009-09-17 Thread cleverpig
with ${message:start} ? it's a unusually usage?do you meet? -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN: great_liu...@hotmail.com QQ: 149291732 Skype: cleverpigatmatrix Facebook ID:cleverpig Blog: www.cleverpig.name Tags

Re: T5:can we nest a bean's property value in message resource?

2009-09-17 Thread cleverpig
: cleverpig To: Tapestry users users@tapestry.apache.org Sent: Thursday, September 17, 2009 3:29 PM Subject: T5:can we nest a bean's property value in message resource? hi,all! thank everyone for help me! i get a new problem~can we nest a bean property value in ${message:}? for example: A class's

T5:how to expand Grid for add some query textfield?

2009-09-17 Thread cleverpig
that in a separated way:put a search textfield and submit button under the grid.. this is a not perfect program way for reuse.. who can join discuss or give help? -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN: great_liu

Re: T5:how to expand Grid for add some query textfield?

2009-09-17 Thread cleverpig
On Thu, Sep 17, 2009 at 8:00 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: Em Thu, 17 Sep 2009 06:09:04 -0300, cleverpig greatclever...@gmail.com escreveu: in this situation,we have a grid page for products. our client need add some textfeild or selectbox on the bottom of grid

Re: T5:how to expand Grid for add some query textfield?

2009-09-17 Thread cleverpig
On Thu, Sep 17, 2009 at 8:39 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: Em Thu, 17 Sep 2009 09:24:05 -0300, cleverpig greatclever...@gmail.com escreveu: oh,thanks! it's seem like my way. but how to handler this form submit event and grid event independently? Please read

Re: switch between tml and component

2009-09-17 Thread cleverpig
(or page) tml and java file, the loom project I think is very early by now, it has bugs and I couldn't achieve this. Thanks On Wed, Sep 16, 2009 at 9:55 PM, cleverpig greatclever...@gmail.com wrote: you can use eclipse wtp to edit tml files,just config association for it. On Thu, Sep 17, 2009 at 5

T5:hibernate @Length validator doesn't work

2009-09-16 Thread cleverpig
) @Column(name=message,length=20) private String message; ... } but i can update or create 'hello' record to database with beanEditForm. somebody got this?who can give me suggestiong? thanks! -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China

Re: T5:hibernate @Length validator doesn't work

2009-09-16 Thread cleverpig
the tapestry specific validators. g, kris cleverpig greatclever...@gmail.com 16.09.2009 11:28 Bitte antworten an Tapestry users users@tapestry.apache.org An users@tapestry.apache.org Kopie Thema T5:hibernate @Length validator doesn't work hi,all! i got a trouble

T5:how to use rowIndex in Grid component?

2009-09-16 Thread cleverpig
!~ -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN: great_liu...@hotmail.com QQ: 149291732 Skype: cleverpigatmatrix Facebook ID:cleverpig Blog: www.cleverpig.name Tags: del.icio.us/cleverpig Twitter: twitter.com/cleverpig 新浪微博

Re: [ANNOUNCEMENT] New Tapestry 5 book

2009-09-16 Thread cleverpig
and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN: great_liu...@hotmail.com QQ: 149291732 Skype: cleverpigatmatrix Facebook ID:cleverpig Blog

Re: switch between tml and component

2009-09-16 Thread cleverpig
- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China Zipcode: 100031 MSN

Re: T5:how to use rowIndex in Grid component?

2009-09-16 Thread cleverpig
anyone have idea on this? On Wed, Sep 16, 2009 at 8:06 PM, cleverpig greatclever...@gmail.com wrote: I got this define from tapestry5's guide document: http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html rowIndex:Optional output parameter

Re: T5:how to use rowIndex in Grid component?

2009-09-16 Thread cleverpig
http://www.gaonline.com.cn - Original Message - From: cleverpig greatclever...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Thursday, September 17, 2009 8:57 AM Subject: Re: T5:how to use rowIndex in Grid component? anyone have idea on this? On Wed, Sep 16, 2009

Re: T5:how to use rowIndex in Grid component?

2009-09-16 Thread cleverpig
/tapestry_5_1_0.xsd;  xmlns:p=tapestry:parameter /html DH http://www.gaonline.com.cn - Original Message - From: cleverpig To: Tapestry users users@tapestry.apache.org Sent: Thursday, September 17, 2009 11:08 AM Subject: Re: T5:how to use rowIndex in Grid component? oh,thank DH

Re: T5:how to use rowIndex in Grid component?

2009-09-16 Thread cleverpig
To HD: namespace p is only the t:parameter 's shortcut? so i can use t:parameter to replace p:.. On Thu, Sep 17, 2009 at 11:26 AM, cleverpig greatclever...@gmail.com wrote: oh,i'd added this description. namespace p works now! so i ran app,found this rowNumber Column was empty...it didn't

Re: T5:how to use rowIndex in Grid component?

2009-09-16 Thread cleverpig
be p:rowNumberCell. Append the 'Cell' and will work. DH http://www.gaonline.com.cn - Original Message - From: cleverpig greatclever...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Thursday, September 17, 2009 11:38 AM Subject: Re: T5:how to use rowIndex in Grid