Re: T5 preferred way to make sure response content-type is utf-8?

2007-05-25 Thread Davor Hrg
I tried it but had trouble with getting 5.0.5-SNAPSHOT in my pom... what is correct url for repository with tapestry snapshots now ? Hrg On 5/24/07, Nick Westgate [EMAIL PROTECTED] wrote: Hi Chris. Refer to this HowTo I just threw on the wiki:

Re: Announcement: HiberTapestry: Hibernate integration for Tapestry-IoC (T5)

2007-05-25 Thread Joshua Jackson
Thiago, I have downloaded HiberTapestry, but I'm still confused where to start. Could you give us a quickstart documentation on the website and a little example with source code to get us going? Also please inform us when the source for HiberTapestry is uploaded. Thanks in advance -- YM!:

Re: T5 preferred way to make sure response content-type is utf-8?

2007-05-25 Thread Nick Westgate
It also works with 5.0.4, but to use 5.0.5-SNAPSHOT you might need: repository snapshotsenabledtrue/enabled/snapshots idtapestry-snapshots/id urlhttp://people.apache.org/~hlship/tapestry-snapshot-repository//url /repository Cheers, Nick. Davor Hrg wrote: I tried it

updateComponent breaks rendering

2007-05-25 Thread Paul Stanton
Hi fellas, Tapestry 4.1.1 I'm trying to use ajax to update a common component without re-rendering the whole page, which works to some extent... Basically I call updateComponent on the top most div inside this component, as there are a number of sub components each of which need to update.

Re: T5 page lifecycle

2007-05-25 Thread Martin Grotzke
On Thu, 2007-05-24 at 16:36 -0700, Howard Lewis Ship wrote: Need an ls -lR of src/main/webapp I suspect you have a link to a .js file that doesn't exist. If it did exist, the request would be passed off to the servlet container. Since it doesn't, and it looks like a Tapestry page request,

Re: Announcement: HiberTapestry: Hibernate integration for Tapestry-IoC (T5)

2007-05-25 Thread Jun Tsai
Where to find the source? not open source? 2007/5/25, Thiago H de Paula Figueiredo [EMAIL PROTECTED]: Hi! I have just released version 0.1 of HiberTapestry, a Hibernate integration module to Tapestry IoC. It's hosted at SourceForge: http://tapestry-mine.sourceforge.net/hibertapestry/ and the

Re: where can I download the taestry 4.1.1's documents

2007-05-25 Thread Gareth
Hi, I posted about this same thing a month ago, but didn't receive any replies. Put simply, I don't think you can download them at the moment. You can (I would imagine) build them using maven, but if you work out how to do this, please let me know because I gave up after a good 4 hours of

Using BaseComponentTestCase in Junit

2007-05-25 Thread Daniel Tabuenca
Without getting into a testng vs junit debate, I find the BaseComponentTestCase class in tapestry-test very useful. However, in the project I am working on we are using junit. It would be great if this class could be used as a helper class without needing to extend it, yet all the useful methods

Re: Announcement: HiberTapestry: Hibernate integration for Tapestry-IoC (T5)

2007-05-25 Thread Robin Ericsson
On 5/25/07, Jun Tsai [EMAIL PROTECTED] wrote: Where to find the source? not open source? Can you read? 2007/5/25, Thiago H de Paula Figueiredo [EMAIL PROTECTED]: same of Tapestry, Apache License 2. I have not uploaded the sources yet, but I plan to do it soon. -- regards,

Re: Non trivial example application?

2007-05-25 Thread Paula d.
Hi, I am a newbie aswell and need a more complex example to get started. Could I have access to this example aswell please? Thanks in advance, Paula -- View this message in context: http://www.nabble.com/Non-trivial-example-application--tf3723095.html#a10799815 Sent from the Tapestry - User

Re: Shipwreck when downloading T5.0.5

2007-05-25 Thread RobertSchreiber
Howard, I use Maven version 2.0.6 is that ok or do I need to go back? Tapestry is cool. But nowbody will ever know, because you do not know how to get it running. What exactly are the steps to take to get at least a hello world banner running ?!? Imagine somebody who is really interested in

T4.1.2 and callback function for JSON response

2007-05-25 Thread Denis Burlaka
Hi, All. I studied the problem how to set callback function on the JSON response and I found that when JSON response is received no callback function is called. It happens only if json=true. This happens in the file form.js in submitAsync:function(form, content, submitName, parms) function. I

Re: T5: Cobertura?

2007-05-25 Thread Jiri Mares
Hi Joel, is there any problem with mine request? Thanks Jiri Mares napsal(a): Hi Joel, yes, the best way would be send me (can be directly to email) the source file, class file, instrumented class file by tapestry, instrumented file by cobertura and instrumented file by cobertura

execute or addExternalScript

2007-05-25 Thread Kushan Jayathilake
is there anyone who used execute or addExternalScript methods in tapestry 4 or above please tell me how to use those methods in tapestry 4 or above Kushan Jayathilake Member - Java Community Process (http://jcp.org)

Re: T5: Cobertura?

2007-05-25 Thread Jiri Mares
ok ... Joel Wiegman napsal(a): Jiri, I apologize, I've gotten sidetracked on this. Since Tapestry 5 is such a moving target right now, the error that appeared to be Cobertura-related went away and was replaced by a different Tapestry-related error. Right now I'm working around it by

RE: T5: Cobertura?

2007-05-25 Thread Joel Wiegman
Jiri, I apologize, I've gotten sidetracked on this. Since Tapestry 5 is such a moving target right now, the error that appeared to be Cobertura-related went away and was replaced by a different Tapestry-related error. Right now I'm working around it by just not covering the classes involved

T5 selective rendering

2007-05-25 Thread Janko Muzykant
hi all, is anyone able to give me a hint how could I render only one component from whole the tree of all components that given page consists of? I did such a thing a few month ago for T4 and it worked exactly like this: * there was a Border component wrapping all the children * there was a

T5 migration from T4

2007-05-25 Thread Janko Muzykant
i couldn't find a proper answers to the following questions so i would be grateful if someone could enlighten me a bit. * how to get a current page that component is rendered on? I know there is almost no difference between pages and components in T5. in such a case, how to get a 'root'

T5 How to have multiple modules with separate packages for pages

2007-05-25 Thread Martin Grotzke
Hi, I have a question concerning the configuration of tapestry5 with the context-param tapestry.app-package and the support of multiple modules per application (several root-packages). We have an application that first has modules and then layers for each module, like the following:

Re: t5: Date input component

2007-05-25 Thread Marcelo lotif
Juan, i have an simple component that maybe can help you. It dinamically grabs information from the database and put into a PropertySelection. It's quite simple, but you may have problems because it's not documented --and i'ts in portuguese, but still is java syntax :-). For your information, I

Re: T5 How to have multiple modules with separate packages for pages

2007-05-25 Thread 蝈蝈龙
I'm also trying to separate the packae in TP5. But I think the package may look like // business layer org.comp.app.business.mod1 org.comp.app.business.mod2 // dao layer org.comp.app.dao.mod1 org.comp.app.dao.mod2 // presentation layer then the presentation packages shall contain subpackages

Re: t5: Date input component

2007-05-25 Thread 蝈蝈龙
Is the example for TP? It seem that it implemented with T4. 2007/5/25, Marcelo lotif [EMAIL PROTECTED]: oops, it goes without the attachament =D sorry! 2007/5/25, Marcelo lotif [EMAIL PROTECTED]: Juan, i have an simple component that maybe can help you. It dinamically grabs information

RE: t5: Date input component

2007-05-25 Thread Kolesnikov, Alexander GNI
I am actually writing an issue of Tapestry 4 tutorial on creating a custom component exactly as you want. To be completed tomorrow, but I am not sure whether it will be applicable to T5. -Original Message- From: Juan Maya [mailto:[EMAIL PROTECTED] Sent: 23 May 2007 22:59 To: Tapestry

Re: t5: Date input component

2007-05-25 Thread Juan Maya
Hi Kolesnikov, could u please send the link of this tutorial? thanksOn 5/25/07, Kolesnikov, Alexander GNI [EMAIL PROTECTED] wrote: I am actually writing an issue of Tapestry 4 tutorial on creating a custom component exactly as you want. To be completed tomorrow, but I am not sure whether it

Tapestry 4.1 and jdk version issue

2007-05-25 Thread Jacob von Eyben
Hi, I am having trouble executing a test for a component I made for tapestry 4.1. java.lang.UnsupportedClassVersionError: org/apache/tapestry/markup/MarkupFilter (Unsupported major.minor version 49.0) It seems to me that tapestry 4.1 has been compiled using java 5 and I am trying to

Re: Tapestry 4.1 and jdk version issue

2007-05-25 Thread Chris Chiappone
I've had issues with Java 1.4 and the latest 4.1.2-SNAPSHOT being incompatible with java 1.4 also. Should we add a JIRA? On 5/25/07, Jacob von Eyben [EMAIL PROTECTED] wrote: Hi, I am having trouble executing a test for a component I made for tapestry 4.1.

T5: Scrambled unicode localized message

2007-05-25 Thread Alexey Hanin
Hi! I am using Tapestry 5.0.4 and trying to display cyrillic unicode characters within a simple template (Login.html): t:form t:id=form xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; t:label t:for=username/: t:textField t:id=username t:value=prop:username/ t:submit

Issue with 3 cascade tapestry selects

2007-05-25 Thread sunilmanu
Hi everyone, I am also trying to work out 3 selects [COMPANY, DEPARTMENT, EMPLOYEES] (tried using with Tacos Ajax and simple Tapestry).Way it works is, when user Selects an option in COMPANY, it Displays All the available DEPARTMENTS. When the User selects a DEPARTMENT, it displays all the

Re: t5: Date input component

2007-05-25 Thread Juan Maya
Thank for u help, marcelo, but what i need it's something different The component i want would be use like this: t:date value=date/ and t:date has: select id=month/select id=day/select id=year/ The component renders 3 selects with the day month and year. That's already done, what

Re: t5: Date input component

2007-05-25 Thread 蝈蝈龙
I want to give you a attachement size is not greater than 4k. But SMTP server always give me a error The following is the text I think if you would like to your html look like select id=month/select id=day/select id=year/ It's right way to render 3 selectc component. If you just

RE: t5: Date input component

2007-05-25 Thread Kolesnikov, Alexander GNI
I am still writing it. Should be completed tomorrow and published at http://www.devshed.com/c/b/Apache/ in a few weeks time. But I can send you the draft when it will be ready. -Original Message- From: Juan Maya [mailto:[EMAIL PROTECTED] Sent: 25 May 2007 15:06 To: Tapestry users

Re: t5: Date input component

2007-05-25 Thread Juan Maya
Thanks! I think translators are way to go. I will try it and tell u how it goes. On 5/25/07, 蝈蝈龙 [EMAIL PROTECTED] wrote: I want to give you a attachement size is not greater than 4k. But SMTP server always give me a error The following is the text I think if you would like to your html

Re: Shipwreck when downloading T5.0.5

2007-05-25 Thread Howard Lewis Ship
It's about the quickstart and I'm sorry that the quickstart is broken. Maven 2.0.6 may work for Hello World, it's currently broken for building Tapestry itself. Have you watched the screen cast? Read the tutorial? On 5/25/07, RobertSchreiber [EMAIL PROTECTED] wrote: Howard, I use Maven

Re: T5 page lifecycle

2007-05-25 Thread Howard Lewis Ship
There isn't a component, but you can in your page or component class: @Inject @Path(context:js/main_functions.js) private Asset _library; @Environmental private PageRenderSupport _renderSupport; void beginRender() { _renderSupport.addScriptLink(_library); } ... yes this can/should be

Re: t5: Date input component

2007-05-25 Thread Juan Maya
My only concern with the Translators is that they only transalate one value and to translate the date i need 3 values (month, day, year) public Double parseClient(String clientValue, Messages messages) throws ValidationException so, is it possible to obtain the 3 values within the translator?

RE: t5: Date input component

2007-05-25 Thread Kolesnikov, Alexander GNI
I don't know what will be needed in T5, but in T4 everything is plain and easy. Three PropertySelection components, three simple models for them and a trivial wire-up. You'll see it soon. -Original Message- From: Juan Maya [mailto:[EMAIL PROTECTED] Sent: 25 May 2007 16:01 To: Tapestry

Re: t5: Date input component

2007-05-25 Thread Juan Maya
So i will wait patiently :) Thanks! On 5/25/07, Kolesnikov, Alexander GNI [EMAIL PROTECTED] wrote: I don't know what will be needed in T5, but in T4 everything is plain and easy. Three PropertySelection components, three simple models for them and a trivial wire-up. You'll see it soon.

Re: Shipwreck when downloading T5.0.5

2007-05-25 Thread Daniel Jue
Maven 2.0.6 works fine for quickstart. I switched back to 2.0.5 yesterday, per recommendation, and it made no difference to me. Steps for now, until the quickstart example is fixed: Use the quickstart archetype command line (the doozy one), here:

Re: Beginning with T5, border/layout problem.

2007-05-25 Thread Howard Lewis Ship
Component templates are not allowed in WEB-INF, they must go on the classpath, in the same package/folder as the Java class. The Layout component is rendering, but does nothing and the default behavior is to render its boyd, thus you see the this is a test page text. On 5/25/07, Jessica

Re: T5 migration from T4

2007-05-25 Thread Howard Lewis Ship
On 5/25/07, Janko Muzykant [EMAIL PROTECTED] wrote: i couldn't find a proper answers to the following questions so i would be grateful if someone could enlighten me a bit. * how to get a current page that component is rendered on? I know there is almost no difference between pages and

Re: Beginning with T5, border/layout problem.

2007-05-25 Thread Jessica Sobieski
Thank you Howard, that did it. I had Layout.html in WEB-INF as you pointed out. I just have a follow up question, from a perspective of someone totally new to this. If I don't need any dynamic content in my layout, why do I need to create a java class for it? That is, if I just place Layout.html

Beginning with T5, border/layout problem.

2007-05-25 Thread Jessica Sobieski
Hi Everyone. I'm new to Tapestry and I'm trying to build my first application. I want to have a common layout with few simple pages and I've read up about the Layout component, but I'm not exactly sure how to use it. I did the following: Layout.html html

Re: T5: Best practice for rendering a dynamic component

2007-05-25 Thread Howard Lewis Ship
In fact, BeanEditForm and Grid suffer from the same problem, and a fix will be forthcoming. Basically, there will be a configuration point for contributing page names, and matching them up to (in BeanEditForm/Grid) various property types. The same pattern can hold; define new pages, contribute

Passing 'ValidationDelegate' to a component via annotations - how?

2007-05-25 Thread Jan Vissers
Hi, I have a component, that renders 'feedback' information, and in doing so interrogates the ValidationDelegate - or at least that is what is supposed to be happing. However, I haven't found a way to pass the delegate into this component. Is this possible, and if so - how ? I'm now trying:

Re: Shipwreck when downloading T5.0.5

2007-05-25 Thread Daniel Jue
Ok, I was a little off on that last post, sorry to everyone following this thread. If you run this (notice the 5.0.4, not 5.0.3) C:\Projects\wtpworkspacemvn archetype:create -DarchetypeGroupId=org.apache.tape stry -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.4 -DgroupId=org.exa mple

Re: T5 Radio Input

2007-05-25 Thread Howard Lewis Ship
Yes, the correct way is to inject the Request and obtain the value from it. There was a lot of confusion through 5.0.4 to support PageTester -- Request was effectively split into a bunch of smaller interfaces; I've managed to re-knit everything together properly. On 5/24/07, Daniel Jue [EMAIL

Re: Passing 'ValidationDelegate' to a component via annotations - how?

2007-05-25 Thread Jan Vissers
Turns out in my case I actually didn't need this. My component now references the delegate using the 'page' shared property: ognl:page.delegate.fieldTracking Jan Vissers wrote: Hi, I have a component, that renders 'feedback' information, and in doing so interrogates the ValidationDelegate -

Re: Issue with 3 cascade tapestry selects

2007-05-25 Thread Daniel Jue
I think you want to re-initialize the selection models in your pagebeginrender, and if the selection model changes, reset the selected object to something sensible, like the first element, or possibly null (no selection) On 5/25/07, sunilmanu [EMAIL PROTECTED] wrote: Hi everyone, I am also

Re: T5 How to have multiple modules with separate packages for pages

2007-05-25 Thread Martin Grotzke
On Fri, 2007-05-25 at 21:52 +0800, 蝈蝈龙 wrote: I'm also trying to separate the packae in TP5. But I think the package may look like // business layer org.comp.app.business.mod1 org.comp.app.business.mod2 // dao layer org.comp.app.dao.mod1 org.comp.app.dao.mod2 okay, but first horizontal

Re: T5 page lifecycle

2007-05-25 Thread Martin Grotzke
On Fri, 2007-05-25 at 07:54 -0700, Howard Lewis Ship wrote: There isn't a component, but you can in your page or component class: @Inject @Path(context:js/main_functions.js) private Asset _library; is it possible to set the js/main_functions.js dynamically via java, or retrieve it from a

Re: T5 page lifecycle

2007-05-25 Thread Howard Lewis Ship
Yes, you can. The AssetSource service is public, so you can ask it for a dynamically determined service. In 5.0.5 snapshot, you can do the following: @Inject private Request _request; public Request getRequest() { return _request; } public String getLibraryPath() { return ... } And in the

Re: T5 selective rendering

2007-05-25 Thread Alexandru Dragomir
As simple as it can get : @Inject private ComponentResources resources; Component setupRender() { return resources.getEmbeddedComponent(yourComponent); } boolean beginRender() { } On 5/25/07, Janko Muzykant [EMAIL PROTECTED] wrote: hi all, is anyone able to give me a hint how could I

Re: Passing 'ValidationDelegate' to a component via annotations - how?

2007-05-25 Thread Howard Lewis Ship
If the component is enclosed by the Form, it can get the Form instance, and get the validation delegate from the Form. I believe there's a method on TapestryUtils to handle this. On 5/25/07, Jan Vissers [EMAIL PROTECTED] wrote: Turns out in my case I actually didn't need this. My component

Re: T5 selective rendering

2007-05-25 Thread Alexandru Dragomir
sorry , pressed wrong button: boolean beginRender() { return false; } And the doc is here : http://tapestry.apache.org/tapestry5/tapestry-core/guide/rendering.html On 5/25/07, Alexandru Dragomir [EMAIL PROTECTED] wrote: As simple as it can get : @Inject private ComponentResources

Re: Announcement: HiberTapestry: Hibernate integration for Tapestry-IoC (T5)

2007-05-25 Thread Howard Lewis Ship
Did you run into https://issues.apache.org/jira/browse/TAPESTRY-1423 and can you verify the fix that's currently in 5.0.5-SNAPSHOT? On 5/24/07, Joshua Jackson [EMAIL PROTECTED] wrote: Cool. I'm going to check this out since I also need tapestry and hibernate integration. So how is this

Re: Beginning with T5, border/layout problem.

2007-05-25 Thread Howard Lewis Ship
In Tapestry 4 and earlier, there was a kind of ambiguity about what a component or page was. This screwed over Geoff in terms of Spindle for T4, and generally made even the simplest discussion of where to put what files a chore. For T5, components are classes. Pages are a special flavor of

RE: T5: Scrambled unicode localized message

2007-05-25 Thread James, Nick CWT-MSP
Just a suggestion, without having tested it... The Java implementation of Property is not able to read UTF-8 encoded characters in the .properties file because it uses Latin1 as its (only) encoding. See http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html and its recommendation to

Re: T5: Obtain Select Component.

2007-05-25 Thread alvaro tovar
thanks juan On 5/23/07, Juan Maya [EMAIL PROTECTED] wrote: Sure.. in the page template i have: select t:id=month model=monthModel value=month / and in tha java file @Component (id=month) private Select monthSelect; /** * @return the monthsModel */ public SelectModel

Re: Hidden field contains S

2007-05-25 Thread Howard Lewis Ship
The trick is, the Hidden component can record ANY type of value ... string, long, Date, Serializable, etc. The S is a prefix used to encode the type of value; when the form is submitted, this is used to turn the client-side value back into a server side value (for S it's just a matter of

RE: Hidden field contains S

2007-05-25 Thread Mark Stang
Peter, There isn't any way unless you want to encrypt it yourself. regards, Mark Mark J. Stang Senior Engineer/Architect office: +1 303.468.2900 mobile: +1 303.507.2833 Ping Identity -Original Message- From: Peter Dawn [mailto:[EMAIL PROTECTED] Sent: Thu 5/24/2007 10:19 PM To:

T5: Sun Java System Application Server

2007-05-25 Thread Joel Wiegman
This may be a crazy question but, has Tapestry 5 been tested on the J2EE reference implementation (note quotes)? I've been developing on Jetty for quite a while with no problems (because it's easier), but when I tried deploying the war to our QA Sun app servers, none of the component classes

Re: T4.1.1 (Some) annotations not operational after page relocation - anyone?

2007-05-25 Thread Jesse Kuhnert
What do you mean by doesn't function properly ? On 5/22/07, Jan Vissers [EMAIL PROTECTED] wrote: Hi - I started to place all my pages below the 'context' root. After sometime I decided to create a 'pages' directory to store my pages. With this change the annotations doesn't seem to function

Re: Ognl Exception tap 4.1.2 weblogic 8 and java 1.4

2007-05-25 Thread Jesse Kuhnert
Unfortunately I don't think there is enough information there for me to do anything. I'm pretty sure it's an OGNL issue but will need more specifics about the objects / types involved in the exception stacks shown. On 5/22/07, Chris Chiappone [EMAIL PROTECTED] wrote: Okay I downgraded to tap

Re: T4.1.2 and JSON

2007-05-25 Thread Jesse Kuhnert
On the server side all you need to do is implement this interface in your page or component: http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/IJSONRender.html There is only a dummy stub function definition for JSON responses on the tapestry client side, so you must re-define

Re: tapestry-testng

2007-05-25 Thread Jesse Kuhnert
Not yet, it's on my to do list for this weekend. On 5/24/07, Peter Schröder [EMAIL PROTECTED] wrote: hi jesse, did you manage to put that version to some mirror? maven does not find 1.0.0. do i need to ad a repo-location to my settings? kind regards peter -Ursprüngliche Nachricht-

Re: deprecated methods

2007-05-25 Thread Jesse Kuhnert
It's just like the documentation says - http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/IScriptProcessor.html. So, probably something like: getTapMapScript().execute(this, cycle, pageRenderSupport, symbols); On 5/24/07, Kushan Jayathilake [EMAIL PROTECTED] wrote: hi i

Re: updateComponent breaks rendering

2007-05-25 Thread Jesse Kuhnert
Yes tapestry is aware of component containing logic and yes whatever problem you are having (attachments aren't allowed on the apache mailing lists so no one saw it ) is probably fixed in 4.1.2. On 5/25/07, Paul Stanton [EMAIL PROTECTED] wrote: Hi fellas, Tapestry 4.1.1 I'm trying to use

Re: where can I download the taestry 4.1.1's documents

2007-05-25 Thread Jesse Kuhnert
I'll make sure they are included in the upcoming 4.1.2 release. On 5/25/07, Gareth [EMAIL PROTECTED] wrote: Hi, I posted about this same thing a month ago, but didn't receive any replies. Put simply, I don't think you can download them at the moment. You can (I would imagine) build them

Re: Using BaseComponentTestCase in Junit

2007-05-25 Thread Jesse Kuhnert
Yes for reasons like this . :) I would be ok with supporting junit (somehow) but don't know how the EasyMock parts are supposed to get handled there as the top level base class (which isn't BaseComponentTestCase) relies on @BeforeMethod / @AfterMethod annotations to do before/after cleanup

Re: T4.1.2 and callback function for JSON response

2007-05-25 Thread Jesse Kuhnert
Yep it's definitely a bug. Will try to fix that today: https://issues.apache.org/jira/browse/TAPESTRY-1517 . On 5/25/07, Denis Burlaka [EMAIL PROTECTED] wrote: Hi, All. I studied the problem how to set callback function on the JSON response and I found that when JSON response is received no

Re: execute or addExternalScript

2007-05-25 Thread Jesse Kuhnert
I think I replied to a previous message about this one already so look there, but the short is pass in this for the component parameter. (in most instances) On 5/25/07, Kushan Jayathilake [EMAIL PROTECTED] wrote: is there anyone who used execute or addExternalScript methods in tapestry 4 or

Re: Tapestry 4.1 and jdk version issue

2007-05-25 Thread Jesse Kuhnert
Yes please do. On 5/25/07, Chris Chiappone [EMAIL PROTECTED] wrote: I've had issues with Java 1.4 and the latest 4.1.2-SNAPSHOT being incompatible with java 1.4 also. Should we add a JIRA? On 5/25/07, Jacob von Eyben [EMAIL PROTECTED] wrote: Hi, I am having trouble executing a test for a

Re: Passing 'ValidationDelegate' to a component via annotations - how?

2007-05-25 Thread Jesse Kuhnert
Yep. TapestryUtils.getForm(this, cycle). (something like that) On 5/25/07, Howard Lewis Ship [EMAIL PROTECTED] wrote: If the component is enclosed by the Form, it can get the Form instance, and get the validation delegate from the Form. I believe there's a method on TapestryUtils to handle

Re: T5: Scrambled unicode localized message

2007-05-25 Thread Jesse Kuhnert
I think Tapestry uses a LocalizedProperties class to load properties files so you don't need to use native2ascii doesn't it? It does in T4 at least. I even saw that GWT is using the same class with a special thanks to Tapestry for providing it. :) On 5/25/07, James, Nick CWT-MSP [EMAIL

Re: Issue with 3 cascade tapestry selects

2007-05-25 Thread sunilmanu
Thank you for the right direction... I tried that out and with little adjustments.. It works all fine.. -sunil Daniel Jue wrote: I think you want to re-initialize the selection models in your pagebeginrender, and if the selection model changes, reset the selected object to something

Re: T5: Scrambled unicode localized message

2007-05-25 Thread Howard Lewis Ship
That hasn't been implemented for T5 yet, but the underpinnings (meta-data support for components, to determine the encoding) is present. XML properties files is news to me however and worth looking into! On 5/25/07, Jesse Kuhnert [EMAIL PROTECTED] wrote: I think Tapestry uses a

Re: AW: AW: T5: Generate pdfs.

2007-05-25 Thread Daniel Jue
Like this: 1) For action links, informal parameters t:actionlink target=_blankStart guessing/t:actionlink 2) For forms with a submit, where the result page opens in a new window: t:form t:id=doReportsForm action=reportsForm target=_blank t:submit t:id=onSubmit name=Run Report value=Run

Re: where can I download the taestry 4.1.1's documents

2007-05-25 Thread Heping Zhang
ok, then, Gareth, let's wait. And Jesse, thanks for your hard work!

Tapestry 5, Security, Services, ComponentClassResolver

2007-05-25 Thread jb
I am new to Tapestry 5 and got lost in IoC. I am trying to handle some security aspects in the RequestFilter. Therefore I wrote a test SecurityFilter class which implements RequestFilter and is registered by the ApplicationModule. Everything works well. But now I wonder how it is possible to

Re: Tapestry 5, Security, Services, ComponentClassResolver

2007-05-25 Thread Howard Lewis Ship
There will be an extension point where the page name will be known, soon: https://issues.apache.org/jira/browse/TAPESTRY-1479 On 5/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am new to Tapestry 5 and got lost in IoC. I am trying to handle some security aspects in the RequestFilter.

where to find all events for a comonents.

2007-05-25 Thread Jun Tsai
I find some magic event for some component,where to find all events? i.e onPrepareFromForm onActive ... Jun Tsai -- Welcome to China Java Users Group(CNJUG). http://cnjug.dev.java.net - To unsubscribe, e-mail: [EMAIL

Re: where to find all events for a comonents.

2007-05-25 Thread Howard Lewis Ship
There currently is not a way to describe the events that may be produced by a component, except in documentation. In addition, mixins may themselves emit and receive event notifications. Also, onPrepareFromForm is the prepare event originating from component id form (as always, case is

T5 HttpServletRequest

2007-05-25 Thread Marcus
Hi, How can i get HttpServletRequest.getRemoteAddr() in T5? Marcus

Re: Tapestry 5 and URL encoding

2007-05-25 Thread Marcus
Hi, Using this code @Inject private RequestGlobals _globals; there's no _globals.getHTTPServletRequest() method in T5.0.4 Can you help me? Thanks, Marcus

Re: t5: Date input component

2007-05-25 Thread Marcus
Hi Juan, Take a look at http://sundraw.ws/components.jsp Marcus

Re: t5: Date input component

2007-05-25 Thread Marcus
It's a T4 example * @author Alexander Kolesnikov * @version 1.0

Re: AW: AW: T5: Generate pdfs.

2007-05-25 Thread Marcus
Thank you Daniel.

Re: execute or addExternalScript

2007-05-25 Thread Kushan Jayathilake
Its not working, when I put this there it gives me errors as org.Apache.hivemind.ApplicationRuntimeException org.Apache.tapestry.IScript.execute(Lorg/Apache/tapestry/IComponent Lorg/Apache/tapestry/IRequestCycle;Lorg/Apache/tapestry/IScriptProcessor Ljava/util/Map;)V and

Re: deprecated methods

2007-05-25 Thread Kushan Jayathilake
Its not working, when I put this there it gives me errors as org.Apache.hivemind.ApplicationRuntimeException org.Apache.tapestry.IScript.execute (Lorg/Apache/tapestry/IComponent;Lorg/Apache/tapestry/IRequestCycle;Lorg/Apache/tapestry/IScriptProcessor;Ljava/util/Map;)V and