Class cast exception in ASTChain, Bug OGNL-11

2007-07-09 Thread Damien Uern
Hello, I recently upgraded to OGNL 2.7, Tapestry 4.1.2 and am experiencing the same issue described here http://jira.opensymphony.com/browse/OGNL-11. The original poster didn't seem to provide much information, so I have added a comment to that bug describing the issue I am having. I'm not sure i

RE: Tapestry read query parameters before page rendering [T4.0]

2007-07-09 Thread Marcus.Schulte
Your class can implement IExternalPage. You would then publicise a link like: http://localhost/myapp?service=external&context=ViewCustomer&sp=5056&sp= 302 Where ViewCustomer is you page. Loading that Url will call you page-classes' activateExternal method passing in an array of Objects ( {5056,302}

RE: T5 Tutorial

2007-07-09 Thread Bhuiyan, Nazmul
Hi Nick, No luck yet and still getting the same error. I've upgraded to Maven 2.0.7 and modified the maven-2.0.7\conf\settings.xml of maven as follows. The proxy settings are exactly same as eclipse network settings. I'm pretty sure proxy setting causing the problem. Can you please check wheth

Tapestry read query parameters before page rendering [T4.0]

2007-07-09 Thread Josh Joy
Hi, If I have a page like http://www.website.com/report?id=12345 and I send someone this link How can I use the information for the parameter id with arg 12345 to generate the report using the custom information I pull for this particular id? I know when dealing with forms, I can implement

Re: T5 Tutorial

2007-07-09 Thread Nick Westgate
Try upgrading to 2.0.7. If that doesn't work, googling the error message suggests it's a network/proxy problem. http://maven.apache.org/guides/mini/guide-proxies.html Cheers, Nick. Bhuiyan, Nazmul wrote: Shall I use Maven 2.0.7? In the tutorial you have mentioned to use Maven 2.0.5 ---

How to override GridPager component

2007-07-09 Thread 小司
This is tapestry's GidPager style 11.jpg I want to that 22.jpg How to do it??? Thanks -- 得与失都是生活 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: T5 Tutorial

2007-07-09 Thread Bhuiyan, Nazmul
Shall I use Maven 2.0.7? In the tutorial you have mentioned to use Maven 2.0.5 -Original Message- From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 July 2007 1:20 p.m. To: Tapestry users Subject: Re: T5 Tutorial And I'm on Maven 2.0.7 at this point. This sure feels lik

Re: T5 Tutorial

2007-07-09 Thread Howard Lewis Ship
And I'm on Maven 2.0.7 at this point. This sure feels like a Maven bug (it's complaining about a missing archetype plugin, not anything to do with Tapestry specifically). On 7/9/07, Donyee <[EMAIL PROTECTED]> wrote: I change 5.05 to 5.04,then it works fine. 2007/7/10, Howard Lewis Ship <[EMAIL

Re: T5 Tutorial

2007-07-09 Thread Donyee
I change 5.05 to 5.04,then it works fine. 2007/7/10, Howard Lewis Ship <[EMAIL PROTECTED]>: What version of Maven are you using? On 7/9/07, Nazmul Bhuiyan <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm following the T5 tutorial and getting the following error. I've ran this > at my work pc. Is t

RE: T5 Tutorial

2007-07-09 Thread Bhuiyan, Nazmul
C:\tmp>mvn --version Maven version: 2.0.5 -Original Message- From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 July 2007 12:53 p.m. To: Tapestry users Subject: Re: T5 Tutorial What version of Maven are you using? On 7/9/07, Nazmul Bhuiyan <[EMAIL PROTECTED]> wrote: > >

Re: T5 Tutorial

2007-07-09 Thread Howard Lewis Ship
What version of Maven are you using? On 7/9/07, Nazmul Bhuiyan <[EMAIL PROTECTED]> wrote: Hello, I'm following the T5 tutorial and getting the following error. I've ran this at my work pc. Is there any proxy issue here or some thing else? C:\tmp>mvn archetype:create -DarchetypeGroupId=org.apa

T5 Tutorial

2007-07-09 Thread Nazmul Bhuiyan
Hello, I'm following the T5 tutorial and getting the following error. I've ran this at my work pc. Is there any proxy issue here or some thing else? C:\tmp>mvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.5 -DgroupId=org.apache.t

Re: T4.1.2 Survey: Is Selenium working for you?

2007-07-09 Thread Geoff Callender
Jun replied directly to me that he doesn't test client-side validation and he uses Selenium RC (remote control). So is ANYONE successfully using Selenium TestRunner with tests of client-side validation in Tapestry 4.1.2? We don't test client-side validation.We use Selinum RC in our CI serv

Re: T5 change between 5.0.4 and 5.0.5 and Spring

2007-07-09 Thread Robert Binna
Sounds plausibly. Thanks for your fast answer. Robert Am 09.07.2007 um 18:24 schrieb Davor Hrg: st say explicitely what to inject since alias service is not yet initialized, and depends on TypeCoercer Davor Hrg

T5 How to access ApplicationState(session) in Servlet Filter

2007-07-09 Thread matt22
T5 Can i access ApplicationState(session) in classic Servlet Filter_? Thanks -- View this message in context: http://www.nabble.com/T5-How-to-access-ApplicationState%28session%29-in-Servlet-Filter-tf4052511.html#a11510759 Sent from the Tapestry - User mailing list archive at Nabble.com. --

T5: How to retrieve message from default Errors.properties

2007-07-09 Thread Adam Zimowski
Hi, In my page class I'd like to retrieve the original value for default-banner ("You must correct the following errors before you may continue.") which is stored in Errors.properties in tapestry-core.jar. I'd like to have this String accessible to my page class as a property. Is there a field an

Re: T5: disabling tapestry logging

2007-07-09 Thread Adam Zimowski
I know this message is old, but I've come across something similar. So if anybody else had this problem under Tomcat you can simply remove: final Log log parameter from buildTimingFilter and use your own log4j logger (or whatever) instead. In general under Tomcat 5.5, if you let Tapestry IOC pas

Re: New to Tapestry

2007-07-09 Thread Davor Hrg
I've put such example on Tapestry5HowtosPage http://wiki.apache.org/tapestry/Tapestry5HowToCreatePieChartsInAPage Davor Hrg On 7/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: You don't make a link to a service, what you can do is create a link to a component (including a pgae). Here's an

Re: [T5.0.5] Contributions to MasterDispatcher not working

2007-07-09 Thread Howard Lewis Ship
Going to need to see the code for this. On 7/6/07, Siddhartha Argollo <[EMAIL PROTECTED]> wrote: Hi all, I have two submodules, both used by AppModule. In the first module, I contribute with a "MyFirstDispatcher" to MasterDispatcher and the constraint "before:*". In the second module, I contri

Re: New to Tapestry

2007-07-09 Thread Howard Lewis Ship
You don't make a link to a service, what you can do is create a link to a component (including a pgae). Here's an example, off the top of my head (with errors, etc.), for a chart-like service: HTML: Java: @Inject private MyChartService _chartService; @Inject private ComponentResources _reso

Re: New to Tapestry

2007-07-09 Thread Ben Acker
I think the main thing that Matt wants is to: a.) know how to get a link to a home-brewed service and b.) know how to access that from a javascript call. I don't know how to get the link to access the T5 service, but here's a good link for a simple javascript call. http://www.w3schools.com/aj

Re: T5: Grid component / Date columns are not displayed

2007-07-09 Thread Howard Lewis Ship
On 7/9/07, CarstenM <[EMAIL PROTECTED]> wrote: Hey guys, I am new to tapestry and I know T5 is still alpha. But anyway, I have a class with a few Date attributes. That's coming. This class should be displayed with a grid component but all the Date attributes are missing. Is there already a

Re: T5 change between 5.0.4 and 5.0.5 and Spring

2007-07-09 Thread Davor Hrg
I belive this is true for all autowiring while contributing TypeCoercer, you must say explicitely what to inject since alias service is not yet initialized, and depends on TypeCoercer Davor Hrg On 7/9/07, Robert Binna <[EMAIL PROTECTED]> wrote: Hi I just changed between version T 5.0.4 a

T5: Grid component / Date columns are not displayed

2007-07-09 Thread CarstenM
Hey guys, I am new to tapestry and I know T5 is still alpha. But anyway, I have a class with a few Date attributes. This class should be displayed with a grid component but all the Date attributes are missing. Is there already a solution for Date columns in a Grid component? Additionally, how ca

Re: Trouble deploying T5 with maven

2007-07-09 Thread Moritz Gmelin
Thanks, that did it. M. Am 09.07.2007 um 15:28 schrieb SergeEby: Hi, The HTML templates should go either under the resources directory or WEB-INF Read this: http://tapestry.apache.org/tapestry5/tapestry-core/guide/ templates.html /Serge Moritz Gmelin wrote: Hi, I have created a T5

Re: Trouble deploying T5 with maven

2007-07-09 Thread Marcus
Hi Moritz, Maybe this help: http://tapestry.apache.org/tapestry5/tomcat.html http://tapestry.apache.org/tapestry5/tutorial1/first.html Are you using archetype Artifact Id = quickstart ? To generate .war file we're using mvn war:war Marcus

Re: Russian symbols problems

2007-07-09 Thread Steven Coco
This is somewhat intersting to me. This is the expected, usual, Java behavior (the .properties files must be in ISO 8895-1 encoding); but I thought I read somewhere that T5 allowed one to store the .properties files in UTF-8 encoding. Does this imply that is not so, or perhaps this just has not

Re: T5: Redirect after form submit - concerns

2007-07-09 Thread Howard Lewis Ship
T5 has the ability to to persist field properties onto the client (as zipped/based64) automatically. These show up as hidden form fields or extra query parameters. Not implemented yet is the ability to "scope" the data to only hidden form fields (but leave normal links unchanged) ... the API is

T5 change between 5.0.4 and 5.0.5 and Spring

2007-07-09 Thread Robert Binna
Hi I just changed between version T 5.0.4 and T 5.0.5 By the change I got the following error: Construction of service 'Alias' has failed due to recursion: the service depends on itself in some way. Please check org.apache.tapestry.services.TapestryModule.build(Log, String, AliasManager

T5: Redirect after form submit - concerns

2007-07-09 Thread kranga
We are in the process of evaluating T5 and other frameworks to upgrade our existing trading applications from T3. We extensively use objects serialized to hidden fields (zipped and base64 encoded) to manage state because we absolutely have to support multiple browser windows in the same session.

Re: Trouble deploying T5 with maven

2007-07-09 Thread SergeEby
Hi, The HTML templates should go either under the resources directory or WEB-INF Read this: http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html /Serge Moritz Gmelin wrote: > > Hi, > > > I have created a T5 Application based on the "myapp" template with > its pom.xml.

Trouble deploying T5 with maven

2007-07-09 Thread Moritz Gmelin
Hi, I have created a T5 Application based on the "myapp" template with its pom.xml. I have added some components and pages to the application and now, I'd like to deploy it on a tomcat server (or create a .war file of it). It does work if I build the application with eclipse and then do a

RE: No OPTION Tags rendered for PropertySelection after updateComponents

2007-07-09 Thread Schips Markus
It works now. I wrapped the "selection" Component in a Table and configured updateComponent to update the components column. Thanks ! - Markus > -Original Message- > From: Steve Shucker [mailto:[EMAIL PROTECTED] > Sent: 05 July 2007 18:44 > To: Tapestry users > Subject: Re: No OPTION Tag

session time out

2007-07-09 Thread nobody22
Hi, I'm using tapestry-3.0.4. I have a logon page with username and password input fields. First time I submit form it works fine. If username and password are correct I go on to Welcome page, otherwise I'm redirect on my logon page with an error message. Second time i submit form, if I enter

Re: New to Tapestry

2007-07-09 Thread Davor Hrg
Please give some more detail on what you are trying to acheive. Ajax infrastructure is not yet defined(I thin so at least) for T5, however, T5 already can do varios tasks very well, so do tell what are you trying to acheive. Davor Hrg On 7/6/07, Matt Coatney <[EMAIL PROTECTED]> wrote: Hello a

RE: Tapestry 4.1.2 LinkSubmit issue

2007-07-09 Thread Marcus.Schulte
you can use dojo's event connection/interception stuff which is described here: http://dojotoolkit.org/book/dojo-book-0-4/part-5-connecting-pieces/event -system-0 Basically you can do something like: dojo.event.connect("before", dojo.byId("yourLinkId"), "onclick", yourObjectRef, "yourMethodName")