Re: 5.0.5-SNAPSHOTS

2007-05-18 Thread Robin Ericsson
On 5/17/07, sun [EMAIL PROTECTED] wrote: Howard Lewis Ship hlship at gmail.com writes: I've been making a number of important T5 bug fixes; I've just uploaded the latest snapshots to http://people.apache.org/~hlship/tapestry-repository/ Feedback is always welcome! T5.0.5 did not solve

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 remove the

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 =

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 extends

Re: foreach 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: input-symbol key=mapPlotPoints

Re: foreach In scriptDTD

2007-05-18 Thread Andrea Chiumenti
? try this: input-symbol key=mapPlotPoints class=Java.util.List required=no/ var varCapArray = new Array(${mapPlotPoints.size()}); foreach expression=mapPlotPoints key=item index=count varCapArray[count] = {caption: '${item.caption}', lat: ${item.lat}, longi: ${item.longi}}; /foreach

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,

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: 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

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:

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 Holloway

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

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 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.

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

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 (

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 : form jwcid=[EMAIL PROTECTED] async=true delegate=ognl:validationDelegate

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 form/form context. The object BLURB is added to the end of the URL and this results in my object basically not being able to be

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!

BeanForm Caching Problems

2007-05-18 Thread Paulo Ramos
Hello everyone. I'm using BeanForm to generate dynamic forms like this: component id=teste type=bf:BeanForm binding name=bean value=ognl:objectForm / binding name=properties value=objectForm.propertiesList / binding name=save

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

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: a href=./app?service=restartLogout/a but in T5, sorry. Thank's Marcus

BeanForm Caching Problems

2007-05-18 Thread Paulo Ramos
Hello everyone. I'm using BeanForm to generate dynamic forms like this: component id=teste type=bf:BeanForm binding name=bean value=ognl:objectForm / binding name=properties value=objectForm.propertiesList / binding name=save

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

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: 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: component id=teste type=bf:BeanForm binding name=bean

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.

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

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

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