It's hard to say for sure where the bug is until I try it out myself, but without a JIRA issue I'll not reliably have a chance to track it down. (yeah the dialog does move dom nodes around, but the autocompleter doesn't attach to the original input element you specify either - it also creates it's own little underlying dom structure... ~shrug~ )
On 2/9/07, Jeremy F. Kassis <[EMAIL PROTECTED]> wrote:
Hmmm. Hard to say if it's a tapestry issue, though. I mean, it seems possible that tapestry could implement some workarounds. But the problem (again, as i remember) comes from that way that the dojo:Dialog component works. It really mucks with the DOM structure making all kinds of things break. For example, it's really hard to get a form field to take focus within a Dialog too. But if you're up for taking it on, I'll add a bug to the Tapestry JIRA. ;-) Jeremy Jessek wrote: > > It's a bug if that's the case. I'd like all components to work under > any combination of situations people want so it'd be easy to qualify > it as a bug.. > > On 2/8/07, Jeremy F. Kassis <[EMAIL PROTECTED]> wrote: >> >> I'm having the same problem. I looked into this once. It has something to >> do >> with how the Dialog component works. It actually copies the DOM tree of >> the >> elements within the Dialog into a DOM island that it stuffs under the >> window >> or document object I think. So, basically, the Input element within your >> form isn't the same input element that the autocompleter attached to. I >> may >> look further at how to handle this, but it ain't trivial. >> >> Here's what I'm thinking of... >> >> Add a dojo listener to the show() method of the dialog that contains the >> autocompleter. >> >> Use tapestry.widget.synchronizeWidgetState("tagAutoCompleter", "Select", >> tagAutoCompleter, true); to recreate the widget. >> >> >> >> >> VitalyA wrote: >> > >> > Hi all, >> > I use Tapestry 4.1.2 snapshot. >> > Can I use together Dialog and Autocompleter components? >> > I want to open Dialog which contains Autocompleter. >> > Currently it doesn't work, Autocompleter rendered without options. >> > Thanks in >> advance, >> > Vitaly >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Autocompleter-and-Dialog-tf2879504.html#a8878447 >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > Jesse Kuhnert > Tapestry/Dojo team member/developer > > Open source based consulting work centered around > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Autocompleter-and-Dialog-tf2879504.html#a8884044 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]