AW: [appfuse-user] Appfuse 2.0-m5 does not support UTF8 ?

2007-06-01 Thread René Günther
It compresses the replies of the web server to save bandwidth. At the clients side the reply is decompressed again. I guess you trade CPU usage for bandwidth with it. René -Ursprüngliche Nachricht- Von: Fan [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 2. Juni 2007 07:02 An: users@appfu

Re: [appfuse-user] Appfuse 2.0-m5 does not support UTF8 ?

2007-06-01 Thread Fan
Thank Matt, I have "watched" it. Right now I just commented out GZipFilter in the web.xml. What's the use of GZipFilter ? mraible wrote: > > It was commented out in M3 because of this issue. There were bugs in > EhCache 1.2.3 that prevented it from working properly. What happened > in M5 (

AW: [appfuse-user] PersonDaoTest fails

2007-06-01 Thread René Günther
Oops. I opted for minor change... so maybe there wont be a notification ;-) -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Matt Raible Gesendet: Samstag, 2. Juni 2007 06:36 An: users@appfuse.dev.java.net Betreff: Re: [appfuse-user] PersonDaoTest f

Re: [appfuse-user] Appfuse 2.0-m5 does not support UTF8 ?

2007-06-01 Thread Matt Raible
It was commented out in M3 because of this issue. There were bugs in EhCache 1.2.3 that prevented it from working properly. What happened in M5 (that didn't happen in M4) is Maven thinks 1.2.3 is newer than 1.3.0-beta2. Hopefully when 1.3.0 is released, the problem will be fixed. If not, manually

Re: [appfuse-user] PersonDaoTest fails

2007-06-01 Thread Matt Raible
Yes, please do. I get notifications of changes (you can sign up for these too) so I'll review your changes. Matt On 6/1/07, René Günther <[EMAIL PROTECTED]> wrote: This solved my issue. I updated the wiki if that is Ok Thanks René -Ursprüngliche Nachricht- Von: Arvinder Brar [mailto:[

Re: [appfuse-user] Appfuse 2.0-m5 does not support UTF8 ?

2007-06-01 Thread Fan
Yup, I disabled the gzipFilter too for m5. I noticed that gzipFilter is disabled too for m3 by default. What's the function of gzipFilter ? Why it's disabled in m3 by default, but it's enabled in m5 by default ? Azarias Tomás wrote: > > In the demo site it's OK. > Mat u a right, I was havin

AW: [appfuse-user] PersonDaoTest fails

2007-06-01 Thread René Günther
This solved my issue. I updated the wiki if that is Ok Thanks René -Ursprüngliche Nachricht- Von: Arvinder Brar [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 1. Juni 2007 21:53 An: users@appfuse.dev.java.net Betreff: Re: [appfuse-user] PersonDaoTest fails Try replacing personDao.save(pe

Re: [appfuse-user] Appfuse 2.0-m5 does not support UTF8 ?

2007-06-01 Thread Matt Raible
I commented out the gzipFilter in web.xml and it fixes it. If I look in WEB-INF/lib, ehcache-1.2.3.jar is in there. Therefore, this issue is the same as the following one: http://issues.appfuse.org/browse/APF-777 Here's the workaround: http://www.nabble.com/Re%3A-Appfuse-2.0-m5-does-not-support

Re: [appfuse-user] Appfuse 2.0-m5 does not support UTF8 ?

2007-06-01 Thread Matt Raible
I was able to reproduce this at http://demo.appfuse.org/appfuse-struts as well as using a Struts 2 archetype for M5. My environment: Windows XP with Cygwin. Strangely enough, it works when I run "mvn jetty:run-war" from trunk/web/struts, but not when I create a new project from an archetypes. I'

Re: [appfuse-user] Appfuse 2.0-m5 does not support UTF8 ?

2007-06-01 Thread Fan
1) go to http://demo.appfuse.org 2) log in as admin 3) edit profile 4) copy & paste this 日本語 into the address field and click on save button 5) then edit profile again, you will see the 日本語 ,which you pasted just now, will become ??? mraible wrote: > > Can you provide the steps for me to

Re: [appfuse-user] What would you want in a 10-15 page chapter on AppFuse?

2007-06-01 Thread Matt Raible
On 6/1/07, Fan <[EMAIL PROTECTED]> wrote: Hey Matt: The topics you mentioned about are essential to have. But I would like to see more of the following: 1) Explanation for how different frameworks being glued together 2) Explanation for the how does configuration in Appfuse work 3) Possibly

Re: [appfuse-user] What would you want in a 10-15 page chapter on AppFuse?

2007-06-01 Thread Fan
Hey Matt: The topics you mentioned about are essential to have. But I would like to see more of the following: 1) Explanation for how different frameworks being glued together 2) Explanation for the how does configuration in Appfuse work 3) Possibly with few sample applications with hibernat

Re: [appfuse-user] DAO design pattern thoughts

2007-06-01 Thread Matt Raible
I believe this is a standard part of the Generic DAO pattern, we just haven't implemented it yet. I'm sure it's possible with Hibernate, iBATIS and JPA, it'd just take a bit of work to do it. Here's a couple of approaches I've read about: http://www.ibm.com/developerworks/java/library/j-genericda

[appfuse-user] DAO design pattern thoughts

2007-06-01 Thread Jason Brice
Hi Everyone, As we all know AppFuse has a fantastic implementation of the DAO design pattern. However as I have been using AppFuse over the past 9 or so months I have realized that the vast majority of the CRUD code I'm writing in the DAOs is for the *reading*; retrieving objects by a combinatio

Re: [appfuse-user] Any plans for ZK Archetype?

2007-06-01 Thread Matt Raible
If you want to create a ZK implementation and support it, we'd be more than happy to welcome the patch. Most of the frameworks in AppFuse are the ones that I see demand for in the marketplace. I haven't seen much demand for ZK, but that could just be where I live. Matt On 5/28/07, sparqle <[EMAI

Re: [appfuse-user] acegi/menu problem

2007-06-01 Thread Matt Raible
In 2.4.2 of Struts Menu, we changed to do the permission checking w/in the template itself. I tried to make it work in Java code, but was never successful. So rather than beating my head against the wall, I made that change. If you grab cssHorizontalMenu.vm from AppFuse, it should solve your probl

Re: [appfuse-user] acegi/menu problem

2007-06-01 Thread Bryan Noll
Here you go... Matt Raible wrote: Are you using a Velocity menu? If so, can you post the template to this list? Matt On 6/1/07, Bryan Noll <[EMAIL PROTECTED]> wrote: I just dropped in the new jar file, and I'm no longer experiencing the same problem, but a different one. Now,

Re: [appfuse-user] What would you want in a 10-15 page chapter on AppFuse?

2007-06-01 Thread Jason Thrasher
Hi Matt, The more people that learn about AppFuse, the more that will likely contribute to it, and I'm sure some formal published content like this will go a long way to that goal. What a great opportunity to expand the community! I definitely think that some content about "best practices" in co

Re: [appfuse-user] Maven related question

2007-06-01 Thread Matt Raible
If you publish them to a central server on your network, users should be able to pull down snapshots instead of installing on their own system. http://appfuse.org/display/APF/Maven+2#Maven2-InstallingalocalMavenRepository Also, you should be able to run "mvn install" from the top level and it'll

Re: [appfuse-user] acegi/menu problem

2007-06-01 Thread Matt Raible
Are you using a Velocity menu? If so, can you post the template to this list? Matt On 6/1/07, Bryan Noll <[EMAIL PROTECTED]> wrote: I just dropped in the new jar file, and I'm no longer experiencing the same problem, but a different one. Now, when the policy manager logs in, they

[appfuse-user] Maven related question

2007-06-01 Thread nmall
I know this probably should go to the Maven bulletin board. However, I trust Matt to give me a good answer... I find that every time anyone wants to copy my maven project to their system and start in a new place, they need to do mvn install on about 100 libraries that my pom.xml depends on. Eve

Re: [appfuse-user] acegi/menu problem

2007-06-01 Thread Bryan Noll
I just dropped in the new jar file, and I'm no longer experiencing the same problem, but a different one. Now, when the policy manager logs in, they get the ENTIRE administration menu. In a sense, the problem reversed itself - logging in as policy manager used to correctly show

Re: [appfuse-user] Understanding the Menu Infrastructure

2007-06-01 Thread Matt Raible
If you look in default.jsp, there's a section that grabs and shows the Admin menu on the right side. Matt On 6/1/07, Adam Sherman <[EMAIL PROTECTED]> wrote: Is there any articles on

[appfuse-user] What would you want in a 10-15 page chapter on AppFuse?

2007-06-01 Thread Matt Raible
All, I've been asked to write a chapter on AppFuse for John Ferguson Smart's upcoming Java Power Tools book: http://www.javapowertools.com Here's what John wrote in an e-mail where he asked me to write about AppFuse: For a tool like AppFuse, I would expect maybe 10-15 pages should be enough t

Re: [appfuse-user] PersonDaoTest fails

2007-06-01 Thread Arvinder Brar
Try replacing personDao.save(person); with person=personDao.save(person); if you are using M5 --- Matt Raible <[EMAIL PROTECTED]> wrote: > What does your person class look like? Can you post > your whole test method? > > On 6/1/07, René Günther <[EMAIL PROTECTED]> > wrote: > > Hello, > > > >

[appfuse-user] Understanding the Menu Infrastructure

2007-06-01 Thread Adam Sherman
Is there any articles on the default setup of the menu infrastructure? e.g. it looks like there is a place for a menu on the right side in the default theme, how do I actually use it? Thanks, A. -- Adam Sherman Technologist +1 (613) 797-6819 | http://www.sherman.ca/ | sip:[EMAIL PROTECTED]

[appfuse-user] Cascading delete from User to my own model objects.

2007-06-01 Thread donleyp
I am getting the following error when I try to delete a user: "java.sql.SQLException: ORA-02292: integrity constraint (FTAP_DEMO.FK1D0C220DF503D155) violated - child record found" I looked at the DDL generated by hibernate and it does not contain the cascade delete clause in the alter table state

Re: [appfuse-user] Integrating Hand-Maintained DDL Into the Build

2007-06-01 Thread Adam Sherman
On May 29, 2007, at 20:11, Matt Raible wrote: If you're using Maven, you can use the sql-maven-plugin: http://mojo.codehaus.org/sql-maven-plugin/ That looks promising, I'll read up. Thanks a lot for your assistance, A. -- Adam Sherman Technologist +1 (613) 797-6819 | http://www.sherman.ca/

Re: [appfuse-user] PersonDaoTest fails

2007-06-01 Thread Matt Raible
What does your person class look like? Can you post your whole test method? On 6/1/07, René Günther <[EMAIL PROTECTED]> wrote: Hello, my PersonDaoTest fails: Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.047 sec <<< FAILURE! testAddAndRemovePerson(com.innflow.rapport.dao.Pe

[appfuse-user] PersonDaoTest fails

2007-06-01 Thread René Günther
Hello, my PersonDaoTest fails: Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.047 sec <<< FAILURE! testAddAndRemovePerson(com.innflow.rapport.dao.PersonDaoTest) Time elapsed: 0.062 sec <<< ERROR! java.lang.IllegalArgumentException: id to load is required for loading a

Re: [appfuse-user] acegi/menu problem

2007-06-01 Thread Bryan Noll
OK... I'll give that a try and report back... Thanks.. Matt Raible wrote: This was a bug we fixed in Struts Menu a while back. What version are you using? Can you try the attached JAR (I'm hoping to release today) and see if it fixes the problem? Thanks, Matt On 6/1/07, Bryan Noll <[EMAIL P

[appfuse-user] Re: JSF 1.2 port

2007-06-01 Thread Matt Raible
I don't know what the problem could be, I removed all the unnecessary filters from web.xml and changed the userForm.xhtml to be very minimal: http://www.w3.org/1999/xhtml"; xmlns:c="http://java.sun.com/jstl/core"; xmlns:f="http://java.sun.com/jsf/core"; xmlns:h="http://java.sun.com/jsf/html"

Re[4]: [appfuse-user] Error while running integration-test

2007-06-01 Thread bUg.
Yes I can. I think there is error in web-test config, because start page title is Login | AppFuse but canoo search .*Main Menu.*. > If you run "mvn integration-test -Dcargo.wait=true" and wait for > Tomcat to startup, can you navigate to > http://localhost:8081/yourappname-1.0-SNAPSHOT? > Matt >

Re: Re[2]: [appfuse-user] Error while running integration-test

2007-06-01 Thread Matt Raible
If you run "mvn integration-test -Dcargo.wait=true" and wait for Tomcat to startup, can you navigate to http://localhost:8081/yourappname-1.0-SNAPSHOT? Matt On 6/1/07, bUg. <[EMAIL PROTECTED]> wrote: No. I've got same error. "Wrong document title found! Expected ".*Main Menu.*" but got "Login |

Re[2]: [appfuse-user] Error while running integration-test

2007-06-01 Thread bUg.
No. I've got same error. "Wrong document title found! Expected ".*Main Menu.*" but got "Login | AppFuse"" > If you try "mvn -o install", does it work? > On 6/1/07, bUg. <[EMAIL PROTECTED]> wrote: >> I don't use proxy, but i've checked maven config, there are all required >> proxy settings in con

Re: [appfuse-user] Error while running integration-test

2007-06-01 Thread Matt Raible
If you try "mvn -o install", does it work? On 6/1/07, bUg. <[EMAIL PROTECTED]> wrote: I don't use proxy, but i've checked maven config, there are all required proxy settings in config, but it status is inactive. When I delete all proxy configs, i got new error :) here error: "Wrong document

Re: [appfuse-user] multiple login form

2007-06-01 Thread Matt Raible
You couls try using a relative URL instead and name both pages "login.jsp". If that doesn't work, you might try searching Acegi's forums. http://forum.springframework.org/forumdisplay.php?f=33 Matt On 6/1/07, W. Ivan Coro <[EMAIL PROTECTED]> wrote: Hello all, I developed a website with versio

Re[8]: [appfuse-user] Error while running integration-test

2007-06-01 Thread bUg.
I don't use proxy, but i've checked maven config, there are all required proxy settings in config, but it status is inactive. When I delete all proxy configs, i got new error :) here error: "Wrong document title found! Expected ".*Main Menu.*" but got "Login | AppFuse"" This is a new instance

Re: Re[6]: [appfuse-user] Error while running integration-test

2007-06-01 Thread Matt Raible
According to a message earlier in this thread, this happens on Windows machines that connect through a proxy: I have seen this before on Windows. At least I can reproduce on my machine at work, which connects to the internet via a proxy. In my case I found it is Maven related, and can be solved

Re: [appfuse-user] Html:Radio button

2007-06-01 Thread Matt Raible
Are you using JSF? On 6/1/07, jithesh <[EMAIL PROTECTED]> wrote: hai guys,... Thanx for ur help.. I had a problem with Html:radio button . I need to enable one radio button while loading the page. I tried to set the value in action class itself , but not working... Please give a so

[appfuse-user] multiple login form

2007-06-01 Thread W. Ivan Coro
Hello all, I developed a website with version 1.9.4. It has a public site and an admin panel. There are users that can login to the public site and there are admin users who can login to the admin panel. I use different login forms for each one. The problem is that when a user tries to login

[appfuse-user] Html:Radio button

2007-06-01 Thread jithesh
hai guys,... Thanx for ur help.. I had a problem with Html:radio button . I need to enable one radio button while loading the page. I tried to set the value in action class itself , but not working... Please give a solution for me on this. regards, Jithesh -- View this message

[appfuse-user] acegi/menu problem

2007-06-01 Thread Bryan Noll
So my problem is this: I've got a menu config that looks like this: which is invoked in a jsp file like so:   The problem I'm experiencing is this. I log in as an admin (which

Re: [appfuse-user] AppFuse service tests with EasyMock

2007-06-01 Thread systempanic
Hi Peter Can you give me your appfuseeasymock.rar file? The links in Raible's wiki is broken. thanks ss Absolut wrote: > > Hi all! > > If someone is interested in using easymock tests instead of normal Mock > tests, here you can find all appfuse service tests using easymock (look > for > t

Re[6]: [appfuse-user] Error while running integration-test

2007-06-01 Thread bUg.
But how i can run web test with canoo, I got com.canoo.webtest.engine.StepExecutionException: Unexpected exception caught: java.net.ConnectException: Connection timed out: connect, Step: InvokePage. At this time I can use my appfuse project through browser. I can't understand it. > Selenium is no

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

2007-06-01 Thread fadhli
I'll guess I'll dig deeper about this problem. Yeah, I'm behind a proxy server. The thing is when I tried to use TortoiseSVN everything can be checkout normally. I'll check my settings for maven and subversion. On 6/1/07, Matt Raible <[EMAIL PROTECTED]> wrote: On 5/31/07, fadhli <[EMAIL PROTEC

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

2007-06-01 Thread Matt Raible
FWIW, I checked all the Dojo integration into the "dojo-integration" branch. If you'd like to see how to implement the DropdownDatePicker widget with Struts or Spring MVC, checkout the following links. https://guest:@appfuse.dev.java.net/svn/appfuse/branches/dojo-integration/ Changelog: http://f

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

2007-06-01 Thread Matt Raible
On 5/31/07, J. David Mendoza <[EMAIL PROTECTED]> wrote: Answered down below... Matt Raible wrote: > On 5/31/07, J. David Mendoza <[EMAIL PROTECTED]> wrote: >> I've just tried the autocompleter after seen the datetimepicker and >> optiontransferselect tags work... the autocompleter tag uses strut

Re: [appfuse-user] Running Jetty embedded via maven with JOTM

2007-06-01 Thread sxm
thanks Matt, I did post it over there, didnt get any satisfactory response. Just posting out to appfuse users, if anyone has tried JOTM with embedded tomcat or jetty. Pl share tomcat plugin secion of your pom.xml. I am able to get the local installed version of tomcat working with JOTM but embedd