Re: [appfuse-user] Struts 2.0.4 Failed to resolve artifact

2007-01-30 Thread Matt Raible
Here's the current staging repository for Struts 2.0.4: struts-204-staging Apache Struts 2.0.4 Staging Repository http://people.apache.org/builds/struts/2.0.4/m2-staging-repository On 1/30/07, Nick Tucker <[EMAIL PROTECTED]> wrote: Hi

Re: [appfuse-user] JSTL and Class constant

2007-01-30 Thread Matt Raible
It's the only way I know of, but would love to hear other alternatives. Matt On 1/30/07, Jonathan Tse <[EMAIL PROTECTED]> wrote: Hi all, In appfuse there is a Constants Class holding many constant value and it was put into request scope by a custom tag. I would like to know if this is the

[appfuse-user] Re: [appfuse-issues] Mysterious instabilities

2007-01-30 Thread Matt Raible
There have been other issues related to the hibernate3 plugin. For example, it doesn't seem to fire when you first create a project from an archetype. I don't know what could be causing the other issues and I haven't seen #3 myself. Do you get #3 after Jetty restarts a few times? If you'd like,

[appfuse-user] JSTL and Class constant

2007-01-30 Thread Jonathan Tse
Hi all, In appfuse there is a Constants Class holding many constant value and it was put into request scope by a custom tag. I would like to know if this is the only way to access a Class constant in jstl? Seems it is not so handy Best regards, Jonathan -

Re: [appfuse-user] quickstart appfuse 2 - The package name 'default' ... already been used ...

2007-01-30 Thread climbingrose
I had the same problem before and I had to delete one of the struts.xml in the sub-directories of the src folder. Just do Ctrl-Shift-R in Eclipse and type in struts.xml to see the locations of the file. On 1/31/07, ros <[EMAIL PROTECTED]> wrote: Hi!ev I've just got Appfuse revision 2407 from

[appfuse-user] quickstart appfuse 2 - The package name 'default' ... already been used ...

2007-01-30 Thread ros
Hi! I've just got Appfuse revision 2407 from svn repository to d:\temp\appfuse and done steps as in QuickStartGuide: D:\Temp\appfuse>mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/repository -Darchetyp

[appfuse-user] Struts 2.0.4 Failed to resolve artifact

2007-01-30 Thread Nick Tucker
Hi I was unable to resolve org.apache.struts:struts2-core:jar:2.0.4 and org.apache.struts:struts2-spring-plugin:jar:2.0.4. As usual the struts2 Repositories only have snapshots. Would someone be so kind as to put a version of 2.0.4 in your repository like you did with 2.0.3. Thank

Re: [appfuse-user] Appfuse & Spring Webflow

2007-01-30 Thread Matt Raible
I believe Spring Web Flow 1.0 requires Spring 2.0. This JARs Maven metadata confirms that: http://mvnrepository.com/artifact/org.springframework/spring-webflow/1.0 Matt On 1/30/07, Amin Lalji <[EMAIL PROTECTED]> wrote: Hey List, Anybody know what versions of Appfuse are compatible with Spring

[appfuse-user] Appfuse & Spring Webflow

2007-01-30 Thread Amin Lalji
Hey List, Anybody know what versions of Appfuse are compatible with Spring Webflow 1.0? We were using Appfuse 1.9.2 (Spring 1.2.8) w/ Webflow 1.0 RC3 successfully. Upon trying to upgrade to Webflow 1.0, it seems there are problems with resolving views (almost as if the ViewResolver is not making

Re: [appfuse-user] Correct Controller Implementation?

2007-01-30 Thread Matt Raible
Yes. On 1/30/07, mas <[EMAIL PROTECTED]> wrote: So another words I should use just a Bible Object (as the form) and than it should bind automatically both ways? *From the form (void PropertyEditorSubclass.setAsText(String id)) *To the form (String PropertyEditorSubclass.getAsText(Object bi

Re: [appfuse-user] Correct Controller Implementation?

2007-01-30 Thread maskkkk
So another words I should use just a Bible Object (as the form) and than it should bind automatically both ways? *From the form (void PropertyEditorSubclass.setAsText(String id)) *To the form (String PropertyEditorSubclass.getAsText(Object bible)) ? Thanks again, Andrew J. Leer Matt Raibl

Re: [appfuse-user] Correct Controller Implementation?

2007-01-30 Thread Matt Raible
On 1/30/07, mas <[EMAIL PROTECTED]> wrote: Um, I guess I'm afraid that there may be situations in which I need to add more properties to a form. (more than just Bibles) And forms are kind of 2 dimensional where as objects are 3 dimensional*agh* I'm digressing to Struts aren't I? Yep

Re: [appfuse-user] Correct Controller Implementation?

2007-01-30 Thread maskkkk
Um, I guess I'm afraid that there may be situations in which I need to add more properties to a form. (more than just Bibles) And forms are kind of 2 dimensional where as objects are 3 dimensional*agh* I'm digressing to Struts aren't I? Matt Raible-3 wrote: > > Why don't use use your Bi

Re: [appfuse-user] Turn on Ehcache in Appfuse

2007-01-30 Thread Rob van Oostrum
http://ehcache.sourceforge.net/documentation/hibernate.html Are you setting this one?: hibernate.cache.provider_configuration_file_resource_path=/name_of_configuration_resource The error might be caused by a missing configuration item. R. On 1/30/07, Ding, Qin <[EMAIL PROTECTED]> wrote: Fr

RE: [appfuse-user] Turn on Ehcache in Appfuse

2007-01-30 Thread Ding, Qin
>From hibernate site, I found I need to change this line from org.hibernate.cache.EhCacheProvider To org.hibernate.cache.EhCacheProvider However, it still does not work. I got the different error: Invocation of init method failed; nested exception is org.hibernate.HibernateException: cou

[appfuse-user] using display tag with Spring form tag

2007-01-30 Thread dhyatt
I'm new to AppFuse and the display tag, so I apologize if I am asking a dumb question. I'm modifying one of the blahBlahList.jsp pages to allow the product user to change some attributes without going to the detailed blahBlahForm page. (An example of this might be allowing an Admin to correct the

Re: [appfuse-user] How to customise Appfuse 2.0

2007-01-30 Thread Matt Raible
I've added this as a question in the FAQ: http://appfuse.org/display/APF/FAQ#FAQ-customize Matt On 1/30/07, Matt Raible <[EMAIL PROTECTED]> wrote: On 1/30/07, Fan <[EMAIL PROTECTED]> wrote: > > I am using Archetype Struts 2 modular, I wish to do some customisation on the > screens. > > 1) I wo

Re: [appfuse-user] How to customise Appfuse 2.0

2007-01-30 Thread Matt Raible
On 1/30/07, Fan <[EMAIL PROTECTED]> wrote: I am using Archetype Struts 2 modular, I wish to do some customisation on the screens. 1) I would like to change the following heading from the Appfuse 2.0 screen, how could I achieve that ? "Appfuse Providing integration and style to open source Java

[appfuse-user] How to customise Appfuse 2.0

2007-01-30 Thread Fan
I am using Archetype Struts 2 modular, I wish to do some customisation on the screens. 1) I would like to change the following heading from the Appfuse 2.0 screen, how could I achieve that ? "Appfuse Providing integration and style to open source Java." 2) How could I replace "Your Company He

Re: [appfuse-user] POJO in Appfuse 2.0

2007-01-30 Thread Matt Raible
On 1/30/07, Fan <[EMAIL PROTECTED]> wrote: I am using Appfuse 2.0 with Archetype is Struts 2 Modular. My question is, when I want to create a new POJO by following the tutorials, where should I put my new POJO ? under core module or web module ? In the core module. Why cant I find those D

[appfuse-user] Fwd: Extending appfuse 2 classes - No Ideas anyone ?

2007-01-30 Thread Matt Raible
Forwarding to mailing list since that's where this discussion should be happening. ;-) Matt -- Forwarded message -- From: Matt Raible <[EMAIL PROTECTED]> Date: Jan 30, 2007 8:42 AM Subject: Re: Extending appfuse 2 classes - No Ideas anyone ? To: "[EMAIL PROTECTED]" <[EMAIL PROTEC

[appfuse-user] POJO in Appfuse 2.0

2007-01-30 Thread Fan
I am using Appfuse 2.0 with Archetype is Struts 2 Modular. My question is, when I want to create a new POJO by following the tutorials, where should I put my new POJO ? under core module or web module ? Why cant I find those DAOs e.g. userDAO , Managers in Appfuse 2.0 ?? where are they hided ?

Re: [appfuse-user] Queary on css and ....

2007-01-30 Thread Matt Raible
There are a number of themes that exist thanks to the CSS Design Contest I held about a year ago: http://css.appfuse.org/themes Unfortunately, I haven't had time to "certify" many of them work with AppFuse. If you'd like to try, we'd love the donation. ;-) Matt On 1/30/07, some screen1 <[EMAI

Re: [appfuse-user] mvn jetty:run-war

2007-01-30 Thread Matt Raible
If you have all the artifacts downloaded, no - you shouldn't need to connect. Use -o to work offline with Maven. For example: mvn jetty:run-war -o Matt On 1/30/07, Fan <[EMAIL PROTECTED]> wrote: Do I need to get connected with the internet in order to run "mvn jetty:run-war" ? Matt Rai

Re: [appfuse-user] Correct Controller Implementation?

2007-01-30 Thread Matt Raible
Why don't use use your Bible object directly instead of wrapping it in a BibleForm object? Matt On 1/30/07, mas <[EMAIL PROTECTED]> wrote: Let's say I'm populating my form via a given GET request parameter (Constants.BIBLE_ID_REQUEST_PARAM) in the formBackingObject method. The implementat

Re: [appfuse-user] mvn jetty:run-war

2007-01-30 Thread Fan
Do I need to get connected with the internet in order to run "mvn jetty:run-war" ? Matt Raible-3 wrote: > > You need to run "mvn jetty:run-war" from the directory that has the > Jetty Plugin defined in its pom.xml. Running it from the web module > should fix the problem. > > Matt > > On

Re: [appfuse-user] Using css

2007-01-30 Thread Matt Raible
The only CSS documentation we have is likely from the CSS Framework: http://www.contentwithstyle.co.uk/Articles/17/ Matt On 1/30/07, mmaia <[EMAIL PROTECTED]> wrote: Hi, I´d like to know if there´s some tutorial on using the css styles that ships with default appFuse implemetation. I´m using

[appfuse-user] Using css

2007-01-30 Thread mmaia
Hi, I´d like to know if there´s some tutorial on using the css styles that ships with default appFuse implemetation. I´m using a customized puzzlewithstyle style and now I need to use 3 column layout but as I sucks at interface design I need some help here. Is there such css style guide? -- View

Re: [appfuse-user] Appfuse 2.0 + Xfire

2007-01-30 Thread Matt Raible
Here's how to do REST-based services: http://cwiki.apache.org/CXF20DOC/http-binding.html But then I saw that migrating to CXF is not recommended at this time: http://cwiki.apache.org/CXF20DOC/xfire-migration-guide.html The following tutorial might help: http://xfire.codehaus.org/Spring+QuickS

RE: [appfuse-user] Turn on Ehcache in Appfuse

2007-01-30 Thread Ding, Qin
Mike: How do you turn the "second_level_cache" on? I've added that to the applicationConext-hibernate.xml, but still got the same error. @HIBERNATE-DIALECT@ true 'Y', false 'N' true

[appfuse-user] Correct Controller Implementation?

2007-01-30 Thread maskkkk
Let's say I'm populating my form via a given GET request parameter (Constants.BIBLE_ID_REQUEST_PARAM) in the formBackingObject method. The implementation bellow works. But am I doing it right? I don't think I am doing it right, only because there are methods in my BiblePropertyEditor such as

[appfuse-user] Queary on css and ....

2007-01-30 Thread some screen1
Hi all, I am using appfuse1.9.4 with struts. I have three css styles(simplycity,andreas01,puzzlewithstyle) by default in my web/styles folder. Is there any posibility to use more css themes for my application ? If yes How ?? Thanks in advance. -- View this message in context: http://www.nabble.c

Re: [appfuse-user] AppFuse user registration - email auth

2007-01-30 Thread [EMAIL PROTECTED]
If you want a manager in a listener you can simply get it from the context WebApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(req.getSession().getServletContext()); CategoryManager manager = (CategoryManager)ctx.getBean("categoryManager"); DNewfield wrote: >

[appfuse-user] Appfuse 2.0 + Xfire

2007-01-30 Thread Thomas Ramapuram
Hi, How do I enable xfire in appfuse 2.0. I noticed that it is due to be included by default but till then how do I do it. Thanks, Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [appfuse-user] Changing default extension from *.html to *.??

2007-01-30 Thread Michael Horwitz
Matt, I have attached a simple filter class which works well with Spring MVC. The basic operation works on the following principles: 1) The servlet container retains responsibility for serving all static resources. This ensures optimum performance (resources can be cached, have their timestamps

Re: [appfuse-user] AppFuse user registration - email auth

2007-01-30 Thread Michael Horwitz
On 1/30/07, DNewfield <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: > > 1.) In the signup action remember to set the user.setEnabled(false) > 2.) Remove the auto login code > 3.) Generate a token, store it on the user(add a collumn), make sure it's > unique(just add the username at the b