failed to deploy tapestry to jbossas 4.2.0

2007-05-18 Thread Heping Zhang
hi, I've ever deploy my app on jbossas 5 and it works well. but when today I just want to use jbossas 4.2.0 since it is GA version, it crashed. here is the message: javax.servlet.ServletException: org.apache.hivemind.ApplicationRuntimeException: Unable to construct service tapestry.request.Disable

Re: Hopefully an easy one

2007-05-18 Thread Daniel Kleine-Albers
Hi Tony, would using a minDate validator be an option - to restrict valid values to dates later as 01/01/2007 for example? Best regards Daniel On 18.05.2007, at 04:24, Tony Nelson wrote: No, it will accept user input as: 5/17/07 which gets translated in my queries to 5/17/0007 and causes

Re: EventListener validateForm=false still submits form

2007-05-18 Thread Julian Wood
Hi Jesse, yes, it is a timesheets, billing, invoicing and reporting system. Quite fun actually. Your suggestion about not updating the components unless necessary was dead on. That took care of a lot of little problems which were compounding on each other. I have one last issue though. I

Re: Trouble getting Tapestry up and running

2007-05-18 Thread Geoff Callender
A handy technique is to set up an Ant target that gets the versions you want on the day, eg. src="http://www.ibiblio.org/maven2//commons-codec/commons-codec/1.3/ commons-codec-1.3.jar" /> usetimestamp="true" src="

Re: AW: localization oddity

2007-05-18 Thread Daniel Kleine-Albers
Hi Holger, in my application specification I have the following lines: It's quite some time ago but as far as I remember, I changed the template encoding as well to make sure that pages get transmitted to the browsers as UTF-8 - otherwise they'll simply display garbage for non-ASC

Re: Trouble getting Tapestry up and running

2007-05-18 Thread Andreas Andreou
There's too many of them - you have jars needed only for testing or building tapestry - you dont need them to run it. I made some single zips with deps included while making the NB plugin for Tap4.0.2 and a 4.1.2 at https://nbtapestrysupport.dev.java.net/servlets/ProjectDocumentList?folderID=6266

Re: 5.0.5-SNAPSHOTS

2007-05-18 Thread Thiago H de Paula Figueiredo
On Fri, 18 May 2007 15:52:42 -0300, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: You need to keep up with the commits logs :-) That was added a couple of days ago. I was thinking about this lately. Sometimes I miss some web page (maybe in the wiki) at which I could see the Tapestry 4.1 e

Re: Trouble getting Tapestry up and running

2007-05-18 Thread jbeall
Konstantin Ignatyev wrote: > > http://tapestry.apache.org/tapestry4.1/dependency-convergence.html > > http://tapestry.apache.org/tapestry5/tapestry-hibernate/dependencies.html Good gravy! I went through the entire list, googled them, and downloaded every one. After dropping the jars into my

Re: Trouble getting Tapestry up and running

2007-05-18 Thread Konstantin Ignatyev
http://tapestry.apache.org/tapestry4.1/dependency-convergence.html http://tapestry.apache.org/tapestry5/tapestry-hibernate/dependencies.html --- jbeall <[EMAIL PROTECTED]> wrote: > > > Konstantin Ignatyev wrote: > > > > Yes, it is irritating not to have all the > necessary > > jars. > > I thi

Re: Trouble getting Tapestry up and running

2007-05-18 Thread jbeall
Konstantin Ignatyev wrote: > > Bottom line: you need other jars: ognl, cglib , etc. I downloaded those two jars and put them in my shared/lib Tomcat folder, but I'm getting the same error. I'm wondering if it's not that I'm missing jars (though I may be), but some sort of configuration error.

Re: Trouble getting Tapestry up and running

2007-05-18 Thread jbeall
Konstantin Ignatyev wrote: > > Yes, it is irritating not to have all the necessary > jars. > I think there always should be a starter.war that > should been a complete web application setup to drop > into a servlet container and start playing. > > Bottom line: you need other jars: ognl, cglib ,

Re: T5 Templating and alternate css files based on current page

2007-05-18 Thread Howard Lewis Ship
Another option is to inject the AssetSource service into your component, so you can calculate the path passed to it. On 5/17/07, Bill Holloway <[EMAIL PROTECTED]> wrote: I thought that if a directory in the context didn't conflict with a tapestry page name (like 'start'), then the url to that d

Re: 5.0.5-SNAPSHOTS

2007-05-18 Thread Howard Lewis Ship
You need to keep up with the commits logs :-) That was added a couple of days ago. On 5/18/07, Thiago HP <[EMAIL PROTECTED]> wrote: Regarding localization, what about the possibility of a single properties file for the application? Thiago -- Howard M. Lewis Ship TWD Consulting, Inc. Inde

Re: BeanForm Caching Problems

2007-05-18 Thread Paulo Ramos
Thank´s. You save my day. Andreas Andreou escreveu: http://beanform.sourceforge.net/component-reference.html the cacheProperties parameter On 5/18/07, Paulo Ramos <[EMAIL PROTECTED]> wrote: Hello everyone. I'm using BeanForm to generate dynamic forms like this:

Re: Trouble getting Tapestry up and running

2007-05-18 Thread Konstantin Ignatyev
Yes, it is irritating not to have all the necessary jars. I think there always should be a starter.war that should been a complete web application setup to drop into a servlet container and start playing. Bottom line: you need other jars: ognl, cglib , etc. --- jbeall <[EMAIL PROTECTED]> wrote:

Re: tapestry-ioc remarks and questions

2007-05-18 Thread Howard Lewis Ship
On 5/9/07, Ognen Ivanovski <[EMAIL PROTECTED]> wrote: Hi there! I'm very impatient to get my hands on tapestry 5, especially the IUC container. I really like the major points there. However, some remarks: 1. having the IOC container recognize the builder/contributor methods by method name is c

Trouble getting Tapestry up and running

2007-05-18 Thread jbeall
Hi All, I'm new to Tapestry and have spent the better portion of the day attempting to get it running by going through "Enjoying Web Development with Tapestry" by Kent Tong. I have been unsuccessful in getting the HelloWorld app up and running. When I attempt to access localhost:8080/HelloWorld

Re: 5.0.5-SNAPSHOTS

2007-05-18 Thread Thiago HP
Regarding localization, what about the possibility of a single properties file for the application? Thiago

Re: BeanForm Caching Problems

2007-05-18 Thread Andreas Andreou
http://beanform.sourceforge.net/component-reference.html the cacheProperties parameter On 5/18/07, Paulo Ramos <[EMAIL PROTECTED]> wrote: Hello everyone. I'm using BeanForm to generate dynamic forms like this:

Re: T5: How to logout or kill the Session

2007-05-18 Thread Howard Lewis Ship
Please add an issue to JIRA. We should extend the Reuest and/or Session API to include a method for resetting the Session. With T5's structure, we have a natural place to invalidate the HttpSession after sending the client redirect. On 5/18/07, Marcus <[EMAIL PROTECTED]> wrote: Hi, In T4, I f

BeanForm Caching Problems

2007-05-18 Thread Paulo Ramos
Hello everyone. I'm using BeanForm to generate dynamic forms like this: value="objectForm.propertiesList" /> I'm setting different Pojo to objectForm to get different forms. The objectForm.propertiesList returns a S

Re: T5: How to logout or kill the Session

2007-05-18 Thread Marcus
Hi, In T4, I feel certain you know, we're using: Logout but in T5, sorry. Thank's Marcus

Very unusual issue passing parameters 4.1.2 Any help appreciated greatly

2007-05-18 Thread Chris Chiappone
This has been mind boggling me for the last two days. All I want to do is pass a string value to a component and I can't seem to get it work. The weird thing is this EXACT same code works on two of my other tapestry apps but not the one I need it to work in. Here is the exact code I have been u

BeanForm Caching Problems

2007-05-18 Thread Paulo Ramos
Hello everyone. I'm using BeanForm to generate dynamic forms like this: value="objectForm.propertiesList" /> I'm setting different Pojo to objectForm to get different forms. The objectForm.propertiesList r

Clientside persistence - Tapestry 4.1.1 - size restriction

2007-05-18 Thread Jan Vissers
Hi, I've been experimenting with Client side persistence in Tapestry 4.1.1 (@Persist("client")) Everything works smoothly until I use a @DirectLink outside of the context. The object BLURB is added to the end of the URL and this results in my object basically not being able to be transmitte

Re: any idea to inject a ejb to tapestry?

2007-05-18 Thread Heping Zhang
thank you very much! I will try that.Thank you again!

Re: 5.0.5-SNAPSHOTS

2007-05-18 Thread Howard Lewis Ship
It looks like there's a pass at the bug fix attached. I, or someone, will get to it eventually. I want Tapestry to continue to have the best localization support; there's a vast market there that is not well served by the other available solutions. However, in the short term, there are other bugs

Re: Is onActivate a robust place for authentication?

2007-05-18 Thread Howard Lewis Ship
For the meantime, an "activate" event handler method (in a base class) is how I've envisioned authentication. However, I want to open up a kind of pipeline between the Dispatcher and the PageLinkHandler that can be injected, so that you can do this kind of operation across the entire application.

EventListener is not working in 4.1.2

2007-05-18 Thread Eric BIANCHI
Hello List, I've been happily using the EventListener Annotation in Tapestry 4.1.1 and everything works fine. Using the latest snapshot (4.1.2), my EventListener doesn't work anymore. Here's my code : delegate="ognl:validationDelegate" clientValidationEnabled="false"> @EventL

Re: [Tap 411] Friendly urls and images

2007-05-18 Thread Thomas Wiz
Andreas Andreou-3 wrote: > > How are the js, images, css folders made web accessible? > Perhaps you can use the base tag ( > http://www.w3schools.com/tags/tag_base.asp ) ? > > If you're using the @Shell component, you can take a look at the > renderBaseTag parameter ( > http://tapestry.apache.

Re: any idea to inject a ejb to tapestry?

2007-05-18 Thread SergeEby
Hi, This post might be helpful: http://www.nabble.com/Inject-EJB-3-into-Tapestry-4-page-tf2841494.html#a8468544 /Serge Heping Zhang wrote: > > hi, I use tapestry as web tier and want get a slsb in this tier. this is > my > code: > public abstract class Home extends BasePage { > > // @EJB >

Re: Is onActivate a robust place for authentication?

2007-05-18 Thread Eric Chatellier
This doesn't exist in tapestry 5 2007/5/18, Martino Piccinato <[EMAIL PROTECTED]>: I think what you are looking for is interface PageValidateListener http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/event/PageValidateListener.html it's thought just for this kind of things afa

Re: Is onActivate a robust place for authentication?

2007-05-18 Thread Martino Piccinato
I think what you are looking for is interface PageValidateListener http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/event/PageValidateListener.html it's thought just for this kind of things afaik. On 5/18/07, Eric Chatellier <[EMAIL PROTECTED]> wrote: 2007/5/18, Bill Hollowa

Re: any idea to inject a ejb to tapestry?

2007-05-18 Thread Andrea Chiumenti
Then it shouldn't be hard to create an hivemind service that does what you are doing in your page kiuma On 5/18/07, Heping Zhang <[EMAIL PROTECTED]> wrote: thanks for your reply! however, as I use ejb3, it seems that hivemind doesn't support *EJB3: http://www.nabble.com/EJB3-and-EJBProxyFactory

Re: any idea to inject a ejb to tapestry?

2007-05-18 Thread Heping Zhang
thanks for your reply! however, as I use ejb3, it seems that hivemind doesn't support *EJB3: http://www.nabble.com/EJB3-and-EJBProxyFactory...-t943423.html Since this message is one year ago, I don't know is there any more development of hivemind on this subject? Or any other way to inject slsb t

Re: Is onActivate a robust place for authentication?

2007-05-18 Thread Eric Chatellier
2007/5/18, Bill Holloway <[EMAIL PROTECTED]>: I'm not sure yet how to integrate ACEGI, but I can look at an ASO in onActivate for a page. Is returning a page name from onActivate() a robust solution for basic user authentication? Bill I bill I'm interested by the answer too... Where can we

AW: localization oddity

2007-05-18 Thread Holger Stolzenberg
It would be very intresting for if you could tell me how you could convert the messages properties files to UTF-8 because as I know java properties files can only be ISO-8859-1 encoded. Mit lieben Grüßen aus dem eWerk | Holger Stolzenberg | Softwareentwickler | | Geschäftsführer:

Re: In scriptDTD

2007-05-18 Thread Kushan Jayathilake
Thank you very much, I did it already Kushan Jayathilake Member - Java Community Process (http://jcp.org) ---Original Message--- From: Andrea Chiumenti Date: 5/18/2007 4:24:27 PM To: Tapestry users Subject: Re: In scriptDTD ? try this: var varCapArray = new Array(${mapPlo

Re: In scriptDTD

2007-05-18 Thread Andrea Chiumenti
? try this: var varCapArray = new Array(${mapPlotPoints.size()}); varCapArray[count] = {caption: '${item.caption}', lat: ${item.lat}, longi: ${item.longi}}; or var varCapArray = new Array(); varCapArray.push( {caption: '${item.caption}', lat: ${item.lat}, longi: ${item.longi}}

Re: General Tapestry Question - File permissions

2007-05-18 Thread Andrea Chiumenti
of course it's not a bug in java! but the permissin you tomcat/jetty/whatever is running with! kiuma On 5/18/07, Peter Dawn <[EMAIL PROTECTED]> wrote: guys, this is a general java question, but since i am using tapestry i thought i will raise it here. i am using tap3. now whats happening is,

Re: any idea to inject a ejb to tapestry?

2007-05-18 Thread Andrea Chiumenti
With T4 ? Have a look here: http://hivemind.apache.org/hivemind1/hivedocs/service/hivemind.lib.EJBProxyFactory.html ciao, kiuma On 5/18/07, Heping Zhang <[EMAIL PROTECTED]> wrote: hi, I use tapestry as web tier and want get a slsb in this tier. this is my code: public abstract class Home extend

any idea to inject a ejb to tapestry?

2007-05-18 Thread Heping Zhang
hi, I use tapestry as web tier and want get a slsb in this tier. this is my code: public abstract class Home extends BasePage { // @EJB // Calculator bean; public String getResult() { // Double message = bean.calculate(11, 22, 0.08, 44); // return message.toString(); InitialContext ctx = nul

Re: T5: How to logout or kill the Session

2007-05-18 Thread Sabine K.
Hi, the ASO are not the problem, the @Persist variables are a problem. To the pdf: i open the page which generates the pdf by " Or klick here to get a pdf. " in a new window. Did u mean that? Marcus-11 wrote: > > HI Sabine, > > Maybe this help: > > "Assigning null to an ASO field will remov