Building Beijing Tapestry Developer Community

2010-10-23 Thread cleverpig
ng/articles/mag-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 A

Re: HTML 5 support

2010-10-10 Thread cleverpig
> Best, Marcel > > > > > - > 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 Fu

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 : >> So stranger,I use Tapestry5.1.05(stable version) in these environment: >> 1.product environment :Tomca

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

2010-09-19 Thread cleverpig
work done in MALCOM, so your vote will help me > to keep working on them in the future :) > > > Thanks in advance. > Cheers. > Alejandro Scandroli. > > - > To unsubscribe from this list, please visit:

Re: T5+hibernate - multiple session factories

2010-09-14 Thread cleverpig
@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: great_liu...@hotmail.com QQ: 149291732 Skype: cleverpigatmatrix Facebook ID:

Re: T5+hibernate - multiple session factories

2010-09-13 Thread cleverpig
nsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> >> > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additi

Re: what is wrong???

2010-09-13 Thread cleverpig
ssType.instrument(CtClassType.java:1288) >    at > org.apache.tapestry5.internal.services.InternalClassTransformationImpl.replaceFieldAccess(InternalClassTransformationImpl.java:1763) >    ... 73 more > > - > To unsubscribe, e-mai

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: http://

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 wrote: > >  hey,cleverpig. > have tried all you guys said . > I think it is not

Re: Tapestry5 Form submit Encoding (Chinese)!!

2010-09-10 Thread cleverpig
ant it does matter with my page encoding,I have tried to change >> the page to GBK encoding, >> but it didn't work . >> >> thank you ! >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For

Re: Tapestry5 Form submit Encoding (Chinese)!!

2010-09-09 Thread cleverpig
; } > > > the problem is when I input a Chinese title such as "您好" in textfield of > search form , it does not encode well!! > > so, could anyone tell me where I am wrong?? > > thanks in advance!!! > > ----

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: Tynamo on T5:conversation.moderator component doesn't work with IE7.

2010-08-19 Thread cleverpig
efaultURIparameters + 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 wrote: > hi, al

Re: GSOC 2010 project is finishing

2010-08-16 Thread cleverpig
; > [0]http://wiki.apache.org/general/PabloGSOC2010 > [1] > http://wiki.apache.org/general/PabloGSOC2010%3Faction%3DAttachFile%26do%3Dget%26target%3DAppExample.zip > > > -- > Pablo Henrique dos Reis > -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South

Re: Using Tapestry? Add yourself to the Map!

2010-08-13 Thread cleverpig
try fast! > > (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 > >

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

2010-08-13 Thread cleverpig
nversation(); } this.conversationId=conversationId; return null; } String onPassivate(){ return conversationId; } ... } tml: ... ... -- cleverpig(Dan) Location: Beijing Address: Room 4018,No.A2 South Avenue Fuxingm

Re: session share problem in multiple-tab browser

2010-08-10 Thread cleverpig
PM, cleverpig 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; > >    

session share problem in multiple-tab browser

2010-08-10 Thread cleverpig
session 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:

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

2010-08-08 Thread cleverpig
DAO extends T5DAOTestCase { ... } Enjoy this~ On Sat, Aug 7, 2010 at 4:34 AM, cleverpig 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 HibernateCore

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

2010-08-06 Thread cleverpig
> > == > http://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

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

2010-08-04 Thread cleverpig
rvice." On Thu, Aug 5, 2010 at 9:34 AM, cleverpig wrote: > yes,you bet. > in T5,Pages and DAOs/Services  should used @Inject. > > On Wed, Aug 4, 2010 at 3:00 PM, Moritz Gmelin wrote: >> Hi, >> >> this was indeed the correct answer. >> >> In Rest Servi

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

2010-08-04 Thread cleverpig
     jar >>>     >>> >>>   >>> >>>   >>>   >>>                         >>>                                org.apache.maven.plugins >>>                                 >>> maven-compiler-plugin >>>    

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-03 Thread cleverpig
n.plugins >>                                maven-compiler-plugin >>                                 >>                                        1.5 >>                                        1.5 >>                                        true >>                                

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

2010-07-30 Thread cleverpig
ent 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,thank

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

2010-07-27 Thread cleverpig
> 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 cl

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 sa

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

2010-07-26 Thread cleverpig
t; > On 07/23/2010 05: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 >>  wrote: >> >>> >>> On Fri, 23 Jul

T5 AppModule best practice

2010-07-23 Thread cleverpig
PS: http://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:clev

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 wrote: > On Fri, 23 Jul 2010 04:38:15 -0300, cleverpig > wrote: > >> In dev environment,everything is okay. >> But in product envir

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

2010-07-23 Thread cleverpig
nabble.com/Tapestry-5-1-0-5-FCKEDITOR-PROBLEM-td4141853.html#a4141853 On Fri, Jul 23, 2010 at 3:50 PM, cleverpig 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

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

2010-07-23 Thread cleverpig
t.addScript(String.format("new 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 Fux

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

2010-07-23 Thread cleverpig
lp me? I 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:cleve

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

2010-01-02 Thread cleverpig
ore and complain less.. > > Cheers > -- > > Alessandro Bottoni > Website: http://www.alessandrobottoni.it/ > > "Some subjects are so serious that one can only joke about them." >     -- Niels Bohr > > > > ---

Re: JSON in Tapestry

2009-12-22 Thread cleverpig
you up and productive in Tapestry fast! > > (971) 678-5210 > http://howardlewisship.com > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apa

Re: T5:how to support AJAX submit

2009-11-01 Thread cleverpig
-javascript.html > > > > On Fri, Oct 30, 2009 at 2:29 PM, cleverpig 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 shou

Re: T5:how to support AJAX submit

2009-10-30 Thread cleverpig
and point the form's zone > attribute 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 but

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 Sout

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

2009-10-19 Thread cleverpig
apestry! On Mon, Oct 19, 2009 at 7:12 PM, Ulrich Stärk wrote: > That's what 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

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

2009-10-19 Thread cleverpig
m:i will added a common html code in start and another 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

Re: T5:how to customize grid ui?

2009-10-18 Thread cleverpig
rrentPage: > 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 : >> hi,all buddy! >> >> I got a new trouble that

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 : > hi,all buddy! > > I got a new trouble that i never met that is customize tapestry gri

T5:how to customize grid ui?

2009-10-17 Thread cleverpig
a lot! -- 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 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. >>

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 : > On Mon, Sep 28, 2009 at 10:36 PM, Juan E. Maya wrote: >> >> Look for Double submit handling on >> http:

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

2009-09-28 Thread cleverpig
that server 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 wrote: > > hi,Juan! > > > > thank for your reply! i saw the mixin you finger out. :) > > but i will find a gener

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

2009-09-28 Thread cleverpig
; http://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 wrote: >> hi,dear buddies! >> >> I had a bean edit form to save my enti

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

2009-09-27 Thread cleverpig
quot;disableSubmitButton();"); } ... in the tml: > function disableSubmitButton(){ var submitButton=$$('.t-beaneditor-submit')[0]; if (submitButton) submitButton.disabled=true; }

T5:how to call ajax callback function after form submit

2009-09-27 Thread cleverpig
ta and redirect to list page when data was saved. 2.change the submit button's status to disabled and display 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

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

2009-09-26 Thread cleverpig
eas Andreou 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/tap

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 : > Hi cleverpig, > > You can use @SetupRender or onActivation meth

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

2009-09-25 Thread cleverpig
ut 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,P.R.China Zipcode: 100031 MSN: great_liu...@hotmail.

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 : > When you just use the maven archetype for starting a project everything > works right out of the box. > > 2009/9/24 cleverpig > >> it's e

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 wrote: > Em Wed, 23 Sep 2009 21:57:36 -0300, cleverpig > escreveu: > >>>> but you can't make this label work in this w

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 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 sam

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 : > yes,this was my handwriting mistake. > but the label doesn't work.. > > 2009/9/23 Juan E. Maya : >> u have a typo. t:label not t:lable :) >> >> >> >> 200

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

2009-09-23 Thread cleverpig
> On Wed, Sep 23, 2009 at 12:14 PM, Thiago H. de Paula Figueiredo > wrote: >> Em Wed, 23 Sep 2009 12:09:59 -0300, cleverpig >> escreveu: >> >>> just like struts2 had done in >>> Localization:http://struts.apache.org/2.1.6/docs/localization.html >> &

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 : > u have a typo. t:label not t:lable :) > > > > 2009/9/23 cleverpig : >> my tapestry's version is Tapestry5.1.05. >> >> i read this from select component manua

Re: T5:how to inject slf4j service?

2009-09-23 Thread cleverpig
artup: ... LoggerSource: BUILTIN LoggingAdvisor: DEFINED LoggingDecorator: DEFINED ... so strange.. 2009/9/24 Alfonso Quiroga : > Cleverpig: > In my AppModule and ServerModule (I have 2 modules) I have nothing > related to logging. I only have "bindings" between services interfaces >

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

T5:select component's label doesn't work

2009-09-23 Thread cleverpig
, first by looking for a message key named "id-label" (substituting the component's actual id), then by converting the actual id to a presentable string (for example, "userId" to "User Id"). ... but you can't make this label work in this way: -- cleverpig(Dan

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

2009-09-23 Thread cleverpig
s! On Wed, Sep 23, 2009 at 7:22 PM, Thiago H. de Paula Figueiredo wrote: > Em Wed, 23 Sep 2009 07:10:29 -0300, cleverpig > escreveu: > >> org.hibernate.LazyInitializationException: could not initialize proxy > > This is a Hibernate issue, not a Tapestry one. By the way, understa

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

2009-09-23 Thread cleverpig
tp://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> 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

Re: T5:how to inject slf4j service?

2009-09-23 Thread cleverpig
guration, good luck > > 2009/9/23 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 2

Re: T5:how to inject slf4j service?

2009-09-22 Thread cleverpig
ildTranslatorSource() doesn't need to know what the dependencies 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

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 wrote: > I got the answer! It's so easy...thank all of my helpers and opensource! > > my problem&

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 wrote: > Em Tue, 22 Sep 2009 21:55:44 -0300, cleverpig > escreveu: > >> oh,thanks for your reply,Alfonso! >> just now,i get know i need a

Re: T5:how to inject slf4j service?

2009-09-22 Thread cleverpig
-slf4j-with-log4j/ > > On Tue, Sep 22, 2009 at 4:36 AM, cleverpig 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 func

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:1

T5:how to inject slf4j service?

2009-09-21 Thread cleverpig
gging 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.C

Re: switch between tml and component

2009-09-17 Thread cleverpig
> 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 wrote: >> you can use eclipse wtp to edit tml files,just config association for it. >> >> On

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 wrote: > Em Thu, 17 Sep 2009 09:24:05 -0300, cleverpig > escreveu: > >> oh,thanks! >> it's seem like my way. >> but how to handler this form submit event and grid event independently? > > Pleas

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 wrote: > Em Thu, 17 Sep 2009 06:09:04 -0300, cleverpig > escreveu: > >> in this situation,we have a grid page for products. >> our client need add some textfeild or selectbox on the bottom of >> grid,

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

2009-09-17 Thread cleverpig
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:can we nest a bean's property value in message resource?

2009-09-17 Thread cleverpig
g prefix for your > requirement. > But maybe a bit complicated. > > Another simpler way is using Messages#get in your page class. > > DH > http://www.gaonline.com.cn > > - Original Message - > From: "cleverpig" > To: "Tapestry users"

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

2009-09-17 Thread cleverpig
mean it should equal 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

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

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

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 wrote: > oh,i'd added this description. namespace p works now! > so i ran app,found this rowNumber Co

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

2009-09-16 Thread cleverpig
_0.xsd"; >  xmlns:p="tapestry:parameter"> > > > DH > http://www.gaonline.com.cn > > - Original Message - > From: "cleverpig" > To: "Tapestry users" > Sent: Thursday, September 17, 2009 11:08 AM > Subject: Re: T5:how

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

2009-09-16 Thread cleverpig
work. > > DH > http://www.gaonline.com.cn > > - Original Message - > From: "cleverpig" > To: "Tapestry users" > Sent: Thursday, September 17, 2009 8:57 AM > Subject: Re: T5:how to use rowIndex in Grid component? > > > anyone have idea on this? &

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 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: switch between tml and component

2009-09-16 Thread cleverpig
instructor > http://www.arsmachina.com.br/thiago > > - > 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 S

Re: [ANNOUNCEMENT] New Tapestry 5 book

2009-09-16 Thread cleverpig
gt;> improve the quality. >> >> Enjoy >> >> -- >> Best regards, >> >> Igor Drobiazko >> > > > > -- > Howard M. Lewis Ship > > Creator of Apache Tapestry > > The source for Tapestry training, mentoring and support. Contact

T5:how to use rowIndex in Grid component?

2009-09-16 Thread cleverpig
er with my best!~ -- 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

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

2009-09-16 Thread cleverpig
o use the tapestry specific validators. >> >> g, >> kris >> >> >> >> >> >> cleverpig >> 16.09.2009 11:28 >> Bitte antworten an >> "Tapestry users" >> >> >> An >> users@tapestry.apache.org >

T5:hibernate @Length validator doesn't work

2009-09-16 Thread cleverpig
@Length(min=10,max=20) @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 Addre