You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2007/08/15 20:35:30 UTC

[jira] Resolved: (WICKET-733) [PATCH] doesn't render value attribute with Link component

     [ https://issues.apache.org/jira/browse/WICKET-733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-733.
----------------------------------

    Resolution: Won't Fix

unlike button link does not define the use for its model, that means users use it to store their custom models, such as

add(new Link("deletePerson", personModel)...

if you want to localize it then instead of adding resourcemodel to link use wicket:message inside the tag to localize the value attribute.

> [PATCH] <input type="submit"> doesn't render value attribute with Link component
> --------------------------------------------------------------------------------
>
>                 Key: WICKET-733
>                 URL: https://issues.apache.org/jira/browse/WICKET-733
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>         Environment: any
>            Reporter: Kare Nuorteva
>            Priority: Minor
>             Fix For: 1.3.0-beta3
>
>         Attachments: wicket-submitlink.patch
>
>
> Combination of <input type="submit"> and Link component does not render tags value attribute.
> Example:
> new Link("id", new Model("Link text")...
> <input type="submit">
> should produce HTML:
> <input type="submit" value="Link text">

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