You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Zdenek Sochor (JIRA)" <de...@myfaces.apache.org> on 2007/02/23 17:34:07 UTC

[jira] Created: (TOMAHAWK-907) Incorrect behaviour of HtmlInputText with ajax

Incorrect behaviour of HtmlInputText with ajax
----------------------------------------------

                 Key: TOMAHAWK-907
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-907
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: AJAX Form Components
    Affects Versions: 1.1.5-SNAPSHOT
            Reporter: Zdenek Sochor
         Attachments: patch.txt

Hi,
 TableSuggestAjax is behaving incorrectly after restore view phase in JSF.
This is due to incorrect implementation of org.apache.myfaces.component.html.ext.HtmlInputText class
- attribute autocomplete is NOT stored/restored (in saveState/restoreState methods).

And question - why is autocomplete attribute implemented as String instead of Boolean?

Zdenek



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


[jira] Commented: (TOMAHAWK-907) Incorrect behaviour of HtmlInputText with ajax

Posted by "Zdenek Sochor (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOMAHAWK-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480372 ] 

Zdenek Sochor commented on TOMAHAWK-907:
----------------------------------------

Ajax components require little refactoring:

TableSuggestAjax uses "autocomplete" property from HtmlInputText ALONG with "autoComplete" map attribute
InputSuggestAjax uses OWN "autoComplete" property used in map

This should be unified to use only 1 property.

Regards,
  Zdenek


> Incorrect behaviour of HtmlInputText with ajax
> ----------------------------------------------
>
>                 Key: TOMAHAWK-907
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-907
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: AJAX Form Components
>    Affects Versions: 1.1.5-SNAPSHOT
>            Reporter: Zdenek Sochor
>         Attachments: patch.txt
>
>
> Hi,
>  TableSuggestAjax is behaving incorrectly after restore view phase in JSF.
> This is due to incorrect implementation of org.apache.myfaces.component.html.ext.HtmlInputText class
> - attribute autocomplete is NOT stored/restored (in saveState/restoreState methods).
> And question - why is autocomplete attribute implemented as String instead of Boolean?
> Zdenek

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


[jira] Updated: (TOMAHAWK-907) Incorrect behaviour of HtmlInputText with ajax

Posted by "Zdenek Sochor (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zdenek Sochor updated TOMAHAWK-907:
-----------------------------------

    Status: Patch Available  (was: Open)

> Incorrect behaviour of HtmlInputText with ajax
> ----------------------------------------------
>
>                 Key: TOMAHAWK-907
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-907
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: AJAX Form Components
>    Affects Versions: 1.1.5-SNAPSHOT
>            Reporter: Zdenek Sochor
>         Attachments: patch.txt
>
>
> Hi,
>  TableSuggestAjax is behaving incorrectly after restore view phase in JSF.
> This is due to incorrect implementation of org.apache.myfaces.component.html.ext.HtmlInputText class
> - attribute autocomplete is NOT stored/restored (in saveState/restoreState methods).
> And question - why is autocomplete attribute implemented as String instead of Boolean?
> Zdenek

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


[jira] Updated: (TOMAHAWK-907) Incorrect behaviour of HtmlInputText with ajax

Posted by "Grant Smith (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grant Smith updated TOMAHAWK-907:
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.6-SNAPSHOT
           Status: Resolved  (was: Patch Available)

Zdenek,

Thanks, I applied your patch. I think the other two refactorings should be put into a new JIRA, though...

> Incorrect behaviour of HtmlInputText with ajax
> ----------------------------------------------
>
>                 Key: TOMAHAWK-907
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-907
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: AJAX Form Components
>    Affects Versions: 1.1.5-SNAPSHOT
>            Reporter: Zdenek Sochor
>         Assigned To: Grant Smith
>             Fix For: 1.1.6-SNAPSHOT
>
>         Attachments: patch.txt
>
>
> Hi,
>  TableSuggestAjax is behaving incorrectly after restore view phase in JSF.
> This is due to incorrect implementation of org.apache.myfaces.component.html.ext.HtmlInputText class
> - attribute autocomplete is NOT stored/restored (in saveState/restoreState methods).
> And question - why is autocomplete attribute implemented as String instead of Boolean?
> Zdenek

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