Re: T5: PageTester and Spring Integration

2007-03-22 Thread Kent Tong
chris at skipoles.co.uk writes: So, my question... is there a way that I can get spring integration working within PageTester? If not, then some thoughts... You may want to create a feature request at https://issues.apache.org/jira/browse/TAPESTRY and upload a test case. There is no

Re: Starting with Tapestry

2007-02-05 Thread Kent Tong
in some limited scopes. 2) Create a platform that allows T4 pages and T5 pages running in the same app and create a bridge to allow them to communicate or to share ASO. -- Kent Tong Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT

T5: which way do you prefer?

2007-01-27 Thread Kent Tong
Hi, In T5, how would like to configure a component? For example, let's imagine a component type ColorText that outputs a string in a certain color. You're now using this component in a page. First, an all-binding style (same concept as in T4): @ComponentClass public class MyPage {

Re: T5: which way do you prefer?

2007-01-27 Thread Kent Tong
Howard Lewis Ship hlship at gmail.com writes: T5 components have a very definite construction-phase (where they are hooked up, parameters are bound, etc.) followed by a production-phase. The new methods you are talking about are contruction-phase only. But what happens if they are invoked

Re: T5: which way do you prefer?

2007-01-27 Thread Kent Tong
Howard Lewis Ship hlship at gmail.com writes: For me, the issue is that this puts an onus on the developers (us!) to write much more code for components, while limiting their functionality in the process (locking down some parameters as simple read-only properties). Are you concerned that

Re: T5: which way do you prefer?

2007-01-27 Thread Kent Tong
Howard Lewis Ship hlship at gmail.com writes: Thing is, that would have to be _textField.setValidator(required,minlength=10). The way the validate binding factory works, it needs to know a lot about the component being bound as well as the container component. That's how it obtains the

Re: Enjoying Web Development with Tapestry updated for T4.1 (with AJAX)

2007-01-03 Thread Kent Tong
the link to those valid subscribers a few days ago (supposedly including Daniel; I'll check). -- Kent Tong Useful FREE software at http://www2.cpttm.org.mo/cyberlab/freeware - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

ANN: Enjoying Web Development with Tapestry updated for T4.1 (with AJAX)

2006-12-30 Thread Kent Tong
Hi, I've updated my book for T4.1 with a new chapter on AJAX. The first four chapters are freely available. More info at http://www.agileskills2.org/EWDT Thanks! -- Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)

new logo for Tapestry

2006-05-17 Thread Kent Tong
Hi, I agree that a logo competition should be held. At the mean time, my artist friend has created one at http://www.agileskills2.org/EWDT/Tapestry.jpg Please comment. -- Kent Tong Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT

Re: Testing pages

2006-05-12 Thread Kent Tong
Rob Dennett rob_dennett at tmit1.org writes: Property bugService should be read-only; remove method public abstract void view.Browse.setBugService(model.services.BugService). How do you get around this? Sorry that I've using this approach to unit test T3 pages only. I don't know why

Re: Testing pages

2006-05-10 Thread Kent Tong
Rob Dennett wrote: My page uses an injected service to authenticate the user. The page only provides a getter. Do you add service setters to all your pages to provide hooks just for these setup pages? Yes. -- Kent Tong, Msc, MCSE, SCJP, CCSA, Delphi Certified Manager of IT Dept, CPTTM

Re: messages-encoding problem for japanese in utf-8?

2006-05-08 Thread Kent Tong
web page like: Open your .html file in a browser and check what character set it is in. For example, in FireFox, choose View | Character Encoding to see which one is selected. I suspect your file is not in UTF-8. -- Kent Tong Author of a book for learning Tapestry (http://www.agileskills2.org

Re: Best way to record an error in a listener

2006-05-08 Thread Kent Tong
(field, msg); } } -- Kent Tong Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]