You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2010/10/04 18:50:49 UTC

[jira] Created: (TAP5-1295) Simplify connecting a link or form to an (enclosing) Zone

Simplify connecting a link or form to an (enclosing) Zone
---------------------------------------------------------

                 Key: TAP5-1295
                 URL: https://issues.apache.org/jira/browse/TAP5-1295
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.2.2
            Reporter: Howard M. Lewis Ship
            Priority: Minor


Currently, when connecting a link to a zone, you bind the zone parameter of the link to the client-side id of the Zone.

To do this, you must know the client-side id of the Zone.

It would be nice if the zone value could be evaluated on the client and make use of the rendered DOM to simplify this.

I thought the special string "^" could mean "the containing Zone", and could be located via the "t-zone" CSS class that Zones normally have.

An extended form could be "^.foo" to find an enclosing element with CSS class foo and assume that is the zone (this would help when dealing with nested zones).

The exact syntax is up for debate but the idea is that the connection could be made on the client-side without having to deal with the (relative) intricacies of either assigning a zone id explicitly, or reading the Zone's id.

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


Re: [jira] Commented: (TAP5-1295) Simplify connecting a link or form to an (enclosing) Zone

Posted by Howard Lewis Ship <hl...@gmail.com>.
And so obvious in retrospect ... as long as the link/form is inside the Zone.

I'm expecting the 5.3 JavaScript to be "lighter" this way.  I can't
wait to get started on it.

On Wed, Oct 20, 2010 at 5:37 AM, Massimo Lusetti (JIRA) <ji...@apache.org> wrote:
>
>    [ https://issues.apache.org/jira/browse/TAP5-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922939#action_12922939 ]
>
> Massimo Lusetti commented on TAP5-1295:
> ---------------------------------------
>
> This is cool!
>
>> Simplify connecting a link or form to an (enclosing) Zone
>> ---------------------------------------------------------
>>
>>                 Key: TAP5-1295
>>                 URL: https://issues.apache.org/jira/browse/TAP5-1295
>>             Project: Tapestry 5
>>          Issue Type: Improvement
>>          Components: tapestry-core
>>    Affects Versions: 5.2.2
>>            Reporter: Howard M. Lewis Ship
>>            Assignee: Howard M. Lewis Ship
>>            Priority: Minor
>>             Fix For: 5.2.2
>>
>>
>> Currently, when connecting a link to a zone, you bind the zone parameter of the link to the client-side id of the Zone.
>> To do this, you must know the client-side id of the Zone.
>> It would be nice if the zone value could be evaluated on the client and make use of the rendered DOM to simplify this.
>> I thought the special string "^" could mean "the containing Zone", and could be located via the "t-zone" CSS class that Zones normally have.
>> An extended form could be "^.foo" to find an enclosing element with CSS class foo and assume that is the zone (this would help when dealing with nested zones).
>> The exact syntax is up for debate but the idea is that the connection could be made on the client-side without having to deal with the (relative) intricacies of either assigning a zone id explicitly, or reading the Zone's id.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Closed: (TAP5-1295) Simplify connecting a link or form to an (enclosing) Zone

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

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

       Resolution: Fixed
    Fix Version/s: 5.2.2

> Simplify connecting a link or form to an (enclosing) Zone
> ---------------------------------------------------------
>
>                 Key: TAP5-1295
>                 URL: https://issues.apache.org/jira/browse/TAP5-1295
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.2.2
>
>
> Currently, when connecting a link to a zone, you bind the zone parameter of the link to the client-side id of the Zone.
> To do this, you must know the client-side id of the Zone.
> It would be nice if the zone value could be evaluated on the client and make use of the rendered DOM to simplify this.
> I thought the special string "^" could mean "the containing Zone", and could be located via the "t-zone" CSS class that Zones normally have.
> An extended form could be "^.foo" to find an enclosing element with CSS class foo and assume that is the zone (this would help when dealing with nested zones).
> The exact syntax is up for debate but the idea is that the connection could be made on the client-side without having to deal with the (relative) intricacies of either assigning a zone id explicitly, or reading the Zone's id.

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


[jira] Assigned: (TAP5-1295) Simplify connecting a link or form to an (enclosing) Zone

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

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

    Assignee: Howard M. Lewis Ship

> Simplify connecting a link or form to an (enclosing) Zone
> ---------------------------------------------------------
>
>                 Key: TAP5-1295
>                 URL: https://issues.apache.org/jira/browse/TAP5-1295
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> Currently, when connecting a link to a zone, you bind the zone parameter of the link to the client-side id of the Zone.
> To do this, you must know the client-side id of the Zone.
> It would be nice if the zone value could be evaluated on the client and make use of the rendered DOM to simplify this.
> I thought the special string "^" could mean "the containing Zone", and could be located via the "t-zone" CSS class that Zones normally have.
> An extended form could be "^.foo" to find an enclosing element with CSS class foo and assume that is the zone (this would help when dealing with nested zones).
> The exact syntax is up for debate but the idea is that the connection could be made on the client-side without having to deal with the (relative) intricacies of either assigning a zone id explicitly, or reading the Zone's id.

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


[jira] Commented: (TAP5-1295) Simplify connecting a link or form to an (enclosing) Zone

Posted by "Massimo Lusetti (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922939#action_12922939 ] 

Massimo Lusetti commented on TAP5-1295:
---------------------------------------

This is cool!

> Simplify connecting a link or form to an (enclosing) Zone
> ---------------------------------------------------------
>
>                 Key: TAP5-1295
>                 URL: https://issues.apache.org/jira/browse/TAP5-1295
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.2.2
>
>
> Currently, when connecting a link to a zone, you bind the zone parameter of the link to the client-side id of the Zone.
> To do this, you must know the client-side id of the Zone.
> It would be nice if the zone value could be evaluated on the client and make use of the rendered DOM to simplify this.
> I thought the special string "^" could mean "the containing Zone", and could be located via the "t-zone" CSS class that Zones normally have.
> An extended form could be "^.foo" to find an enclosing element with CSS class foo and assume that is the zone (this would help when dealing with nested zones).
> The exact syntax is up for debate but the idea is that the connection could be made on the client-side without having to deal with the (relative) intricacies of either assigning a zone id explicitly, or reading the Zone's id.

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


[jira] Commented: (TAP5-1295) Simplify connecting a link or form to an (enclosing) Zone

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

Hudson commented on TAP5-1295:
------------------------------

Integrated in tapestry-5.2-freestyle #214 (See [https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/214/])
    TAP5-1295: Provide an easy way for a component to link to an enclosing Zone without explicitly knowing its id (resolved on the client side)


> Simplify connecting a link or form to an (enclosing) Zone
> ---------------------------------------------------------
>
>                 Key: TAP5-1295
>                 URL: https://issues.apache.org/jira/browse/TAP5-1295
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.2.2
>
>
> Currently, when connecting a link to a zone, you bind the zone parameter of the link to the client-side id of the Zone.
> To do this, you must know the client-side id of the Zone.
> It would be nice if the zone value could be evaluated on the client and make use of the rendered DOM to simplify this.
> I thought the special string "^" could mean "the containing Zone", and could be located via the "t-zone" CSS class that Zones normally have.
> An extended form could be "^.foo" to find an enclosing element with CSS class foo and assume that is the zone (this would help when dealing with nested zones).
> The exact syntax is up for debate but the idea is that the connection could be made on the client-side without having to deal with the (relative) intricacies of either assigning a zone id explicitly, or reading the Zone's id.

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


[jira] Commented: (TAP5-1295) Simplify connecting a link or form to an (enclosing) Zone

Posted by "Massimo Lusetti (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922939#action_12922939 ] 

Massimo Lusetti commented on TAP5-1295:
---------------------------------------

This is cool!

> Simplify connecting a link or form to an (enclosing) Zone
> ---------------------------------------------------------
>
>                 Key: TAP5-1295
>                 URL: https://issues.apache.org/jira/browse/TAP5-1295
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.2.2
>
>
> Currently, when connecting a link to a zone, you bind the zone parameter of the link to the client-side id of the Zone.
> To do this, you must know the client-side id of the Zone.
> It would be nice if the zone value could be evaluated on the client and make use of the rendered DOM to simplify this.
> I thought the special string "^" could mean "the containing Zone", and could be located via the "t-zone" CSS class that Zones normally have.
> An extended form could be "^.foo" to find an enclosing element with CSS class foo and assume that is the zone (this would help when dealing with nested zones).
> The exact syntax is up for debate but the idea is that the connection could be made on the client-side without having to deal with the (relative) intricacies of either assigning a zone id explicitly, or reading the Zone's id.

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


[jira] Commented: (TAP5-1295) Simplify connecting a link or form to an (enclosing) Zone

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

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

For the first pass, just "^" is supported. We'll see if we need something higher powered.

> Simplify connecting a link or form to an (enclosing) Zone
> ---------------------------------------------------------
>
>                 Key: TAP5-1295
>                 URL: https://issues.apache.org/jira/browse/TAP5-1295
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> Currently, when connecting a link to a zone, you bind the zone parameter of the link to the client-side id of the Zone.
> To do this, you must know the client-side id of the Zone.
> It would be nice if the zone value could be evaluated on the client and make use of the rendered DOM to simplify this.
> I thought the special string "^" could mean "the containing Zone", and could be located via the "t-zone" CSS class that Zones normally have.
> An extended form could be "^.foo" to find an enclosing element with CSS class foo and assume that is the zone (this would help when dealing with nested zones).
> The exact syntax is up for debate but the idea is that the connection could be made on the client-side without having to deal with the (relative) intricacies of either assigning a zone id explicitly, or reading the Zone's id.

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


[jira] Assigned: (TAP5-1295) Simplify connecting a link or form to an (enclosing) Zone

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

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

    Assignee: Howard M. Lewis Ship

> Simplify connecting a link or form to an (enclosing) Zone
> ---------------------------------------------------------
>
>                 Key: TAP5-1295
>                 URL: https://issues.apache.org/jira/browse/TAP5-1295
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> Currently, when connecting a link to a zone, you bind the zone parameter of the link to the client-side id of the Zone.
> To do this, you must know the client-side id of the Zone.
> It would be nice if the zone value could be evaluated on the client and make use of the rendered DOM to simplify this.
> I thought the special string "^" could mean "the containing Zone", and could be located via the "t-zone" CSS class that Zones normally have.
> An extended form could be "^.foo" to find an enclosing element with CSS class foo and assume that is the zone (this would help when dealing with nested zones).
> The exact syntax is up for debate but the idea is that the connection could be made on the client-side without having to deal with the (relative) intricacies of either assigning a zone id explicitly, or reading the Zone's id.

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


[jira] Commented: (TAP5-1295) Simplify connecting a link or form to an (enclosing) Zone

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

Hudson commented on TAP5-1295:
------------------------------

Integrated in tapestry-5.2-freestyle #214 (See [https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/214/])
    TAP5-1295: Provide an easy way for a component to link to an enclosing Zone without explicitly knowing its id (resolved on the client side)


> Simplify connecting a link or form to an (enclosing) Zone
> ---------------------------------------------------------
>
>                 Key: TAP5-1295
>                 URL: https://issues.apache.org/jira/browse/TAP5-1295
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.2.2
>
>
> Currently, when connecting a link to a zone, you bind the zone parameter of the link to the client-side id of the Zone.
> To do this, you must know the client-side id of the Zone.
> It would be nice if the zone value could be evaluated on the client and make use of the rendered DOM to simplify this.
> I thought the special string "^" could mean "the containing Zone", and could be located via the "t-zone" CSS class that Zones normally have.
> An extended form could be "^.foo" to find an enclosing element with CSS class foo and assume that is the zone (this would help when dealing with nested zones).
> The exact syntax is up for debate but the idea is that the connection could be made on the client-side without having to deal with the (relative) intricacies of either assigning a zone id explicitly, or reading the Zone's id.

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


[jira] Closed: (TAP5-1295) Simplify connecting a link or form to an (enclosing) Zone

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

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

       Resolution: Fixed
    Fix Version/s: 5.2.2

> Simplify connecting a link or form to an (enclosing) Zone
> ---------------------------------------------------------
>
>                 Key: TAP5-1295
>                 URL: https://issues.apache.org/jira/browse/TAP5-1295
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.2.2
>
>
> Currently, when connecting a link to a zone, you bind the zone parameter of the link to the client-side id of the Zone.
> To do this, you must know the client-side id of the Zone.
> It would be nice if the zone value could be evaluated on the client and make use of the rendered DOM to simplify this.
> I thought the special string "^" could mean "the containing Zone", and could be located via the "t-zone" CSS class that Zones normally have.
> An extended form could be "^.foo" to find an enclosing element with CSS class foo and assume that is the zone (this would help when dealing with nested zones).
> The exact syntax is up for debate but the idea is that the connection could be made on the client-side without having to deal with the (relative) intricacies of either assigning a zone id explicitly, or reading the Zone's id.

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


[jira] Commented: (TAP5-1295) Simplify connecting a link or form to an (enclosing) Zone

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

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

For the first pass, just "^" is supported. We'll see if we need something higher powered.

> Simplify connecting a link or form to an (enclosing) Zone
> ---------------------------------------------------------
>
>                 Key: TAP5-1295
>                 URL: https://issues.apache.org/jira/browse/TAP5-1295
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> Currently, when connecting a link to a zone, you bind the zone parameter of the link to the client-side id of the Zone.
> To do this, you must know the client-side id of the Zone.
> It would be nice if the zone value could be evaluated on the client and make use of the rendered DOM to simplify this.
> I thought the special string "^" could mean "the containing Zone", and could be located via the "t-zone" CSS class that Zones normally have.
> An extended form could be "^.foo" to find an enclosing element with CSS class foo and assume that is the zone (this would help when dealing with nested zones).
> The exact syntax is up for debate but the idea is that the connection could be made on the client-side without having to deal with the (relative) intricacies of either assigning a zone id explicitly, or reading the Zone's id.

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