Managing a list

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Managing a list

Colin O'Brien
Hi,

I have a need to manage a list, I guess we would say an ordered list.
I need to put up a page, a form where the list is presented, in order,  
and the user can take an item and _change_ its position in the list -  
and when the user says done, the newly ordered list is returned to the  
server.

There are of course many more requirements, adding to the list, adding  
to the list from a prescribed master list, deleting from the list,  
probably more, but this I think is the core issue - enabling the user  
to re-order the list.

I don't see anything like this in the examples, and I can find no  
reference to anything previously in the list (please feel free to  
point me to them if I have missed them).

Does anyone have any idea if this might be possible in Orbeon Forms,  
and how I would get started?

In a desktop app, the user would expect to be simply dragging the  
items up and down, but for starters I would take any suggestion!

Thanks in advance
regards
Colin

PS it seems possible that the xml behind the list might have more than  
one element - such as some form of id, and a meaningful description -  
so the user might see the description, and drag that, or see the id  
and description and drag the id - either way, moving the whole "row"  
would need to be coordinated - though again, to get "something"  
working, we might have to start with the xml being just the id and the  
user knows the ids.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Managing a list

Alessandro Vernet
Administrator
Colin,

On Feb 12, 2008, at 10:31 AM, Colin O'Brien wrote:

> I have a need to manage a list, I guess we would say an ordered list.
> [...]
> In a desktop app, the user would expect to be simply dragging the  
> items up and down, but for starters I would take any suggestion!

As a matter of fact, we are working on this: we want to provide in  
XForms repeats the same drag & drop reordering capability you would  
expect to have in a desktop application. For now, one way to do this  
is to add on each "row" (iteration of the repeat) two triggers: move  
down and move up. Then you implement the triggers to do the  
appropriate actions. You can also have only one "move up" and one  
"move down" button for the whole list that move the current or  
selected "item".

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Managing a list

Colin O'Brien
Hi Alex

many thanks for the reply - as you are already working on this, do you  
have any idea when it might be available?

Best regards
Colin

On Feb 12, 2008, at 5:30 PM, Alessandro Vernet wrote:

> Colin,
>
> On Feb 12, 2008, at 10:31 AM, Colin O'Brien wrote:
>
>> I have a need to manage a list, I guess we would say an ordered list.
>> [...]
>> In a desktop app, the user would expect to be simply dragging the  
>> items up and down, but for starters I would take any suggestion!
>
> As a matter of fact, we are working on this: we want to provide in  
> XForms repeats the same drag & drop reordering capability you would  
> expect to have in a desktop application. For now, one way to do this  
> is to add on each "row" (iteration of the repeat) two triggers: move  
> down and move up. Then you implement the triggers to do the  
> appropriate actions. You can also have only one "move up" and one  
> "move down" button for the whole list that move the current or  
> selected "item".
>
> Alex
> --
> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
> Orbeon's Blog: http://www.orbeon.com/blog/
> Personal Blog: http://avernet.blogspot.com/
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Managing a list

Alessandro Vernet
Administrator
Colin,

On Feb 12, 2008, at 4:29 PM, Colin O'Brien wrote:
> many thanks for the reply - as you are already working on this, do  
> you have any idea when it might be available?


I would expect to have this in nightly builds at some point during the  
next couple of months.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Managing a list

Colin O'Brien
Hi Alex

it all sounds good - I think, without undue risk, I can make my  
schedule match that.
Thanks for the info, and all your efforts on Orbeon.

Best regards
Colin

On Feb 12, 2008, at 8:58 PM, Alessandro Vernet wrote:

> Colin,
>
> On Feb 12, 2008, at 4:29 PM, Colin O'Brien wrote:
>> many thanks for the reply - as you are already working on this, do  
>> you have any idea when it might be available?
>
>
> I would expect to have this in nightly builds at some point during  
> the next couple of months.
>
> Alex


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws