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 2008/02/26 04:11:07 UTC

[jira] Commented: (WW-2256) Validation broken on autocompleters

    [ https://issues.apache.org/struts/browse/WW-2256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43372#action_43372 ] 

Benjamin McCann commented on WW-2256:
-------------------------------------

Why is the fix version 2.1.4?!  
It basically already is fixed.  The only thing that needs to be done is for the patch to be reviewed and committed.  If there's a problem with the patch then let me know. 
I know everyone is busy and has their own priorities, but I have to say it's frustrating trying to contribute to a project and then seeing your work ignored for months.  This is not a new feature, but is a bug fix!

> Validation broken on autocompleters
> -----------------------------------
>
>                 Key: WW-2256
>                 URL: https://issues.apache.org/struts/browse/WW-2256
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Mechanism, Plugin - Tags
>    Affects Versions: 2.0.9, 2.1.0
>         Environment: Issue identified on Windows XP using Firefox
>            Reporter: Benjamin McCann
>            Priority: Critical
>             Fix For: 2.1.4
>
>         Attachments: allFieldsFilledOnSubmit.png, siteEmptyOnSubmit.png, validation.js.patch, validation.js.patch
>
>
> I have an autocompleter named "site":
> <s:url id="siteList" action="AutocompleteField" method="selectSite" namespace="/general" />
> <sx:autocompleter label="Site" value="%{system.site}"
> 	forceValidOption="true"
> 	cssStyle="width:132px; height:18px; border:1px solid #7B9EBD"
> 	name="site" required="true" href="%{siteList}"
> 	loadOnTextChange="true" showDownArrow="false" dropdownWidth="300"
> 	searchType="substring" />
> It has the following validator:
> <field name="site">
>     <field-validator type="requiredstring">
>         <message>Field is required</message>
>     </field-validator>
> </field>
> When I submit my .jsp without site filled in I get the message: "TypeError: row.cells has no properties"
> When I submit my .jsp with site filled in I get message that the field is required and all the other fields are blanked out.

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