GWT/GXT tag editor?

若如初见. 提交于 2019-12-12 10:10:28

问题


I'm looking for a GWT (or GXT) based tag editor control similar to http://tagedit.webwork-albrecht.de or http://levycarneiro.com/projects/tag-it/example.html or even the StackOverflow tag editor (on the edit page). I couldn't find anything searching for such terms in Google, I was wondering if anyone had ever come across one, perhaps known by a different description or name.

Thanks in advance!


回答1:


I did something similar to that just not for tags but for recipients for messages just like facebook.

Check out this question How to build a Facebook-style input box in GWT to get the source code to it.




回答2:


You can check this blog here, it has something similar with the components you need here is a demo here




回答3:


I think you can make this on your own in gwt. Use the firebug in the tag editor component (which you have mentioned in the question) and see the source code to get better idea.

1) Create some panel with border which looks like text box.For example HorizontalPanel.

2) Add the text box with height and width matches to the horizontal panel.Now user can focus in the text box.

3) Once tag is added create a label for the given input tag then add that label at the first position of panel. Now label appears in the first position. Then textbox appears. It will look like stackoverflow tag editor.



来源:https://stackoverflow.com/questions/6148149/gwt-gxt-tag-editor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!