Re: [appfuse-user] Access Denied error

2007-05-07 Thread Matt Raible
It looks like you're requiring everyone to be anonymous: Matt On 5/7/07, nmall <[EMAIL PROTECTED]> wrote: Hi, I have been working on my project for a while now and I did not add anything new to security. However, I am not even able to view the login tabs now. It gives me

[appfuse-user] Access Denied error

2007-05-07 Thread nmall
Hi, I have been working on my project for a while now and I did not add anything new to security. However, I am not even able to view the login tabs now. It gives me "Access Denied" error as follows. Attached is my security.xml. Any ideas why this would happed? Thanks for your help! Access Den

Re: [appfuse-user] iBatis Support in AppFuse-2.x?

2007-05-07 Thread Matt Raible
This probably will hopefully go away when we release M5 - because it will already have this exclusion for the dependencies. Matt On 5/7/07, Cliff <[EMAIL PROTECTED]> wrote: Aha! Sneaky transitive dependency! That's what I was missing. I would never had known that the dependency was coming from

Re: [appfuse-user] iBatis Support in AppFuse-2.x?

2007-05-07 Thread Cliff
Aha! Sneaky transitive dependency! That's what I was missing. I would never had known that the dependency was coming from the web framework. Maybe the dependency should be removed from the web framework or maybe it should be marked provided? Just supposing, I don't really know what I'm talking abo

Re: [appfuse-user] 2.0-M4 - jmock.jar and junit.jar not in local project

2007-05-07 Thread oschroeder
Yes - I am using Eclipse (3.2.2). However Eclipse has not touched the project yet. I just created a test project. I issued: mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic-spring -DremoteRepositories=http://static.appfuse.org/repository -DarchetypeVersion=2

Re: [appfuse-user] 2.0-M4 - jmock.jar and junit.jar not in local project

2007-05-07 Thread Matt Raible
I don't know why it's not getting downloaded into your local filesystem. Are you using an IDE. It should be downloaded if it's specified in pom.xml. Matt On 5/7/07, oschroeder <[EMAIL PROTECTED]> wrote: Matt, I am using the basic archetype. But I tried both and just for fun set up a quick mo

Re: [appfuse-user] 2.0-M4 - jmock.jar and junit.jar not in local project

2007-05-07 Thread oschroeder
Matt, I am using the basic archetype. But I tried both and just for fun set up a quick modular project last night. When running the first 'mvn integration-test' I would expect that jmock.jar is required to execute the inital test. Is that assumption wrong? Thank you for the great tool and servic

[appfuse-user] Validations and taglibs

2007-05-07 Thread cristales
Hi to all I'm trying to use xwork validations with my custom appfuse proyect and all works fine. I put some image buttoms on a form (save,delete,cancel, print, authorize, and others) , using the struts tag or writen the html code directly, all works fine but I need to generate this buttons enabled

Re: [appfuse-user] iBatis Support in AppFuse-2.x?

2007-05-07 Thread Matt Raible
Change the following from: org.appfuse appfuse-${web.framework} ${appfuse.version} warpath org.appfuse appfuse-${dao.framework} ${appfuse.version} - Hide quoted text - To this: org.app

Re: [appfuse-user] iBatis Support in AppFuse-2.x?

2007-05-07 Thread Cliff
I'm sorry, I just noted something similar myself. In my original pom post I didn't have the inclusion of hibernate anywhere in my dependancies yet it was being brought in! I changed my pom to this which appears to fix it. Can you tell me where I'm messing up? http://maven.apache.org/POM/4.0.0";

Re: [appfuse-user] iBatis Support in AppFuse-2.x?

2007-05-07 Thread Matt Raible
In your dependencies section, I don't see the exclusion of appfuse-hibernate and inclusion of appfuse-ibatis. Matt On 5/7/07, Cliff <[EMAIL PROTECTED]> wrote: It looks like it's not necessarily the locating of iBatis that is problematic. Instead Idea is having trouble resolving an iBatis speci

Re: [appfuse-user] iBatis Support in AppFuse-2.x?

2007-05-07 Thread Cliff
It looks like it's not necessarily the locating of iBatis that is problematic. Instead Idea is having trouble resolving an iBatis specific extension of Appfuse. Here's the class in question directly copied from the bean descripto on the tutorial page: org.appfuse.dao.ibatis.GenericDaoiBatis mraib

Re: [appfuse-user] iBatis Support in AppFuse-2.x?

2007-05-07 Thread Cliff
It's not casing as I copied the bean def directly from your site and the red squiggly line pick up on the ibatis package name. Also iBatis is clearly not included among my module libraries. It appears to be missing as a dependency. Here's my pom: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="htt

Re: [appfuse-user] iBatis Support in AppFuse-2.x?

2007-05-07 Thread Matt Raible
Make sure you're using the proper case - GenericDao, not GenericDAO. Matt On 5/7/07, Cliff <[EMAIL PROTECTED]> wrote: Hi, I'm following along the tutorials on the home site and trying the Spring-webMVC-iBatis path. I'm at the part where I'm supposed to include a SpringBeans definition for the

[appfuse-user] iBatis Support in AppFuse-2.x?

2007-05-07 Thread Cliff
Hi, I'm following along the tutorials on the home site and trying the Spring-webMVC-iBatis path. I'm at the part where I'm supposed to include a SpringBeans definition for the GenericDAO thing and I noticed Idea (V-7.0M1) is not able to resolve the GenericDAO class. Upon closer inspection I notic

Re: [appfuse-user] security.xml

2007-05-07 Thread Nathan Anderson
I was wrong. I have one that is as Matt describes [the only child tag is ]. And a second one that that has tag rather than the pointcut being defined in the . I don't see any real advantage to this except that it may be [very] slightly easier to read. Anyway, I think Matt is right, you jus

Re: [appfuse-user] Problems with number convertion on s:input

2007-05-07 Thread Nathan Anderson
I believe the Struts 2 recommended practice is to put your number [and currency and date/time] formats into your ApplicationResources*.properties files. Like these en_US examples: format.date = {0,date,MM/dd/} format.time = {0,date,MM/dd/ ha} format.percent = {0,number,##0.00'%'} format

Re: [appfuse-user] mysql connection

2007-05-07 Thread Marc Siramy
Pierre-Henry, could you verify if your file /etc/my.cnf or /etc/sysconfig/mysql.conf or sth like that contains something like this : # Don't listen on a TCP/IP port at all. This can be a security enhancement, # if all processes that need to connect to mysqld run on the same host. # All interacti

Re: [appfuse-user] mysql connection

2007-05-07 Thread Matt Raible
If you run "mvn test", do you get the same error message? On 5/5/07, Pierre-Henry <[EMAIL PROTECTED]> wrote: Running the integration-test maven command, I get an error: --- java.net.SocketException: java.net.ConnectException: Connection refused - I have a mysql 5.0.32 running on

Re: [appfuse-user] !! appfuse.org is down

2007-05-07 Thread tibi
jep ;) Matt Raible wrote: Seems to be back up now. Matt On 5/7/07, tibi <[EMAIL PROTECTED]> wrote: appfuse.org is down. tibi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] using hibernate example

2007-05-07 Thread tibi
did not look into that jet... i'm happy that my ap is working for now... but yes i need to override save so i will fight that battle in a couple off day's or weeks ;) Thomas Ramapuram wrote: But what if public void save(EventSpan object) is the methord you want to override? -

Re: [appfuse-user] Downloading documentation for AppFuse 2.0

2007-05-07 Thread Matt Raible
There is a way to "export" the content to PDF. However, there's an issue with the current code macro that prevents the code snippets from being included. http://jira.atlassian.com/browse/CONF-6533 Matt On 5/6/07, jlukar <[EMAIL PROTECTED]> wrote: I realize its in Confluence. Is it possible

Re: [appfuse-user] security.xml

2007-05-07 Thread Nathan Anderson
I can check this when I get to work, but I think there are two tags that go inside the . IIRC they are and Nathan - Original Message - From: "Matt Raible" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Monday, May 7, 2007 7:09:08 AM (GMT-0800) America/Los_Angeles Subject: R

Re: [appfuse-user] Timestamp, Hibernate annotation and MySQL

2007-05-07 Thread Matt Raible
I'm not sure as I haven't tried to use a Timestamp in a project with annotations. Maybe it has something to do with the dialect? You might try changing to use a MySQL5InnoDBDialect. Matt On 5/6/07, jlukar <[EMAIL PROTECTED]> wrote: Hi, I am using AppFuse 2.0 and my POJO annotated as @Entity

Re: [appfuse-user] 2.0-M4 - jmock.jar and junit.jar not in local project

2007-05-07 Thread Matt Raible
Are you using a basic or modular archetype? If modular, are you writing your tests in the core module? Matt On 5/7/07, oschroeder <[EMAIL PROTECTED]> wrote: Good Evening, Following the Quickstart Guide everything works as described. The tests succeed and I am starting on the Person Object. W

Re: [appfuse-user] minor bug in services demo

2007-05-07 Thread Matt Raible
On 5/7/07, tibi <[EMAIL PROTECTED]> wrote: in this page i corrected a minor bug: http://appfuse.org/display/APF/Services\ the PersonManagerImpl is in package: package org.appfuse.tutorial.service.impl; but the registration in the applicationcontext is: i changed the registrion to im

Re: [appfuse-user] !! appfuse.org is down

2007-05-07 Thread Matt Raible
Seems to be back up now. Matt On 5/7/07, tibi <[EMAIL PROTECTED]> wrote: appfuse.org is down. tibi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- http://raibledesigns.

Re: [appfuse-user] DWR and i18n

2007-05-07 Thread Matt Raible
If you do a "view-source" after your page has loaded, you should see the translated message. Maybe that will help? I don't know what you're trying to do with the '+temp+' in the 2nd message. Matt On 5/7/07, VJ22 <[EMAIL PROTECTED]> wrote: Updated message Hello Folks, A simple problem which

Re: [appfuse-user] security.xml

2007-05-07 Thread Matt Raible
I believe you need to have two separate elements inside the element. Matt On 5/7/07, tibi <[EMAIL PROTECTED]> wrote: when i change it to (see below) it works but how can i combine both? tibi nl.topticketline.topnet.service.

Re: [appfuse-user] using hibernate example

2007-05-07 Thread Thomas Ramapuram
But what if public void save(EventSpan object) is the methord you want to override? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] Maven Repository

2007-05-07 Thread Aled Rhys Jones
Thanks Philip I actually found it as described here: http://docs.codehaus.org/display/GEOT/Eclipse+GeoTools+Quickstart %HOMEDRIVE%%HOMEPATH%\.m2\repository Cheers Aled Philip Barlow wrote: Assuming you have maven setup properly and the repository folder you point to exists, this page should h

Re: [appfuse-user] Maven Repository

2007-05-07 Thread Philip Barlow
Assuming you have maven setup properly and the repository folder you point to exists, this page should help: http://maven.apache.org/maven-1.x/plugins/eclipse/goals.html Aled Rhys Jones wrote: Hi all I'm completely new to AppFuse and a lot of its associated tools, so bear with me. I'm trying

[appfuse-user] Maven Repository

2007-05-07 Thread Aled Rhys Jones
Hi all I'm completely new to AppFuse and a lot of its associated tools, so bear with me. I'm trying to set it up for eclipse. I've imported the created project (spring mvc basic) into the workspace, then run the command: *mvn -Declipse.workspace=C:\Source eclipse:add-maven-repo*. (where C:\So

[appfuse-user] Problems with number convertion on s:input

2007-05-07 Thread André Faria
Hi All, I have the follow problem: I am using the Portuguese Brazil Localization on Struts 2, so the format to decimal numbers is (1.000.000,00) equals (1,000,000.00) in american localization. If you fill the s:input fields with the brazilian format, the struts converts the numbers in th

Re: [appfuse-user] security.xml

2007-05-07 Thread tibi
when i change it to (see below) it works but how can i combine both? tibi advice-ref="methodSecurityInterceptor" pointcut="execution(* nl.topticketline.topnet.service.EventSpanManager.*(..))"/> class="org.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor">

[appfuse-user] security.xml

2007-05-07 Thread tibi
hi, i want to add my manager to the security.xml file but i can't seem to get it working: i'm not sure how to add an extra execution. advice-ref="methodSecurityInterceptor" pointcut="execution(* org.appfuse.service.UserManager.*(..)),execution(* nl.topticketline.topnet.service

Re: [appfuse-user] DWR and i18n

2007-05-07 Thread VJ22
Updated message Hello Folks, A simple problem which I have been breaking my head onThere is a simple javascript function that I have: function errorAlert(){ var temp = "dialog.close"; var x1 = ""; var x2 = ""; alert(x1); alert(x2); } While alert(x1

[appfuse-user] !! appfuse.org is down

2007-05-07 Thread tibi
appfuse.org is down. tibi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[appfuse-user] minor bug in services demo

2007-05-07 Thread tibi
in this page i corrected a minor bug: http://appfuse.org/display/APF/Services\ the PersonManagerImpl is in package: package org.appfuse.tutorial.service.impl; but the registration in the applicationcontext is: class="org.appfuse.tutorial.service.PersonManagerImpl"> i changed the regis

[appfuse-user] minor bug in services demo

2007-05-07 Thread tibi
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[appfuse-user] DWR and i18n

2007-05-07 Thread VJ22
Hello, I am using DWR within appfuse for any ajax-requests.I seem to have reached a peculiar problem..Some of the modules return error messages as code e.g. "CORE-001" I need to convert them into the corresponding internationlized message in the javascript callback function which takes th

Re: [appfuse-user] using hibernate example

2007-05-07 Thread tibi
finally found it pfff in my public class EventSpanManagerImpl extends GenericManagerImplLong> implements EventSpanManager { i had this method: public void save(EventSpan object) { eventSpanDao.save(object); } removing this takes away the error tibi tibi wrote: mmm i d

Re: [appfuse-user] using hibernate example

2007-05-07 Thread tibi
mmm i don't think i follow. i now have: public interface EventSpanDao extends GenericDao { public class EventSpanDaoHibernate extends GenericDaoHibernate implements EventSpanDao { should i not extend the genericDao for my interface and not for my class so like this: public interface EventS

Re: [appfuse-user] How to set different links for the display:column?

2007-05-07 Thread Nathan Anderson
I believe there is some java script that looks for an tag in the first column of each row of a table and then it sets the onclick method of the row to go to that URL. You will have to disable that JavaScript to be able to have more than one link for a particular row. Nathan - Original Me