struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-1945) add a method(javascript) to set the selected value to the autocompleter
Date Fri, 25 May 2007 20:02:43 GMT

    [ https://issues.apache.org/struts/browse/WW-1945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41114
] 

Musachy Barroso commented on WW-1945:
-------------------------------------

function initComboxWithDefaultValue(widgetCombox, mykey)
{
myData = widgetCombox.dataProvider.data;
for (myElem in myData){
   myObj = myData[myElem];
   for (tmp in myObj){
      if (tmp==1) {
         if (myObj[tmp].toString() == mykey) {
            widgetCombox.setValue(myObj[0].toString());
            widgetCombox.comboBoxSelectionValue.value = myObj[1].toString();
         }
     }
 }}}

> add a  method(javascript) to set the selected value to the autocompleter
> ------------------------------------------------------------------------
>
>                 Key: WW-1945
>                 URL: https://issues.apache.org/struts/browse/WW-1945
>             Project: Struts 2
>          Issue Type: Improvement
>            Reporter: Musachy Barroso
>         Assigned To: Musachy Barroso
>            Priority: Trivial
>             Fix For: 2.1.0
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message