Re: [appfuse-user] M5 conflict with JasperReports

2007-05-30 Thread wnqq
Found an issue at codehaus' jira (http://jira.codehaus.org/browse/MNG-2923) that shows exactly the same error messages. Unfortunately, I still haven't figured out how to solve it. wnqq wrote: > > My JasperReports used to work with v2M4. > Unfortunately, it causes the following error while execu

[appfuse-user] Appfuse 2.0 M5 - Database to Pojos Design

2007-05-30 Thread Doug Pham
Matt, Currently, AppFuse is use to build the database tables from the pojo objects. Can we design the database first then build the pojos from it? Thanks, Doug - Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends.

[appfuse-user] Initializing session beans

2007-05-30 Thread sionsmith
Hi everyone I'm implementing a bread crumb trail in the main menu. I have a session backing bean which an a included page references. My question is how do i create this bean and put it into their session when they log in. I've got my own implementation of the AuthenticationManager but i dont see

[appfuse-user] About Rich Editor

2007-05-30 Thread ChengJiaguo
WebWork2 have the ww:richEditor tag but it seems stucts2 havn't the s:richEditor tag :-( who has good ideas if i need a rich text editor in appfuse? by the way! FCKEdit seems work not well in appfuse! - To unsubscribe, e-mail: [

Re: [appfuse-user] svn: PROPFIND request failed

2007-05-30 Thread Azarias Tomás
Yes, I am going though a proxy server at work , I 've tried at home and I succeded. mraible wrote: > > Not that I know of - it's usually something with your proxy setup. Are you > going through a proxy server? > > Matt > > On 5/28/07, Azarias Tomás <[EMAIL PROTECTED]> wrote: >> >> >> Hi Matt

[appfuse-user] problems with AMP, appfuse:gen

2007-05-30 Thread Azarias Tomás
Hi All, I am having problems when using AMP. when I run "mvn appfuse:gen -Dentity=User" It always throws exceptions : " ERROR [main] runtime.error(96) | Expression field.value.typeName is undefined on line 27, column 18 in appfuse/we b/jsf/list-test.ftl. The problematic instruction: --

[appfuse-user] appfuse:full-source

2007-05-30 Thread parthiban . subramaniam
Hi All, new user to Appfuse :) went through the quick start and got my project set up and all that fantastic, but after doing mvn appfuse:full-source, i'm unable to build or compile :( its complaining about the web-app war file missing and not being able to download from the remote repo getting

[appfuse-user] VelocityMenuDisplayer external link

2007-05-30 Thread tibi
hi anyone an idee how i can make an external link with the VelocityMenuDisplayer? this will not work: target="_new" page="http://www.extartnal.com"/> thanks, tibi - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

[appfuse-user] Exclude a directory from being traited

2007-05-30 Thread RobinCamus
Hi, I'm searching a way to put my help pages in a directory like /myapp/help, so i tought about excluding a directory from being traited by struts, in order to avoid having a lots of stuff in the struts.xml file to redirect to my help pages (they are simple HTML file). But i can't found how to do

Re: [appfuse-user] Initializing session beans

2007-05-30 Thread Matt Raible
You can create an ApplicationEventListener that listens for AuthenticationSuccessEvent. In order to get the request/session anywhere in your application, you can add Spring's RequestContextListener to your web.xml. From there, you can cast RequestContextHolder.getRequestAttributes to ServletReques

Re: [appfuse-user] appfuse:full-source

2007-05-30 Thread Matt Raible
Can you please post the error message you're seeing? Matt On 5/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi All, new user to Appfuse :) went through the quick start and got my project set up and all that fantastic, but after doing mvn appfuse:full-source, i'm unable to build or compi

Re: [appfuse-user] problems with AMP, appfuse:gen

2007-05-30 Thread Matt Raible
Are you trying to generate User screens from the default User object that ships with AppFuse? If so, why? On 5/30/07, Azarias Tomás <[EMAIL PROTECTED]> wrote: Hi All, I am having problems when using AMP. when I run "mvn appfuse:gen -Dentity=User" It always throws exceptions : " ERROR [main]

Re: [appfuse-user] VelocityMenuDisplayer external link

2007-05-30 Thread Matt Raible
Try using "url" instead of "page". On 5/30/07, tibi <[EMAIL PROTECTED]> wrote: hi anyone an idee how i can make an external link with the VelocityMenuDisplayer? this will not work: http://www.extartnal.com"/> thanks, tibi -

Re: [appfuse-user] Exclude a directory from being traited

2007-05-30 Thread Matt Raible
What do you mean by "traited"? Do you mean that you want files in this directory to not be decorated by SiteMesh. Or do you mean you want to use the *.html extension for them and not go through Struts to serve them up? Matt On 5/30/07, RobinCamus <[EMAIL PROTECTED]> wrote: Hi, I'm searching a

[appfuse-user] UTF-8 problems

2007-05-30 Thread MO
Hi all I'm trying to use UTF-8 with Appfuse but I have a problem displaying some characters. I copied some asian and other kind of characters from this page : http://www.macchiato.com/unicode/Unicode_transcriptions.html and pasted it directly in a JSP page (with eclipse). When I display the page

Re: [appfuse-user] Exclude a directory from being traited

2007-05-30 Thread RobinCamus
I mean i want to use the *.html extension for them and not go through struts to serve them up. But i can't find a configuration file where to put an exclude on them. mraible wrote: > > What do you mean by "traited"? Do you mean that you want files in this > directory to not be decorated by Site

Re: [appfuse-user] Exclude a directory from being traited

2007-05-30 Thread Matt Raible
If you want to exclude them from being decorated, you can modify decorators.xml. If you want to prevent them from hitting Struts, you'll want to modify the StaticFilter and its "includes" init-param. Here's an example: staticFilter org.appfuse.webapp.filter.StaticFilter

Re: [appfuse-user] Appfuse 2.0 M5 - Database to Pojos Design

2007-05-30 Thread Matt Raible
Not yet, but we hope to make this available as part of 2.0 Final. You could try using the Hibernate 3 plugin's hbm2java in the meantime. Matt On 5/30/07, Doug Pham <[EMAIL PROTECTED]> wrote: Matt, Currently, AppFuse is use to build the database tables from the pojo objects. Can we design t

[appfuse-user] How to use pre-compiled jsps in a project ?

2007-05-30 Thread pankaj singla
Hi, I am using appfuse 1.9 and tomcat. One of our teams want to use only pre-compiled jsp in the production server as they don't want to install jdk on the server. It is also preferred not to have the uncompiled JSP’s present on the server. The problem is that when using precompiled JSP’s we sti

Re: [appfuse-user] where should spring applicationContext*.xml files reside

2007-05-30 Thread nmall
Does this mean we have copies of files in both places or should we have applicationContext-resources.xml and applicationContext-struts.xml in webapp/WEB-INF applicationContext-dao, -services etc in src/main/resources The ACEGI security stuff is needed in front end as well as backend. Thanks

[appfuse-user] Tutorial to user a @ManyToOne with combobox

2007-05-30 Thread Laurent Dejoux
-- View this message in context: http://www.nabble.com/Tutorial-to-user-a-%40ManyToOne-with-combobox-tf3841455s2369.html#a10877391 Sent from the AppFuse - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMA

Re: [appfuse-user] How to use pre-compiled jsps in a project ?

2007-05-30 Thread Matt Raible
We added the ability to precompile JSPs and add them as servlets in web.xmlas part of 1.9.4. It might have been added earlier, I'm not sure. I'd suggest you look at properties.xml and build.xml from 1.9.4 to see how we do this. Matt On 5/30/07, pankaj singla <[EMAIL PROTECTED]> wrote: Hi, I a

[appfuse-user] test failed

2007-05-30 Thread Ding, Qin
Matt: I am running appfuse 1.9.4 with JSF and DB2. I found an article you posted regarding appfuse with DB2 issue and how to fix them. I came cross the same error but not with the "testAddUserRole()". It is the "testUpdateUser()" method throwing the following error. [junit] Caused by: CO

Re: [appfuse-user] where should spring applicationContext*.xml files reside

2007-05-30 Thread Matt Raible
If you have duplicate files, try deleting them. I'd make sure their contents are the same before doing it - or that they're stored in some sort of source control system. Acegi is needed in the classpath for the backend, but security.xml is only used when running in a container - not for tests. M

Re: [appfuse-user] test failed

2007-05-30 Thread Matt Raible
It sounds like Spring is not properly mapping DB2Exception to DataIntegrityViolationException. What happens if you change it to catch DataAccessException - does it pass then? Matt On 5/30/07, Ding, Qin <[EMAIL PROTECTED]> wrote: Matt: I am running appfuse 1.9.4 with JSF and DB2. I found

Re: [appfuse-user] UTF-8 problems

2007-05-30 Thread Matt Raible
If you comment out the gzipFilter's mapping in web.xml, does it fix the problem? Matt On 5/30/07, MO <[EMAIL PROTECTED]> wrote: Hi all I'm trying to use UTF-8 with Appfuse but I have a problem displaying some characters. I copied some asian and other kind of characters from this page : http://

Re: [appfuse-user] problems with AMP, appfuse:gen

2007-05-30 Thread Matt Raible
Can you post the contents of your other class (attaching may work best) so I can try to reproduce? Thanks, Matt On 5/30/07, Azarias Tomás <[EMAIL PROTECTED]> wrote: I am having the same error with other classes. With default User object , I was just testing... mraible wrote: > > Are you t

Re: [appfuse-user] problems with AMP, appfuse:gen

2007-05-30 Thread Azarias Tomás
I am having the same error with other classes. With default User object , I was just testing... mraible wrote: > > Are you trying to generate User screens from the default User object that > ships with AppFuse? If so, why? > > On 5/30/07, Azarias Tomás <[EMAIL PROTECTED]> wrote: >> >> >> Hi A

Re: [appfuse-user] UTF-8 problems

2007-05-30 Thread MO
No. :( The only difference between the test.html and test.jsp is that the test.htmlis redirected to a JSP using struts. When I call test.jsp, all the same filters are applied (Encoding filter, security filter and locale filter). One of the character I had a problem with is a "tamil" character. l

Re: [appfuse-user] UTF-8 problems

2007-05-30 Thread MO
I realized that it's working when I post a string and display it (with an action and a form). The only thing that doesn't work is with some characters written directly in a JSP. On 5/30/07, Matt Raible <[EMAIL PROTECTED]> wrote: If you comment out the gzipFilter's mapping in web.xml, does it fi

[appfuse-user] integration-test: cargo and jetty6x

2007-05-30 Thread Steve Tynor
I'm trying to run mvn integration-test with a JSP 2.1 container, so trying to use jetty6x -- here's the relevant pom.xml config: jetty6x http://dist.codehaus.org/jetty/jetty-6.1.3.zip Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.comm ons.logging.LogConf

Re: [appfuse-user] UTF-8 problems

2007-05-30 Thread Matt Raible
Unfortunately, I don't know the solution to your problem. I tried adding Tamil (யூனிகோட்) to hello.jsp in AppFuse 2.x's helloworld example and it doesn't work either. I tried removing all filter-mappings from web.xml and starting Jetty with "-Dorg.mortbay.util.URI.charset=UTF-8", but not dice. It

Re: [appfuse-user] integration-test: cargo and jetty6x

2007-05-30 Thread Matt Raible
You might try adding log4j as a dependency in Cargo's plugin configuration. AFAIK, the only containers that work reliably with Cargo are Tomcat and JBoss. Matt On 5/30/07, Steve Tynor <[EMAIL PROTECTED]> wrote: I'm trying to run mvn integration-test with a JSP 2.1 container, so trying to use j

Re: [appfuse-user] integration-test: cargo and jetty6x

2007-05-30 Thread Steve Tynor
FWIW, log4j is already listed as a cargo dependency by the appfuse-generated pom.xml. I've tried removing it, to no effect. I'll try using jboss4x with the new JBoss 4.2-GA and see what happens. Steve On 5/30/2007 2:33 PM, Matt Raible wrote: You might try adding log4j as a dependency in Cargo

Re: [appfuse-user] integration-test: cargo and jetty6x

2007-05-30 Thread Matt Raible
You could use Tomcat 6, I've tested that and know that it works with Cargo and AppFuse. Note that I did have to make some adjustments for JSF. http://raibledesigns.com/rd/entry/upgrading_to_tomcat_6 Matt On 5/30/07, Steve Tynor <[EMAIL PROTECTED]> wrote: FWIW, log4j is already listed as a car

RE: [appfuse-user] test failed

2007-05-30 Thread Ding, Qin
Matt: I changed to catch DataAccessException or even Exception, it makes no difference. user.setId(null); endTransaction(); try { dao.saveUser(user); fail("saveUser didn't throw DataIntegrityViolationException"); } catch (DataAccessException e){

Re: [appfuse-user] test failed

2007-05-30 Thread Matt Raible
If Exception (or DB2Exception) doesn't work, I'm all out of ideas. Matt On 5/30/07, Ding, Qin <[EMAIL PROTECTED]> wrote: Matt: I changed to catch DataAccessException or even Exception, it makes no difference. user.setId(null); endTransaction(); try { dao.saveUser(

Re: [appfuse-user] UTF-8 problems

2007-05-30 Thread Brett Knights
With tomcat if all your jsp's in all your contexts use UTF-8 you can specify the encoding to be used to interpret JPs. I had to have per context encoding so I couldn't take advantage of that. I ended up converting all jsp's that needed a different default encoding to jsp documents (i.e. xml fo

Re: [appfuse-user] integration-test: cargo and jetty6x

2007-05-30 Thread Steve Tynor
Interesting. tomcat6x was the first variant I tried, but was unable to get it to work. Your blog doesn't show any special pom.xml magic, so I'm not sure if there was anything other than changing cargo.container to tommcat6x and cargo.container.url to a tomcat 6 zip. But I've tried both with a

Re: [appfuse-user] java.lang.IllegalStateException in appfuse

2007-05-30 Thread nmall
I am getting the same error and have no clue where it is coming from ( after loggin in successfully) . Thanks for any suggestions!! DEBUG - Bypassing // mainMenu DEBUG - Skipping Interceptor... Method [execute] found in exclude list. DEBUG - No bean named 'org.apache.struts2.dispatcher.ServletDi

Re: [appfuse-user] integration-test: cargo and jetty6x

2007-05-30 Thread Matt Raible
You should use tomcat5x as the container id and just change the cargo.container.url to point to the new version. For example: tomcat6 tomcat5x ${env.CATALINA_HOME } http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.10/

Re: [appfuse-user] problems with AMP, appfuse:gen

2007-05-30 Thread Azarias Tomás
With class Ficheiro (attached ) I got this error : [lifestyle] ERROR [main] runtime.error(96) | Expression column is undefined on line 30, column 144 in appfuse/web/jsf/form-vi ew.ftl. The problematic instruction: -- ==> ${(!column.nullable)?string} [on line 30, column 140 in appfuse/web/

Re: [appfuse-user] Problem with Appfuse 2.x: Database fields are overwritten

2007-05-30 Thread yogeshk
No it did not work. I prefer not to store all fields on a page in hidden state. With preperable interface it asks values for some of the mandatory fields form first page. There should be some way in struts 2 to deal with it (just optimistic). Othewise, i need to try webflow or create embeddable

Re: [appfuse-user] VelocityMenuDisplayer external link

2007-05-30 Thread tibi
i will try i have tried and it works but now firefox ignores the traget="_new" one other thing i noticed is there is missing a space in the generated link: http://www.mol.nl"; title="MOL" target="_new_mol_screen"style="width: 120px">MOL before style. tibi Matt Raible wrote: Try using "ur

Re: [appfuse-user] VelocityMenuDisplayer external link

2007-05-30 Thread Matt Raible
You should be able to fix this by modifying cssHorizontalMenu.vm in your own project. Can you please enter an issue for this in JIRA as well? Thanks, Matt On 5/30/07, tibi <[EMAIL PROTECTED]> wrote: i will try i have tried and it works but now firefox ignores the traget="_new" one other thin

Re: [appfuse-user] VelocityMenuDisplayer external link

2007-05-30 Thread tibi
i will.,. but first sleep ;) tibi Matt Raible wrote: You should be able to fix this by modifying cssHorizontalMenu.vm in your own project. Can you please enter an issue for this in JIRA as well? Thanks, Matt On 5/30/07, * tibi* <[EMAIL PROTECTED] > wrote:

Re: [appfuse-user] integration-test: cargo and jetty6x

2007-05-30 Thread Steve Tynor
Thanks Matt! With that, I'm able to get much further along with "mvn integration-test" with my JSF 1.2 port (via myfaces-1.2.0-SNAPSHOT). I was never able to get the .action tests to work with the shale-test framework (see previous posts), so I've had to remove those five unit tests. integr

Re: [appfuse-user] integration-test: cargo and jetty6x

2007-05-30 Thread Matt Raible
On 5/30/07, Steve Tynor <[EMAIL PROTECTED]> wrote: Thanks Matt! With that, I'm able to get much further along with "mvn integration-test" with my JSF 1.2 port (via myfaces-1.2.0-SNAPSHOT). I was never able to get the .action tests to work with the shale-test framework (see previous posts), so I

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-30 Thread Matt Raible
Thanks Jason - these instructions worked! I'm going to make the following changes for RC1: 1. Add Dojo 0.4.3 to struts/src/main/webapp/scripts/dojo 2. Change Struts' decorators/default.jsp to load Dojo (so users won't need ). 3. Modify decorators.xml and web.xml to properly include/exclude Dojo

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-30 Thread Jason Thrasher
Glad it worked! and +1 for adding to RC1. I forgot to mention that you can see dojo's debug output by adding this to the bottom of default.jsp: -Jason mraible wrote: > > Thanks Jason - these instructions worked! > > I'm going to make the following changes for RC1: > > 1. Add Dojo 0.4

Re: [appfuse-user] Appfuse 2.0 M5 - Database to Pojos Design

2007-05-30 Thread jack
I just did a quick POC using the hibernate tools and it worked quite nicely. Including installation and using the toolset which I'd never used before it took only a few hours, pretty nice. Jack Sent via BlackBerry from T-Mobile -Original Message- From: "Matt Raible" <[EMAIL PROTECTE

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-30 Thread Matt Raible
I took the debugging part out and used what the Struts folks were outputting instead. // Dojo configuration djConfig = { baseRelativePath: "", isDebug: false, bindEncoding: "UTF-8"

[appfuse-user] Moving from Canoo WebTest to Selenium

2007-05-30 Thread Matt Raible
All, After getting Dojo's DropdownDatePicker working with both Struts and Spring MVC, I've run into a snag: You can no longer use Canoo WebTest to enter dates in a form. It doesn't find the form element because HtmlUnit (the underlying browser implementation for Canoo) doesn't understand/render

[appfuse-user] Pages

2007-05-30 Thread Martin Ravell
Sorry if this question happens to have an obvious answer but where is the struts.xml in 2m5? I'm guessing that something has been changed so that we no longer use this for configuration but I'm stumped as to what this change is. (yes I've been searching through the wiki etc). Environment = Appfus

Re: [appfuse-user] Pages

2007-05-30 Thread Matt Raible
It should be in src/main/resources. All files from here end up in WEB-INF/classes (it's a Maven convention). http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html If you're using IDEA, you should be able to easily find files by name using Ctrl + Shift + N

[appfuse-user] Pages

2007-05-30 Thread Martin Ravell
Scratch that last post. I've managed to install a Spring MVC project rather than a Struts2. Doofus is my middle name by the way. Regards Marty - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [appfuse-user] Moving from Canoo WebTest to Selenium

2007-05-30 Thread Trent
On Wed, 30 May 2007 22:31:05 -0600, Matt Raible wrote > You can no longer use Canoo WebTest to enter dates in a form. > Is there anyone out there that'd like the option of WebTest or > Selenium? It's probably possible to support both, but I'd rather > not. Selenium is simply a better solution for

Re: [appfuse-user] Moving from Canoo WebTest to Selenium

2007-05-30 Thread Matt Raible
On 5/30/07, Trent <[EMAIL PROTECTED]> wrote: On Wed, 30 May 2007 22:31:05 -0600, Matt Raible wrote > You can no longer use Canoo WebTest to enter dates in a form. > Is there anyone out there that'd like the option of WebTest or > Selenium? It's probably possible to support both, but I'd rather >

Re: [appfuse-user] problems with AMP, appfuse:gen

2007-05-30 Thread Matt Raible
Since you don't have any @OneToMany (or similar annotations), I suspect it's caused by the Blob. If you remove it as a property, does appfuse:gen work? We may have to add some special logic for blobs. Matt On 5/30/07, Azarias Tomás <[EMAIL PROTECTED]> wrote: With class Ficheiro (attached ) I