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]

Reply via email to