You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Benjamin McCann (JIRA)" <ji...@apache.org> on 2007/10/12 17:02:37 UTC

[jira] Created: (WW-2248) No way to include an empty option in autocompleter

No way to include an empty option in autocompleter
--------------------------------------------------

                 Key: WW-2248
                 URL: https://issues.apache.org/struts/browse/WW-2248
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.1.0
            Reporter: Benjamin McCann


I could not figure out how to include an empty option in my autocompleter.  Eclipse did not show the emptyOption attribute being present as it was in the 2.0.x release series and setting emptyOption="true" had no effect.

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


[jira] Updated: (WW-2248) No way to include an empty option in autocompleter

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Don Brown updated WW-2248:
--------------------------

    Fix Version/s:     (was: 2.1.4)
                   2.2.x

> No way to include an empty option in autocompleter
> --------------------------------------------------
>
>                 Key: WW-2248
>                 URL: https://issues.apache.org/struts/browse/WW-2248
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tags
>    Affects Versions: 2.1.0
>            Reporter: Benjamin McCann
>             Fix For: 2.2.x
>
>
> I could not figure out how to include an empty option in my autocompleter.  Eclipse did not show the emptyOption attribute being present as it was in the 2.0.x release series and setting emptyOption="true" had no effect.

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


[jira] Commented: (WW-2248) No way to include an empty option in autocompleter

Posted by "Benjamin McCann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42390 ] 

Benjamin McCann commented on WW-2248:
-------------------------------------

When I say Eclipse did not show it, I should clarify that I was talking about its code completion tool.  While it's possible that there was an error in that code completion tool, there is still something wrong on the Struts side because as I mentioned setting emptyOption="true" had no effect.

> No way to include an empty option in autocompleter
> --------------------------------------------------
>
>                 Key: WW-2248
>                 URL: https://issues.apache.org/struts/browse/WW-2248
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: Benjamin McCann
>
> I could not figure out how to include an empty option in my autocompleter.  Eclipse did not show the emptyOption attribute being present as it was in the 2.0.x release series and setting emptyOption="true" had no effect.

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


[jira] Resolved: (WW-2248) No way to include an empty option in autocompleter

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-2248.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.2.x)
                   2.1.3

EMpty option only works when the options are not loaded dynamically, I just tried this:

<sx:autocompleter list="{'apple','banana','grape','pear'}" emptyOption="true" />

and the output is:

<select visibledownarrow="true" keyname="nullKey" dojotype="struts:ComboBox">
<option value=""/>
<option value="apple">apple</option>
<option value="banana">banana</option>
<option value="grape">grape</option>
<option value="pear">pear</option>
</select>

> No way to include an empty option in autocompleter
> --------------------------------------------------
>
>                 Key: WW-2248
>                 URL: https://issues.apache.org/struts/browse/WW-2248
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tags
>    Affects Versions: 2.1.0
>            Reporter: Benjamin McCann
>             Fix For: 2.1.3
>
>
> I could not figure out how to include an empty option in my autocompleter.  Eclipse did not show the emptyOption attribute being present as it was in the 2.0.x release series and setting emptyOption="true" had no effect.

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


[jira] Updated: (WW-2248) No way to include an empty option in autocompleter

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted updated WW-2248:
---------------------------

    Component/s: Views

> No way to include an empty option in autocompleter
> --------------------------------------------------
>
>                 Key: WW-2248
>                 URL: https://issues.apache.org/struts/browse/WW-2248
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: 2.1.0
>            Reporter: Benjamin McCann
>             Fix For: 2.1.3
>
>
> I could not figure out how to include an empty option in my autocompleter.  Eclipse did not show the emptyOption attribute being present as it was in the 2.0.x release series and setting emptyOption="true" had no effect.

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


[jira] Commented: (WW-2248) No way to include an empty option in autocompleter

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42389 ] 

Musachy Barroso commented on WW-2248:
-------------------------------------

could be an eclipse problem? the attribute is still there

> No way to include an empty option in autocompleter
> --------------------------------------------------
>
>                 Key: WW-2248
>                 URL: https://issues.apache.org/struts/browse/WW-2248
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: Benjamin McCann
>
> I could not figure out how to include an empty option in my autocompleter.  Eclipse did not show the emptyOption attribute being present as it was in the 2.0.x release series and setting emptyOption="true" had no effect.

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