Re: [appfuse-user] Apffuse 1.9 Query By Example

2007-07-24 Thread Fred Forester
Hi Matt, I was finally able to get this to work. It took a while for me to realize the hard coded forwards in BaseAction. this was after I created a new action class just for the lookup. once that was working I decided to try and add the functionality to the original action. so. to doit, I tu

Re: [appfuse-user] Apffuse 1.9 Query By Example

2007-07-20 Thread Matt Raible
I don't believe there's a tutorial. However, with the code in the DAO, it shouldn't be too difficult. Just populate the object in your Controller (from your form) and then pass it down to your DAO layer. Worst case, you can just use request.getParameter() to populate your object manually. Getting

Re: [appfuse-user] Apffuse 1.9 Query By Example

2007-07-20 Thread Fred Forester
Sorry about that. I guess the question is this. is there a write up on how to implement the Query By Example. i.e. front ending the list with a search form and have the DaoHibernate class use the QBE API using the criteria specified on the search form. Thanx Fred Matt Raible wrote: There'

Re: [appfuse-user] Apffuse 1.9 Query By Example

2007-07-20 Thread Matt Raible
There's no question in this message. ;-) Matt On 7/20/07, Fred Forester <[EMAIL PROTECTED]> wrote: Hi All, a newbie to appfuse/struts/hibernate so have what is probably a stupid questiom. I noticed this comment in my DaoHibernate class. /* Remove the line above and uncomment this code block