- From: Aaron Reed <aaronr@us.ibm.com>
- Date: Mon, 22 Jan 2007 13:05:50 -0600
- To: www-forms@w3.org
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. >> >> >> =================================== >> >> >> > >
Received on Monday, 22 January 2007 19:27:05 UTC