You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Robin Komiwes (JIRA)" <ji...@apache.org> on 2010/01/28 11:55:36 UTC

[jira] Created: (TAP5-994) Field autofocus should be done via Tapestry.init instead of using $ function

Field autofocus should be done via Tapestry.init instead of using $ function
----------------------------------------------------------------------------

                 Key: TAP5-994
                 URL: https://issues.apache.org/jira/browse/TAP5-994
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.2.0
            Reporter: Robin Komiwes


As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init and() Tapestry.Initializer.Autofocus.

Currently, the output produced looks like
{code}
$('textfield').activate(); 
{code}

It is Prototype specific and prevent from migrating to another JS library.

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


[jira] Issue Comment Edited: (TAP5-994) Field autofocus should be done via Tapestry.init instead of using $ function

Posted by "Robin Komiwes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806347#action_12806347 ] 

Robin Komiwes edited comment on TAP5-994 at 1/29/10 2:31 PM:
-------------------------------------------------------------

I just created the patch and made a pull request on Github (branch tap5-994).
http://github.com/robink/tapestry5/commit/7b351b7f2455d5c0e6e46c632c4ba59a54dea987

      was (Author: robin.komiwes):
    I just created the patch and made a pull request on Github (branch tap5-994).
  
> Field autofocus should be done via Tapestry.init instead of using $ function
> ----------------------------------------------------------------------------
>
>                 Key: TAP5-994
>                 URL: https://issues.apache.org/jira/browse/TAP5-994
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Robin Komiwes
>
> As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .
> Currently, the output produced looks like
> $('textfield').activate(); 
> It is Prototype specific and prevent from migrating to another JS library.

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


[jira] Commented: (TAP5-994) Field autofocus should be done via Tapestry.init instead of using $ function

Posted by "Robin Komiwes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806347#action_12806347 ] 

Robin Komiwes commented on TAP5-994:
------------------------------------

I just created the patch and made a pull request on Github (branch tap5-994).

> Field autofocus should be done via Tapestry.init instead of using $ function
> ----------------------------------------------------------------------------
>
>                 Key: TAP5-994
>                 URL: https://issues.apache.org/jira/browse/TAP5-994
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Robin Komiwes
>
> As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .
> Currently, the output produced looks like
> $('textfield').activate(); 
> It is Prototype specific and prevent from migrating to another JS library.

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


[jira] Commented: (TAP5-994) Field autofocus should be done via Tapestry.init instead of using $ function

Posted by "Andreas Andreou (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806359#action_12806359 ] 

Andreas Andreou commented on TAP5-994:
--------------------------------------

patch looks fine - are there any other similar open issues?

Cause it seems there's a pattern here, i.e. try to eliminate all
$('foo') usages from java code.

> Field autofocus should be done via Tapestry.init instead of using $ function
> ----------------------------------------------------------------------------
>
>                 Key: TAP5-994
>                 URL: https://issues.apache.org/jira/browse/TAP5-994
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Robin Komiwes
>
> As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .
> Currently, the output produced looks like
> $('textfield').activate(); 
> It is Prototype specific and prevent from migrating to another JS library.

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


[jira] Commented: (TAP5-994) Field autofocus should be done via Tapestry.init instead of using $ function

Posted by "Andreas Andreou (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806359#action_12806359 ] 

Andreas Andreou commented on TAP5-994:
--------------------------------------

patch looks fine - are there any other similar open issues?

Cause it seems there's a pattern here, i.e. try to eliminate all
$('foo') usages from java code.

> Field autofocus should be done via Tapestry.init instead of using $ function
> ----------------------------------------------------------------------------
>
>                 Key: TAP5-994
>                 URL: https://issues.apache.org/jira/browse/TAP5-994
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Robin Komiwes
>
> As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .
> Currently, the output produced looks like
> $('textfield').activate(); 
> It is Prototype specific and prevent from migrating to another JS library.

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


[jira] Assigned: (TAP5-994) Field autofocus should be done via Tapestry.init instead of using $ function

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

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

    Assignee: Howard M. Lewis Ship

> Field autofocus should be done via Tapestry.init instead of using $ function
> ----------------------------------------------------------------------------
>
>                 Key: TAP5-994
>                 URL: https://issues.apache.org/jira/browse/TAP5-994
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Robin Komiwes
>            Assignee: Howard M. Lewis Ship
>
> As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .
> Currently, the output produced looks like
> $('textfield').activate(); 
> It is Prototype specific and prevent from migrating to another JS library.

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


[jira] Commented: (TAP5-994) Field autofocus should be done via Tapestry.init instead of using $ function

Posted by "Robin Komiwes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806384#action_12806384 ] 

Robin Komiwes commented on TAP5-994:
------------------------------------

In fact, I'm currently working on this task, in order to make a full jQuery implementation of tapestry.js.
As far as I know, this is the only reference I saw, but I will continue to investigate.

> Field autofocus should be done via Tapestry.init instead of using $ function
> ----------------------------------------------------------------------------
>
>                 Key: TAP5-994
>                 URL: https://issues.apache.org/jira/browse/TAP5-994
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Robin Komiwes
>
> As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .
> Currently, the output produced looks like
> $('textfield').activate(); 
> It is Prototype specific and prevent from migrating to another JS library.

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


[jira] Closed: (TAP5-994) Field autofocus should be done via Tapestry.init instead of using $ function

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

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

       Resolution: Fixed
    Fix Version/s: 5.2.0

> Field autofocus should be done via Tapestry.init instead of using $ function
> ----------------------------------------------------------------------------
>
>                 Key: TAP5-994
>                 URL: https://issues.apache.org/jira/browse/TAP5-994
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Robin Komiwes
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.2.0
>
>
> As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .
> Currently, the output produced looks like
> $('textfield').activate(); 
> It is Prototype specific and prevent from migrating to another JS library.

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


[jira] Commented: (TAP5-994) Field autofocus should be done via Tapestry.init instead of using $ function

Posted by "Robin Komiwes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806347#action_12806347 ] 

Robin Komiwes commented on TAP5-994:
------------------------------------

I just created the patch and made a pull request on Github (branch tap5-994).

> Field autofocus should be done via Tapestry.init instead of using $ function
> ----------------------------------------------------------------------------
>
>                 Key: TAP5-994
>                 URL: https://issues.apache.org/jira/browse/TAP5-994
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Robin Komiwes
>
> As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .
> Currently, the output produced looks like
> $('textfield').activate(); 
> It is Prototype specific and prevent from migrating to another JS library.

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


[jira] Updated: (TAP5-994) Field autofocus should be done via Tapestry.init instead of using $ function

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

Robin Komiwes updated TAP5-994:
-------------------------------

    Description: 
As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .

Currently, the output produced looks like
$('textfield').activate(); 

It is Prototype specific and prevent from migrating to another JS library.

  was:
As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init and() Tapestry.Initializer.Autofocus.

Currently, the output produced looks like
{code}
$('textfield').activate(); 
{code}

It is Prototype specific and prevent from migrating to another JS library.


> Field autofocus should be done via Tapestry.init instead of using $ function
> ----------------------------------------------------------------------------
>
>                 Key: TAP5-994
>                 URL: https://issues.apache.org/jira/browse/TAP5-994
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Robin Komiwes
>
> As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .
> Currently, the output produced looks like
> $('textfield').activate(); 
> It is Prototype specific and prevent from migrating to another JS library.

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


[jira] Updated: (TAP5-994) Field autofocus should be done via Tapestry.init instead of using $ function

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

Robin Komiwes updated TAP5-994:
-------------------------------

    Description: 
As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .

Currently, the output produced looks like
$('textfield').activate(); 

It is Prototype specific and prevent from migrating to another JS library.

  was:
As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init and() Tapestry.Initializer.Autofocus.

Currently, the output produced looks like
{code}
$('textfield').activate(); 
{code}

It is Prototype specific and prevent from migrating to another JS library.


> Field autofocus should be done via Tapestry.init instead of using $ function
> ----------------------------------------------------------------------------
>
>                 Key: TAP5-994
>                 URL: https://issues.apache.org/jira/browse/TAP5-994
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Robin Komiwes
>
> As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .
> Currently, the output produced looks like
> $('textfield').activate(); 
> It is Prototype specific and prevent from migrating to another JS library.

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


[jira] Closed: (TAP5-994) Field autofocus should be done via Tapestry.init instead of using $ function

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

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

       Resolution: Fixed
    Fix Version/s: 5.2.0

> Field autofocus should be done via Tapestry.init instead of using $ function
> ----------------------------------------------------------------------------
>
>                 Key: TAP5-994
>                 URL: https://issues.apache.org/jira/browse/TAP5-994
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Robin Komiwes
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.2.0
>
>
> As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .
> Currently, the output produced looks like
> $('textfield').activate(); 
> It is Prototype specific and prevent from migrating to another JS library.

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


[jira] Issue Comment Edited: (TAP5-994) Field autofocus should be done via Tapestry.init instead of using $ function

Posted by "Robin Komiwes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806347#action_12806347 ] 

Robin Komiwes edited comment on TAP5-994 at 1/29/10 2:31 PM:
-------------------------------------------------------------

I just created the patch and made a pull request on Github (branch tap5-994).
http://github.com/robink/tapestry5/commit/7b351b7f2455d5c0e6e46c632c4ba59a54dea987

      was (Author: robin.komiwes):
    I just created the patch and made a pull request on Github (branch tap5-994).
  
> Field autofocus should be done via Tapestry.init instead of using $ function
> ----------------------------------------------------------------------------
>
>                 Key: TAP5-994
>                 URL: https://issues.apache.org/jira/browse/TAP5-994
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Robin Komiwes
>
> As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .
> Currently, the output produced looks like
> $('textfield').activate(); 
> It is Prototype specific and prevent from migrating to another JS library.

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


[jira] Commented: (TAP5-994) Field autofocus should be done via Tapestry.init instead of using $ function

Posted by "Robin Komiwes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806384#action_12806384 ] 

Robin Komiwes commented on TAP5-994:
------------------------------------

In fact, I'm currently working on this task, in order to make a full jQuery implementation of tapestry.js.
As far as I know, this is the only reference I saw, but I will continue to investigate.

> Field autofocus should be done via Tapestry.init instead of using $ function
> ----------------------------------------------------------------------------
>
>                 Key: TAP5-994
>                 URL: https://issues.apache.org/jira/browse/TAP5-994
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Robin Komiwes
>
> As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .
> Currently, the output produced looks like
> $('textfield').activate(); 
> It is Prototype specific and prevent from migrating to another JS library.

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


[jira] Assigned: (TAP5-994) Field autofocus should be done via Tapestry.init instead of using $ function

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

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

    Assignee: Howard M. Lewis Ship

> Field autofocus should be done via Tapestry.init instead of using $ function
> ----------------------------------------------------------------------------
>
>                 Key: TAP5-994
>                 URL: https://issues.apache.org/jira/browse/TAP5-994
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Robin Komiwes
>            Assignee: Howard M. Lewis Ship
>
> As said in the title, field autofocus should be done using the classical tapestry.js model, i.e. using Tapestry.init() and Tapestry.Initializer.Autofocus .
> Currently, the output produced looks like
> $('textfield').activate(); 
> It is Prototype specific and prevent from migrating to another JS library.

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