You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Ivan Khalopik (JIRA)" <ji...@apache.org> on 2010/05/05 09:58:02 UTC

[jira] Created: (TAP5-1130) LinkSubmit component doesn't work when form contains Select component with default id

LinkSubmit component doesn't work when form contains Select component with default id
-------------------------------------------------------------------------------------

                 Key: TAP5-1130
                 URL: https://issues.apache.org/jira/browse/TAP5-1130
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.1.0.7
            Reporter: Ivan Khalopik
            Priority: Minor


When form contains Select component with default id ("select") it generate markup like
<select id="select" name="select">...</select>
When user clicks on LInkSubmit component on such form nothing happens.

    // linksubmit.js
    createHidden : function()
    {
        var hidden = new Element("input", { "type":"hidden",
        	"id": this.element.id + "-hidden",
            "name": this.element.id + "-hidden",
            "value": this.element.id});

        if (this.form.select("input#" + this.element.id + "-hidden").length == 0)
            this.element.insert({after:hidden});
    },

In this code this.form.select is a form control but not a function.



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


[jira] Closed: (TAP5-1130) LinkSubmit component doesn't work when form contains Select component with default id

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-1130.
--------------------------------------

    Fix Version/s: 5.2.0
       Resolution: Fixed

> LinkSubmit component doesn't work when form contains Select component with default id
> -------------------------------------------------------------------------------------
>
>                 Key: TAP5-1130
>                 URL: https://issues.apache.org/jira/browse/TAP5-1130
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.7
>            Reporter: Ivan Khalopik
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.2.0
>
>
> When form contains Select component with default id ("select") it generate markup like
> <select id="select" name="select">...</select>
> When user clicks on LInkSubmit component on such form nothing happens.
>     // linksubmit.js
>     createHidden : function()
>     {
>         var hidden = new Element("input", { "type":"hidden",
>         	"id": this.element.id + "-hidden",
>             "name": this.element.id + "-hidden",
>             "value": this.element.id});
>         if (this.form.select("input#" + this.element.id + "-hidden").length == 0)
>             this.element.insert({after:hidden});
>     },
> In this code this.form.select is a form control but not a function.

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


[jira] Closed: (TAP5-1130) LinkSubmit component doesn't work when form contains Select component with default id

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-1130.
--------------------------------------

    Fix Version/s: 5.2.0
       Resolution: Fixed

> LinkSubmit component doesn't work when form contains Select component with default id
> -------------------------------------------------------------------------------------
>
>                 Key: TAP5-1130
>                 URL: https://issues.apache.org/jira/browse/TAP5-1130
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.7
>            Reporter: Ivan Khalopik
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.2.0
>
>
> When form contains Select component with default id ("select") it generate markup like
> <select id="select" name="select">...</select>
> When user clicks on LInkSubmit component on such form nothing happens.
>     // linksubmit.js
>     createHidden : function()
>     {
>         var hidden = new Element("input", { "type":"hidden",
>         	"id": this.element.id + "-hidden",
>             "name": this.element.id + "-hidden",
>             "value": this.element.id});
>         if (this.form.select("input#" + this.element.id + "-hidden").length == 0)
>             this.element.insert({after:hidden});
>     },
> In this code this.form.select is a form control but not a function.

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


[jira] Assigned: (TAP5-1130) LinkSubmit component doesn't work when form contains Select component with default id

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAP5-1130:
------------------------------------------

    Assignee: Howard M. Lewis Ship

> LinkSubmit component doesn't work when form contains Select component with default id
> -------------------------------------------------------------------------------------
>
>                 Key: TAP5-1130
>                 URL: https://issues.apache.org/jira/browse/TAP5-1130
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.7
>            Reporter: Ivan Khalopik
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> When form contains Select component with default id ("select") it generate markup like
> <select id="select" name="select">...</select>
> When user clicks on LInkSubmit component on such form nothing happens.
>     // linksubmit.js
>     createHidden : function()
>     {
>         var hidden = new Element("input", { "type":"hidden",
>         	"id": this.element.id + "-hidden",
>             "name": this.element.id + "-hidden",
>             "value": this.element.id});
>         if (this.form.select("input#" + this.element.id + "-hidden").length == 0)
>             this.element.insert({after:hidden});
>     },
> In this code this.form.select is a form control but not a function.

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


[jira] Commented: (TAP5-1130) LinkSubmit component doesn't work when form contains Select component with default id

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864396#action_12864396 ] 

Howard M. Lewis Ship commented on TAP5-1130:
--------------------------------------------

Nice catch!

> LinkSubmit component doesn't work when form contains Select component with default id
> -------------------------------------------------------------------------------------
>
>                 Key: TAP5-1130
>                 URL: https://issues.apache.org/jira/browse/TAP5-1130
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.7
>            Reporter: Ivan Khalopik
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> When form contains Select component with default id ("select") it generate markup like
> <select id="select" name="select">...</select>
> When user clicks on LInkSubmit component on such form nothing happens.
>     // linksubmit.js
>     createHidden : function()
>     {
>         var hidden = new Element("input", { "type":"hidden",
>         	"id": this.element.id + "-hidden",
>             "name": this.element.id + "-hidden",
>             "value": this.element.id});
>         if (this.form.select("input#" + this.element.id + "-hidden").length == 0)
>             this.element.insert({after:hidden});
>     },
> In this code this.form.select is a form control but not a function.

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


[jira] Commented: (TAP5-1130) LinkSubmit component doesn't work when form contains Select component with default id

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864396#action_12864396 ] 

Howard M. Lewis Ship commented on TAP5-1130:
--------------------------------------------

Nice catch!

> LinkSubmit component doesn't work when form contains Select component with default id
> -------------------------------------------------------------------------------------
>
>                 Key: TAP5-1130
>                 URL: https://issues.apache.org/jira/browse/TAP5-1130
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.7
>            Reporter: Ivan Khalopik
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> When form contains Select component with default id ("select") it generate markup like
> <select id="select" name="select">...</select>
> When user clicks on LInkSubmit component on such form nothing happens.
>     // linksubmit.js
>     createHidden : function()
>     {
>         var hidden = new Element("input", { "type":"hidden",
>         	"id": this.element.id + "-hidden",
>             "name": this.element.id + "-hidden",
>             "value": this.element.id});
>         if (this.form.select("input#" + this.element.id + "-hidden").length == 0)
>             this.element.insert({after:hidden});
>     },
> In this code this.form.select is a form control but not a function.

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


[jira] Assigned: (TAP5-1130) LinkSubmit component doesn't work when form contains Select component with default id

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAP5-1130:
------------------------------------------

    Assignee: Howard M. Lewis Ship

> LinkSubmit component doesn't work when form contains Select component with default id
> -------------------------------------------------------------------------------------
>
>                 Key: TAP5-1130
>                 URL: https://issues.apache.org/jira/browse/TAP5-1130
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.7
>            Reporter: Ivan Khalopik
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> When form contains Select component with default id ("select") it generate markup like
> <select id="select" name="select">...</select>
> When user clicks on LInkSubmit component on such form nothing happens.
>     // linksubmit.js
>     createHidden : function()
>     {
>         var hidden = new Element("input", { "type":"hidden",
>         	"id": this.element.id + "-hidden",
>             "name": this.element.id + "-hidden",
>             "value": this.element.id});
>         if (this.form.select("input#" + this.element.id + "-hidden").length == 0)
>             this.element.insert({after:hidden});
>     },
> In this code this.form.select is a form control but not a function.

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