Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » TableColumn moveable(Minor issue in TableColumnLCA moveColumn)
TableColumn moveable [message #651819] Tue, 01 February 2011 17:36 Go to next message
Tiber Sept is currently offline Tiber SeptFriend
Messages: 32
Registered: February 2010
Member
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 09:57 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
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 13:13 Go to previous message
Tiber Sept is currently offline Tiber SeptFriend
Messages: 32
Registered: February 2010
Member
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: Tue Apr 16 04:01:19 GMT 2024

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

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

Back to the top