Yes you can. See http://displaytag.sourceforge.net/configuration.html

-----Original Message-----
From: Phani [mailto:[EMAIL PROTECTED]
Sent: Friday, July 08, 2005 12:07 PM
To: Struts Users Mailing List
Subject: RE: Paging in DisplayTag


It worked when I set to blank -- > requestURI="" .

How come ??

Also is there anyway I can customize the header..

The following thing is on a single line.. I want the
links to appear on a seperate line..

58 items found, displaying 51 to 58.[First/Prev] 1, 2,
3, 4, 5, 6 [Next/Last]

Thanks.

--- Abdullah Jibaly <[EMAIL PROTECTED]>
wrote:

> Yes, I noticed. I find it works better when you set
> it to blank. I don't know whether it will resolve
> your problem but you may want to try it.
> 
> -----Original Message-----
> From: Phani [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 08, 2005 11:34 AM
> To: Struts Users Mailing List
> Subject: RE: Paging in DisplayTag
> 
> 
> See my code.. I have requestURI set to my Action
> class..
> 
> --- Abdullah Jibaly
> <[EMAIL PROTECTED]>
> wrote:
> 
> > What happens when you set requestURI="" ?
> > 
> > 
> > -----Original Message-----
> > From: Phani [mailto:[EMAIL PROTECTED]
> > Sent: Friday, July 08, 2005 10:59 AM
> > To: Struts Users Mailing List
> > Subject: RE: Paging in DisplayTag
> > 
> > 
> > Here is my code:
> > 
> > <display:table defaultsort="3" class=""
> > pagesize="10"
> > name="inventoryItems" id="inventoryItem"
> > requestURI="stockingStoreInventory.do" >
> >                     
> >     <display:column property="spNum" title="SP"
> > align="right" />
> >     <display:column property="spName" title="Name"
> > align="right" />
> >     <display:column property="spAccount"
> > title="Account"
> > align="right" />
> > 
> > </display:table>
> > 
> > It displays fine without pagesize attribute..all
> the
> > results in a single page..
> > 
> > But with pagsize attribute, it gives me null
> pointer
> > exception when I hit next..
> > 
> > Thanks,
> > Phani.
> > --- Abdullah Jibaly
> > <[EMAIL PROTECTED]>
> > wrote:
> > 
> > > Nope, you shouldnt have to. Setting
> requestURI=""
> > > works just fine for me.
> > > 
> > > Are you using el: ${storeForm.myList} ?
> > > 
> > > -----Original Message-----
> > > From: Phani [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, July 07, 2005 5:20 PM
> > > To: Struts Users Mailing List; Michael Jouravlev
> > > Subject: Paging in DisplayTag
> > > 
> > > 
> > > Hi,
> > > 
> > > Shud my Action form be in session scope if I
> want
> > to
> > > specify pagesize in display tag for paging..
> > > 
> > > Because I get the following error:
> > > 
> > > Error 500: Cannot find bean storeForm in any
> scope
> > > 
> > > Thanks,
> > > Phani.
> > > 
> > > 
> > > 
> > >   
> > >           
> > > __________________________________ 
> > > Do you Yahoo!? 
> > > Yahoo! Mail - You care about security. So do we.
> 
> > > http://promotions.yahoo.com/new_mail
> > > 
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > 
> > > 
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> > protection around 
> > http://mail.yahoo.com 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
____________________________________________________
Sell on Yahoo! Auctions - no fees. Bid on great items.  
http://auctions.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to