you dont need to create bookmarkable page link components for this. all you need is a url which you can construct by calling urlfor(page.class, params) and replace <partialmessage> with that.
-igor On Wed, Mar 26, 2008 at 12:32 PM, Scott Sauyet <[EMAIL PROTECTED]> wrote: > I would like to do something in Wicket I've never had to do before, and > I'm wondering if someone more experienced could offer some guidance. > > I have some text content in my database being displayed on Wicket pages > that includes snippets like: > > ... and if you use a <PartialMessage> you must ... > > The text inside the angle brackets refers to some other content in the > system, and I would really like to turn it into a BookmarkablePageLink. > I can do the regex stuff and the lookups to get the id related to, > say, "PartialMessage", and I can create something like a > BookmarkablePageLink to it. But I don't know how to connect the code > that would do this into Wicket. The data is in a single field. My > markup will hold a single div with a "wicket:id" for a Label or whatever > custom Component I need to create. In my (relatively simple) use of > Wicket, this is a direct relationship: my code constructs the label > using a String, and that String is placed on the page. I know there's > much more to the process than that, but I'm not sure where I can and > should hook into it. > > Any suggestions for how I could most easily accomplish this? > > Thanks, > > -- Scott > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
