You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Norbert Sándor (JIRA)" <ta...@jakarta.apache.org> on 2005/07/27 23:44:22 UTC

[jira] Created: (TAPESTRY-449) add a renderer parameter to LinkSubmit

add a renderer parameter to LinkSubmit 
---------------------------------------

         Key: TAPESTRY-449
         URL: http://issues.apache.org/jira/browse/TAPESTRY-449
     Project: Tapestry
        Type: Improvement
  Components: Framework  
    Versions: 4.0    
 Environment: Tapestry 4
    Reporter: Norbert Sándor


LinkSubmit should have a "renderer" parameter similar to DirectLink.
- It would allow the customization of the rendered link
- It would make the link components more unified
- I'd like to implement a special submit component in the Tacos project to submit a Tacos:PartialForm. When submitting a form partially, the Submit button's name is not automatically included in the request so its listener is not triggered. The easiest workaround for this would be the usage of LinkSubmit (which works well with Tacos:PartialForm), but the visual appearance of the LinkSubmit should be customizable to match the l&f of Submit.

Br,
Norbi

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Resolved: (TAPESTRY-449) add a renderer parameter to LinkSubmit

Posted by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-449?page=all ]

Andreas Andreou resolved TAPESTRY-449.
--------------------------------------

    Fix Version/s: unspecified
       Resolution: Won't Fix

- LinkSubmit is not a link component.
- tacos:AjaxLinkSubmit solves the problem you describe
- the current LinkSubmit (4.1) has all of the ajax functionality built in

> add a renderer parameter to LinkSubmit
> --------------------------------------
>
>                 Key: TAPESTRY-449
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-449
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 4.0
>         Environment: Tapestry 4
>            Reporter: Norbert Sándor
>             Fix For: unspecified
>
>
> LinkSubmit should have a "renderer" parameter similar to DirectLink.
> - It would allow the customization of the rendered link
> - It would make the link components more unified
> - I'd like to implement a special submit component in the Tacos project to submit a Tacos:PartialForm. When submitting a form partially, the Submit button's name is not automatically included in the request so its listener is not triggered. The easiest workaround for this would be the usage of LinkSubmit (which works well with Tacos:PartialForm), but the visual appearance of the LinkSubmit should be customizable to match the l&f of Submit.
> Br,
> Norbi

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] Commented: (TAPESTRY-449) add a renderer parameter to LinkSubmit

Posted by "Norbert Sándor (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-449?page=comments#action_12357143 ] 

Norbert Sándor commented on TAPESTRY-449:
-----------------------------------------

I don't know what do you mean under "enhance". Some enhancementworker stuff? :)

I feel that using LinkSubmit with a button-like renderer would be simpler and easier to understand solution for an end user. Maybe some AjaxSubmit component which simply wraps a LinkSubmit with a custom button-like renderer.

But as I said I don't see much under the surface of tacos :)

BR,
Norbi

> add a renderer parameter to LinkSubmit
> --------------------------------------
>
>          Key: TAPESTRY-449
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-449
>      Project: Tapestry
>         Type: Improvement
>   Components: Framework
>     Versions: 4.0
>  Environment: Tapestry 4
>     Reporter: Norbert Sándor

>
> LinkSubmit should have a "renderer" parameter similar to DirectLink.
> - It would allow the customization of the rendered link
> - It would make the link components more unified
> - I'd like to implement a special submit component in the Tacos project to submit a Tacos:PartialForm. When submitting a form partially, the Submit button's name is not automatically included in the request so its listener is not triggered. The easiest workaround for this would be the usage of LinkSubmit (which works well with Tacos:PartialForm), but the visual appearance of the LinkSubmit should be customizable to match the l&f of Submit.
> Br,
> Norbi

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (TAPESTRY-449) add a renderer parameter to LinkSubmit

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-449?page=comments#action_12357121 ] 

Jesse Kuhnert commented on TAPESTRY-449:
----------------------------------------

I can always "enhance" the submit component at runtime to allow the behaviour you desire. Would this be an ok solution? 

> add a renderer parameter to LinkSubmit
> --------------------------------------
>
>          Key: TAPESTRY-449
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-449
>      Project: Tapestry
>         Type: Improvement
>   Components: Framework
>     Versions: 4.0
>  Environment: Tapestry 4
>     Reporter: Norbert Sándor

>
> LinkSubmit should have a "renderer" parameter similar to DirectLink.
> - It would allow the customization of the rendered link
> - It would make the link components more unified
> - I'd like to implement a special submit component in the Tacos project to submit a Tacos:PartialForm. When submitting a form partially, the Submit button's name is not automatically included in the request so its listener is not triggered. The easiest workaround for this would be the usage of LinkSubmit (which works well with Tacos:PartialForm), but the visual appearance of the LinkSubmit should be customizable to match the l&f of Submit.
> Br,
> Norbi

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (TAPESTRY-449) add a renderer parameter to LinkSubmit

Posted by "Norbert Sándor (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-449?page=comments#action_12357119 ] 

Norbert Sándor commented on TAPESTRY-449:
-----------------------------------------

As I know Submit component does not work correctly in AjaxForm (correct me if I'm wrong).
This feature would make possible to use LinkSubmit instead of Submit in AjaxForm, just the renderer should be set to a "button-style" renderer.

BR,
Norbi

> add a renderer parameter to LinkSubmit
> --------------------------------------
>
>          Key: TAPESTRY-449
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-449
>      Project: Tapestry
>         Type: Improvement
>   Components: Framework
>     Versions: 4.0
>  Environment: Tapestry 4
>     Reporter: Norbert Sándor

>
> LinkSubmit should have a "renderer" parameter similar to DirectLink.
> - It would allow the customization of the rendered link
> - It would make the link components more unified
> - I'd like to implement a special submit component in the Tacos project to submit a Tacos:PartialForm. When submitting a form partially, the Submit button's name is not automatically included in the request so its listener is not triggered. The easiest workaround for this would be the usage of LinkSubmit (which works well with Tacos:PartialForm), but the visual appearance of the LinkSubmit should be customizable to match the l&f of Submit.
> Br,
> Norbi

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (TAPESTRY-449) add a renderer parameter to LinkSubmit

Posted by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-449?page=comments#action_12432374 ] 
            
Andreas Andreou commented on TAPESTRY-449:
------------------------------------------

tacos:AjaxLinkSubmit is to be used for tacos:AjaxForm

As for the renderer parameter, it looks problematic, since LinkSubmit does not currently 
implement ILinkComponent

> add a renderer parameter to LinkSubmit
> --------------------------------------
>
>                 Key: TAPESTRY-449
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-449
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 4.0
>         Environment: Tapestry 4
>            Reporter: Norbert Sándor
>
> LinkSubmit should have a "renderer" parameter similar to DirectLink.
> - It would allow the customization of the rendered link
> - It would make the link components more unified
> - I'd like to implement a special submit component in the Tacos project to submit a Tacos:PartialForm. When submitting a form partially, the Submit button's name is not automatically included in the request so its listener is not triggered. The easiest workaround for this would be the usage of LinkSubmit (which works well with Tacos:PartialForm), but the visual appearance of the LinkSubmit should be customizable to match the l&f of Submit.
> Br,
> Norbi

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] Commented: (TAPESTRY-449) add a renderer parameter to LinkSubmit

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-449?page=comments#action_12432377 ] 
            
Jesse Kuhnert commented on TAPESTRY-449:
----------------------------------------

FYI the current LinkSubmit has all of the ajax functionality built in, so this might not be needed anymore...

> add a renderer parameter to LinkSubmit
> --------------------------------------
>
>                 Key: TAPESTRY-449
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-449
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 4.0
>         Environment: Tapestry 4
>            Reporter: Norbert Sándor
>
> LinkSubmit should have a "renderer" parameter similar to DirectLink.
> - It would allow the customization of the rendered link
> - It would make the link components more unified
> - I'd like to implement a special submit component in the Tacos project to submit a Tacos:PartialForm. When submitting a form partially, the Submit button's name is not automatically included in the request so its listener is not triggered. The easiest workaround for this would be the usage of LinkSubmit (which works well with Tacos:PartialForm), but the visual appearance of the LinkSubmit should be customizable to match the l&f of Submit.
> Br,
> Norbi

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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