Re: T5 PageTester and ApplicationGlobals

2008-02-24 Thread Angelo Chen
Hi Robert, Nice tip, it works! and with that, i can use anonymous class to implement a mock object, or can even use EasyMock to create one, good idea, thanks. PageTester and Tapestry-Test seems overlapping each other, any guide lines when to use PageTester and when to use Tapestry-Test? A.C.

Re: Tapestry 4.1.5 Javaassist and runtime errors!!

2008-02-24 Thread Pai911
I forgot to mention that I am running "one web app" with two Tapestry servlets each with different path pattern The dir structure is like this tapestryadm.application tapestryapplication.application tapestryadm --page --component --hivemodule.xml tapestryapplication --page --co

Tapestry 4.1.5 Javaassist and runtime errors!!

2008-02-24 Thread Pai911
Hi! I have a windows 2003 server with tomcat 5.5.12 & BEA JRockit 1.5.0_08 The application goes well at the star, but after some time the log complains something like the following messages: org.apache.hivemind.ApplicationRuntimeException: Unable to add method java.lang.Object get(ognl.OgnlCont

Why can't I just specify exactly the component I need to refresh in updateComponents attribute

2008-02-24 Thread Pai911
Hi! Originally, I think "updateComponent" is used to update exactly the component I need to But, now it seems that every component I need to update has to be put into an "Any" component. Why is that? -- View this message in context: http://www.nabble.com/Why-can%27t-I-just-specify-exactly-the

Re: ognl message inside javascript

2008-02-24 Thread Ulrich Stärk
I guess you could do this with the Script component. Please refer to the documentation. Uli learner schrieb: i have javascript function like below.how to put ognl message key inside my alert as below... function doSomething(){ doSomething(); alert('ognl:key '); return callAnother()

call clientside pop up dialog with my javascript

2008-02-24 Thread learner
i have my own javascript that do my own validation. if validation fail, i want to put my message inside "client side dialog box" . is this possible ? currently i using simple "alert" to show validation fail. it's not standardize as the rest of my validations are done by tapestry clientside valida

ognl message inside javascript

2008-02-24 Thread learner
i have javascript function like below.how to put ognl message key inside my alert as below... function doSomething(){ doSomething(); alert('ognl:key '); return callAnother(); } - To unsubscribe, e-mail: [EMAIL PROT

Re: T5: PageTester problems since 5.0.6

2008-02-24 Thread Jesper Zedlitz
I have found out what changed: Until Tapestry 5.0.5 the pages where called src/main/webapp/WEB-INF/Start.html Starting with 5.0.6 the name has to be src/main/webapp/Start.tml ^^^ (no h) Jesper -- Jesper Zedlitz Dept. for Computer Science, CAU of Kiel Room

Re: T5: PageTester problems since 5.0.6

2008-02-24 Thread Jesper Zedlitz
Angelo Chen wrote: > I remember after 5.0.7 or something, the template is under the root, is it > the problem? > > PageTester tester = new PageTester(appPackage, appName, "src/main/webapp", > TestAppModule.class); > Still the same problem. I put the example (basically the T5 quickstart demo with

[t5.0.10] absolute urls seem to lack port and protocol knoledge

2008-02-24 Thread Joost Schouten (ml)
Hi, For some reason as of today my app running under Jetty fails to resolve the URL's properly. Even though I request my pages over https://localhost:8443/ the generated URL's by the forms, action and page links result in a url with http://localhost/ Has anything changed in the way the url's