You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Jonathan Locke <jo...@gmail.com> on 2011/08/16 20:42:00 UTC

Wicket 1.5 and Automatic Link Disabling

In Wicket 1.5, the new mountPackage() in combination with wicket:link doesn't
seem to create links that automatically disable when you're already on the
given page. Is auto-link enable/disable still supported?

Thanks!

    Jon


--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-Automatic-Link-Disabling-tp3748072p3748072.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket 1.5 and Automatic Link Disabling

Posted by Jonathan Locke <jo...@gmail.com>.
Okay, will do. Thanks Martin!!

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-Automatic-Link-Disabling-tp3748072p3751604.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket 1.5 and Automatic Link Disabling

Posted by Martin Grigorov <mg...@apache.org>.
add "style.css" problem in the quickstart too

On Thu, Aug 18, 2011 at 4:28 PM, Jonathan Locke
<jo...@gmail.com> wrote:
> Well, even with HEAD of trunk, I'm still not getting link disabling so I may
> try to create a quickstart. However, those funny errors trying to resolve
> "style.css" have a workaround: simply stop using mountPackage and they go
> away.
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-Automatic-Link-Disabling-tp3748072p3752598.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket 1.5 and Automatic Link Disabling

Posted by Jonathan Locke <jo...@gmail.com>.
Well, even with HEAD of trunk, I'm still not getting link disabling so I may
try to create a quickstart. However, those funny errors trying to resolve
"style.css" have a workaround: simply stop using mountPackage and they go
away.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-Automatic-Link-Disabling-tp3748072p3752598.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket 1.5 and Automatic Link Disabling

Posted by Martin Grigorov <mg...@apache.org>.
Could be.
I always test with HEAD to save myself time debugging issues which are
already solved.
Please create a quickstart and attach it to Jira if the issue still
exists for you.

On Wed, Aug 17, 2011 at 8:15 AM, Jonathan Locke
<jo...@gmail.com> wrote:
> Ah, is it possible that this is a problem in the last RC that was fixed in
> HEAD?
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-Automatic-Link-Disabling-tp3748072p3749160.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket 1.5 and Automatic Link Disabling

Posted by Jonathan Locke <jo...@gmail.com>.
Ah, is it possible that this is a problem in the last RC that was fixed in
HEAD?

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-Automatic-Link-Disabling-tp3748072p3749160.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket 1.5 and Automatic Link Disabling

Posted by Jonathan Locke <jo...@gmail.com>.
Thanks for the thoughts!

This is a bit strange. Not only is it not working, but when I add that
setAutomaticLinking to my init, it causes further errors... it's apparently
trying to resolve "<package>.style.css" (no class name)...

It's possible it's my fault somehow. I'll debug in the morning, but any
ideas are welcome in the meantime!

Best,

   Jon


--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-Automatic-Link-Disabling-tp3748072p3748788.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket 1.5 and Automatic Link Disabling

Posted by Martin Grigorov <mg...@apache.org>.
It works. Just tested it.
Maybe you don't have: getMarkupSettings().setAutomaticLinking(true);
in YourApp#init()

On Tue, Aug 16, 2011 at 9:54 PM, Martin Grigorov <mg...@apache.org> wrote:
> Yes, it should work.
>
> On Tue, Aug 16, 2011 at 9:42 PM, Jonathan Locke
> <jo...@gmail.com> wrote:
>> In Wicket 1.5, the new mountPackage() in combination with wicket:link doesn't
>> seem to create links that automatically disable when you're already on the
>> given page. Is auto-link enable/disable still supported?
>>
>> Thanks!
>>
>>    Jon
>>
>>
>> --
>> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-Automatic-Link-Disabling-tp3748072p3748072.html
>> Sent from the Users forum mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket 1.5 and Automatic Link Disabling

Posted by Martin Grigorov <mg...@apache.org>.
Yes, it should work.

On Tue, Aug 16, 2011 at 9:42 PM, Jonathan Locke
<jo...@gmail.com> wrote:
> In Wicket 1.5, the new mountPackage() in combination with wicket:link doesn't
> seem to create links that automatically disable when you're already on the
> given page. Is auto-link enable/disable still supported?
>
> Thanks!
>
>    Jon
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-Automatic-Link-Disabling-tp3748072p3748072.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org