• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

tiles and <sx:autocompleter>

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I like to make a text field autocomplete <sx:autocompleter>.

I have two examples, one without tiles; and the other using tiles.

without Tiles; I have any problems.

But with tiles (input field) turns into a list of choices and I can not enter text.

Here is the code I have in the two examples:



I think the problem is with tiles .....

I attached the images with effects. Frame 1 shows the error made​​. 2 shows the image rendering <sx:autocomplete> that possibility.

Thank you for all the help you can give me
1.JPG
[Thumbnail for 1.JPG]
2.JPG
[Thumbnail for 2.JPG]
 
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is not problem with tiles. Post your code how you are doing it.
 
Luis Parente
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Before all, I will say you thanks for your reply,


This is my Tiles page:




and my page with <sx:autocompleter>




and I don't know if it's necessary but I put it, this is my tiles file:




Thanks for your help
 
Luis Parente
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

Well, I have resolved the problem. I have added the following lines:




and now it work perfectly. Well almost.....

Now the problem is that, I have all options in the first line like that:


[option1 option2 option3...... optionN+1]

If I double click I can delete the first line and after that, I can write and the auto complete works well.

But why I have all options in the first line?


Thanks for your help.

 
Have you no shame? Have you no decency? Have you no tiny ad?
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic