Ok, Igor, I already solved this issue by re-implementing Link class in
my custom LinkButton class, just adding the following snippet
extracted from Button class, and added to the original
"onComponentTag" Link in this new LinkButton class:

// Default handling for tag

                // manuelbarzi {
                // setting the "value" property to the tag
                try {
                        String value = getModelObjectAsString();
                        if (value != null && !"".equals(value)) {
                                tag.put("value", value);
                } catch (Exception e) {
                        // ignore.
                // }

                // Set href to link to this link's linkClicked method

It works fine now. May this simple addition be interesting for other
people needing this functionality, you'll judge according to

Thank you and regards,


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
Wicket-user mailing list

Reply via email to