[
http://jira.xwiki.org/jira/browse/XWIKI-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_22113
]
Vincent Massol commented on XWIKI-1604:
---------------------------------------
Evelina says this is already done and committed.
We need to add a selenium test to prove it works and close it.
> Generalized Ajax Suggest Feature
> --------------------------------
>
> Key: XWIKI-1604
> URL: http://jira.xwiki.org/jira/browse/XWIKI-1604
> Project: XWiki Platform
> Issue Type: New Feature
> Components: Templates, Skins & User Interface
> Affects Versions: 1.1 M3
> Environment: Ubuntu Fiesty
> Reporter: Evelina Petronela Slatineanu
> Priority: Minor
> Fix For: 1.3 M2
>
> Attachments: suggest_img.tar.gz, XWIKI-1604.patch
>
>
> Generalized, user-friendly suggest feature for html input fields, using ajax.
> It works for properties of type:
> - StringClass
> - DbListClass
> - StaticListClass
> Also works for tags (which are of type StaticListClass with Multiple Select
> and Relational Storage activated).
> For DbListClass, the suggest can be used with the user's query (in the field
> "Hibernate Query", from the class). If the query retrieves two columns from
> the database (i.e "select distinct obj.name, prop.value from..."), then the
> first column is used as a "key" and placed in a hidden input, and the value
> is retrieved using obj.name. If the object does not exist yet, the user must
> create an object first and then use the suggest feature. If the query
> retrieves only one column (i.e "select prop.value from...") then the suggest
> feature does not need a hidden input to retrieve the key. If the user's query
> retrieves more than 2 columns, the suggest feature ignores the third,
> fourth...columns.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications