see Application.getDebugSettings().setComponentUseCheck(boolean check);

On 2/9/06, David Leangen <[EMAIL PROTECTED] > wrote:

Thanks for the suggestion below. That seems like a really good solution for
"internal" links. I have yet to check out bookmarkable links.

I'm still wondering, though, about external links. That doesn't seem to
solve the problem. (I'll still have to look into the other suggestions given
to me, though.)

Also, I somehow think that the content author should not have to worry about
whether the link is internal or external. That's in the programming domain.
All the author should be concerned about is providing the link ID. The link
target should be provided based on the ID, locale, and possibly other info.
The link text is in the presentation domain, so also part of the author's
job.

IOW, all the author needs to write is:

  <a wicket:id="linkId">Text as decided by author</a>

And the link component for linkId should be "intelligent" enough to know
what target to return, based on the ID and locale. If the author suddenly
removes the above link, or if the link is only available in some locales but
not others, this should not cause an error.

At least, that's my vision of how it should work. Otherwise SoC becomes too
tedious...


WDYT?



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: 9 February 2006 17:14
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] Added i18n page to wiki
>
>
> Hello Dave,
>
> you write:
> 'Some people think that links should be treated just like any
> other component. I tend to feel, however, that links do not fit
> in so well in the "component" mould and deserve special treatment.'
>
> I think you're absolutely right with the latter statement. Don't
> use a hammer (i.e. Wicket components) for everything.
>
> Why don't you just provide some bookmarkable links to your
> template designer?
>
> MyApplication.java:
> mountBookmarkablePage("/links/coolPage", CoolPage.class);
>
> Then its up to the web designer if he wants to include a link or not:
>
> Page(_xx).html:
> Take a look at <a href="" page</a>!
>
> I didn't wanted to tinker with your wiki entry, but IMHO this is
> the solution you're searching for in section 'Link Modeling'.
>
> Sven
>
> >I'm interested in strategies for i18n in Wicket, so I started a wiki
> >page here:
> >
> >   http://www.wicket-wiki.org.uk/wiki/index.php/I18n_in_Wicket
> >
> >Contributions and discussions very welcome.
> >
> >
> >I also discuss the "dilemma" of links under this model.
> >
> >
> >Cheers,
> >Dave
> >
> >
> >
> >
> >
> >-------------------------------------------------------
> >This SF.net email is sponsored by: Splunk Inc. Do you grep
> through log files
> >for problems?  Stop!  Download the new AJAX search engine that makes
> >searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> >_______________________________________________
> >Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep
> through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to