Re: Previewable image component

2008-09-29 Thread Borut Bolčina
Hi, does anybody know why there isn't org.apache.tapestry5.corelib.components.Image component? Cheers, Borut 2008/9/26 Borut Bolčina <[EMAIL PROTECTED]> > Hello, > > is this: > http://wiki.apache.org/tapestry/Tapestry5ImageComponent > > the preferred and only way of having previewable images? >

Re: pass list of string/object between Tapestry pages

2008-09-29 Thread Kristian Marinkovic
there are multiple ways to share data betweeen pages: here the two most important (IMHO) page injection: public class Page1 { @InjectPage private Page2 page2; @Component private ActionLink gotoPage2; Object onActionFromGotoPage2() { page2.setData(); return page2; } } pub

pass list of string/object between Tapestry pages

2008-09-29 Thread wesley
hi all, is there any way to pass a list of string or user defined objects between pages in tapestry 5? currently like CRUD operation, the only way to pass parameter around is only string through onActivate() and onPassivate(). please advise, thanks regards, wesley -- View this message in cont

Re: Tapestry 5.0.15 DateField localization problem

2008-09-29 Thread Doublel
I encounter the same problem. I use: In FF explorer I choose today It return "2008/00/13". In IE explorer I run into javascrip error 'style' is null or not an object. and when I second choose date It return "2008/00/13". too -- 得与失都是生活

T5: RadioGroup and null?

2008-09-29 Thread Onno Scheffers
I'm using T5.0.14 and I'd like to get back null from a RadioGroup if the user didn't click on any radio-buttons, but it seems the RadioGroup doesn't support this? This return false if no selection was made by the user. regards, Onno Scheffers

RE: need help with template components

2008-09-29 Thread Gabriel Rodriguez
Found the answer: src/main/java/org/example/myapp/components/MyComponent.java src/main/resources/org/example/myapp/components/MyComponent.tml For some reason it doesn't work otherwise and I didn't find this until after digging through tons of emails. Thanks to Anjana Gopinath. -Original Me

Re: War file deploy problem on remote server

2008-09-29 Thread Marinus Maris
Thanks for your answers. Yes indeed the solution is to create a new Maven project (I use Netbeans), call it ROOT. Copy the src directory of the project you wanted to deploy but didn't work into the src dir of this new project. Now create the ROOT.war and dump that into the appBase directory. I

Re: need help with template components

2008-09-29 Thread Filip S. Adamsen
Hi, Using a layout component is a good way to start: http://tapestry.apache.org/tapestry5/guide/layout.html -Filip On 2008-09-29 21:46, Gabriel Rodriguez wrote: For a while now I've been trying to apply a common template to several Tapestry 5 pages with no success. How is this achieved? Very

need help with template components

2008-09-29 Thread Gabriel Rodriguez
For a while now I've been trying to apply a common template to several Tapestry 5 pages with no success. How is this achieved? Very thankful! Gabriel F. Rodríguez Associate Software Engineer, Engineering 400 West Dynix Drive Provo, Utah 84604-5650 Phone: (801) 223-5307 Fax: (801) 223-5202 [EM

Re: T4 AJAX Timer Updates Problems

2008-09-29 Thread Norman Franke
Turns out one needs quotes around the "document.timer()" statement, otherwise it tries to execute the function in the call to set the timer. Perhaps a better error message could be provided? I think that Tapestry hadn't yet registered the form which led to the error. Norman Franke Answering

Access final static fields from template

2008-09-29 Thread Hugo Palma
Is this possible in T5 without having to provide a getter method ? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: War file deploy problem on remote server

2008-09-29 Thread Norman Franke
I've successfully deployed to the root using Tomcat. I just created ROOT.war and dropped it in the webapps directory. It seemed to work without any configuration changes. Norman Franke Answering Service for Directors, Inc. www.myasd.com On Sep 29, 2008, at 1:27 PM, Jonathan Barker wrote:

RE: War file deploy problem on remote server

2008-09-29 Thread Jonathan Barker
It depends. I had a similar frustrating experience on my own system (Tomcat on Debian) getting a war deployed in the root context. Depending on the system's configuration, there's the ROOT.xml descriptor, a ROOT.war somewhere, possibly an override for the ROOT.xml in a /etc/tomcat directory. An

War file deploy problem on remote server

2008-09-29 Thread Marinus Maris
Hi, OK, I got my Tapestry application to run on my local machine. Now I want to deploy on a web server. But whatever I do, it seems that I cannot set similar setting at that remote machine (the system manager over there is getting nuts as wel). I either get a white page, or, when I get the St

Re: T4 AJAX Timer Updates Problems

2008-09-29 Thread Norman Franke
Same error: "this.forms[formId] is undefined" in dojo.js Norman Franke Answering Service for Directors, Inc. www.myasd.com On Sep 26, 2008, at 7:13 PM, Andreas Andreou wrote: try document.timer = function() { tapestry.form.submitAsync("update"); setTimeout(document.timer, 5000); }

Re: java.lang.Verify error

2008-09-29 Thread Massimo Lusetti
On Mon, Sep 29, 2008 at 1:36 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > Which exact version of Tapestry? I think i narrowed the cases... could it be related in some ways to a switch statement on a Enum class? The methods were i get most (i may say all but i'm not sure) of errors does cont

Tapestry 5.0.15 DateField localization problem

2008-09-29 Thread Konstantin
In new corelib\components\DateField one can find: JSONObject onParse() { ... response.put(RESULT, date.toString()); ... } For my timezone it returns: "Mon Sep 01 00:00:00 EEST 2008", but then in datefield.js it tries: var resultHandler = function(result) { var date = n

Re: java.lang.Verify error

2008-09-29 Thread Massimo Lusetti
On Mon, Sep 29, 2008 at 1:36 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > Which exact version of Tapestry? Didn't mention before, sorry, it's 5.0.15 -- Massimo http://meridio.blogspot.com - To unsubscribe, e-mail: [EMAI

Re: java.lang.Verify error

2008-09-29 Thread Howard Lewis Ship
Which exact version of Tapestry? On Mon, Sep 29, 2008 at 1:58 AM, Massimo Lusetti <[EMAIL PROTECTED]> wrote: > I'm experimenting this error on some random pages. Only on pages event > handler methods and only some times not all the times i compile and > redeploy. > > It's strange since I've tried

RE: [ANN] JumpStart 3.15 for Tapestry 5.0.15

2008-09-29 Thread Blower, Andy
I have some feedback for you Geoff... I refer to your site a lot and it's very helpful, I applaud you for keeping the updates flowing! > -Original Message- > From: Geoff Callender [mailto:[EMAIL PROTECTED] > Sent: 29 September 2008 05:31 > To: Tapestry users > Subject: [ANN] JumpStart 3.

java.lang.Verify error

2008-09-29 Thread Massimo Lusetti
I'm experimenting this error on some random pages. Only on pages event handler methods and only some times not all the times i compile and redeploy. It's strange since I've tried both JDK 1.5 and 1.6 and the errors still randomly, to solve i just have to modify a class file, recompile and redeploy