Hi Roger, I was thinking at a skin style, because I'd wait 2.1 before adding something at component level (generally speaking) ... and of course another (related) style property would be needed for a separator ... as always ideas are welcome :-) .
The listener idea could be a better long-term solution, but like you I'm not sure this would be, so we could delay this, could be right for you ? Bye 2012/3/13 Roger L. Whitcomb <[email protected]>: > Should it be a style (applies to the skin)? Or a property (applies to > the component)? I like the idea, but it might need something more (like > a separator character/string when appending??) Or maybe a more general > concept would be a listener to implement the interaction between the > popup and the text control (not sure what it would look like, though). > > ~Roger Whitcomb > > -----Original Message----- > From: Sandro Martini [mailto:[email protected]] > Sent: Tuesday, March 13, 2012 8:33 AM > To: [email protected]; Apache Pivot - Developers > Subject: Re: SuggestionPopUp for email recipients list > > Hi, > I like your idea, it's a good use case. > To achieve your result, we could add a style (for example "append") to > SuggestionPopup, and have it by default false so used only if/when > necessary ... so no need to change the api. > > Could this be good to for you ? > If yes please could you file an improvement for this in JIRA for 2.0.2 ? > Thanks. > > > What you (and others) think ? > Tell me. > > Bye, > Sandro > > > 2012/3/13 ccp999 <[email protected]>: >> Hi, >> >> How can I modify SuggestionPopup so that it attached selected texts to >> append the end of existing texts in TextInput or replacing it? >> >> I'm trying to implement a TextInput that act like a email recipient > field. >> So it allows adding more recipients to the end of the list and keep > giving >> the suggestion. >> >> I have successfully implement the suggesting and selecting part, but > since >> current implementation of SuggestionPopup can only replace the whole >> TextInput. >> >> Brendan >> >> >> >> >> >> -- >> View this message in context: > http://apache-pivot-users.399431.n3.nabble.com/SuggestionPopUp-for-email > -recipients-list-tp3821421p3821421.html >> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
