T5 object provider problem

2009-07-25 Thread haipeng du
could I do? As I understand, if I return null, the IOC will try to find other providers to inject it and throw exception. So I have no way to inject null to object. That does not make sense at all. Thanks. -- Haipeng Du Salt Lake City

T5 TextField and Hidden problems

2009-07-07 Thread haipeng du
? If yes, it does not make any sense. Also, for hidden field, it does not render id attribute for me with if I change id="someId" to t:id="someId", it will render name attribute instead of id attribute. Thanks. -- Haipeng Du Salt Lake City

T5 Grid Error

2009-06-30 Thread haipeng du
could I fix it. Thanks. -- Haipeng Du Salt Lake City

Re: T5 Module methods call

2009-06-29 Thread haipeng du
Thanks Thiago. That makes sense. On Mon, Jun 29, 2009 at 2:44 PM, haipeng du wrote: > Thanks for your reply. As I understand, I do no need to create such service > from my module class. There is one tapestry service called > IgnoredPathsFilter already. Also, from ur

Re: T5 Module methods call

2009-06-29 Thread haipeng du
ributions) { >return new IgnoredPathsFilter(contributions); > } > > Regards, nillehammer > > == > http://www.winfonet.eu > > --------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Haipeng Du Salt Lake City

T5 Module methods call

2009-06-29 Thread haipeng du
t;>>>>>>>>>>>>>"); } but this one is not called: public static void contributeIgnoredPathsFilter(Configuration configuration) { configuration.add("/dwr/.*"); configuration.add("/scripts/.*"); configuration.add("/logout"); } Why? -- Haipeng Du Salt Lake City

T5 remove prototype and scriptaculous

2009-06-28 Thread haipeng du
There are some conflict with prototype and scriptaculous on my page. Is that possible to remove these javascript loading for specific pages? Thanks. -- Haipeng Du Salt Lake City

T5 ajax examples

2009-06-27 Thread haipeng du
What is the good reference for ajax in T5? I did not find any good documentation from T5 website. Thanks. -- Haipeng Du Salt Lake City

T5 change grid column header label

2009-06-26 Thread haipeng du
How could I change label for grid header and keep the sorting function. -- Haipeng Du Salt Lake City

T5 life cycle for page render

2009-06-22 Thread haipeng du
On Mon, Jun 22, 2009 at 2:18 PM, haipeng du wrote: > In my page, I have one requirement to keep data in the request cycle and > discard it after response sent back. I will not use @Persist as it is not. > But, when I try to trace request processing, I got following when I click > s

life cycle for page render

2009-06-22 Thread haipeng du
. -- Haipeng Du Salt Lake City

Re: T5 disable loading specified module

2009-06-21 Thread haipeng du
le, it should not be loaded. > of > course if T5's module and it has auto binding, then it will be loaded as > long as it is linked. > > > flyabovesun wrote: > > > > How could I configure Tapestry so that specified modules will not be auto > > loaded into

T5 disable loading specified module

2009-06-20 Thread haipeng du
How could I configure Tapestry so that specified modules will not be auto loaded into service. Thanks. -- Haipeng Du Salt Lake City

Re: T5 tapestry spring

2009-06-17 Thread haipeng du
Id("beanId") private BaseDAO baseDAO It works for me now. On Wed, Jun 17, 2009 at 1:40 AM, Otho wrote: > I had a similar problem. Maybe this thread helps you: > > > http://www.nabble.com/T-5.1-How-to-inject-Spring-beans-by-name--td22934788.html > > 2009/6/17 haipeng du

T5 tapestry spring

2009-06-16 Thread haipeng du
I try to inject spring beans to page class with @Inject @Id("baseDAO") private BaseDAO baseDAO It still gave me that "Spring context contains 14 beans assignable to type xx.BaseDAO what should I do for this. -- Haipeng Du Salt Lake City

Re: best book for T5

2009-06-15 Thread haipeng du
2009/6/15 Thiago H. de Paula Figueiredo > > > > > +1. The more books, the better. :) > > > > > > -- > > > Thiago > > > > > > - > > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > > > > > -- Haipeng Du Salt Lake City

best book for T5

2009-06-11 Thread haipeng du
What is the best book for T5. Tutorial from t5 website is too simple. Thanks. -- Haipeng Du Salt Lake City

Re: change persist property value in component

2008-05-11 Thread haipeng du
stry-core/guide/rendering.html > > Toby > > - Original Message > From: haipeng du <[EMAIL PROTECTED]> > To: users@tapestry.apache.org > Sent: Saturday, 10 May, 2008 9:37:27 PM > Subject: change persist property value in component > > How could I change Per

change persist property value in component

2008-05-10 Thread haipeng du
How could I change Persist property value in component? Which method will be called in component before page is rendered. Thanks. -- Haipeng Du Salt Lake City

Re: tapestry 4 to focus on specified field

2007-03-02 Thread haipeng du
ld. If no required fields, then the first field, period. The focus parameter is used when you have multiple forms on one page, and want to control which one gets to take focus. On 3/2/07, haipeng du <[EMAIL PROTECTED]> wrote: > How could I set up form and field to make tapestry form foc

tapestry 4 to focus on specified field

2007-03-02 Thread haipeng du
How could I set up form and field to make tapestry form focus on specified field. In the form, it is only one parameter called "focus" which is boolean. It should have parameter that takes a list of fields name or id for focus order. Does t4 have that? Thanks a lot. -- Haipeng D

ajax exception

2007-02-07 Thread haipeng du
not work at all. How could I disable or config dialog so that the page is friendly? Thanks a lot. -- Haipeng Du Software Engineer Comphealth, Salt Lake City - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

autocompleter can not use EventListener

2007-01-29 Thread haipeng du
I try bind one EventLister to an autocomplter. But it does not work. How could I listen onblur or onfocus for autocompleter? Thanks a lot -- Haipeng Du Software Engineer Comphealth, Salt Lake City

tapestry.even has properties

2007-01-29 Thread haipeng du
I configure event lister like : @EventListener(events="onblur", elements="table1Field", async=true) and I got error when field event is fired tapestry.event has no properties http://localhost:9090/mmtransfer/js/dojo/dojo.js Line 15 what do I missed for this? -- Haipeng

Re: ajaxsubmit

2007-01-29 Thread haipeng du
AX way. If you use a version prior to 4.1, you need to block that action. The EventListener makes it all much easier by allowing you to force an Ajax postback on components that aren't submit components (i.e. a plain old button). ________ From: haipeng du [mailto:[EMAIL

ajaxsubmit

2007-01-25 Thread haipeng du
Hi, guys, When I try to use AjaxSubmit, sometimes, that button dose not just do ajax call. It submits form(not the ajax call) one time after I click it several times. I do not know why? Does somebody else have the same problem? -- Haipeng Du Software Engineer Comphealth, Salt Lake City