Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » TableColumn moveable(Minor issue in TableColumnLCA moveColumn)
TableColumn moveable [message #651819] Tue, 01 February 2011 12:36 Go to next message
Eclipse UserFriend
Hello RAP community,

I think I have stumbled upon a minor issue while dealing with
table columns and just wanted to check if my assumptions are
correct.

The issue occurs when moving columns. They simply get stuck,
when I try to exchange adjacent columns and one of them has
width of 0. On a second move attempt they are positioned
properly.

This should be due to the hack in the static moveColumn
method in TableColumnLCA that sets all preserved
left values to null, or actually doesn't do so in case
the order of the columns has changed. The following fails:


  1. Preserve left x
  2. Move column (sets left again to x, adjacent column width is 0)
  3. Skip writing left (no change)


Right now, I just set the preserved left value of the moved
column to null so that it's sent to client. Anything I should consider ?

Thanks,
tibersept
Re: TableColumn moveable [message #652236 is a reply to message #651819] Thu, 03 February 2011 04:57 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
could you open a bug about this issue and attach your proposed solution
to it. This will help us to keep track on it.
Thanks, Ivan

On 2/1/2011 7:36 PM, tibersept wrote:
> Hello RAP community,
>
> I think I have stumbled upon a minor issue while dealing with
> table columns and just wanted to check if my assumptions are
> correct.
> The issue occurs when moving columns. They simply get stuck,
> when I try to exchange adjacent columns and one of them has width of
> 0. On a second move attempt they are positioned properly.
>
> This should be due to the hack in the static moveColumn
> method in TableColumnLCA that sets all preserved
> left values to null, or actually doesn't do so in case
> the order of the columns has changed. The following fails:
>
> Preserve left x
> Move column (sets left again to x, adjacent column width is 0)
> Skip writing left (no change)
>
> Right now, I just set the preserved left value of the moved
> column to null so that it's sent to client. Anything I should consider ?
>
> Thanks,
> tibersept
Re: TableColumn moveable [message #652538 is a reply to message #652236] Fri, 04 February 2011 08:13 Go to previous message
Eclipse UserFriend
Hello Ivan,

i have submitted a bug ( 336340 )
with my solution attached.

Thanks for the reply,
tibersept
Previous Topic:Problem Deploy WAR
Next Topic:RAP 1.4 M5 - Keybindings
Goto Forum:
  


Current Time: Wed Jul 23 16:45:03 EDT 2025

Powered by FUDForum. Page generated in 1.98288 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top