Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-07 Thread Matt Raible
OK, so currently, the "zh" and "zh_CN" bundles are the same. If someone wants to translate one for zh_TW, that'd be great. There's a couple issues in JIRA with zh_TW bundles attached, but they were created before we consolidated bundles: http://issues.appfuse.org/browse/APF-377 http://issues.ap

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-07 Thread hiugong.gwok
I think it's quite the same issue as "en", "en_US", "en_GB" etc. > * zh_CN is used by China: Simplified Chinese > * zh_TW is used by Taiwan: Traditional Chinese > * zh_HK is used by Hong-Kong: Tradiitonal Chinese and zh_SG for Singapore, zh_MO for Macao. > So there's no such thing as a "zh" b

Re: [appfuse-user] Call default JSF managed bean method

2007-02-07 Thread Matt Raible
On 2/7/07, md10024 <[EMAIL PROTECTED]> wrote: Catching up on your backlog? this post is almost a month old ;^) alpha, beta, gamma, whatever... the source is provided and all it does is a intercept the pre-load and give you a config file to specify which URL patterns to intercept. It's simple e

Re: [appfuse-user] Call default JSF managed bean method

2007-02-07 Thread md10024
Catching up on your backlog? this post is almost a month old ;^) alpha, beta, gamma, whatever... the source is provided and all it does is a intercept the pre-load and give you a config file to specify which URL patterns to intercept. It's simple enough to be low/no risk and is quite handy. Do y

Re: [appfuse-user] SMTP Authentication with Struts 2 App

2007-02-07 Thread Matt Raible
If you're using AppFuse 2, you'll likely need to override the mailEngine bean in your local applicationContext.xml. Here's the default one: If you comment out the bottom part in your local bean definition, it should work. Matt On 2/7/07, paulie <[EMAIL PROTEC

[appfuse-user] SMTP Authentication with Struts 2 App

2007-02-07 Thread paulie
I have been able to send an email with a simple Java app using javax.mail by setting SMTP authentication: Properties props = System.getProperties(); props.put("mail.smtp.auth", "true"); I have been trying to do the same thing through mail.properties: mail.smtp.auth=true or mail.auth = true I k

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-07 Thread wnqq
There could optionally be a "zh" bundle which will have the same content as either "zh_TW" or "zh_CN" or whatever. Most people around the world except China use Traditional Chinese; however, there are too many people in China that use Simplified Chinese. So, I would not conclude which one is the

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-07 Thread Matt Raible
The good news is this value is in both Chinese versions and the English version in AppFuse 2.x. ;-) Matt On 2/7/07, Simon Wu <[EMAIL PROTECTED]> wrote: On 2/8/07, Matt Raible <[EMAIL PROTECTED]> wrote: > On 2/7/07, Simon Wu <[EMAIL PROTECTED]> wrote: > > > > > > For example,we can find * erro

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-07 Thread Simon Wu
On 2/8/07, Matt Raible <[EMAIL PROTECTED]> wrote: On 2/7/07, Simon Wu <[EMAIL PROTECTED]> wrote: > > > > For example,we can find * errors.maxlength* in zh properties file but not > in zh_CN. > So delete the zh properties file would cause error if we want to use > this value in page. It won'

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-07 Thread Matt Raible
On 2/7/07, Simon Wu <[EMAIL PROTECTED]> wrote: > > >Are these valid differences - as in there's different meanings that > >are accurate? If so, we might want to make sure those are in 2.0. > > For example,we can find * errors.maxlength* in zh properties file but not in zh_CN. So delete the

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-07 Thread Simon Wu
>Are these valid differences - as in there's different meanings that >are accurate? If so, we might want to make sure those are in 2.0. For example,we can find *errors.maxlength* in zh properties file but not in zh_CN. So delete the zh properties file would cause error if we want to use th

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-07 Thread Matt Raible
On 2/7/07, wnqq <[EMAIL PROTECTED]> wrote: There are more variants such as zh_HK. * zh_CN is used by China: Simplified Chinese * zh_TW is used by Taiwan: Traditional Chinese * zh_HK is used by Hong-Kong: Tradiitonal Chinese Most Chinese people around the world (except China) use Traditional Ch

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-07 Thread wnqq
There are more variants such as zh_HK. * zh_CN is used by China: Simplified Chinese * zh_TW is used by Taiwan: Traditional Chinese * zh_HK is used by Hong-Kong: Tradiitonal Chinese Most Chinese people around the world (except China) use Traditional Chinese (i.e. zh_TW) as the default one. So, p

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-07 Thread wnqq
Actually, there needs to have two files: zh_CN and zh_TW And then the administrator of that localized application will determine which one (zh_CN or zh_TW) should be renamed as "zh". The zh_TW is currently unavailable in the appfuse distribution. For now, please just delete the current "zh" one

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-07 Thread Matt Raible
On 2/7/07, Simon Wu <[EMAIL PROTECTED]> wrote: Hi Matt: I found there were some differents between these two files in appfuse-1.9.3. Are these valid differences - as in there's different meanings that are accurate? If so, we might want to make sure those are in 2.0. Thanks, Matt But wh

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-07 Thread Matt Raible
You might try using the component. http://struts.apache.org/2.x/core-apidocs/org/apache/struts2/components/DatePicker.html Matt On 2/7/07, Fan <[EMAIL PROTECTED]> wrote: I am using struts 2 Matt Raible-3 wrote: > > On 2/7/07, Fan <[EMAIL PROTECTED]> wrote: >> >> >> 1)Is there any Calendar

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-07 Thread Simon Wu
Hi Matt: I found there were some differents between these two files in appfuse-1.9.3. But why create two resource bundles for 'zh' in appfuse-1.9.3? And now I suppose one bundle, zh version, would be fine for all Chinese users. Thanks. Simon. On 2/8/07, Matt Raible <[EMAIL PROTECTED]> wrot

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-07 Thread Fan
I am using struts 2 Matt Raible-3 wrote: > > On 2/7/07, Fan <[EMAIL PROTECTED]> wrote: >> >> >> 1)Is there any Calendar component in Appfuse 2.0, if there is so, how >> could I >> make use of it ? > > > Which web framework are you using? > > 2)How do we define date field (without time) in P

Re: [appfuse-user] Using iBATIS

2007-02-07 Thread Matt Raible
On 2/4/07, Nick Tucker <[EMAIL PROTECTED]> wrote: Hi I was thinking of using just iBATIS for the tutorial, but I reached a point where I thought that was would be required was getting to involved for a Tutorial. I think that the problems with Maven not overriding properties could be bypassed f

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

2007-02-07 Thread Matt Raible
On 2/7/07, Matt Raible <[EMAIL PROTECTED]> wrote: On 2/2/07, Fan <[EMAIL PROTECTED]> wrote: > > 1) I think I should change the CLEAN_INSET to REFRESH, should it be alright ? I don't know - there's only one way to find out! > > 2) Does Appfuse come with the EXPORT operation ? I searched through

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

2007-02-07 Thread Matt Raible
On 2/2/07, Fan <[EMAIL PROTECTED]> wrote: 1) I think I should change the CLEAN_INSET to REFRESH, should it be alright ? I don't know - there's only one way to find out! 2) Does Appfuse come with the EXPORT operation ? I searched through the pom.xml, it seems like does not have EXPORT operat

Re: [appfuse-user] dojo in appfuse

2007-02-07 Thread Matt Raible
Did you get this sorted out - I believe a solution was posted to another thread. Matt On 1/31/07, misun chung <[EMAIL PROTECTED]> wrote: Matt, I tried the attached DojoFilter.java, and added filter mapping in web.xml. Then I got the following error message. [java] [pagegate] ERROR [http-8080-

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

2007-02-07 Thread Matt Raible
If you run "war:inplace" and then do the following, it should fix your problem: rm -r src/main/webapp/WEB-INF/lib rm src/main/webapp/WEB-INF/classes/struts.xml HTH, Matt On 1/31/07, ros <[EMAIL PROTECTED]> wrote: If I delete everyting from src\main\webapp\WEB-INF\classes jut before mvn jetty

Re: [appfuse-user] ibatis inline parameter map.

2007-02-07 Thread Matt Raible
The answer to your problem doesn't jump out at me - did you get this solved? Matt On 1/27/07, andrea cossu <[EMAIL PROTECTED]> wrote: Hello, i'm developping a project using appfuse with ibatis. I have a class of procedure and want to load in it a list of policy connected to the procedure. In

Re: [appfuse-user] 500 Error with new Struts 2 Basic app...

2007-02-07 Thread Matt Raible
What happens when you run: java -version mvn -version If you'd like, you can send me your project and I can try it on my machine. If it works - it must be something with your environment. ;-) Of course, you could try this on a different computer if you have one lying around. VMWare works great

Re: [appfuse-user] 500 Error with new Struts 2 Basic app...

2007-02-07 Thread billgloff
Yeah that error was from jetty. Well nothing happens when I try Tomcat. I just get a 400 (Bad Request) in the browser. Here's what my console shows [INFO] [cargo:start] [INFO] [talledLocalContainer] Tomcat 5.5.17 starting... [INFO] [CopyingLocalDeployer] Deploying [C:\Development\projects\pmlcon

Re: [appfuse-user] mvn org.appfuse:appfuse-maven-plugin:dbtoxml doesn't work

2007-02-07 Thread Matt Raible
Is there a element for this plugin in your pom.xml? If not, try adding the following just after : 2.0-m3-SNAPSHOT Matt On 2/7/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: I got the following error when i tried to use the appfuse-maven-plugin. I will put it no the jira but i could not find a

[appfuse-user] mvn org.appfuse:appfuse-maven-plugin:dbtoxml doesn't work

2007-02-07 Thread Struts2 Fan
I got the following error when i tried to use the appfuse-maven-plugin. I will put it no the jira but i could not find a suitable component for maven plugin. I didn't want to put it on tools - apgen and no component categories. mvn org.appfuse:appfuse-maven-plugin:dbtoxml [INFO] Scanning for proj

Re: [appfuse-user] Call default JSF managed bean method

2007-02-07 Thread Matt Raible
I'm a little leary of using a alpha0.1 version from an open source project that only has 1 developer and hasn't had a release in 3 years. ;-) Matt On 1/18/07, Mark Dopheide <[EMAIL PROTECTED]> wrote: Yes! There is a cool add-in that I use for exactly this purpose. Check out http://sourceforge.

Re: [appfuse-user] 500 Error with new Struts 2 Basic app...

2007-02-07 Thread Matt Raible
You get this error from Jetty? What happens if you try it in Tomcat with: mvn cargo:start -Dcargo.wait=true Matt On 2/7/07, billgloff <[EMAIL PROTECTED]> wrote: Just created a new Struts 2 app using AppFuse 2.0M3 and have everything setup correctly including JAVA_HOME pointing to my JDK5. E

[appfuse-user] 500 Error with new Struts 2 Basic app...

2007-02-07 Thread billgloff
Just created a new Struts 2 app using AppFuse 2.0M3 and have everything setup correctly including JAVA_HOME pointing to my JDK5. Everything got generated correctly and the tables were created in my DB. When I run mvn jetty:run-war I get the following error in my browser. I've been searching for a

Re: [appfuse-user] Error in FAQ

2007-02-07 Thread Matt Raible
Fixed - thanks! On 2/7/07, André Faria <[EMAIL PROTECTED]> wrote: In Faq we have to change from ... mvn cargo.start -Dcargo.wait=true to (: insted .) mvn cargo:start -Dcargo.wait=true Regards, *André Faria* ** - To unsub

[appfuse-user] Error in FAQ

2007-02-07 Thread André Faria
In Faq we have to change from ... mvn cargo.start -Dcargo.wait=true to (: insted .) mvn cargo:start -Dcargo.wait=true Regards, André Faria - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[appfuse-user] ApplicationResources_pt.properties vs. ApplicationResources_pt_BR.properties

2007-02-07 Thread Matt Raible
To AppFuse Portuguese Speakers: I did some diffs between AppFuse's "pt" and "pt_BR" resource bundles and they look exactly the same to me. Is there any reason to keep both? Thanks, Matt -- http://raibledesigns.com

[appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-07 Thread Matt Raible
To AppFuse Chinese Users: I did some diffs between AppFuse's "zh" and "zh_CN" resource bundles and they look exactly the same to me. Is there any reason to keep both? It seems reasonable to delete the zh_CN version. Thanks, Matt -- http://raibledesigns.com

Re: [appfuse-user] Will there be a appfuseGenerator for appfuse2.0?

2007-02-07 Thread Matt Raible
This plugin's new homepage is at: http://static.appfuse.org/plugins/appfuse-maven-plugin/ I'm not quite sure what it does at this point since I haven't used it myself. ;-) Matt On 2/7/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: Thansk for quick reply. I searched for appfuse-maven-plugin and

Re: [appfuse-user] Will there be a appfuseGenerator for appfuse2.0?

2007-02-07 Thread Michael Horwitz
The details for all plugins used in AppFuse can be found here: http://www.appfuse.org/display/APF/Maven+Plugins, with the AMP (Appfuse Maven Plugin) documentation here http://static.appfuse.org/plugins/appfuse-maven-plugin/. Mike On 2/7/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: Thansk for q

Re: [appfuse-user] Will there be a appfuseGenerator for appfuse2.0?

2007-02-07 Thread Struts2 Fan
Thansk for quick reply. I searched for appfuse-maven-plugin and found a page http://mojo.codehaus.org/appfuse-maven-plugin/ It says it is moved to appfuse.org, but unfortunately I cannot find any information regarding this plug-in. Is it there or not put yet due to incomplete state of the plug-i

Re: [appfuse-user] Core JSF ( myFaces ) without Facelets in Appfuse 1.9.4

2007-02-07 Thread Matt Raible
You could probably look at the output of the GoogleMaps JSP Tags and then write that output yourself in your page. You could also look at FacesGoodies. It seems to have a Facelets and Google Maps example. http://jroller.com/page/mwessendorf?entry=facesgoodies_a_kickstart_for_jsf Matt On 1/17/0

Re: [appfuse-user] Will there be a appfuseGenerator for appfuse2.0?

2007-02-07 Thread Matt Raible
Yes, we hope to create this before 2.0 Final is released. Matt On 2/7/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: Hi all, I just wonder. Will there be a codeGeneration tool for generating a project after the database design is finished. (Maybe reading the mysql and generating the rest pages)

Re: [appfuse-user] Will there be a appfuseGenerator for appfuse2.0?

2007-02-07 Thread Michael Horwitz
Yes, the appfuse-maven-plugin is being built to do just that. At the moment I believe it works up to the service layer - some work still needs to be done to bring it up to the web tiers. Mike. On 2/7/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: Hi all, I just wonder. Will there be a codeGenera

[appfuse-user] Will there be a appfuseGenerator for appfuse2.0?

2007-02-07 Thread Struts2 Fan
Hi all, I just wonder. Will there be a codeGeneration tool for generating a project after the database design is finished. (Maybe reading the mysql and generating the rest pages) -- View this message in context: http://www.nabble.com/Will-there-be-a-appfuseGenerator-for-appfuse2.0--tf3188700s2

[appfuse-user] Re: Appfuse Ibatis

2007-02-07 Thread Matt Raible
On 2/7/07, Matt Raible <[EMAIL PROTECTED]> wrote: Forwarding to mailing list as that's where this belongs. I'll answer the question there. Matt -- Forwarded message -- From: Sergi Almar i Graupera <[EMAIL PROTECTED]> Date: Feb 7, 2007 9:53 AM Subject: Appfuse Ibatis To: [EMAIL

[appfuse-user] Fwd: Appfuse Ibatis

2007-02-07 Thread Matt Raible
Forwarding to mailing list as that's where this belongs. I'll answer the question there. Matt -- Forwarded message -- From: Sergi Almar i Graupera <[EMAIL PROTECTED]> Date: Feb 7, 2007 9:53 AM Subject: Appfuse Ibatis To: [EMAIL PROTECTED] Hi Matt, I just have a quick question

Re: [appfuse-user] (Maven + JDK 6) Problems: No Java test Frameworks

2007-02-07 Thread André Faria
Ok Matt, Excuse-me, I didnt read the QuickStartGuide yeat... Thank's, Regards, André Faria Matt Raible escreveu: Yes, we're aware of this issue.  It's a bug in Maven. Step 1 in the QuickStart Guide[1] links to the following issue: http://jira.codehaus.org/browse/MNG-2709 Matt [1

Re: [appfuse-user] (Maven + JDK 6) Problems: No Java test Frameworks

2007-02-07 Thread Matt Raible
Yes, we're aware of this issue. It's a bug in Maven. Step 1 in the QuickStart Guide[1] links to the following issue: http://jira.codehaus.org/browse/MNG-2709 Matt [1] http://appfuse.org/display/APF/AppFuse+QuickStart On 2/7/07, André Faria <[EMAIL PROTECTED]> wrote: I cant build the data mo

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-07 Thread Matt Raible
On 2/7/07, Fan <[EMAIL PROTECTED]> wrote: 1)Is there any Calendar component in Appfuse 2.0, if there is so, how could I make use of it ? Which web framework are you using? 2)How do we define date field (without time) in POJO for Appfuse 2.0 ? as a java.util.Date Matt -- View this mess

[appfuse-user] Treeview Display Information

2007-02-07 Thread Scott Purcell
Hello, I would like to show some nested Categories in some type of Treeview display. I am using Equinox 1.7 Webwork/Spring/Hibernate. Upon some preliminary investigation, I found some "treeview dhtml" source code here: http://rollerjm.free.fr/pro/Treeview/Treeview.html#1, but upon other sea

Re: [appfuse-user] Initialization code

2007-02-07 Thread Christian Giese
Hi Henrik, I do a lot of prepping stuff in src/web/**/webapp/listener/StartupListener . This way it gets re-run not only on Tomcat start but on every WebApp reload, too. HTH, Chris Henrik Rouyer-Johnsen wrote: Hi! I'm using Appfuse 1.9.2/SpringMVC and I need to do some app initialization th

[appfuse-user] (Maven + JDK 6) Problems: No Java test Frameworks

2007-02-07 Thread André Faria
I cant build the data module with Java 6... [ERROR] BUILD ERROR [INFO] [INFO] No Java test frameworks found [INFO] [INFO] Trace org.apache.maven.li

[appfuse-user] Initialization code

2007-02-07 Thread Henrik Rouyer-Johnsen
Hi! I'm using Appfuse 1.9.2/SpringMVC and I need to do some app initialization that is to be executed exactly once when TomCat is started (I need to start some Java Timers that execute a method in one of the services every hour). Where would a suitable place to insert this kind of code be? Regar

[appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-07 Thread Fan
1)Is there any Calendar component in Appfuse 2.0, if there is so, how could I make use of it ? 2)How do we define date field (without time) in POJO for Appfuse 2.0 ? -- View this message in context: http://www.nabble.com/Calendar-component-and-Date-field-for-Appfuse-2.0-tf3187463s2369.html#a

[appfuse-user] + Sitemesh = "node was not found" error

2007-02-07 Thread Vitor Pellegrino
Hello all, I'm trying to integrate these two technologies but i can't, no matter what i do, display correctly a datepicker when i turn sitemesh on. It seems my div gets decorated somethow. I tried to exclude with these params at my /WEB-INF/decorators.xml, and at my sitemesh.xml i've setup this

Re: [appfuse-user] Problem with action forwarding - Using tabbed panels

2007-02-07 Thread Jasper Huzen
No i didn't find another solution for this 'problem'; Now, i've used, just as my first idea, the parameting passing way. Maybe it's not the best solution, but in my case it works, and looking for another solutions will cost me more time. Jasper Matt Raible-3 wrote: > > Did you figure out a s