Re: [appfuse-user] Edit rows on Display Tag

2007-07-26 Thread Matt Raible
http://static.appfuse.org/downloads/displaytag-demos On 7/26/07, sandeepsuku <[EMAIL PROTECTED]> wrote: > > Thanks for your response. Is it possible for me to get the related source > code or war file or any technical information regarding how it is being > implemented , so that even i can try out

Re: [appfuse-user] Edit rows on Display Tag

2007-07-26 Thread sandeepsuku
Thanks for your response. Is it possible for me to get the related source code or war file or any technical information regarding how it is being implemented , so that even i can try out here simultaneously .. mraible wrote: > > I'm in the process of trying to put this demo back in place - might

Re: Re: [appfuse-user] sort of list

2007-07-26 Thread chinofish
Thanks for your reply ! but when i execute a query, such as roleManager.getAll(); return a list of Role. the list is not the property of some other entity how to sort this kind of list by configuration ? chinofish 2007-07-27 发件人: Trent 发送时间: 2007-07-27 11:19:42 收件人: users@appfuse.de

Re: [appfuse-user] sort of list

2007-07-26 Thread Trent
On Fri, 27 Jul 2007 10:27:33 +0800, chinofish wrote > when execute > dao.getAll(); > > system will return a list. > > how to sort the list just by configuration (without writing a line ?) From http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-annotations.html By d

[appfuse-user] sort of list

2007-07-26 Thread chinofish
when execute dao.getAll(); system will return a list. how to sort the list just by configuration (without writing a line ?) just like @Orderby("id") for Set... Thanks ;-)

Re: [appfuse-user] MyFaces Sandbox Picklist error

2007-07-26 Thread Matt Raible
I don't believe it's one of these files, I believe it's your templates - or perhaps an XML file associated with the component itself. Matt On 7/26/07, snehalsao <[EMAIL PROTECTED]> wrote: I validated the faces-config.xml and web.xml using XML Validator. They are valid documents and look OK to

Re: [appfuse-user] MyFaces Sandbox Picklist error

2007-07-26 Thread snehalsao
I validated the faces-config.xml and web.xml using XML Validator. They are valid documents and look OK to me. Can you please advise / suggest how to resolve this issue? I have attached both xml files. mraible wrote: > > Looks like a typo is causing the problem: > > > >> [Admin] WARN [http-80

Re: [appfuse-user] LazyInitializationException: illegal access to loading collection....

2007-07-26 Thread Daniel.Rodriguez
private WebPageDao webPageDao = null; public WebPageDao getWebPageDao() { return webPageDao; } public void setWebPageDao(WebPageDao webPageDao) { this.webPageDao = webPageDao; } public void testGetMaintenancePage() { WebPage webPage = webPageDao.get(new Long(1));

Re: [appfuse-user] Maven Problems

2007-07-26 Thread Michael Horwitz
Have you tried with JDK 1.5? There may be a compatibility issue with 1.6? Mike On 7/26/07, André Faria <[EMAIL PROTECTED]> wrote: Hello Mike, Yes, I'm sure, I'm running Maven with JDK 1.6.0. The JAVA_HOME enviroment variable is pointing to JDK 1.6.0. Thank's André Faria Michael Horwitz esc

Re: [appfuse-user] LazyInitializationException: illegal access to loading collection....

2007-07-26 Thread Michael Horwitz
Hi Daniel, Could you post an example/code segment from one of your tests? It looks like you may be trying to do something out of a transaction - unfortunately the transaction beastie is needed for reading as well as writing... Mike. On 7/26/07, Daniel.Rodriguez <[EMAIL PROTECTED]> wrote:

Re: [appfuse-user] Maven Problems

2007-07-26 Thread André Faria
Hello Mike, Yes, I'm sure, I'm running Maven with JDK 1.6.0. The JAVA_HOME enviroment variable is pointing to JDK 1.6.0. Thank's André Faria Michael Horwitz escreveu: Are you sure you are running Maven with a JDK and not a JRE?  We have seen this on the list when building through Eclipse and

Re: [appfuse-user] LazyInitializationException: illegal access to loading collection....

2007-07-26 Thread Daniel.Rodriguez
mraible wrote: > > Are you trying to do something outside of a transaction? That's the > only thing I can think of that might be causing this problem. > > Matt > > Not that I'm aware of. I'm not trying to save anything to the db. I'm just trying to transverse the object graph. (check m

Re: [appfuse-user] WARNING! FreeMarker error if you wanna Upgrade Struts to 2.0.9

2007-07-26 Thread Matt Raible
There's only one way to find out. ;-) On 7/26/07, arvinder <[EMAIL PROTECTED]> wrote: If I have done appfuse full source in my project then will upgrading the appfuse.version and struts version upgrade my project without the free marker error? Arvinder mraible wrote: > > If you did a clean, it

Re: [appfuse-user] LazyInitializationException: illegal access to loading collection....

2007-07-26 Thread Daniel.Rodriguez
Matt, Just wanted to double check the following: 1. All my mappings are bidirectional. (i.e.: for every OneToMany there is a ManyToOne) 2. In this particular scenario I'm not using a HQL query, but I'm navigating the object graph returned by GenericDao.get(). I'm assuming that by using Lazy

Re: [appfuse-user] WARNING! FreeMarker error if you wanna Upgrade Struts to 2.0.9

2007-07-26 Thread arvinder
If I have done appfuse full source in my project then will upgrading the appfuse.version and struts version upgrade my project without the free marker error? Arvinder mraible wrote: > > If you did a clean, it's strange that Struts 2.0.6 is in your target > directory. As of yesterday, 2.0-rc1-SNA

Re: [appfuse-user] LazyInitializationException: illegal access to loading collection....

2007-07-26 Thread Matt Raible
Are you trying to do something outside of a transaction? That's the only thing I can think of that might be causing this problem. Matt On 7/26/07, Daniel.Rodriguez <[EMAIL PROTECTED]> wrote: Matt, I double checked that, and I'm extending BaseDaoTestCase mraible wrote: > > If you're get

Re: [appfuse-user] LazyInitializationException: illegal access to loading collection....

2007-07-26 Thread Daniel.Rodriguez
Matt, I double checked that, and I'm extending BaseDaoTestCase mraible wrote: > > If you're getting this in a DaoTest, then you're probably not > extending BaseDaoTestCase. > > Matt > > On 7/26/07, Daniel.Rodriguez <[EMAIL PROTECTED]> wrote: >> >> Hello Appfuzers, >> >> I'm having probl

Re: [appfuse-user] LazyInitializationException: illegal access to loading collection....

2007-07-26 Thread Matt Raible
If you're getting this in a DaoTest, then you're probably not extending BaseDaoTestCase. Matt On 7/26/07, Daniel.Rodriguez <[EMAIL PROTECTED]> wrote: Hello Appfuzers, I'm having problems with my app. I'm trying to build a light-weight cms (inhouse proyect) and I'm getting a LazyInitializatio

[appfuse-user] LazyInitializationException: illegal access to loading collection....

2007-07-26 Thread Daniel.Rodriguez
Hello Appfuzers, I'm having problems with my app. I'm trying to build a light-weight cms (inhouse proyect) and I'm getting a LazyInitializationException in my *DaoTest. I already checked the following: 1. 1. Hashcode/ Equals: Generated using Commonclipse (left out the pk). 2. @OneToMany ma

Re: [appfuse-user] Maven Problems

2007-07-26 Thread Michael Horwitz
Are you sure you are running Maven with a JDK and not a JRE? We have seen this on the list when building through Eclipse and Eclipse is set to use a JRE rather than a JDK. Mike. On 7/26/07, André Faria <[EMAIL PROTECTED]> wrote: Hi Everybody, I am tried to build my application with Maven 2.

Re: [appfuse-user] Maven Problems

2007-07-26 Thread Matt Raible
Looks like this may be a bug in Struts 2. I'll check with their dev list. Matt On 7/26/07, André Faria <[EMAIL PROTECTED]> wrote: Hi Everybody, I am tried to build my application with Maven 2.0.7 and I got this error: 26/07/07 12h36min59s GMT-03:00: Missing: 1) com.sun:tools:jar:1.5.0

[appfuse-user] Maven Problems

2007-07-26 Thread André Faria
Hi Everybody, I am tried to build my application with Maven 2.0.7 and I got this error: 26/07/07 12h36min59s GMT-03:00: Missing: 1) com.sun:tools:jar:1.5.0   Try downloading the file manually from the project website.   Then, install it using the command:   mvn install:install-file -Dgro

[appfuse-user] New Server at Contegix

2007-07-26 Thread Matt Raible
All, Contegix (www.contegix.com) has been gracious enough to donate a server to the AppFuse project. Not only do we get a whole server to ourselves, but they're managing it and making sure it stays up all the time. I've moved JIRA (issues.appfuse.org) onto their servers, as well as Confluence. C

Re: [appfuse-user] how to stop wiping out the data in database then restarting webapp

2007-07-26 Thread Matt Raible
Open pom.xml, search for "dbunit". Matt On 7/26/07, Fan <[EMAIL PROTECTED]> wrote: Matt: Where/How could I modify the dbunit plugin in Appfuse 2.0-m5 ? any pointer to that please mraible wrote: > > You should add your new user in sample-data.xml or modify the dbunit > plugin so it doesn'

Re: [appfuse-user] how to stop wiping out the data in database then restarting webapp

2007-07-26 Thread Fan
Matt: Where/How could I modify the dbunit plugin in Appfuse 2.0-m5 ? any pointer to that please mraible wrote: > > You should add your new user in sample-data.xml or modify the dbunit > plugin so it doesn't use CLEAN_INSERT (REFRESH instead). > > See "type" in the dbunit-maven-plugin's do

Re: [appfuse-user] Extension to Firebug

2007-07-26 Thread Matt Raible
Javablogs.com: F (51) raibledesigns.com: F (42) appfuse.org: F (58) demo.appfuse.org/appfuse-struts: F (52) yahoo.com: A (92) It's a good thing yahoo.com gets a good grade. ;-) Matt On 7/26/07, fadhli <[EMAIL PROTECTED]> wrote: Found this off and thought of sharing it with you guys. Excerpts

Re: Re[2]: [appfuse-user] disabling some tests & accented chars

2007-07-26 Thread Matt Raible
Italian seems to work fine on the demo site: http://demo.appfuse.org/appfuse-struts/mainMenu.html?locale=it Are you on Linux? Are you using AppFuse 2.x? Matt On 7/26/07, Andrea <[EMAIL PROTECTED]> wrote: Ciao Matt, in data giovedì 26 luglio 2007, alle ore 7.49, hai scritto: > On 7/21/07, sp

[appfuse-user] pdf to image

2007-07-26 Thread jithesh
hi, i am using appfuse 1.9.4 for my application. I need convert a pdf to an image format(png, jpg..) . Bcoz in my application i have to diaply the image of that selected pdf.. anyone know how can I do that??? Thanks for you attention. jithesh -- View this message in context: http://www.nab

Re: [appfuse-user] appfuse:gen|install creates faulty test classes for POJOs with fields of type Long?

2007-07-26 Thread David Bernard
People did notice that the first case looks like a floating point with an exponent... Could this be an edge case were the generation thinks there number is to big to be an integer long and pumps out a double. Matt Raible wrote: Sounds like a bug. I wonder why the number has a decimal place in

[appfuse-user] Extension to Firebug

2007-07-26 Thread fadhli
Found this off and thought of sharing it with you guys. Excerpts from the blog... "helps with performance optimization efforts. It scores your page on the scale A to F, based on compliance with Yahoo's performance rules ." http://www.phpied.com

Re[2]: [appfuse-user] disabling some tests & accented chars

2007-07-26 Thread Andrea
Ciao Matt, in data giovedì 26 luglio 2007, alle ore 7.49, hai scritto: > On 7/21/07, springbok <[EMAIL PROTECTED]> wrote: >> I know I can disable all tests with the -Dmaven.test.skip=true >> parameter, but this is not what I want. I'd like to temporarily >> exclude only some tests, for example th

Re: [appfuse-user] todo: change this to read the identifier field from the other pojo

2007-07-26 Thread tibi
at the end i did not change anything in the jsp to get it working i needed to add a get userList from the action. and i changed the listValue to firstname tibi Matt Raible wrote: This is basically an unimplemented feature until we have an idea/example of what this might look like. Matt On 7/

Re: [appfuse-user] Error with appfuse:full-source

2007-07-26 Thread tweibel
mraible wrote: > > http://static.appfuse.org/downloads/myproject-springmvc-basic-fullsource.zip Thank you very much! Thomas -- View this message in context: http://www.nabble.com/Error-with-appfuse%3Afull-source-tf4101432s2369.html#a11805527 Sent from the AppFuse - User mailing list archive