Re: [appfuse-user] sitemesh problem

2007-02-25 Thread Wayland Chan
Too add to Matt's advice. Put the popup pages in a separate directory and use the exclude as Matt said. On 2/25/07, Matt Raible <[EMAIL PROTECTED]> wrote: You should be able to exclude decoration by adding more excludes to src/main/webapp/WEB-INF/decorators.xml. Here's an example from AppFus

[appfuse-user] How id is set in Useraction.java appfuse 2.0M3

2007-02-25 Thread govindpatwa
Hi i am new to appfuse. This may silly question . but i am facing a small problem . i am not able to edit user . Its throwing null pointer exeception at getId() method in UserAction. the id is not set i was doing lots debug and i don't able understand how id is set in UserAction in edit mode.

Re: [appfuse-user] Junit testing

2007-02-25 Thread Jolly
Hello Jason Thanks for your reply. I followed this procedure(http://raibledesigns.com/wiki/Wiki.jsp?page=CreateDAO) But i get this error In cmd: --- test-dao: [echo] Testing dao... [junit] [LatchiyaBase] INFO [main] ImageDaoTest.loadContextLocations(133) | Loading config for: c

Re: [appfuse-user] sitemesh problem

2007-02-25 Thread Matt Raible
You should be able to exclude decoration by adding more excludes to src/main/webapp/WEB-INF/decorators.xml. Here's an example from AppFuse: /resources/* /* Another thing you might consider is using Lightbox JS to display your popups: http://www.huddletogether.co

Re: [appfuse-user] JfreeChart - Struts2 - Appfuse detailed problem report -- I am a fool

2007-02-25 Thread VJ22
Thanks Dusty I finally get this working and howI was re-initializing the chart in my execute() method after declaring it as a private variable...DUH DUH DUH !! DO let me know if anyone else would be interested in a small tutorial on using the new plug-in of struts 2 I would be mo

Re: [appfuse-user] hibernate.cfg.xml incorrectly included by war overlay for Appfuse2 modular archetypes

2007-02-25 Thread Rob van Oostrum
You did understand me correctly. All yours: http://issues.appfuse.org/ browse/APF-660 Cheers Rob On 25-Feb-07, at 9:48 PM, Matt Raible wrote: Let's see if I understand you correctly. If you go through the tutorials with a modular archetype, and have hibernate.cfg.xml in core/src/main/resourc

Re: [appfuse-user] hibernate.cfg.xml incorrectly included by war overlay for Appfuse2 modular archetypes

2007-02-25 Thread Matt Raible
Let's see if I understand you correctly. If you go through the tutorials with a modular archetype, and have hibernate.cfg.xml in core/src/main/resources - there's still a hibernate.cfg.xml included in your final WAR's WEB-INF/classes. Is that correct? AFAIK, the hibernate.cfg.xml shouldn't be i

Re: [appfuse-user] hibernate.cfg.xml incorrectly included by war overlay for Appfuse2 modular archetypes

2007-02-25 Thread Rob van Oostrum
I also tried reverting my change, and changing the warpath plugin configuration so it now says: applicationContext- resources.xml,ApplicationResources*.properties,ehcache.xml,hibernate.cfg .xml,jdbc.properties,log4j.xml,mail.properties,persistence.xmlwarpathExcludes> i.e. everything in

Re: [appfuse-user] hibernate.cfg.xml incorrectly included by war overlay for Appfuse2 modular archetypes

2007-02-25 Thread Rob van Oostrum
That's what I was looking at originally. I was already working against 2.0-M4-SNAPSHOT and didn't have any luck. I tried running 'mvn -U' and running 'mvn install' against a trunk working copy of the plugin as well to make sure my repository had the latest and greatest, again all without lu

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

2007-02-25 Thread dusty
What is the JFreeChart code in your action that creates the chart. Perhaps you have a problem there and the chart is not getting created or the variable is not getting populated? VJ22 wrote: > > Yes...exactly... > > We are using the standardized one...unfortunatelywe are not able to > re

Re: [appfuse-user] hibernate.cfg.xml incorrectly included by war overlay for Appfuse2 modular archetypes

2007-02-25 Thread Matt Raible
This should be fixed in 2.0-m4-SNAPSHOT. You can fix it the way you have done, or exclude files from the warpath plugin. The warpath plugin is better because that will exclude it from your classpath as well. http://issues.appfuse.org/browse/APF-571 Matt On 2/25/07, Rob van Oostrum <[EMAIL PROT

[appfuse-user] hibernate.cfg.xml incorrectly included by war overlay for Appfuse2 modular archetypes

2007-02-25 Thread Rob van Oostrum
Didn't see this mentioned before going through my archives, so forgive me if this is old news, but I thought it might save some people some troubleshooting. Of course, it would be nice to have this incorporated in the modular archetypes. When I create a new project using the modular Spring

[appfuse-user] sitemesh problem

2007-02-25 Thread Jim Reynolds
Hello, I am using Equinox 1.7 and have created a large site with a main default decorator that creates the most of the view except for the body area. Anyway, I am showing some images, and need to show them in popup window. Problem is, when I display the popup, the page is decorated. I really ne

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

2007-02-25 Thread Dale Newfield
I have not worked with it, but Sequoia might be an option: http://sequoia.continuent.org Sequoia is a transparent middleware solution offering clustering, load balancing and failover services for any database. -Dale - To un

Re: [appfuse-user] Hibernate's Query on HashSet

2007-02-25 Thread Matt Raible
Did you solve this issue? On 2/13/07, Jarek Gilewski <[EMAIL PROTECTED]> wrote: Hello I have a question about Hibernate's Query by Example API. I know it is not realy connected with AppFusse but meaby sombody have the same problem and has solved it. I have a class Project and ProjectUsers whi

Re: [appfuse-user] Error when running 'mvn jetty:run-war' for JSF modular

2007-02-25 Thread Yogesh Bhardwaj
Thanks Matt, I actually did run 'mvn integration-test' from the root directory of my project before running 'mvn jetty:run-war' from the 'web' directory. After you suggested, I tried 'mvn install' from the 'core' directory as well, but that didn't help either. Maybe I did not follow all the step

Re: [appfuse-user] Error when running 'mvn jetty:run-war' for JSF modular

2007-02-25 Thread Matt Raible
You need to run "mvn install" in your core module first. If you run "mvn integration-test" from the root directory of your project, this should run "mvn install" on the core module for you. If there's any way we can make the QuickStart instructions more clear, please let us know. As far as this

Re: [appfuse-user] redundant security??

2007-02-25 Thread Matt Raible
Yes, I do believe there is a duplication here. However, when you're doing security-related stuff, duplication is not necessarily a bad thing. In 2.0, we've removed the adminUrlMapping bean and adjusted security.xml to contain all the URLs that need to be protected.

[appfuse-user] Error when running 'mvn jetty:run-war' for JSF modular

2007-02-25 Thread Yogesh Bhardwaj
Hi all, Firstly, I apologize if this has already been answered. I tried posting it on the dev mailing list, but this one seems to be more active. I'm a newbie to AppFuse 2.0, and trying to build/deploy the JSF modular archetype. I can successfully run 'mvn integration-test', but getting the f

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

2007-02-25 Thread Matt Raible
Do you have in the element of your page? http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/components/Head.html Matt On 2/25/07, Fan <[EMAIL PROTECTED]> wrote: I had installed firebug, while running the application with page having datetimepicker, the firebug console was

Re: [appfuse-user] DB2 Driver Class cannot be loaded error in AppFuse

2007-02-25 Thread Matt Raible
Can you please enter an issue in JIRA so we remember to update the wiki? http://issues.appfuse.org/secure/CreateIssue!default.jspa Thanks, Matt On 2/25/07, nanuganga <[EMAIL PROTECTED]> wrote: DB2 Tutorial on the wiki, don't have this information. It needs some changes. mraible wrote:

Re: [appfuse-user] appfuse 1.9.4 issuse with IBM websphere community edition

2007-02-25 Thread Matt Raible
The error log would be helpful. AppFuse should work fine with Geronimo 1.1, but there are some changes you need to make for Geronimo 1.0. I don't know which version of Geronimo WebSphere CE uses. http://jroller.com/page/raible?anchor=running_spring_and_hibernate_on Matt On 2/25/07, nanuganga

Re: [appfuse-user] Annotated default values in POJOs?

2007-02-25 Thread Dean Jackson
And using columnDefinition="count integer not null default 0" seems overkill, as I shouldn't be re-specifying the SQL for it, right? Dean Jackson wrote: > > private int count; > @Column(nullable=false) > public int getCount() { return count; } > -- View this message in context: http://www.n

[appfuse-user] Annotated default values in POJOs?

2007-02-25 Thread Dean Jackson
So, I have a POJO with private String name; @Column(length=256,nullable=false) public String getString() { return name; } But when I add: private int count; @Column(nullable=false) public int getCount() { return count; } Things seem to go haywire. org.springframework.orm.hibernate3.HibernateS

[appfuse-user] appfuse 1.9.4 issuse with IBM websphere community edition

2007-02-25 Thread nanuganga
hello, im been using appfuse 1.9.0 for a while ,with IBM Web Sphere community edition. i had know issues. but when i tried to move from 1.9.0 to 1.9.4.. the appfuse .war file don't get deployed. any specific reason. i will post the error log ... if required. -- View this message in context

Re: [appfuse-user] DB2 Driver Class cannot be loaded error in AppFuse

2007-02-25 Thread nanuganga
DB2 Tutorial on the wiki, don't have this information. It needs some changes. mraible wrote: > > Does the DB2 Tutorial on the wiki have this information or does it > need to be changed? > > http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseOnDB2 > > On a related note, if anyone out ther

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

2007-02-25 Thread Fan
I had installed firebug, while running the application with page having datetimepicker, the firebug console was showing the following error : dojo is not defined dojo.require("dojo.widget.DatePicker"); I cant find any DatePicker class under my project. Any one can give me the pointers of how

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

2007-02-25 Thread Amin Lalji
Just a quick update, Found this in option for using Hibernate with/ MySQL Cluster http://dev.mysql.com/tech-resources/articles/mysql-enforcing-foreign-keys.ht ml Essentially, you use triggers to manage your constraints... Problem is you will need to write a set of triggers for each table which c