W3C home > Mailing lists > Public > www-forms@w3.org > January 2007

Re: Request for enhancement: select action

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Mon, 22 Jan 2007 20:03:29 +0000
Message-ID: <640dd5060701221203h335687d5yb2203756701d4fe4@mail.gmail.com>
To: "Aaron Reed" <aaronr@us.ibm.com>
Cc: www-forms@w3.org

Hi Aaron,

Ah...don't worry...I don't know what I was thinking of. :)

The initial proposal contained the word 'select' so many times, that I
thought it was referring to the select control! In particular I was
thrown by the mention of the 'xforms-select' event, which is used to
indicate a change in selection on a select control (and cases), so I
thought the use case was to 'activate' an item in a list of choices.
All I was saying was that changing the underlying data was the easiest
way to do this.

Anyway, I now see that it is nothing to do with that....but it's worth
pointing out that the xforms-select event already exists, so this
proposal would need a different event name.

Regards,

Mark

On 22/01/07, Aaron Reed <aaronr@us.ibm.com> wrote:
>
> Hi Mark,
>
> Boy, I don't know about setting the value on the bound node like you
> mentioned.  Then, if I had an output bound to the same node as the
> textarea right next to it, then that section of text would be selected
> in both controls, right?  I think that would confuse the user,
> especially as to what the user would expect to be copied to the
> clipboard.  Plus, I don't think that a user could manually select text
> in a textarea AND an output at the same time in most processors, so I
> wouldn't think that it would be possible programatically.
>
> Maybe instead of 'selected', we should have 'highlighted' or
> 'emphasized'?  I can see having the same text in multiple controls
> highlighted or underlined, but not 'selected'.
>
> --Aaron
>
> Mark Birbeck wrote:
> >
> > Hi John,
> >
> > If you perform a setvalue on the instance node that the control is
> > bound to, giving it the value of item that you would like to see
> > 'selected', then that will have the same effect. I think that 'plays
> > better' with the MVC architecture if XForms, too.
> >
> > Regards,
> >
> > Mark
> >
> > On 22/01/07, Clark, John <CLARKJ2@ccf.org> wrote:
> >>
> >> I would like to request the addition of a `select` action element (and
> >> the corresponding `xforms-select` event).  It would be very similar to
> >> the `setfocus` action element, but it would represent the action of
> >> selecting the contents of the target element.  This would be analogous
> >> to the `select()` function on `input` elements and similar elements in
> >> the HTML DOM[0].
> >>
> >> Thank you for your consideration.
> >>
> >> Sincerely,
> >>
> >>     John L. Clark  |  Systems Analyst
> >>                    |  Cardio-Thoracic Surgery Research
> >>  Cleveland Clinic  |  9500 Euclid Ave.   |  Cleveland, OH 44195
> >>                    |  (216) 445-6011
> >>
> >>
> >>
> >>
> >>
> >> Cleveland Clinic is ranked one of the top 3 hospitals in
> >> America by U.S.News & World Report. Visit us online at
> >> http://www.clevelandclinic.org for a complete listing of
> >> our services, staff and locations.
> >>
> >>
> >> Confidentiality Note:  This message is intended for use
> >> only by the individual or entity to which it is addressed
> >> and may contain information that is privileged,
> >> confidential, and exempt from disclosure under applicable
> >> law.  If the reader of this message is not the intended
> >> recipient or the employee or agent responsible for
> >> delivering the message to the intended recipient, you are
> >> hereby notified that any dissemination, distribution or
> >> copying of this communication is strictly prohibited.  If
> >> you have received this communication in error,  please
> >> contact the sender immediately and destroy the material in
> >> its entirety, whether electronic or hard copy.  Thank you.
> >>
> >>
> >> ===================================
> >>
> >>
> >>
> >
> >
>
>
>
>
>


-- 
Mark Birbeck
CEO
x-port.net Ltd.

e: Mark.Birbeck@x-port.net
t: +44 (0) 20 7689 9232
w: http://www.formsPlayer.com/
b: http://internet-apps.blogspot.com/

Download our XForms processor from
http://www.formsPlayer.com/
Received on Monday, 22 January 2007 20:03:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:08 GMT