Re: Generating email link

2009-03-27 Thread Martijn Dashorst
The easiest that comes to mind: new ExternalLink(link, mailto:f...@bar.com;) Martijn

Generating email link

2009-03-27 Thread jpalmer1026
How do I generate an email link using Wicket? I am brand new to Wicker and realize this is probably ridiculously easy, but I didn't see any examples in the book I've been using. I'm just trying to convert email addresses stored in a db to links that will open in the user's mail client when

Re: Generating email link

2009-03-27 Thread jpalmer1026
I'm still not seeing how to do this using the ExternalLink component. I'm reading the email addresses from a database and using a ListView to iterate through them to display on the screen. I added the following to my Java file:item.add(new ExternalLink("email", user.getEmail()));And the

Re: Generating email link

2009-03-27 Thread Michael O'Cleirigh
Hello, A link is also a WebMarkupContainer so you can adjust your markup like: a href=# wicket:id=emailspan wicket:id=emailText//a and then add a label into the link like: ExternalLink link = new ExternalLink (email, mailto:; + user.getEmail()); link.add (new Label (emailText,

Re: Generating email link

2009-03-27 Thread Martijn Dashorst
Which is exactly the implementation of external link IMO. Martijn On Fri, Mar 27, 2009 at 5:48 PM, Jeremy Thomerson jer...@wickettraining.com wrote: public class EmailLink extends WebMarkupContainer {    private static final long serialVersionUID = 1L;    public EmailLink(String id,

[DISCUSS] - Introduce wicket-devutils package to Wicket core, with inspector bug

2009-03-27 Thread Jeremy Thomerson
Please review WICKET-670 [1] and give your input. The idea is basically that we want to be able to use the inspector bug and associated development-time utilities in our applications. Currently, the inspector bug is built into wicket-examples, which builds as a war, which makes it difficult to

Re: [DISCUSS] - Introduce wicket-devutils package to Wicket core, with inspector bug

2009-03-27 Thread Martin Grigorov
+1 Additional candidate for this sub-project: - org.apache.wicket.markup.html.debug.PageView (wicket sub-project) (maybe you wont be able to move it for 1.4) El vie, 27-03-2009 a las 23:17 -0500, Jeremy Thomerson escribió: Please review WICKET-670 [1] and give your input. The idea is