You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Adrian Crum <ad...@yahoo.com> on 2008/05/12 01:10:44 UTC
Form Widget Default View Size
I have noticed that a lot of lists that are displayed aren't paginated because the viewSize field was not set in the screen widget.
Should we have a global default view size? That way if a view size isn't specified, the list forms will still paginate.
What do you think? If it's a good idea, what would be a good default value?
-Adrian
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
Re: Form Widget Default View Size
Posted by Jacques Le Roux <ja...@les7arts.com>.
+1 for a form default "paginate-size" documented in XSD
Jacques
From: "David E Jones" <jo...@hotwaxmedia.com>
To: <de...@ofbiz.apache.org>
Sent: Monday, May 12, 2008 5:38 AM
Subject: Re: Form Widget Default View Size
>
> This does seem like a really funny reason to not do pagination,
> especially if paginate is set to true....
>
> I would say yes, a default page size more than makes sense, and it
> actually seems odd that there isn't one!
>
> On many pages we use a size of 20, but maybe something like 10 is more
> reasonable, and then people may notice more that it isn't what they
> want and explicitly up the size.
>
> BTW, I just noticed that there is no "paginate-size" attribute on the
> form definition, and perhaps we should have something like that so
> that there is a default size documented in the XSD, and so that it is
> possible to set the page size without having to add something to the
> screen def to set the VIEW_SIZE parameter (which is a little odd, and
> not clear in the XSD making it indirect and hard to figure out where
> to do it if you don't have an example).
>
> -David
>
>
> On May 11, 2008, at 5:10 PM, Adrian Crum wrote:
>
>> I have noticed that a lot of lists that are displayed aren't
>> paginated because the viewSize field was not set in the screen widget.
>>
>> Should we have a global default view size? That way if a view size
>> isn't specified, the list forms will still paginate.
>>
>> What do you think? If it's a good idea, what would be a good default
>> value?
>>
>> -Adrian
>>
>>
>>
>>
>> ---------------------------------
>> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.
>> Try it now.
>
Re: Form Widget Default View Size
Posted by Adrian Crum <ad...@hlmksw.com>.
David, Jacopo, and Jacques -
Thank you for the response! I'll work on adding the paginate-size
attribute to the form widget.
-Adrian
Jacopo Cappellato wrote:
> The paginate-size attribute would be really useful, in my opinion. This
> would allow, for example, to set a paginate size specific and different
> for each form, even when the forms are in the same screen.
>
> Jacopo
>
> On May 12, 2008, at 5:38 AM, David E Jones wrote:
>
>>
>> This does seem like a really funny reason to not do pagination,
>> especially if paginate is set to true....
>>
>> I would say yes, a default page size more than makes sense, and it
>> actually seems odd that there isn't one!
>>
>> On many pages we use a size of 20, but maybe something like 10 is more
>> reasonable, and then people may notice more that it isn't what they
>> want and explicitly up the size.
>>
>> BTW, I just noticed that there is no "paginate-size" attribute on the
>> form definition, and perhaps we should have something like that so
>> that there is a default size documented in the XSD, and so that it is
>> possible to set the page size without having to add something to the
>> screen def to set the VIEW_SIZE parameter (which is a little odd, and
>> not clear in the XSD making it indirect and hard to figure out where
>> to do it if you don't have an example).
>>
>> -David
>>
>>
>> On May 11, 2008, at 5:10 PM, Adrian Crum wrote:
>>
>>> I have noticed that a lot of lists that are displayed aren't
>>> paginated because the viewSize field was not set in the screen widget.
>>>
>>> Should we have a global default view size? That way if a view size
>>> isn't specified, the list forms will still paginate.
>>>
>>> What do you think? If it's a good idea, what would be a good default
>>> value?
>>>
>>> -Adrian
>>>
>>>
>>>
>>>
>>> ---------------------------------
>>> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.
>>> Try it now.
>>
>
>
Re: Form Widget Default View Size
Posted by Jacopo Cappellato <ja...@gmail.com>.
The paginate-size attribute would be really useful, in my opinion.
This would allow, for example, to set a paginate size specific and
different for each form, even when the forms are in the same screen.
Jacopo
On May 12, 2008, at 5:38 AM, David E Jones wrote:
>
> This does seem like a really funny reason to not do pagination,
> especially if paginate is set to true....
>
> I would say yes, a default page size more than makes sense, and it
> actually seems odd that there isn't one!
>
> On many pages we use a size of 20, but maybe something like 10 is
> more reasonable, and then people may notice more that it isn't what
> they want and explicitly up the size.
>
> BTW, I just noticed that there is no "paginate-size" attribute on
> the form definition, and perhaps we should have something like that
> so that there is a default size documented in the XSD, and so that
> it is possible to set the page size without having to add something
> to the screen def to set the VIEW_SIZE parameter (which is a little
> odd, and not clear in the XSD making it indirect and hard to figure
> out where to do it if you don't have an example).
>
> -David
>
>
> On May 11, 2008, at 5:10 PM, Adrian Crum wrote:
>
>> I have noticed that a lot of lists that are displayed aren't
>> paginated because the viewSize field was not set in the screen
>> widget.
>>
>> Should we have a global default view size? That way if a view size
>> isn't specified, the list forms will still paginate.
>>
>> What do you think? If it's a good idea, what would be a good
>> default value?
>>
>> -Adrian
>>
>>
>>
>>
>> ---------------------------------
>> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.
>> Try it now.
>
Re: Form Widget Default View Size
Posted by David E Jones <jo...@hotwaxmedia.com>.
This does seem like a really funny reason to not do pagination,
especially if paginate is set to true....
I would say yes, a default page size more than makes sense, and it
actually seems odd that there isn't one!
On many pages we use a size of 20, but maybe something like 10 is more
reasonable, and then people may notice more that it isn't what they
want and explicitly up the size.
BTW, I just noticed that there is no "paginate-size" attribute on the
form definition, and perhaps we should have something like that so
that there is a default size documented in the XSD, and so that it is
possible to set the page size without having to add something to the
screen def to set the VIEW_SIZE parameter (which is a little odd, and
not clear in the XSD making it indirect and hard to figure out where
to do it if you don't have an example).
-David
On May 11, 2008, at 5:10 PM, Adrian Crum wrote:
> I have noticed that a lot of lists that are displayed aren't
> paginated because the viewSize field was not set in the screen widget.
>
> Should we have a global default view size? That way if a view size
> isn't specified, the list forms will still paginate.
>
> What do you think? If it's a good idea, what would be a good default
> value?
>
> -Adrian
>
>
>
>
> ---------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.
> Try it now.