[appfuse-user] Can't find bundle for base name (newbie)

2007-07-09 Thread Vishal S
Hello friends, /persons.xhtml @6,63 Can't find bundle for base name , locale en I am getting the above error when I tried to display persons.xhtml. What does this error mean, I have a public List getPersons(Person person) in my dao. Where are the bundles kept? What it should con

答复: [appfuse-user] Appfuse with Sysdeo

2007-07-09 Thread chino fish
I don't use tomcat project but a common java project I just configure a context file for my app server. -邮件原件- 发件人: Emam Hossain [mailto:[EMAIL PROTECTED] 发送时间: 2007年7月10日 13:23 收件人: users@appfuse.dev.java.net 主题: Re: [appfuse-user] Appfuse with Sysdeo i could not run it , thats my prob

Re: [appfuse-user] Appfuse with Sysdeo

2007-07-09 Thread Emam Hossain
i could not run it , thats my problem and i used appfuse 1.9 not m5. what u used for application root is it '/' or '/web/'? chinofish-2 wrote: > > I run appfuse2.0m5 with sysdeo&tomcat5.5.x, it went well. > > so what's your problem ? > > > > === 2007-07-09 19:22:28 Emam Hossain wr

Re: [appfuse-user] Problem with ManyToMany Mapping

2007-07-09 Thread Msarda
Hello, While debuging the test case method,when it was entering in handleRequestInternal() method of AbstractformController at the line, Object command = getCommand(request); In the command object i was getting priorityDate as Timestamp instead of getting java.util.Date. I think this may be the

Re: [appfuse-user] How to implement an observer in the web layer

2007-07-09 Thread cdtm
Thanks very much for your post. Two more questions: 1. We want to update the webpage a user sees triggered by external events which arrive at a "servicemanagerimpl" manager. This means, rather than having the user poll for new data by refreshing his page in the browser, we would like to have the

Re: [appfuse-user] RE: RE: RE: many-to-many with attribute ... again

2007-07-09 Thread Aled Rhys Jones
Ah seems I was incorrect there, the PersonRequest model will need an id with appropriate getters and setters (auto generated). Try that and it should work. Cheers Aled syg6 wrote: Well, if I get rid of the @Id tag in PersonRequest I get this error: No identifier specified for entity: com.myco

[appfuse-user] Error while executing ant test-dao -Dtestcase=PersonDao

2007-07-09 Thread Vishal S
Hello friends, JDK 1.5 Ant 1.6.5 Appfuse JSF 1.9.4 While following the quick start tutorial on creating Person details I am getting the following error. [junit] Testcase: testSavePerson(org.dcbooks.dao.PersonDaoTest):Caused an ERROR [junit] Object of class [org.dcbooks.mo

Re: [appfuse-user] InvocationTargetException on ConvertUtil.convert

2007-07-09 Thread peebrayne
Doing a clean and build did not resolve the problem. There has been no improvement at all and the error seems to occur daily. I am still searching for possible solutions. =( -- View this message in context: http://www.nabble.com/InvocationTargetException-on-ConvertUtil.convert-tf4014907s2369.htm

Re: [appfuse-user] How to include jasperreports plugin?

2007-07-09 Thread Michael Horwitz
It is either a bug in maven, or some corrupted files in your repository. Try the following: 1) Run the command with the -U switch to make sure all plugins are up to date: e.g. mvn -U install 2) Delete your local repository and try re-running the build. Mike. On 7/9/07, Jesfre <[EMAIL PROTECTED]

[appfuse-user] How to include jasperreports plugin?

2007-07-09 Thread Jesfre
Hi all... How to write a right configuration for jasperreports plugin... I have the next configuration in my pom.xml file: ... jasperreports jasperreports ${jasperreports.version} compile ... 1.

Re: [appfuse-user] why there are 2 hibernate.cfg.xml ?

2007-07-09 Thread Matt Raible
This is caused by full-source and has been fixed in SVN. You can delete the one in test. Matt On 7/9/07, chinofish <[EMAIL PROTECTED]> wrote: In appfuse 2.0m5 (full source version), i found 2 hibernate.cfg.xml. one is in src/main/resources the other is in src/test/resources actually, the 2 fi

[appfuse-user] why there are 2 hibernate.cfg.xml ?

2007-07-09 Thread chinofish
In appfuse 2.0m5 (full source version), i found 2 hibernate.cfg.xml. one is in src/main/resources the other is in src/test/resources actually, the 2 file is the same. when i add a entity, i have to add a line refering the entity twice. so, what's the reason ? in 2.0m4 , there is just one "hib

Re: [appfuse-user] Question JSTL Version

2007-07-09 Thread chinofish
1.1.2 === 2007-07-09 23:41:51 Ding, Qin wrote:=== >What's the version of JSTL used in appfuse 1.9.4? Thanks. > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] = = =

[appfuse-user] Question JSTL Version

2007-07-09 Thread Ding, Qin
What's the version of JSTL used in appfuse 1.9.4? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] Appfuse with Sysdeo

2007-07-09 Thread chinofish
I run appfuse2.0m5 with sysdeo&tomcat5.5.x, it went well. so what's your problem ? === 2007-07-09 19:22:28 Emam Hossain wrote:=== >Is there any way that I can import the appfuse project into Eclipse and make >it a web project or Tomcat project and run it / Debug with Sysdeo. I tried >i

[appfuse-user] RE: RE: RE: many-to-many with attribute ... again

2007-07-09 Thread syg6
Well, if I get rid of the @Id tag in PersonRequest I get this error: No identifier specified for entity: com.mycompany.app.model.PersonRequest And if I put an @Id tag on getPerson() and getRequest() I get this error: ...AnnotationException: mappedBy reference an unknown target entity property:

[appfuse-user] RE: RE: many-to-many with attribute ... again

2007-07-09 Thread Derek Broughton
syg6 wrote: > > I figured it out. My fault. Forgot to put @Entity in the Person class! > > One last question - I think PersonRequest should have a combination of > 'person_id' and 'request_id' as its primary key, how can I do that? > Currently it has its own auto-numeric key but I think it's mor

RE: [appfuse-user] RE: RE: many-to-many with attribute ... again

2007-07-09 Thread Aled Rhys Jones
I'll have to check when I get home the exact way, but you definetly don't need a primary key, just the composite key of person_id and request_id. Not 100% sure, but I think when you build the appfuse project then the one to many and many to one annotations will do the id's for you. So all you need

[appfuse-user] about appfuse:gen

2007-07-09 Thread chinofish
hi, With appfuse:gen , i can gen code for the single entity. but if i have 2 entity as follows: Product (many2one) ProductType may i gen correct code for them seperately ? (i know that AMP can gen code for just one entity every time) thanks ;-) -

[appfuse-user] RE: running appfuse on Tomcat 5.x and higher

2007-07-09 Thread petrushkevych
Actually, it was caused by Tomcat 6.x Commenting out gzip filter works fine with Tomcat 5.x petrushkevych wrote: > > Thanks a lot for your fast reply > I guess it really helped :) > > but now I have the following :( : > > javax.servlet.ServletException: java.lang.LinkageError: loader cons

Re: [appfuse-user] SSL Issue

2007-07-09 Thread jithesh
No, i cant find a logoutFilter in my security.xml regards jithesh -- View this message in context: http://www.nabble.com/SSL-Issue-tf4028067s2369.html#a11503002 Sent from the AppFuse - User mailing list archive at Nabble.com.

[appfuse-user] RE: RE: many-to-many with attribute ... again

2007-07-09 Thread syg6
I figured it out. My fault. Forgot to put @Entity in the Person class! One last question - I think PersonRequest should have a combination of 'person_id' and 'request_id' as its primary key, how can I do that? Currently it has its own auto-numeric key but I think it's more correct to use a compos

RE: [appfuse-user] Appfuse/DWR

2007-07-09 Thread Ding, Qin
Yes, put xalan in endorsed folder, the problem is gone. Thanks. Qin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible Sent: Thursday, July 05, 2007 11:14 PM To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] Appfuse/DWR I believe addin

Re: [appfuse-user] running appfuse on Tomcat 5.x and higher

2007-07-09 Thread petrushkevych
Thank you! actually I've commented it out, but got other error mraible wrote: > > This problem is caused by an old version (1.2.3) of EhCache being > included in your war. Adding ehcache 1.3.0 as a dependency or > commenting out the filter-mapping (as suggested below) will solve this > problem.

Re: [appfuse-user] running appfuse on Tomcat 5.x and higher

2007-07-09 Thread petrushkevych
Thanks yes, I use JDK 5 Thanks for advice! mraible wrote: > > Make sure you're running Tomcat using JDK 5. Googling for the > exception should help you discover the source of your problem. > > Matt > > > On 7/9/07, petrushkevych <[EMAIL PROTECTED]> wrote: >> >> Thanks a lot for your fast r

Re: [appfuse-user] running appfuse on Tomcat 5.x and higher

2007-07-09 Thread Matt Raible
Make sure you're running Tomcat using JDK 5. Googling for the exception should help you discover the source of your problem. Matt On 7/9/07, petrushkevych <[EMAIL PROTECTED]> wrote: Thanks a lot for your fast reply I guess it really helped :) but now I have the following :( : javax.serv

[appfuse-user] RE: running appfuse on Tomcat 5.x and higher

2007-07-09 Thread petrushkevych
Thanks a lot for your fast reply I guess it really helped :) but now I have the following :( : javax.servlet.ServletException: java.lang.LinkageError: loader constraints violated when linking javax/el/ExpressionFactory class org.apache.jasper.servlet.JspServlet.service(JspServlet.jav

[appfuse-user] RE: RE: many-to-many with attribute ... again

2007-07-09 Thread syg6
Yup. I have all 3 classes in my hibernate.cfg.xml: I also tried deleting PersonRequest from the hibernate.cfg.xml because I wasn't sure if it needed to be defined or not. But I got a different error so, I guess it does. I'll keep trying ... Thanks! Bob Aled Rhys Jones wrote: > > Yeah, y

RE: [appfuse-user] RE: many-to-many with attribute ... again

2007-07-09 Thread Aled Rhys Jones
Yeah, you have to have a model for PersonRequest since you need to know the date object it holds. Any other method and it's not many to many. Regarding the error, have you defined all the models in the hibernate configuration file (hibernate.cfg.xml)? -Original Message- From: syg6 [mail

Re: [appfuse-user] running appfuse on Tomcat 5.x and higher

2007-07-09 Thread Matt Raible
This problem is caused by an old version (1.2.3) of EhCache being included in your war. Adding ehcache 1.3.0 as a dependency or commenting out the filter-mapping (as suggested below) will solve this problem. Matt On 7/9/07, Travers Snyman <[EMAIL PROTECTED]> wrote: I had same problem and solve

[appfuse-user] RE: many-to-many with attribute ... again

2007-07-09 Thread syg6
Hmm ... well, ideally I was hoping to NOT have to create any extra model classes. It seems I have to at least create one, right? The PersonRequest class. Well, at least it seems I don't have to create the PersonRequestPK class! Anyway, I tried your example and when I run mvn test-compile hibernat

RE: [appfuse-user] running appfuse on Tomcat 5.x and higher

2007-07-09 Thread Travers Snyman
I had same problem and solved as follows: : Failure when attempting to set Content-Encoding: gzip. There is a problem with gzipFilter (commpressing replies from the server to the client.) It is configured in web.xml for Appfuse. There is currently an issue with this in m5, so for now best to c

[appfuse-user] running appfuse on Tomcat 5.x and higher

2007-07-09 Thread petrushkevych
Hi all! I've created appfuse project with candy plugin for eclipce. It works well using jetty. But I can't run it on Tomcat. I've create war using maven and deployed it on Tomcat. But if requesting the project I receive: javax.servlet.ServletException: Failure when attempting to set Content-Enco

RE: [appfuse-user] many-to-many with attribute ... again

2007-07-09 Thread Aled Rhys Jones
Hi Bob Ok then, Yes. :-) http://www.hibernate.org/hib_docs/annotations/reference/en/html_single/ I've got the same scenario in my app. Example Request model: @Entity public class Request { private List personRequests; .. @OneToMany(mappedBy="request")

[appfuse-user] Appfuse with Sysdeo

2007-07-09 Thread Emam Hossain
Is there any way that I can import the appfuse project into Eclipse and make it a web project or Tomcat project and run it / Debug with Sysdeo. I tried it but sysdeo could not run it. I could run it when I use “ant test-all”. Please could u tell me how can I run an appfuse project without running

[appfuse-user] many-to-many with attribute ... again

2007-07-09 Thread syg6
Hello all. I had this problem about a year ago and just couldn't get Hibernate and XDoclet to play nice. Basically I have this: Request id description Person id name PersonRequest idPerson idRequest date And I would like to know how to do with Annotations. The last time I wound up hand-hacki

Re: [appfuse-user] Problem with ManyToMany Mapping

2007-07-09 Thread Msarda
Hello Mike, Right now i am not in the office so can't get more details about that error. But i think it may be wrong format of priorityDate data in sample-data.xml,that was generated by default. I tried giving different formats,but still problem was not resolved,was getting casting error. . But w

Re: [appfuse-user] IllegalArgumentException: When not aligning with a user install...

2007-07-09 Thread M.Hoffrogge
Do you have found the reason for this error. I get exactly the same error (also setting the local repositoy explicit in the settings.xml) Thanks, Mario Adolfo wrote: > > The local repository was already explicitly set in settings.xml, and it is > not the default. Thanx. > Adolfo. > > > Micha

Re: [appfuse-user] Triggering a page refresh from the server side

2007-07-09 Thread Michael Horwitz
I'm assuming you want to push from the server side rather than having the client poll the server for updates? Bit of a hot topic this one. Just google "Ajax push" or "Ajax Comet" for tons of stuff on the subject. One example: http://ajaxian.com/archives/comet-a-new-approach-to-ajax-applications

Re: [appfuse-user] Problem with ManyToMany Mapping

2007-07-09 Thread Michael Horwitz
Do you have some detail on the binding error being thrown? Mike On 7/9/07, Msarda <[EMAIL PROTECTED]> wrote: Thanks for reply. Tried that also,but still same problem. I am getting data binding error,debuging that test case. TryEngagementForm1] INFO [main] EngagementformFormControllerTest.st

Re: [appfuse-user] Drop down list population

2007-07-09 Thread Michael Horwitz
If your properties can be null, then you need to make sure your PropertyEditor can handle null values properly - a bit of unit testing should provide the test cover you need. You also need to provide an option in your dropdown list to match to the null value. Something like: Mike On 7/8

Re: [appfuse-user] Can I specify role in menu item level instead of menu level?

2007-07-09 Thread Michael Horwitz
Yes. Mike. On 7/8/07, kkus <[EMAIL PROTECTED]> wrote: Normally I have to specify roles in Menu level as below, Now I want to specify roles in sepcific menu item as below but I don't know if that is corrct, Ca

Re: [appfuse-user] Triggering a page refresh from the server side

2007-07-09 Thread cdtm
We are using appfuse 2.0 and Spring MVC. Thanks in advance mraible wrote: > > Which web framework are you using? Which version of AppFuse are you using? > > Matt > > On 7/8/07, cdtm <[EMAIL PROTECTED]> wrote: >> >> Hi! >> >> We are having a hard time figuring out how to trigger a page refres

Re: [appfuse-user] FW: Appfuse - Model Classes (Many to many relationships)

2007-07-09 Thread Michael Horwitz
On 7/8/07, Bandula <[EMAIL PROTECTED]> wrote: Hi Guys, I am new to web application development with appfuse. This is my problem. I have 2 model classes (Employee and Task) which has many to many relationship. My code segments as follows *Task model class* *private* List assigne

RE: [appfuse-user]

2007-07-09 Thread Aled Rhys Jones
Ah ok, I'm using Spring MVC and hibernate so usage is different. Cheers Aled -Original Message- From: Fan [mailto:[EMAIL PROTECTED] Sent: 09 July 2007 02:19 To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] Yup, it works perfectly. Sorry, what do you mean by "controller code"

Re: [appfuse-user] Problem with ManyToMany Mapping

2007-07-09 Thread Msarda
Thanks for reply. Tried that also,but still same problem. I am getting data binding error,debuging that test case. TryEngagementForm1] INFO [main] EngagementformFormControllerTest.startNewTransaction(323) | Began transaction (1): transaction manager [EMAIL PROTECTED]; default rollback = true [Tr

Re: [appfuse-user] Problem with ManyToMany Mapping

2007-07-09 Thread fadhli
Hello, For date values, date values should looks like this... On 7/9/07, Msarda <[EMAIL PROTECTED]> wrote: Thanks Mike for your reply. My application in running now. But still i have one problem regarding validation. I have priorityDate field in my model object.When i am putting validation