Sweet!  I recently co-authored Struts 2 In Action for Manning.  What do you
dislike about OGNL?  I am in St. Louis, how about you?

On Wed, Sep 10, 2008 at 9:49 PM, Chris Pratt <[EMAIL PROTECTED]>wrote:

> I've been using it for about 9 mo.  I didn't find the documentation they
> had online too bad, but then again, it's not that great either.
>
> We're using Struts 2 riding on top of Spring with Tiles 2 for the view and
> jQuery as the JavaScript library (and DisplayTag for tabular data,
> obviously).  Other than OGNL, I love the whole stack.  We've been able to
> easily extend the system where needed and pump out lots of pretty complex
> application code very quickly.
>   (*Chris*)
>
>
> On Wed, Sep 10, 2008 at 6:46 PM, <[EMAIL PROTECTED]> wrote:
>
>> Thanks Chris --
>>
>> Have you used this tag library very long?  It seems like a neat tag but
>> other than you, I haven't been able to get help anywhere.  I have read all
>> the docs I can find, but they are pretty sketchy.  Do you know where "good"
>> examples/docs are?
>>
>> P.S. What web framework are you using?
>>
>> Peace,
>> Scott
>>
>>
>> On Wed, Sep 10, 2008 at 4:12 PM, Chris Pratt <[EMAIL PROTECTED]>wrote:
>>
>>> Hmmm, I've never used that feature, the documentation seems to indicate
>>> that the number will be maintained by DisplayTag using the following
>>> algorithm:
>>>
>>>  (Integer.parseInt(request.getParameter((new 
>>> ParamEncoder(tableId).encodeParameterName(TableTagParameters.PARAMETER_PAGE))))
>>>  - 1) * pageSize;
>>>
>>>
>>> But I'm not sure what good that knowledge will do you =8^)
>>>   (*Chris*)
>>>
>>>
>>> On Wed, Sep 10, 2008 at 11:06 AM, <[EMAIL PROTECTED]> wrote:
>>>
>>>> Hey Chris --
>>>>
>>>> I don't have a paginated list!  I simply have a Struts 2 action where I
>>>> have get/set over pageSize and totalSize.  Is there a pageNumber that I can
>>>> set?
>>>>
>>>> Thanks,
>>>> Scott
>>>>
>>>>  <display:table name="employees" id="row" size="${totalSize}"
>>>>
>>>> pagesize="${pageSize}" partialList="true"
>>>>
>>>> requestURI="/hr/employeeAction_page">
>>>>
>>>> <display:column sortable="true" title="Row Number">${row_rowNum}</
>>>> display:column>
>>>>
>>>> <display:column sortable="true" title="Employee Number">
>>>> ${row.employeeNumber}</display:column>
>>>>
>>>> <display:column sortable="true" title="Name">${row.name}</
>>>> display:column>
>>>>
>>>> </display:table>
>>>>
>>>> On Wed, Sep 10, 2008 at 11:16 AM, Chris Pratt <[EMAIL PROTECTED]>wrote:
>>>>
>>>>> My guess would be that your implementation of getPageNumber() from
>>>>> PaginatedList is always returning 1.
>>>>>   (*Chris*)
>>>>>
>>>>>
>>>>> On Wed, Sep 10, 2008 at 8:12 AM, stanlick <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>>>
>>>>>> 1,528 items found, displaying 1 to 10.
>>>>>> [First/Prev] 140, 141, 142, 143, 144, 145, 146, 147 [Next/Last]
>>>>>>
>>>>>> I have a situation where I maintain a maximum of 10 items in my
>>>>>> collection
>>>>>> at any one point.  I have coded the paging myself and it works fine
>>>>>> (and
>>>>>> fast).  The problem I have is that regardless of the page displayed,
>>>>>> the
>>>>>> text always reads 1,528 items found, displaying 1 to 10.  Has anyone
>>>>>> seen
>>>>>> this before?
>>>>>>
>>>>>> Peace,
>>>>>> Scott
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://www.nabble.com/1%2C528-items-found%2C-displaying-1-to-10.-tp19414805p19414805.html
>>>>>> Sent from the DisplayTag - General mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>>
>>>>>> -------------------------------------------------------------------------
>>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>>> challenge
>>>>>> Build the coolest Linux based applications with Moblin SDK & win great
>>>>>> prizes
>>>>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>>>>> world
>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>> _______________________________________________
>>>>>> 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 Moblin Your Move Developer's
>>>>> challenge
>>>>> Build the coolest Linux based applications with Moblin SDK & win great
>>>>> prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>>>> world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> _______________________________________________
>>>>> 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 Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win great
>>>> prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>>> world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> 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 Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> 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 Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> 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 Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to