Re: [appfuse-user] Spring errors in 2.0-M5

2007-05-27 Thread hiugong.gwok
XmlReaderContext.registerWithGeneratedName is introduced since spring 2.0.3, you might wanna check if you had a dependency on a prior version. AppFuse M5 uses spring 2.0.5. Check your pom.xml for this: 2.0.5 thrasher wrote: > > I've upgraded an AppFuse 2.0-M4 project to M5 (modular struts2), a

Re: [appfuse-user] displaying '£' in pages

2007-05-25 Thread hiugong.gwok
Have you tried "\u00a3"? sionsmith wrote: > > Hi everyone - this really has be stumped - i cant get the £ character to > display. I'm using facelets e.g. .xhtml pages > > i've tryed: > 1) £ > 2) £ > > they give me this error: > com.sun.facelets.FaceletException: Error Parsing /mainMenu.xhtml

Re: [appfuse-user] displaytag_zh_CN.properties works not well

2007-05-24 Thread hiugong.gwok
I believe APF-747 is still opened, and there is a turkish version of the same problem in JIRA. mraible wrote: > > Is there a bug open for this? I'd like to fix it in the next release. > Thanks for posting the workaround. > > Matt > > On 5/24/07, hiugong.gwok

Re: [appfuse-user] displaytag_zh_CN.properties works not well

2007-05-24 Thread hiugong.gwok
Take a look at this thread: http://www.nabble.com/-JIRA--Created%3A-%28APF-747%29-Unrecognizable-code-in-chinese-version-t3726361s2369.html Basically, check the pom.xml file of your web project, find where it says "ApplicationResources_zh*.properties", then put "diaplayTag_zh*" along with it. --

Re: [appfuse-user] GenericManager get method

2007-05-15 Thread hiugong.gwok
Well, IMHO it's better than a clueless NPE came out of nowhere, not ideal though. tibi-3 wrote: > > here is the get method. it will return a runtime exception when nothing > is found. > i wonder why not return null? > > thanks, > > tibi > > /** > * Generic method to get an object b

Re: [appfuse-user] exlude jsp decorators

2007-05-02 Thread hiugong.gwok
I can't get the part done some time ago, and I end up doing this to work around: /what/you/want/to/exclude tibi-3 wrote: > > hi, > > exluding html pages is no problem met jsp page will not be exluded. > anyone a hint? > > my decorators.xml > ---

Re: [appfuse-user] Overriding Controllers?

2007-04-30 Thread hiugong.gwok
I did that before. All I need to do is get the source files from svn and put them to src/main/java. As long as the className and package didn't change, this works. It depends on the execution sequense of building to make sure files from war\work\appfuse-spring* is replaced by files from target/cla

Re: [appfuse-user] a problem when i want to --- Exclude the AppFuse Data Common Package

2007-04-29 Thread hiugong.gwok
The exclusion part should be in the appfuse-${dao.framework} dependency for both basic and mudular archetypes, the document needs some update : org.appfuse appfuse-${dao.framework} ${appfuse.version} org.

Re: [appfuse-user] XFire: Wrapper vs. Non-wrapper Web Services

2007-04-05 Thread hiugong.gwok
Isn't there a SpringFactory that can expose Spring bean as RemoteObject? But that involved FDS, maybe that's why you didn't want it? Rob Dare wrote: > > Thanks Brett! > > Actually your reply had worked, I had done something else that > messed me up, and I didn't the change I made wasn't applie

Re: [appfuse-user] how to enable HTTP digest authorization in appfuse?

2007-04-05 Thread hiugong.gwok
I thought the algorithm is SHA1? thinkboy wrote: > > hi > > sorry that i aware this may be more a acegi question. but I really hope > someone here can help me too. > pls guide me on how to setup Digest correctly in appfuse! pls advise > > I tried to setup my digestAuthorization and chellenge

Re: [appfuse-user] Problem with the Person Tutorial

2007-03-29 Thread hiugong.gwok
It should be either PersonDao or GenericDaoHibernate, but not PersonDao. lk-2 wrote: > > Hi, > > I'm new to appfuse and I'm studying the example in the Person tutorial. > I followed every instructions but I get an error in the PersonDaoTest > class. Eclipse gives me an error like this: > > "

Re: [appfuse-user] zh_CN submit ERROR!!!

2007-03-19 Thread hiugong.gwok
Ubuntu installed mysqld with latin1 as default char-set. Run the mysql client (type mysql -u root on a terminal window), type command "status" to see if thats the case. If so, modify "/etc/mysql/my.cnf', and add "default-character-set=utf8" to both the [mysql] and [mysqld] sections. And if you

Re: [appfuse-user] Appfuse wont run integration-test

2007-03-19 Thread hiugong.gwok
There is a line in the pom file of your project, something looks like http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.23/bin/apache-tomcat-5.5.23.zip sarat.pediredla wrote: > > Apologies as probably this is a RTFM scenario but how do I change the URL? > I know it's somewhere in Cargo but I

Re: [appfuse-user] exception is thrown when trying to change the username in 2.0 snapshot-m4

2007-03-07 Thread hiugong.gwok
If you see that during test, it might be cause by org.appfuse.webapp.controller.BaseControllerTestCase, it has "tomcat" hardcoded. natophonic wrote: > > > With > appfuse-spring-2.0-m4-20070303.161353-20.warpath.jar > and > appfuse-web-common-2.0-m4-20070303.161353-60.warpath.jar > > and Spri

Re: [appfuse-user] error in downloading version 2.0-m4-SNAPSHOT

2007-03-02 Thread hiugong.gwok
I did the same thing on maven 2.0.5 and jdk 1.6, and it works fine. And now the archetypeVersion should be 2.0-m4-SNAPSHOT after revision 2533. sxm wrote: > > Tried that too, didnt work. I just upgraded from 2.0.4 to 2.0.5 and from > java 1.5 to java 1.6. I dont believe that should have anythi

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

2007-02-08 Thread hiugong.gwok
This infamous BOM bug had been there since 2001, and will not be fix. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058 -- View this message in context: http://www.nabble.com/ApplicationResources_zh.properties-vs.-ApplicationResources_zh_CN.properties-tf3189261s2369.html#a8872759 Sent f

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

2007-02-08 Thread hiugong.gwok
Matt Raible-3 wrote: > > How? I used Notepad++ to change them to UTF-8. > > Matt > I use notepad2 to do this (http://www.flos-freeware.ch/notepad2.html). Select File/Encoding/UTF-8 from the menu and then save. But I realize some editor might not be able to recognize UTF-8 without such sig

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

2007-02-08 Thread hiugong.gwok
One more encoding problem. Currently "zh" and "zh_CN" are using UTF-8 with Signature, that signature will cause native2ascii to generate an extra "\ufeff" at the beginning. Therefore cause the system can't match the first key (user.status). Change to UTF-8 without Signature will fix this. -- Vie

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

2007-02-08 Thread hiugong.gwok
Matt Raible-3 wrote: > > Is JDK 6 working for you? I'd love to use it, but Maven seems to have > some issues with multi-module projects and JDK 6. > > http://jira.codehaus.org/browse/MNG-2709 > I don't know if I have the same problem, but when an appfuse update happened (daily:)), I have to

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

2007-02-08 Thread hiugong.gwok
wnqq wrote: > > I encountered some I18N issues when the bundle files are processed by > native2ascii or whatever translations. > For example, the new property files (for zh locale) become corrupt after > "ant new" (for all versions of Appfuse v1.8/9.x). > It's no longer a problem for 2.0M3, t

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