Re: [appfuse-user] Struts Menus with 3 or more Levels

2007-02-24 Thread Fan
How do apply that patch into Appfuse 2.0 ? According to Jasper, the following code is the patch to fix the problem , but where should this fit into ? 9a10 > ## FIX THIS: check if last item of a group. 26,34c27,29 < <#foreach ($menuIt in $menu.components) <#display

[appfuse-user] redundant security??

2007-02-24 Thread j2ee dodo
Hi guys, For appfuse 1.9.4, I removed the line userController from "adminUrlMapping" bean in action-servlet.xml and everything works normal as before, the same security check seems to be done in security.xml already E.g. P

[appfuse-user] redundant security mapping in action-servlet.xml?

2007-02-24 Thread j2ee dodo
Hi guys, For appfuse 1.9.4, I removed the line userController from "adminUrlMapping" bean in action-servlet.xml and everything works normal as before, the same security check seems to be done in security.xml already E.g. class="org.acegisecurity.intercept.web.FilterSecurityInterceptor">

Re: [appfuse-user] nullable

2007-02-24 Thread Fan
what I did to solve this is, I have to manually set the value of city & postalcode into non-null values in DaoTest , MangerTest and ActionTest, however I would like to know what's reall wrong ? Fan wrote: > > I had dropped the schema, but that did not help too > > > > mraible wrote: >> >>

Re: [appfuse-user] nullable

2007-02-24 Thread Fan
I had dropped the schema, but that did not help too mraible wrote: > > You probably need to drop and recreate your database. > > Matt > > > On 2/24/07, Fan <[EMAIL PROTECTED]> wrote: >> >> I have removed the nullable=false properties for address.city but I stil >> hit >> the following error

Re: [appfuse-user] JfreeChart - Struts2 - Appfuse detailed problem report

2007-02-24 Thread VJ22
Yes...exactly... We are using the standardized one...unfortunatelywe are not able to retrieve the chart of the value stackthat is why the error TksVJ dusty wrote: > > Here are some JFreeChart results used in WebWork (Struts2's parent). > > http://www.opensymphony.com/webwork/

Re: [appfuse-user] Including static content in an appfuse project

2007-02-24 Thread Brett Knights
No one answered this -- I assume because it was too trivial. My excuse is that the crutch of a framework tends to make you think the framework should do everything. For the record you just need to: - include the content in your project/web directory - have html pages not use the extensi

Re: [appfuse-user] Appfuse w/ MySQL Cluster

2007-02-24 Thread Amin Lalji
Yeah it bites (for now)... Here's the reference: http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-limitations.html "Unsupported features (do not cause errors, but are not supported or enforced): The foreign key construct is ignored, just as it is in MyISAM tables." I guess the only option

Re: [appfuse-user] Appfuse w/ MySQL Cluster

2007-02-24 Thread Matt Raible
If it's true that MySQL Cluster doesn't support foreign key constraints - I would find another database. That's a pretty basic feature of relational databases. Matt On 2/24/07, Amin Lalji <[EMAIL PROTECTED]> wrote: Hey All, Has anybody had any success with using Appfuse + Hibernate with a

[appfuse-user] Appfuse w/ MySQL Cluster

2007-02-24 Thread Amin Lalji
Hey All, Has anybody had any success with using Appfuse + Hibernate with a MySQL Cluster? >From what I can tell, MySQL Cluster (5.1.15) does not support foreign key constraints which hibernate depends on to manage relationships between objects... One option might be to dump the cluster in favour o

[appfuse-user] A Little problem in the tutorial

2007-02-24 Thread Elreador
Hi, I've been doing the tutorial with a Modular archtype and have been having a difficulty by going in a specific way. I decided to do the simplest tutorial, only implementing the CRUD interfaces, without any real problem, until I came in the Service tutorial where we need to register the person

Re: [appfuse-user] How to read request parameter in windows-1257 encoding in appfuse 2+struts2?

2007-02-24 Thread Matt Raible
Did you set any special encoding using JSP tags in 1.9.3? Code wise, there shouldn't be a whole lot different between 1.9.x and 2.0. If you're getting this issue with Jetty, you might try deploying your WAR to Tomcat and see if it happens there as well. Matt On 2/23/07, ros <[EMAIL PROTECTED]>

Re: [appfuse-user] Junit testing

2007-02-24 Thread Matt Raible
AppFuse actually does use JUnit - so if you create any tests like it shows in the tutorial, you'll be using JUnit to run them. Matt On 2/24/07, Jason Brice <[EMAIL PROTECTED]> wrote: Hi Jolly, There are many JUnit tutorials online - have you tried any of those (this one for example http://open

Re: [appfuse-user] JfreeChart - Struts2 - Appfuse detailed problem report

2007-02-24 Thread dusty
Here are some JFreeChart results used in WebWork (Struts2's parent). http://www.opensymphony.com/webwork/wikidocs/JFreeChartResult.html It looks like in Struts they have formalized the JFreeChart result type: http://struts.apache.org/2.x/struts2-plugins/struts2-jfreechart-plugin/apidocs/index.ht

Re: [appfuse-user] nullable

2007-02-24 Thread Matt Raible
You probably need to drop and recreate your database. Matt On 2/24/07, Fan <[EMAIL PROTECTED]> wrote: I have removed the nullable=false properties for address.city but I stil hit the following error, any clue on this ? -

Re: [appfuse-user] Junit testing

2007-02-24 Thread Jason Brice
Hi Jolly, There are many JUnit tutorials online - have you tried any of those (this one for example http://open.ncsu.edu/se/tutorials/junit/)? If so, what problems did you run into or what questions do you have that are preventing you from getting started? Is there a reason you don't want to use

[appfuse-user] Appfuse w/ MySQL Cluster

2007-02-24 Thread Amin Lalji
Hey All, Has anybody had any success with using Appfuse + Hibernate with a MySQL Cluster? >From what I can tell, MySQL Cluster (5.1.15) does not support foreign key constraints which hibernate depends on to manage relationships between objects... One option might be to dump the cluster in favour o

[appfuse-user] nullable

2007-02-24 Thread Fan
I have removed the nullable=false properties for address.city but I stil hit the following error, any clue on this ? --- Test set: org.appfuse.dao.StoreDaoTest -