RE: T5: Problem with login form with Acegi

2008-03-29 Thread Jacob Bergoo
> > > Acegi expects to do everything through the SecurityContext. > > > > >> -Original Message- >> From: Jacob Bergoo [mailto:[EMAIL PROTECTED] >> Sent: Friday, March 28, 2008 9:57 PM >> To: users@tapestry.apache.org >> Subject: Re: T5

Re: T5: Problem with login form with Acegi

2008-03-28 Thread Jacob Bergoo
Hi again, I had an error in my code when I compared the Set with a String value... I changed that so the Set takes a String as input instead. Now it goes into the first if statement and try to call page Secure and I get the same error as I posted in my previous posting... in the end the error st

T5: Problem with login form with Acegi

2008-03-28 Thread Jacob Bergoo
Hi All, In my project I use the Tapestry5-Acegi project and made that work following the example and with some help from the forum, thanks... Now I'm trying to make a more realistic version of a login where I can control the validation on the login form and also based on user roles redirect the

RE: Tapestry 5 - Acegi ,, using LDAP authentication provider

2008-03-28 Thread Jacob Bergoo
Hi Jonathan, A quick question, how do you get the authenticationManager object into that page that you are using??? thanks, Jacob -- View this message in context: http://www.nabble.com/Tapestry-5---Acegi-%2C%2C-using-LDAP-authentication-provider-tp16330496p16361117.html Sent from the Tapestry -

Re: T5: Problems with Tapestry5-Acegi

2008-03-27 Thread Jacob Bergoo
Olle Hallin wrote: > > Add spring-web.jar or spring-webmvc.jar to your classpath. > > (Which one depends on which Spring version you use. > RequestUtils moved from spring-web.jar to spring-webmvc.jar in version > 2.5) > > > tapestry5-acegi does not bring it in automatically. > > HTH, > Olle

RE: T5: Problems with Tapestry5-Acegi

2008-03-26 Thread Jacob Bergoo
Hi again, thanks to your advice I have manage to come a few steps closer to a working solution. But now I get this exception: [WARN] ServletHandler Error for /j_acegi_security_check java.lang.NoClassDefFoundError: org/springframework/web/bind/RequestUtils at org.acegisecurity.ui.rememberm

RE: T5: Problems with Tapestry5-Acegi

2008-03-24 Thread Jacob Bergoo
Thanks Jonathan for your quick answer... accually I am Using T5, Spring 2.5.1, Hibernate 3.2 so I am looking for a solution where I can Use the Acegi for the security and using the @Secure annotation for pages/methos... I have seen another wiki page that shows on how to set up the Acegi to work wi

T5: Problems with Tapestry5-Acegi

2008-03-24 Thread Jacob Bergoo
Hi All, I have a problem when I try to integrat the Tapestry5-Acegi project into my application. I copied the code from the example application from tapestry5=acegi projects website and when I tried to run it I got this exception: 20:44:55.150 INFO [main] org.springframework.web.context.Contex

RE: T5 - Need help getting started with Tapestry 5

2008-01-30 Thread Jacob Bergoo
gt; in > automatically. > > Also, watch out for multiple versions of Spring creeping in! I've hit > that > problem a few times, because I'm also using Acegi! > > Watch out for multiple copies of Log4J. > > Have fun! > > Jonathan > > > >&

T5 - Need help getting started with Tapestry 5

2008-01-30 Thread Jacob Bergoo
Hi, sorry for asking again, but I am stuck at something that I think that a lot of persons already has configured so therefor I ask again. I have worked before with Spring 2.0, Tapestry 4.0.2, Hibernate 3.2, Oracal 10G and Dojo/Tacos... but now I want to set up a new environment with T5, Spring 2

Re: Need help with pom.xml for my tapestry 5 project

2008-01-29 Thread Jacob Bergoo
Hi, I have come a lot futher now with my try on setting up a environment using Maven 2 and Tapestry 5, Spring 2.5.1, Hibernate 3.2.5.ga and MySql 5.0.8. But now I have ended up with an exception that I dont understand. When I run my jetty server I get this: launching Jetty webapp: /webshop on add

Re: How to integrate Tapestry 5.0.9 with Spring

2008-01-29 Thread Jacob Bergoo
Hi all, I got the same error. Did you find a solution to this problem? Jacob spamglik wrote: > > Hi > I have updated log4j.jar for 1.2.14 in jetty/extra/ext but that did not > help . > :( > > > > Christian Gorbach wrote: >> >> hi, >> replace your/jetty log4j.jar with a newer one (which

Re: Need help with pom.xml for my tapestry 5 project

2008-01-29 Thread Jacob Bergoo
Thanks Chris, The link for searching the repository was exactly what I was looking for. Thanks, Jacob Christian Köberl wrote: > > Hi! > > Jacob Bergoo wrote: >> >> When I try to run the application Jetty I got an error for missing >> commons-dbcp. I have tried

Need help with pom.xml for my tapestry 5 project

2008-01-29 Thread Jacob Bergoo
Hi All, I am new to Maven 2 but I am learning as fast as I can. My plan is to set up a project that is working with Spring 2.5.1, Tapestry 5, Hibernate 3.2.5.ga, MySQL 5.0. This is what I have done so far: 1) I have Created a project using Quickstart Archtype for Tapestry 5 2) I have added Spr

Re: T5 - tapestry-hibernate - Auto generate schema/tables?

2007-07-24 Thread Jacob Bergoo
Hi Peter, Take a look at the Hibernate Tools project. We are using it to do reverse engineering, so based from tables in our oracle database we are generating hibernate mappingfiles, pojos, Dao Interfaces, Dao Implementations, Dao Test Classes (simple tests), ApplicationContext file for our persis

Re: [T4.0] Some way to set "theme" (via Locale)?

2007-07-06 Thread Jacob Bergoo
Hi, we have something similar, but we have a couple of public pages that contains our clients websites and then we have different templates and color scheme that the client can choose from in a admin area. This change reads in the different css files that are used to style the pages. (layout, colo

Re: Integration Tapestry 4.0 + Spring 2.0 + Hibernate 3.0 + JBoss 4.2

2007-06-04 Thread Jacob Bergoo
No problem, if you have any other questions just feel free to ask... Cheers, Jacob César Augusto Mateus wrote: > > thank you very much Jacob, your help has been very valuable!!! > > On 6/4/07, Jacob Bergoo <[EMAIL PROTECTED]> wrote: >> >> >> Hi Cesar, &g

Re: Integration Tapestry 4.0 + Spring 2.0 + Hibernate 3.0 + JBoss 4.2

2007-06-04 Thread Jacob Bergoo
onFactory the specification of a > datasource, generally this datasourse is other bean, but in your case the > bean dataSource is not referenced from the bean sessionFactory. > > you would explain to me bean InvestacorpSessionFactory? > > > > > On 6/1/07, Jacob Bergoo

Re: BreadCrumb thoughts...

2007-06-04 Thread Jacob Bergoo
Hi Jan, try this: in your java file: @InjectObject("engine-service:external") public abstract IEngineService getExternalService(); String linkURL = getExternalService().getLink(false, new ExternalServiceParameter("YourPageName", new Object[] {parameter1, parameter2, ...})).getURL());

Re: [T3/T4] How to redirect in pagebegin render event

2007-06-01 Thread Jacob Bergoo
Hi Robert, try using: throw new PageRedirectException(YourPageName); cheers, Jacob Robert Breidecker-2 wrote: > > In the pagebeginerender event of a page I would like > to redirect to another Tapestry page. I am trying to > do this by getting a page and activating it, however, > this doesn'

Re: Integration Tapestry 4.0 + Spring 2.0 + Hibernate 3.0 + JBoss 4.2

2007-06-01 Thread Jacob Bergoo
Ci Cesar, I am using the JTA Transaction Manager. For me that was easier to use JBoss JTA then to try to turn it of and instead use the one Hibernate is providing. I am not an expert on the Transaction Manager, but I assume that they are pritty much the same. In my applicationContaxt-persisten

Re: Integration Tapestry 4.0 + Spring 2.0 + Hibernate 3.0 + JBoss 4.2

2007-06-01 Thread Jacob Bergoo
Hi Cesar, I am working with Tapestry 4.0.2, Spring 2.0.5 Hibernate 3.2 and JBoss 4.0.4 GA, Acegi 1.0.3 I am happy to answer any questions you have on how we did our configuration... Jacob César Augusto Mateus wrote: > > Hi all, I´m beginning with Tapestry 4.0 > Now i´m developing a project in

Job Offer in Miami: 1 Java/Tapestry Developer, 1 Web Designer

2007-05-09 Thread Jacob Bergoo
Hi all, sorry to spam the list with this Job Offer but I figure that it could be of interest to know that we are looking to expand our (Tapestry) Development Team here in Miami Lakes. We are currently 3 Java/Tapestry Developers, 2 DBA, 1 Web Designer, 2 Sys. Admin and 2 Support Guys. We are workin

Re: Anybody have the FCKEditor working in IE7?

2007-05-09 Thread Jacob Bergoo
Hi, my problem turned out to be ... a non problem... In 2 different places in our app we have a tab group and in the first tab on both of the tab groups we have the FCKEditor. The one page I checked before my posting here on the list didn't render the FCKEditor but the second one did and we have a

[T4.0.2][Tacos 4.0.1] Problem submitting a form with Tacos in FireFox

2007-05-07 Thread Jacob Bergoo
Hi, I am new to Tacos and I have built my first page with a couple of Tacos/Dojo components. I have a issue with the AjaxSubmit in FireFox. When I try to submit my form nothing happens unless I click the submit button 4 times in a row... then the form get submittet. Has anybody notice this behavio

Re: Grid Component question

2007-05-02 Thread Jacob Bergoo
Hi, I tried to take your approach and did this in my java class: package com.mycompany.ui.web.action.securepages.rep; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.HashMap; import j

Re: Grid Component question

2007-05-01 Thread Jacob Bergoo
Ah.. okey then I dont need to feel stupid ;-) Jessek wrote: > > Oh sorry You must be talking about the Tacos Grid component. I have no > idea on that one... > > On 5/1/07, Jacob Bergoo <[EMAIL PROTECTED]> wrote: >> >> >> Hi Jesse, >> I l

Re: Grid Component question

2007-05-01 Thread Jacob Bergoo
mple found at the bottom > of this page: > > http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/table.html > > Just wrap a DirectLink around whatever you want linked. > > On 5/1/07, Jacob Bergoo <[EMAIL PROTECTED]> wrote: >> >> >>

Grid Component question

2007-05-01 Thread Jacob Bergoo
Hi, is there a way of creating a link for each row in the grid component that goes to a listener? I am working in Tapestry 4.0.2 and Tacos 4.0.1. Thanks, Jacob -- View this message in context: http://www.nabble.com/Grid-Component-question-tf3676754.html#a10274287 Sent from the Tapestry - User m

Re: Need help with Tacos and validation

2007-05-01 Thread Jacob Bergoo
One correction: The datepicker works in IE7, but only after I have click on the 'Clear form' button or the 'Search' button... so It starts to work in the same time as the Mask component does... Any input in this matter is really appreciated, Thanks Jacob Jacob Bergoo wr

Re: Need help with Tacos and validation

2007-05-01 Thread Jacob Bergoo
Hi Andreas, yes, I have looked at the demo pages and the source code for it. The problem I am having is a little strange... let me try to explain. I have a page where I want to use a partial component rendering like in the example http://opencomponentry.com:8080/tacos/ajax/EffectsExample.html wher

Need help with Tacos and validation

2007-04-30 Thread Jacob Bergoo
Hi, I have a search form that is @tacos:AjaxForm and to this I have a @tacos:AjaxSubmit with a listener connected. I want to do some validation in this listener method that at least one field in the search form has some content. I tried to add Validation in the normal Tapestry way, but that does n