Re: MVC + ORM

2006-02-10 Thread Srini Pillai
You could use servlet filters to have the hibernate session open until the request is processed. There are articles in the www.hibernate.org that explains different patterns to handle situations similar to yours... Hibernate session needs to be open in order for the objects to load the

Re: Tags for Pagination

2006-01-24 Thread Srini Pillai
Srini Pillai wrote: Hi, We have a situation where we require to paginate our result list (which is quite huge, around 1000+ records). We found few tags like DisplayTags from sourceforge.net but the current version does not support batch lists (i.e. retrieving the list in batches based

Tags for Pagination

2006-01-23 Thread Srini Pillai
Hi, We have a situation where we require to paginate our result list (which is quite huge, around 1000+ records). We found few tags like DisplayTags from sourceforge.net but the current version does not support batch lists (i.e. retrieving the list in batches based on the page the user is in,

Re: Tags for Pagination

2006-01-23 Thread Srini Pillai
/2006 3:11:24 PM From: Rick Reumann [EMAIL PROTECTED] On 1/23/06, Srini Pillai wrote: We have a situation where we require to paginate our result list (which is quite huge, around 1000+ records). We found few tags like DisplayTags from sourceforge.net but the current version does

Re: Tags for Pagination

2006-01-23 Thread Srini Pillai
Adam, Did you use your own custom tag to display the results or did u extend any tags available in the web ? - Srini = I implemented pagination with batched retrieval using Hibernate, which takes a couple of parameters on its fetch methods, maxCount and firstRecord. It's fairly

Re: Tags for Pagination

2006-01-23 Thread Srini Pillai
Thanks, it was quite helpful... I am looking for more of a component (tag) that could plugin nicely without much customization...but looks like we have to code our own tag... Thanks anyway :) - Srini [EMAIL PROTECTED] 1/23/2006 3:31:52 PM On 1/23/06, Srini Pillai [EMAIL PROTECTED] wrote: Gary

Re: Tags for Pagination

2006-01-23 Thread Srini Pillai
Thanks anyway... [EMAIL PROTECTED] 1/23/2006 4:39:49 PM Srini Pillai on 23/01/06 20:45, wrote: Did you use your own custom tag to display the results or did u extend any tags available in the web ? = I implemented pagination with batched retrieval using Hibernate, which

Re: Tags for Pagination

2006-01-23 Thread Srini Pillai
Rick, Thanks for the guidance...It is a good start for me... - Srini [EMAIL PROTECTED] 1/23/2006 4:37:53 PM On 1/23/06, Srini Pillai [EMAIL PROTECTED] wrote: ...but looks like we have to code our own tag... Thanks anyway :) At least for the display of pages and the whole next/last stuff

using c:out with EL replacing bean:write

2005-12-19 Thread Srini Pillai
Hi all, I know this is more of a JSTL question but it would be really helpful if anyone could help me understand the usage of c:out with Expression Language (EL) which replaces the bean:write /. I believe Struts did not implement EL for bean:write / tag and few others and suggests using c:out /

Re: using c:out with EL replacing bean:write

2005-12-19 Thread Srini Pillai
:45 AM On 12/19/05, Srini Pillai [EMAIL PROTECTED] wrote: This is the code I tried to display a link with a value in the dynamic form: c:forEach var=counter begin=0 end=${numTextFields} . a href=html-el:rewrite page=/FAEditor.do/?methodToCall=removeElementid=c:out value

Re: using c:out with EL replacing bean:write

2005-12-19 Thread Srini Pillai
one argument: 'id' which, for now, is part of the form, so as I iterate to display the textboxes, I create the links based on the id value for that row... Thanks, Srini [EMAIL PROTECTED] 12/19/2005 12:48 PM On 12/19/05, Srini Pillai [EMAIL PROTECTED] wrote: Thanks Rick, for responding quickly