You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/05/25 22:30:02 UTC

[jira] [Resolved] (WICKET-5577) Generation of wicket ids with prefix / suffix

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

Martin Grigorov resolved WICKET-5577.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 7.0.0-M2
                   6.16.0

For Wicket 6.x I've added a new method to the Application class:
org.apache.wicket.Application#getMarkupIdGenerator()
It is marked as deprecated because it should really be part of IMarkupSettings. It cannot be added there in 6.x because this is an API break.

> Generation of wicket ids with prefix / suffix
> ---------------------------------------------
>
>                 Key: WICKET-5577
>                 URL: https://issues.apache.org/jira/browse/WICKET-5577
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.13.0
>         Environment: -
>            Reporter: Tobias Soloschenko
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 6.16.0, 7.0.0-M2
>
>
> As mentioned in the following post of the users mailing list:
> http://wicket-users.markmail.org/message/54lo4i4qwoqtmuqv?q=tobias+soloschenko
> It would be great to be able to change the way wicket ids are generated so that it is possible to define a custom prefix / suffix.
> Example:
> Without prefix
> <div id="menuItem32">...</div>
> With prefix
> <div id=" ns_Z7_0G8AH001I8CJD0AKTUU2F21004__menuItem32">...</div>
> "ns_Z7_0G8AH001I8CJD0AKTUU2F21004__" would be the prefix.



--
This message was sent by Atlassian JIRA
(v6.2#6252)