Chris,
   
  It is the same displaytag you are talking about.
   
  Thanks for your comments but you have left me completely puzzled
   
  I am brand new to displaytag I cannot explain if some "automagic" thing is 
happening behind the scene.
   
  I needed something quickly to do the pagination for a system admin 
application and I stumbled upon this great framework.I dont remember which 
website I initially followed to set it all up.
   
  I am NOT  using struts tags to do an explicit scoping. Yet all the results 
are being displayed properly.I double-checked all the settings to see if 
something linking displaytag to struts2 I dont see anything. 
   
  Thus far I have been assuming it can pull from value stack because it is 
working the same manner across all the different jsps .(I have around 20 of 
them) where the <display:table name="someProp"  ...> in the view(jsp) would 
match the action property someProp where someProp would be a  plain 
java.util.List.
   
  The head-scratching part with all this is , this is an app I developed from 
scratch all by myself so there are no settings I am unaware of.
   
  I googled and could not find anything to explain this,infact they are saying 
the same thing you mentioned , explicity use <s:set....scope="request"> to use 
the variable with displaytag , can someone else explain how displaytag can pull 
from the struts2 valuestack?
   
   
  Either ways it is an aha moment for me .......thanks for the insight
  

Chris Pratt <[EMAIL PROTECTED]> wrote:
  You must have a very different version of DisplayTag than I do. Mine
is a simple JSP tag library from http://displaytag.sourceforge.net and
has no knowledge of Struts 2 or the OGNL Value Stack. Sorry.
(*Chris*)

On Mon, Apr 7, 2008 at 2:13 PM, Raghuveer Kumarakrishnan
wrote:
> Chris,
>
> I am using the struts2 value stack and displaytag has no problems using the
> value stack
> because the total number of results (the resultSize) and the actual display
> on the pages
> is fine(and all these are objects on the value stack).
>
>
> Thanks,
> Raghu
>
> Chris Pratt wrote:
> Which scope are you putting them into? DisplayTag doesn't have access
> to the Struts ValueStack scope.
> (*Chris*)
>
> On Mon, Apr 7, 2008 at 1:25 PM, Raghuveer Kumarakrishnan
> wrote:
> > Chris,
> >
> > Thanks for your reply
> >
> > This is what I have in the jsp
> >
> > > requestURI="Events.action" partialList="true" size="resultSize">
> > > > >
> >
> >
> > where "events" is a java.util.List , resultSize is determined by a dao and
> > both these variables are set in scope by a Struts2 action .(The app uses
> > displaytag,struts2 and hibernate)
> >
> >
> > Thanks,
> > Raghu
> >
> >
>
> > Chris Pratt wrote:
> > I believe those numbers come from the getPageNumber() and
> > getObjectsPerPage() methods on your PaginatedList.
> > (*Chris*)
> >
> > On Mon, Apr 7, 2008 at 11:29 AM, Raghuveer Kumarakrishnan
> >
> > wrote:
> > > Hi,
> > >
> > > When using external pagination and partial list the banner displaying
> the
> > > summary is always displaying it as if it is on the frst page.
> > >
> > > For example : if there total size=500, and page size =10
> > >
> > > page 1: displays 500 items found, displaying 1 to 10.
> > > page 2: displays 500 items found, displaying 1 to 10.(you would expect
> > > ....displaying 11-20)
> > > page 3: displays 500 items found, displaying 1 to 10.(you would expect
> > > ....displaying 21-30)
> > >
> > > The results are properly displaying only this banner information is
> wrong.
> > >
> > > I tried googling,looks like it is a known bug.
> > >
> > > I am using displaytag 1.1.1
> > >
> > > Does anyone have a work around/fix for this problem
> > >
> > >
> > > Thanks,
> > > Raghu
> > >
> > > A Goal .......... Is a Dream with a Deadline
> > >
> > > ________________________________
> > > You rock. That's why Blockbuster's offering you one month of Blockbuster
> > > Total Access, No Cost.
> > >
> -------------------------------------------------------------------------
> > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > > Register now and save $200. Hurry, offer ends at 11:59 p.m.,
> > > Monday, April 7! Use priority code J8TLD2.
> > >
> > >
> >
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> > > _______________________________________________
> > > displaytag-user mailing list
> > > displaytag-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/displaytag-user
> > >
> > >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > Register now and save $200. Hurry, offer ends at 11:59 p.m.,
> > Monday, April 7! Use priority code J8TLD2.
> >
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> > _______________________________________________
> > displaytag-user mailing list
> > displaytag-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/displaytag-user
> >
> >
> >
> >
> > A Goal .......... Is a Dream with a Deadline
> >
> > ________________________________
> > You rock. That's why Blockbuster's offering you one month of Blockbuster
> > Total Access, No Cost.
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > Register now and save $200. Hurry, offer ends at 11:59 p.m.,
> > Monday, April 7! Use priority code J8TLD2.
> >
> >
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> > _______________________________________________
> > displaytag-user mailing list
> > displaytag-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/displaytag-user
> >
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Register now and save $200. Hurry, offer ends at 11:59 p.m.,
> Monday, April 7! Use priority code J8TLD2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
>
>
> A Goal .......... Is a Dream with a Deadline
>
> ________________________________
> You rock. That's why Blockbuster's offering you one month of Blockbuster
> Total Access, No Cost.
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Register now and save $200. Hurry, offer ends at 11:59 p.m.,
> Monday, April 7! Use priority code J8TLD2.
>
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user



A Goal .......... Is a Dream with a Deadline
       
---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to