it will throw an exception only if you have the component use check enabled, which is a debug settings.if it helps you can manually call rendered() on the component link and that should quiet the use check.-Igor
On 3/14/06, David Leangen <[EMAIL PROTECTED]> wrote:
> Hi David, thanks for your contri
> Hi David, thanks for your contribution. You mention that 'wicket does
> not allow us to pass parameters to our components'. However, Wicket
> components /can/ access their attributes. Currently, if you override
> onComponentTag(ComponentTag tag), you can find all the attribute
> information in t
; >
> >
> >
> >
> > Cheers,
> > Dave
> >
> >
> >
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of
> Andrew Berman
> > Sent: 14 March 2006 23:10
> > To: wicket-
Thanks for the suggestions!
> -why don't you let your content authors write these external links
> explicitly (i.e. the full URL) into the HTML template?
A few reasons:
- error prone
- if an external link changes, the references need to be changed
in several places (violates DRY principle)
-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Added i18n page to wiki
What is your localized target? Is it static HTML or does it go to a Wicket
page?
On 3/14/06, David Leangen <[EMAIL PROTECTED] > wrote:
Thanks for the input!
In any case, unless I missed something, I don't t
ck, since Wicket does
> not allow for this approach out-of-the-box.
>
>
>
>
> Cheers,
> Dave
>
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Andrew Berman
> Sent: 14 March 2006 23:10
> To: wicket-user@lists.sourc
tion on the wiki is unclear, let me know and I'll try to fix
it.
Thanks again!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Andrew Berman
Sent: 14 March 2006 22:49
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Added i18n page to
What is your localized target? Is it static HTML or does it go to a Wicket page?On 3/14/06, David Leangen <[EMAIL PROTECTED]
> wrote:Thanks for the input!In any case, unless I missed something, I don't think that this is relevant
to what I was after.As I write in the document, I am concerned with
Behalf Of Andrew Berman
Sent: 14 March 2006 22:49
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Added i18n page to wiki
Don't you mean the tag and not ?
On 3/14/06, Martijn Dashorst <[EMAIL PROTECTED] > wrote:
David,
I see that you have not found the (under documente
Yup, the The only wicket tags I know by heart are wicket:id, wicket:remvoe and wicket:headThose are the easy ones :-)Martijn
On 3/14/06, Andrew Berman <[EMAIL PROTECTED]> wrote:
Don't you mean the tag and not ?On 3/14/06,
Martijn Dashorst <[EMAIL PROTECTED]
> wrote:David,I see that you have not f
Don't you mean the tag and not ?On 3/14/06, Martijn Dashorst <[EMAIL PROTECTED]
> wrote:David,I see that you have not found the (under documented) element. This has been backported to
1.1.1 and helps to make i18n pages more easily for languages that share the same structure (left to right readin
David,I see that you have not found the (under documented) element. This has been backported to 1.1.1 and helps to make i18n pages more easily for languages that share the same structure (left to right reading).
The wicket:key makes it much easier to add localized or i18n text to a standard page,
After much tinkering, I finally figured out a way to do what I wanted to
do. I explain it on the updated page:
http://www.wicket-wiki.org.uk/wiki/index.php/I18n_in_Wicket
I just know that I'm going to get a big slap on the wrist from the
Wicket developers. ;-)
I'm bracing myself...
Cheers,
at's my vision of how it should work. Otherwise SoC becomes tootedious...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:
ssage-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] 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:
> '
> Cant we set the link to invisible by checking the locale by overriding
> isVisible( )? do you want to externalize this?
Not exactly sure what you mean, but I'll check this out.
My understanding is that even if we set "isVisible()" to false, the
component must still be rendered.
> This is mo
urceforge.net
> Subject: Re: [Wicket-user] Added i18n page to wiki
>
>
> I second that. Thanks Sven.
>
> Furthermore, Dave, did you ever look at the StringResourceModel?
> That's what should work with your localized labels instead of the
> if/else switches you implement on
I second that. Thanks Sven.
Furthermore, Dave, did you ever look at the StringResourceModel?
That's what should work with your localized labels instead of the
if/else switches you implement on that Wiki article. Or is there
something I missed?
Eelco
On 2/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED
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
cool!
I had couple of questions on
http://www.wicket-wiki.org.uk/wiki/index.php/I18n_in_Wicket#Link_Modeling
> Perhaps we want to add a German page, but the coolPage does not exist in
> German.
> What do we do?
Cant we set the link to invisible by checking the locale by overriding
isVisible( )
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
21 matches
Mail list logo