Re: so much useless logging

2008-10-17 Thread Toby Hobson
I agree that this is a little annoying but it only happens when the page is first loaded, subsequent requests will generate "cleaner" debug statements Toby 2008/10/18 Fernando Padilla <[EMAIL PROTECTED]> > alright, so we just upgraded from 5.0.11 to 5.0.16-SNAPSHOT, so sorry I was > not able to

Re: [T5] Page naigation using submit

2008-10-17 Thread dh ning
You don't want the component rely on page, but you do (rely on outer form, right?), so if you want your component handle event independently, set the form in the component is a must. btw, onSelect's signature should only be Void type. DH 2008/10/17 Ville Virtanen <[EMAIL PROTECTED]> > > Yep, th

so much useless logging

2008-10-17 Thread Fernando Padilla
alright, so we just upgraded from 5.0.11 to 5.0.16-SNAPSHOT, so sorry I was not able to complain earlier.. Please help: but tapestry is just spewing TONS of debug, that I still don't see any easy way to turn off. Please help, this is just ridiculous! First the contribution system is broken

Re: need help setting up FCKEditor component

2008-10-17 Thread Andy Huhn
Gabriel, Do you have FCKEditor in your classpath? (If you use Maven, you must have this repository on your pom.xml: t5components T5Components Maven Repository http://87.193.218.134:8080/t5components/maven-repository And this dependency in the same file:

need help setting up FCKEditor component

2008-10-17 Thread Gabriel Rodriguez
I'm trying to use the FCKEditor in a Tapestry 5 page but every time I get: "Unable to resolve 'fckeditor/editor' to a component class name..." I can't figure out how to get around this. Has anyone been able to get this done? How? I appreciate the help. Gabriel ---

Re: [T5] - implement new client side validator

2008-10-17 Thread Mohammad Shamsi
Hi, i was sent asked this question long times ago, about adding client side validator to T5. but i couldn't do that yet. if i add this script before my form component, i got an error that : Tapestry undifined. because T5 includes js link in form component. if i add this script after my form. i g

Re: T-4.1.6, anyone got a good getPosition(node) function

2008-10-17 Thread Matt Brock
nhhockeyplayer wrote: > > Does anyone have a reliable method for calculating x,y ? > My code lives in a *.script file > I have these but they are off by 40 or so pixels for both x and y. > I have seen variations on this method several times, but they are all fundamentally flawed because they do

Re: t5: using jetty

2008-10-17 Thread Lutz Hühnken
In your pom.xml, add a context handler to the jetty plugin: org.mortbay.jetty jetty-maven-plugin / /myimages /the/

Re: Overriding BeanBlockSource

2008-10-17 Thread Howard Lewis Ship
On Fri, Oct 17, 2008 at 2:56 AM, Moritz Gmelin <[EMAIL PROTECTED]> wrote: > Hi, > > In our application we override the default editing component for Date types > to be the DateTimeEditor from t5-components (why is that one not the > default. It is so much nicer?). Licensing. An Apache project has

Re: Tapestry 5.0.15 DateField localization problem [patch included]

2008-10-17 Thread Howard Lewis Ship
The fix I implemented was to use a simple number (milliseconds since the epoch) as the transfer format. I'm concerned there may be a time zone issue though, when the browser time zone is not the same as the server time zone. On Tue, Oct 14, 2008 at 4:59 PM, Mikaël Cluseau <[EMAIL PROTECTED]> wrot

Re: tapestry-spring-security: don't log AccessDeniedException

2008-10-17 Thread Hugo Palma
Here's a way that works for me, the only caveat is that you have to use a log4j.xml file instead of a log4j.properties. Just add the following inside your appender declaration: no more annoying AccessDenied exception filling up the logs. Ulrich Stärk wrote: Yet another tapestry-spring-s

Re: [T5] Page naigation using submit

2008-10-17 Thread Ville Virtanen
Yep, that's exactly the case. The component can't rely on any code in the page, so solution number 1 is out of the question. Solution number 2 throws exception: Event 'selected' from FinancePlan:dynamicfromcont. received an event handler method return value of [EMAIL PROTECTED] This type o

Re: [T5] Page naigation using submit

2008-10-17 Thread dhning
From your former mail, my understanding on your case (correct me if I am wrong): your page has a form, and the form contains your component, and your component template has multiple submit buttons (it must be submit component if you want to handle select event). I think there are two ways: 1.

Re: [T5] Page naigation using submit

2008-10-17 Thread dhning
From your former mail, my understanding on your case (correct me if I am wrong): your page has a form, and the form contains your component, and your component template has multiple submit buttons (it must be submit component if you want to handle select event). I think there are two ways: 1.

Re: [T5] form component and https - cannot submit secure

2008-10-17 Thread Andy Pahne
No, I did not. Thanks for the pointer, that should solve my problem. A. Ulrich Stärk schrieb: Did you read http://tapestry.apache.org/tapestry5/guide/secure.html Uli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: [T5] form component and https - cannot submit secure

2008-10-17 Thread Ulrich Stärk
Did you read http://tapestry.apache.org/tapestry5/guide/secure.html Uli Am Fr, 17.10.2008, 14:28, schrieb Andy Pahne: > > I have a T5 (5.0.15) site running under https. All the form's actions > point to http. I cannot set the protocol, there is no such parameter for > the Form component. > > Ther

[T5] form component and https - cannot submit secure

2008-10-17 Thread Andy Pahne
I have a T5 (5.0.15) site running under https. All the form's actions point to http. I cannot set the protocol, there is no such parameter for the Form component. There is a related thread, but it deals with qute another problem: http://www.nabble.com/-T5--Form-submission-via-POST-and-problem

[HOWTO] spring security and OpenID authentication for your Tapestry apps

2008-10-17 Thread Ulrich Stärk
Dearest Users, I am extremely pleased to announce, that a new HowTo article describing the integration of OpenID authentication with Tapestry, has been added to the wiki. Please find below [1] the link to the wiki article. Your most humble, most obedient servant Uli [1] http://wiki.apache.org/t

Re: [T5] Page naigation using submit

2008-10-17 Thread Ville Virtanen
Yes it must be, otherwise it won't work. The submit event that is triggered by the form in the page does not bubble to my component and I can't use the selected event triggered by the button in my component because that event does not support return type of page class. - Ville dhning-2 wrote

t5component Chart interfere with TabSet problem

2008-10-17 Thread olip
I have got problems with the t5component chart when using in conjunction with the t5 component tabset. As an example I use the code from the t5components site and make a test site with three tabs. the middle tab should contain a chart (also from the examples on t5components) When running this co

Re: [T5] Page naigation using submit

2008-10-17 Thread dhning
But your component must be enclosed by an outer form component, right? Or else, how can you put textfield in your component? Thanks! DH - Original Message - From: "Ville Virtanen" <[EMAIL PROTECTED]> To: Sent: Friday, October 17, 2008 7:01 PM Subject: [T5] Page naigation using submit

[T5] Page naigation using submit

2008-10-17 Thread Ville Virtanen
Hi, This must be discussed before, but I could not find anything using search and I seem to be having total brain freeze here so: I have a case where I have to let user enter rows to a view and there must be an "Edit" function at the end of each of these rows. The edit functionality MUST SUBMIT

Overriding BeanBlockSource

2008-10-17 Thread Moritz Gmelin
Hi, In our application we override the default editing component for Date types to be the DateTimeEditor from t5-components (why is that one not the default. It is so much nicer?). AppModule.java public static void contributeBeanBlockSource(

Re: T5 : localization in ComponentClassTransformWorker

2008-10-17 Thread Stephane Decleire
I've already tried to inject the ComponentResources into my class without success :-( public static void contributeComponentClassTransformWorker(OrderedConfiguration configuration, PropertyAccess propertyAccess, ComponentResources componentResources) { configuration.add("InjectSelectio

Re: T5 : localization in ComponentClassTransformWorker

2008-10-17 Thread Stephane Decleire
I've already tried to inject the ComponentResources into my class without success :-( public static void contributeComponentClassTransformWorker(OrderedConfiguration configuration, PropertyAccess propertyAccess, ComponentResources componentResources) { Caused by: java.lang.RuntimeException:

Re: How to call a method of a tapestry page when the page is called using anchor tag

2008-10-17 Thread Edouard sur edouardmercier.fr
Hi Sonu. I'm far from being a Tapestry expert, but what you are asking is feasible by: 1. injecting the Register page into the Login page (user "@Inject private Register register" in the Login.java), 2. adding an action link "Register" in the Login.tml, 3. add the "Object onActionFromRegister() {