Re: [appfuse-user] confusion of Calendar.js

2007-02-05 Thread Simon Wu
It seems that the issues in apache's issues page was not same I encountered. Just now I used firebug to find out what were the JS files loaded in that issue page. They were calendar.js, calendar-setup.js, calendar-en.js, all from WebWork JAR file. I went through the calendar-setup.js and got a

Re: Re: Re: [appfuse-user] struts menu, prototype.js cross problems

2007-02-05 Thread Matt Raible
If you look at the JavaScript for the menu - are there calls to $('id') in there? If so, you might need to re-write those as document.getElementById('id'). That might be the prototype call. Matt On 2/6/07, xiuxiu <[EMAIL PROTECTED]> wrote: I think the first question is more important to me,

Re: [appfuse-user] List inside a form object - SimpleFormController

2007-02-05 Thread Matt Raible
Here's an example from Spring Live:

Re: Re: Re: [appfuse-user] struts menu, prototype.js cross problems

2007-02-05 Thread xiuxiu
I think the first question is more important to me, since I don't need prototype.js. I check the css and scripts and I think there are no relationship between them. But if you delete the prototype.js , the struts menu doesn't work. That's the problem which confuse me. xiuxiu 2007-02-06

[appfuse-user] List inside a form object - SimpleFormController

2007-02-05 Thread Jonathan Tse
Hi all, I have a question about spring mvc. Can I put a List in the form object and bind each object inside the List? I want to post a list of things (imagine a list of object with checkbox which can be deleted in one screen). I have attached my code below and got the following error: Nei

Re: Re: [appfuse-user] struts menu, prototype.js cross problems

2007-02-05 Thread Matt Raible
On 2/5/07, xiuxiu <[EMAIL PROTECTED]> wrote: I use dojo 0.4 and appfuse 1.9.4. I think there are two questions here. 1) how does struts menu (List menu) use prototype.js It doesn't use it AFAIK. 2) why does prototype.js conflict with dojo (0.4) Unfortunately, I don't have the answer for t

Re: Re: [appfuse-user] struts menu, prototype.js cross problems

2007-02-05 Thread xiuxiu
I use dojo 0.4 and appfuse 1.9.4. I think there are two questions here. 1) how does struts menu (List menu) use prototype.js 2) why does prototype.js conflict with dojo (0.4) xiuxiu 2007-02-06 发件人: Matt Raible 发送时间: 2007-02-06 14:42:31 收件人: users@appfuse.dev.java.net 抄送: 主题: Re: [appfuse-u

Re: [appfuse-user] struts menu, prototype.js cross problems

2007-02-05 Thread Matt Raible
You might have better luck upgrading to the latest versions of prototype and dojo. I've seen issues with dojo 0.2 and an older version of scriptaculous. Matt On 2/5/07, xiuxiu <[EMAIL PROTECTED]> wrote: Hi, I chose the List Menu of Struts Menu in my project which is based on the Appfuse.

[appfuse-user] struts menu, prototype.js cross problems

2007-02-05 Thread xiuxiu
Hi, I chose the List Menu of Struts Menu in my project which is based on the Appfuse. As far as I know, the List Menu has no relationship with prototype.js and calendar.js. But after I delete these two files, my menus can't be extended. Unfortunately, prototype.js seems to conflicts with

Re: [appfuse-user] confusion of Calendar.js

2007-02-05 Thread Matt Raible
Correct - the datepicker tag uses assets (js and css) loaded from the WebWork JAR file. There might be some issues with the internal JS file and its positioning logic. I've seen this in the past - calendar authors seem to skip out on verifying everything works with an XHTML doctype. For example

Re: [appfuse-user] confusion of Calendar.js

2007-02-05 Thread Simon Wu
Hi Matt, I was using Appfuse 1.9.3 with webwork+spring+hibernate. And I got WW tag for the Date field. Did it not use the calendar.js? Calendar.css does not exist. Thanks. Simon On 2/6/07, Matt Raible <[EMAIL PROTECTED]> wrote: Are you using calendar.js or a different one? The icon l

Re: [appfuse-user] confusion of Calendar.js

2007-02-05 Thread Matt Raible
Are you using calendar.js or a different one? The icon looks like one from Struts 2's datepicker component. What version of AppFuse are you using? Does a calendar.css exist as well? Matt On 2/5/07, Simon Wu <[EMAIL PROTECTED]> wrote: Hi all, I found Appfuse use Calendar.js to deal with the

Re: [appfuse-user] AppFuse Book!

2007-02-05 Thread xiuxiu
Brilliant! Oh I just can't help to ask my questions! xiuxiu 2007-02-06 发件人: Matt Raible 发送时间: 2007-02-06 11:45:38 收件人: AppFuse 抄送: 主题: [appfuse-user] AppFuse Book! Since David hasn't said anything - I'll go ahead and spoil it for him. He's writing a book on AppFuse! You can find more abou

[appfuse-user] AppFuse Book!

2007-02-05 Thread Matt Raible
Since David hasn't said anything - I'll go ahead and spoil it for him. He's writing a book on AppFuse! You can find more about it at the following URL: http://jroller.com/page/dlwhitehurst?entry=appfuse_live_i_know_you The documentation is close to "feature complete" for the 2.0 release, so ple

Re: [appfuse-user] can't create appfuse basic-struts

2007-02-05 Thread Tim Azzopardi
it works. hurrah, np for m3, i just need to do a comparison with my converted 1.9.4 application thanks Matt Raible-3 wrote: > > You need 1.0-m3-SNAPSHOT as your version #, not 1.0-m3. If you want > to wait until tomorrow, I hope to release m3 later this evening. > > Matt > > On 2/5/07, Ti

Re: [appfuse-user] can't create appfuse basic-struts

2007-02-05 Thread Matt Raible
You need 1.0-m3-SNAPSHOT as your version #, not 1.0-m3. If you want to wait until tomorrow, I hope to release m3 later this evening. Matt On 2/5/07, Tim Azzopardi <[EMAIL PROTECTED]> wrote: Gets alot further...(starting from a clean directory helped too) C:\apps\aab>mvn archetype:create -Dar

Re: [appfuse-user] can't create appfuse basic-struts

2007-02-05 Thread Tim Azzopardi
Gets alot further...(starting from a clean directory helped too) C:\apps\aab>mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/reposi tory -DarchetypeVersion=1.0-m3 -DgroupId=com.mycompany -DartifactId=bas

Re: [appfuse-user] can't create appfuse basic-struts

2007-02-05 Thread Matt Raible
I just tried this with M3 and it works - if you change your archetypeVersion to "1.0-m3-SNAPSHOT", it should work. Note: having a dash in your project name will cause the database creating to fail. I'd recommend you use something like "basicstruts" as your artifactId rather than "basic-struts".

Re: [appfuse-user] can't create appfuse basic-struts

2007-02-05 Thread jarmstrong
Tim. Have you tried this with the M3 snapshot archetypeVersion instead of M2, it looks like that might get you up and running. Tim Azzopardi wrote: > > I tried building from the quickstart guide > > C:\apps\eclipse\acme\appfuse2>mvn archetype:create > -DarchetypeGroupId=org.appfuse -Darchety

[appfuse-user] can't create appfuse basic-struts

2007-02-05 Thread Tim Azzopardi
I tried building from the quickstart guide C:\apps\eclipse\acme\appfuse2>mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=http://static. appfuse.org/repository -DarchetypeVersion=1.0-m2 -DgroupId=com.mycompany -DartifactId=basic-s

RE: [appfuse-user] DisplayTag Question

2007-02-05 Thread Ding, Qin
Thank you, Matt. I'll take your advice. Qin -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Monday, February 05, 2007 10:18 AM To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] DisplayTag Question I would put in in a webapp.util package, or something similar

Re: [appfuse-user] Does AppFuse 2.0 or 2.0 M2 mandatorily require JDK 5+ at runtime?

2007-02-05 Thread Matt Raible
On 2/5/07, vpps <[EMAIL PROTECTED]> wrote: Hi, We're in the process of evaluating AppFuse for our J2EE projects and since many of our clients are currently on JDK 1.4, I have the following questions: 1) Does AppFuse 2.0 support JDK 1.4 at runtime? Is the JDK 5 only a requirement during build t

[appfuse-user] Does AppFuse 2.0 or 2.0 M2 mandatorily require JDK 5+ at runtime?

2007-02-05 Thread vpps
Hi, We're in the process of evaluating AppFuse for our J2EE projects and since many of our clients are currently on JDK 1.4, I have the following questions: 1) Does AppFuse 2.0 support JDK 1.4 at runtime? Is the JDK 5 only a requirement during build time, or is it also a runtime requirement? 2)

Re: [appfuse-user] Appfuse + GWT Menu Integration

2007-02-05 Thread Matt Raible
Which version of AppFuse are you using? In 1.x, the root folder is "web". In 2.x, it's src/main/webapp. Matt On 2/5/07, jick <[EMAIL PROTECTED]> wrote: Hi, I am to trying to Put Gwt menus in Appfuse application. In normal struts application , i can get GWT menus. When using with Appfuse,

Re: [appfuse-user] DisplayTag Question

2007-02-05 Thread Matt Raible
I would put in in a webapp.util package, or something similar. Matt On 2/5/07, Ding, Qin <[EMAIL PROTECTED]> wrote: I wrote a custom decorator class by extending TableDecorator for the displaytag. Where should I put this class? In model package? It is not a model class. In web package

Re: [appfuse-user] Problem with jetty:run (struts 2 basic)

2007-02-05 Thread Matt Raible
Yes, the fact that struts.xml is in your classpath twice is causing the error. You should be able to delete it from WEB-INF/classes and fix your problem. Matt On 2/5/07, vicpk4 <[EMAIL PROTECTED]> wrote: I did both - deleted 'lib' in src/main/webapp/WEB-INF/ and ran 'mvn clean', but still ha

Re: [appfuse-user] Error in PersonAction

2007-02-05 Thread Matt Raible
You might try adding a testEdit() method in PersonActionTest and ensuring that the test passes there. Everything looks correct, so I'm guessing it's something small. If you want to checkout the code for the completed tutorial, the instructions are at the bottom of the page. Matt On 2/5/07, Fan

Re: [appfuse-user] Problem with jetty:run (struts 2 basic)

2007-02-05 Thread vicpk4
I did both - deleted 'lib' in src/main/webapp/WEB-INF/ and ran 'mvn clean', but still have the same exception. I noticed, file 'struts.xml' located in src/main/webapp/WEB-INF/Classes and in /TARGET/Classes. It's embarrassing me a bit. Can this cause the error? Maybe, it is being processed twice i

RE: [appfuse-user] DisplayTag Question

2007-02-05 Thread Ding, Qin
I wrote a custom decorator class by extending TableDecorator for the displaytag. Where should I put this class? In model package? It is not a model class. In web package? Or jar this class by itself and drop into the classpath? What is the best way of organizing classes like this? Q

Re: [appfuse-user] Error in PersonAction

2007-02-05 Thread Fan
yes, I am using org.appfuse.webapp.action as the package name. I have no problem of running "mvn test -Dtest=PersonActionTest" Matt Raible-3 wrote: > > What's the package name you're using? Is it the one that's stated below? > > Matt > > On 2/4/07, Fan <[EMAIL PROTECTED]> wrote: >> >> I am

Re: [appfuse-user] Struts 2 Basic Module

2007-02-05 Thread Fan
what I have under the Appfuse folder are Appfuse ---archetypes ---appfuse-basic-jsf ---appfuse-basic-spring ---appfuse-basic-struts ---appfuse-basic-tapestry ---appfuse-modular-jsf ---appfuse-modular-struts ---appfuse

[appfuse-user] Appfuse + GWT Menu Integration

2007-02-05 Thread jick
Hi, I am to trying to Put Gwt menus in Appfuse application. In normal struts application , i can get GWT menus. When using with Appfuse, i can't get the GWT Menus. After testing GWT application, i will paste the www/com../ folder to the normal struts app and i will specify the corresponding H