Re: [Wicket-user] links problems again

2006-04-07 Thread Potje rode kool
Ok thanks Igor, got the mounting working.When I use mounting I first failed to get the parameters, I usedgetRequest.getParameter(action); but I found out that I now can get the parameters by calling 
getRequest.getParameterMap().get(action); (where action is my parameter name).Evert2006/4/6, Igor Vaynberg 
[EMAIL PROTECTED]:
see mountPackage in webapplication and nice url example for details.your urls will look something like this:/context/mount/Index/context/adminmount/Index

-Igor
On 4/6/06, Potje rode kool [EMAIL PROTECTED] wrote:


I created a new project with a TabbedPanel and it worked, so that works now.I wanted to use the new mount stuff but failed to get it working, I want to mount packages.I have packages like:
com.mypagescom.mypages.admin
etc.My start page is 'com.mypages.Index' and my admin page is 'com.mypages.admin.Index'.How do I mount the admin package and how should my link look like?Evert



2006/4/4, Igor Vaynberg [EMAIL PROTECTED]:



wicket:link has always worked like this and we did not intend to change it in 1.2. wicket:link is a convinience, if it doesnt fit your usecase use regular link components or subclass WicketLinkTagHandler and implement any behavior you want.
i tested tabbed panels here and they work fine. if you want, create a quickstart project that reproduces the error and attach it to the list, i will take a look.
-Igor
On 4/4/06, Potje rode kool [EMAIL PROTECTED] wrote:




Just updated to wicket 1.2 beta 3 but I still have link problems all over the place.If I use wicket:link the links work only correctly if the pages where they point to are in the same package.
I also got problems with working with tabs (using the TabbedPanel from wicket extensions), if I put links on a panel on a tab the
tabs don't work anymore I can can't switch to another tab, even got that with plain old html links.Does anyone has the same problems or does anyone knows how to solve them?I would like to hear that, for the most part I like wicket but these link problems are driving me a bit crazy.
Thanks in advance.Evert













Re: [Wicket-user] links problems again

2006-04-07 Thread Johan Compagner
why are you calling that on the request?you should get those in youre constructor (the PageParameters object)johanOn 4/7/06, Potje rode kool
 [EMAIL PROTECTED] wrote:
Ok thanks Igor, got the mounting working.When I use mounting I first failed to get the parameters, I usedgetRequest.getParameter(action); but I found out that I now can 
get the parameters by calling 
getRequest.getParameterMap().get(action); (where action is my parameter name).Evert2006/4/6, Igor Vaynberg 

[EMAIL PROTECTED]:

see mountPackage in webapplication and nice url example for details.your urls will look something like this:/context/mount/Index/context/adminmount/Index


-Igor
On 4/6/06, Potje rode kool [EMAIL PROTECTED] wrote:



I created a new project with a TabbedPanel and it worked, so that works now.I wanted to use the new mount stuff but failed to get it working, I want to mount packages.I have packages like:
com.mypagescom.mypages.admin
etc.My start page is 'com.mypages.Index' and my admin page is 'com.mypages.admin.Index'.How do I mount the admin package and how should my link look like?Evert




2006/4/4, Igor Vaynberg [EMAIL PROTECTED]:




wicket:link has always worked like this and we did not intend to change it in 1.2. wicket:link is a convinience, if it doesnt fit your usecase use regular link components or subclass WicketLinkTagHandler and implement any behavior you want.
i tested tabbed panels here and they work fine. if you want, create a quickstart project that reproduces the error and attach it to the list, i will take a look.
-Igor
On 4/4/06, Potje rode kool [EMAIL PROTECTED] wrote:





Just updated to wicket 1.2 beta 3 but I still have link problems all over the place.If I use wicket:link the links work only correctly if the pages where they point to are in the same package.
I also got problems with working with tabs (using the TabbedPanel from wicket extensions), if I put links on a panel on a tab the
tabs don't work anymore I can can't switch to another tab, even got that with plain old html links.Does anyone has the same problems or does anyone knows how to solve them?I would like to hear that, for the most part I like wicket but these link problems are driving me a bit crazy.
Thanks in advance.Evert















Re: [Wicket-user] links problems again

2006-04-07 Thread Igor Vaynberg
yeah, use the MyPage { public MyPage(PageParameters params) {...}} constructor and they should be available.-IgorOn 4/7/06, Johan Compagner
 [EMAIL PROTECTED] wrote:
why are you calling that on the request?you should get those in youre constructor (the PageParameters object)johan
On 4/7/06, Potje rode kool
 [EMAIL PROTECTED] wrote:

Ok thanks Igor, got the mounting working.When I use mounting I first failed to get the parameters, I usedgetRequest.getParameter(action); but I found out that I now can 

get the parameters by calling 
getRequest.getParameterMap().get(action); (where action is my parameter name).Evert2006/4/6, Igor Vaynberg 


[EMAIL PROTECTED]:

see mountPackage in webapplication and nice url example for details.your urls will look something like this:/context/mount/Index/context/adminmount/Index



-Igor
On 4/6/06, Potje rode kool [EMAIL PROTECTED] wrote:




I created a new project with a TabbedPanel and it worked, so that works now.I wanted to use the new mount stuff but failed to get it working, I want to mount packages.I have packages like:
com.mypagescom.mypages.admin
etc.My start page is 'com.mypages.Index' and my admin page is 'com.mypages.admin.Index'.How do I mount the admin package and how should my link look like?Evert





2006/4/4, Igor Vaynberg [EMAIL PROTECTED]:





wicket:link has always worked like this and we did not intend to change it in 1.2. wicket:link is a convinience, if it doesnt fit your usecase use regular link components or subclass WicketLinkTagHandler and implement any behavior you want.
i tested tabbed panels here and they work fine. if you want, create a quickstart project that reproduces the error and attach it to the list, i will take a look.
-Igor
On 4/4/06, Potje rode kool [EMAIL PROTECTED] wrote:






Just updated to wicket 1.2 beta 3 but I still have link problems all over the place.If I use wicket:link the links work only correctly if the pages where they point to are in the same package.
I also got problems with working with tabs (using the TabbedPanel from wicket extensions), if I put links on a panel on a tab the
tabs don't work anymore I can can't switch to another tab, even got that with plain old html links.Does anyone has the same problems or does anyone knows how to solve them?I would like to hear that, for the most part I like wicket but these link problems are driving me a bit crazy.
Thanks in advance.Evert

















Re: [Wicket-user] links problems again

2006-04-06 Thread Potje rode kool
I created a new project with a TabbedPanel and it worked, so that works now.I wanted to use the new mount stuff but failed to get it working, I want to mount packages.I have packages like:com.mypagescom.mypages.admin
etc.My start page is 'com.mypages.Index' and my admin page is 'com.mypages.admin.Index'.How do I mount the admin package and how should my link look like?Evert
2006/4/4, Igor Vaynberg [EMAIL PROTECTED]:
wicket:link has always worked like this and we did not intend to change it in 1.2. wicket:link is a convinience, if it doesnt fit your usecase use regular link components or subclass WicketLinkTagHandler and implement any behavior you want.
i tested tabbed panels here and they work fine. if you want, create a quickstart project that reproduces the error and attach it to the list, i will take a look.
-Igor
On 4/4/06, Potje rode kool [EMAIL PROTECTED] wrote:

Just updated to wicket 1.2 beta 3 but I still have link problems all over the place.If I use wicket:link the links work only correctly if the pages where they point to are in the same package.
I also got problems with working with tabs (using the TabbedPanel from wicket extensions), if I put links on a panel on a tab the
tabs don't work anymore I can can't switch to another tab, even got that with plain old html links.Does anyone has the same problems or does anyone knows how to solve them?I would like to hear that, for the most part I like wicket but these link problems are driving me a bit crazy.
Thanks in advance.Evert








Re: [Wicket-user] links problems again

2006-04-06 Thread Igor Vaynberg
see mountPackage in webapplication and nice url example for details.your urls will look something like this:/context/mount/Index/context/adminmount/Index-Igor
On 4/6/06, Potje rode kool [EMAIL PROTECTED] wrote:
I created a new project with a TabbedPanel and it worked, so that works now.I wanted to use the new mount stuff but failed to get it working, I want to mount packages.I have packages like:
com.mypagescom.mypages.admin
etc.My start page is 'com.mypages.Index' and my admin page is 'com.mypages.admin.Index'.How do I mount the admin package and how should my link look like?Evert

2006/4/4, Igor Vaynberg [EMAIL PROTECTED]:

wicket:link has always worked like this and we did not intend to change it in 1.2. wicket:link is a convinience, if it doesnt fit your usecase use regular link components or subclass WicketLinkTagHandler and implement any behavior you want.
i tested tabbed panels here and they work fine. if you want, create a quickstart project that reproduces the error and attach it to the list, i will take a look.
-Igor
On 4/4/06, Potje rode kool [EMAIL PROTECTED] wrote:


Just updated to wicket 1.2 beta 3 but I still have link problems all over the place.If I use wicket:link the links work only correctly if the pages where they point to are in the same package.
I also got problems with working with tabs (using the TabbedPanel from wicket extensions), if I put links on a panel on a tab the
tabs don't work anymore I can can't switch to another tab, even got that with plain old html links.Does anyone has the same problems or does anyone knows how to solve them?I would like to hear that, for the most part I like wicket but these link problems are driving me a bit crazy.
Thanks in advance.Evert










[Wicket-user] links problems again

2006-04-04 Thread Potje rode kool
Just updated to wicket 1.2 beta 3 but I still have link problems all over the place.If I use wicket:link the links work only correctly if the pages where they point to are in the same package.I also got problems with working with tabs (using the TabbedPanel from wicket extensions), if I put links on a panel on a tab the
tabs don't work anymore I can can't switch to another tab, even got that with plain old html links.Does anyone has the same problems or does anyone knows how to solve them?I would like to hear that, for the most part I like wicket but these link problems are driving me a bit crazy.
Thanks in advance.Evert




Re: [Wicket-user] links problems again

2006-04-04 Thread Igor Vaynberg
wicket:link has always worked like this and we did not intend to change it in 1.2. wicket:link is a convinience, if it doesnt fit your usecase use regular link components or subclass WicketLinkTagHandler and implement any behavior you want.
i tested tabbed panels here and they work fine. if you want, create a quickstart project that reproduces the error and attach it to the list, i will take a look.-Igor
On 4/4/06, Potje rode kool [EMAIL PROTECTED] wrote:
Just updated to wicket 1.2 beta 3 but I still have link problems all over the place.If I use wicket:link the links work only correctly if the pages where they point to are in the same package.
I also got problems with working with tabs (using the TabbedPanel from wicket extensions), if I put links on a panel on a tab the
tabs don't work anymore I can can't switch to another tab, even got that with plain old html links.Does anyone has the same problems or does anyone knows how to solve them?I would like to hear that, for the most part I like wicket but these link problems are driving me a bit crazy.
Thanks in advance.Evert