Re: Is there any way to extend ClientProperties
Does it make any sense? On Tue, Nov 22, 2016 at 10:25 AM, Maxim Solodovnik wrote: > And maybe protocol+context (or window.location.href) :) > mod_proxy, mod_rewrite can change the URL a lot :) > > On Tue, Nov 22, 2016 at 10:18 AM, Maxim Solodovnik > wrote: > >> Hello All, >> >> I wonder is there any way to extend gathered org.apache.wicket.pro >> tocol.http.ClientProperties? >> I would like to have port in addition to hostname >> Or maybe I can provide PR to wicket so it would have this info by default? >> >> WDYT? >> >> -- >> WBR >> Maxim aka solomax >> > > > > -- > WBR > Maxim aka solomax > -- WBR Maxim aka solomax
Kendo UI AjaxtreeView testing for rendered nodes
Hi. I'd like to unit-test if and which tree elements have rendered. How could I do that? It seems the rendered HTML only has the element of the tree view. Manfred -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Kendo-UI-AjaxtreeView-testing-for-rendered-nodes-tp4676242.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to solve: Application and Wicket-select2 both use PageParameter 'q'.
Thanks, the issue is on its way! On Tue, Nov 22, 2016 at 9:33 AM, Maxim Solodovnik wrote: > Will try to add setting tonight and will ask you to test > Please create issue here [1] so we can track the progress :) > > [1] https://github.com/wicketstuff/core/issues > > On Tue, Nov 22, 2016 at 3:31 PM, Rob Audenaerde > wrote: > > > Additional setting would be great. I use wicket-select2 in a lot of > > different places, so mounting all kinds of resources does not seem very > > appealing. (or maybe I misunderstand how it would work stateless?) > > > > I took a look at the AbstractSelect2Choice and it seems not too hard to > > migrate to a setting. > > > > Thanks for looking into this! > > > > -Rob > > > > On Tue, Nov 22, 2016 at 9:26 AM, Maxim Solodovnik > > wrote: > > > > > Static mount would work, additional setting might help if it's not an > > > option :) > > > > > > On Tue, Nov 22, 2016 at 3:24 PM, Pi P314 wrote: > > > > > > > https://github.com/wicketstuff/core/blob/master/ > > select2-parent/select2- > > > > examples/src/main/java/org/wicketstuff/select2/ > > > WicketApplication.java#L29 > > > > https://github.com/wicketstuff/core/blob/master/ > > select2-parent/select2- > > > > examples/src/main/java/org/wicketstuff/select2/HomePage.java#L158 > > > > > > > > On Tue, Nov 22, 2016 at 9:19 AM, Pi P314 > wrote: > > > > > > > > > you can also use selected to in stateless mode > > > > > > > > > > 1- Mount a resource > > > > > 2- Point you select 2 to that resource. > > > > > > > > > > On Tue, Nov 22, 2016 at 9:16 AM, Rob Audenaerde < > > > > rob.audenae...@gmail.com> > > > > > wrote: > > > > > > > > > >> (question is also on StackOverflow: > > > > >> http://stackoverflow.com/questions/40736742/wicket-and-wicke > > > > >> t-select2-both-use-pageparameter-q-how-to-solve > > > > >> ) > > > > >> > > > > >> I have a set of PageParameters for my page, one is q (for query). > > This > > > > >> allows for nice URLs like: > > > > >> > > > > >> http://myapplication/search?q=myquery. > > > > >> > > > > >> But when I have a wicket-select2 component on my page, it > > initializes > > > > the > > > > >> query for the select2 with the same value of the PageParameter q. > > > > >> > > > > >> This causes the select2 to return an empty list of options, while > > the > > > > user > > > > >> has not even select anything yet. > > > > >> > > > > >> I know I can change the name of my PageParameters (unfortunately, > > some > > > > >> clients will have to change urls). Or I can override the methods > in > > > > >> select2 > > > > >> that use the q parameter. > > > > >> > > > > >> I wondered if there is a better solution? > > > > >> > > > > >> Thanks! > > > > >> > > > > >> -Rob > > > > >> > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > Regards, > > > > > > > > > > Pi Cuda > > > > > Web Development with Java/Scala > > > > > Wicket Consultant > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > Regards, > > > > > > > > Pi Cuda > > > > Web Development with Java/Scala > > > > Wicket Consultant > > > > > > > > > > > > > > > > -- > > > WBR > > > Maxim aka solomax > > > > > > > > > -- > WBR > Maxim aka solomax >
Re: How to solve: Application and Wicket-select2 both use PageParameter 'q'.
Will try to add setting tonight and will ask you to test Please create issue here [1] so we can track the progress :) [1] https://github.com/wicketstuff/core/issues On Tue, Nov 22, 2016 at 3:31 PM, Rob Audenaerde wrote: > Additional setting would be great. I use wicket-select2 in a lot of > different places, so mounting all kinds of resources does not seem very > appealing. (or maybe I misunderstand how it would work stateless?) > > I took a look at the AbstractSelect2Choice and it seems not too hard to > migrate to a setting. > > Thanks for looking into this! > > -Rob > > On Tue, Nov 22, 2016 at 9:26 AM, Maxim Solodovnik > wrote: > > > Static mount would work, additional setting might help if it's not an > > option :) > > > > On Tue, Nov 22, 2016 at 3:24 PM, Pi P314 wrote: > > > > > https://github.com/wicketstuff/core/blob/master/ > select2-parent/select2- > > > examples/src/main/java/org/wicketstuff/select2/ > > WicketApplication.java#L29 > > > https://github.com/wicketstuff/core/blob/master/ > select2-parent/select2- > > > examples/src/main/java/org/wicketstuff/select2/HomePage.java#L158 > > > > > > On Tue, Nov 22, 2016 at 9:19 AM, Pi P314 wrote: > > > > > > > you can also use selected to in stateless mode > > > > > > > > 1- Mount a resource > > > > 2- Point you select 2 to that resource. > > > > > > > > On Tue, Nov 22, 2016 at 9:16 AM, Rob Audenaerde < > > > rob.audenae...@gmail.com> > > > > wrote: > > > > > > > >> (question is also on StackOverflow: > > > >> http://stackoverflow.com/questions/40736742/wicket-and-wicke > > > >> t-select2-both-use-pageparameter-q-how-to-solve > > > >> ) > > > >> > > > >> I have a set of PageParameters for my page, one is q (for query). > This > > > >> allows for nice URLs like: > > > >> > > > >> http://myapplication/search?q=myquery. > > > >> > > > >> But when I have a wicket-select2 component on my page, it > initializes > > > the > > > >> query for the select2 with the same value of the PageParameter q. > > > >> > > > >> This causes the select2 to return an empty list of options, while > the > > > user > > > >> has not even select anything yet. > > > >> > > > >> I know I can change the name of my PageParameters (unfortunately, > some > > > >> clients will have to change urls). Or I can override the methods in > > > >> select2 > > > >> that use the q parameter. > > > >> > > > >> I wondered if there is a better solution? > > > >> > > > >> Thanks! > > > >> > > > >> -Rob > > > >> > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > Regards, > > > > > > > > Pi Cuda > > > > Web Development with Java/Scala > > > > Wicket Consultant > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > Regards, > > > > > > Pi Cuda > > > Web Development with Java/Scala > > > Wicket Consultant > > > > > > > > > > > -- > > WBR > > Maxim aka solomax > > > -- WBR Maxim aka solomax
Re: How to solve: Application and Wicket-select2 both use PageParameter 'q'.
Additional setting would be great. I use wicket-select2 in a lot of different places, so mounting all kinds of resources does not seem very appealing. (or maybe I misunderstand how it would work stateless?) I took a look at the AbstractSelect2Choice and it seems not too hard to migrate to a setting. Thanks for looking into this! -Rob On Tue, Nov 22, 2016 at 9:26 AM, Maxim Solodovnik wrote: > Static mount would work, additional setting might help if it's not an > option :) > > On Tue, Nov 22, 2016 at 3:24 PM, Pi P314 wrote: > > > https://github.com/wicketstuff/core/blob/master/select2-parent/select2- > > examples/src/main/java/org/wicketstuff/select2/ > WicketApplication.java#L29 > > https://github.com/wicketstuff/core/blob/master/select2-parent/select2- > > examples/src/main/java/org/wicketstuff/select2/HomePage.java#L158 > > > > On Tue, Nov 22, 2016 at 9:19 AM, Pi P314 wrote: > > > > > you can also use selected to in stateless mode > > > > > > 1- Mount a resource > > > 2- Point you select 2 to that resource. > > > > > > On Tue, Nov 22, 2016 at 9:16 AM, Rob Audenaerde < > > rob.audenae...@gmail.com> > > > wrote: > > > > > >> (question is also on StackOverflow: > > >> http://stackoverflow.com/questions/40736742/wicket-and-wicke > > >> t-select2-both-use-pageparameter-q-how-to-solve > > >> ) > > >> > > >> I have a set of PageParameters for my page, one is q (for query). This > > >> allows for nice URLs like: > > >> > > >> http://myapplication/search?q=myquery. > > >> > > >> But when I have a wicket-select2 component on my page, it initializes > > the > > >> query for the select2 with the same value of the PageParameter q. > > >> > > >> This causes the select2 to return an empty list of options, while the > > user > > >> has not even select anything yet. > > >> > > >> I know I can change the name of my PageParameters (unfortunately, some > > >> clients will have to change urls). Or I can override the methods in > > >> select2 > > >> that use the q parameter. > > >> > > >> I wondered if there is a better solution? > > >> > > >> Thanks! > > >> > > >> -Rob > > >> > > > > > > > > > > > > -- > > > > > > > > > Regards, > > > > > > Pi Cuda > > > Web Development with Java/Scala > > > Wicket Consultant > > > > > > > > > > > > > > > -- > > > > > > Regards, > > > > Pi Cuda > > Web Development with Java/Scala > > Wicket Consultant > > > > > > -- > WBR > Maxim aka solomax >
Re: How to solve: Application and Wicket-select2 both use PageParameter 'q'.
Static mount would work, additional setting might help if it's not an option :) On Tue, Nov 22, 2016 at 3:24 PM, Pi P314 wrote: > https://github.com/wicketstuff/core/blob/master/select2-parent/select2- > examples/src/main/java/org/wicketstuff/select2/WicketApplication.java#L29 > https://github.com/wicketstuff/core/blob/master/select2-parent/select2- > examples/src/main/java/org/wicketstuff/select2/HomePage.java#L158 > > On Tue, Nov 22, 2016 at 9:19 AM, Pi P314 wrote: > > > you can also use selected to in stateless mode > > > > 1- Mount a resource > > 2- Point you select 2 to that resource. > > > > On Tue, Nov 22, 2016 at 9:16 AM, Rob Audenaerde < > rob.audenae...@gmail.com> > > wrote: > > > >> (question is also on StackOverflow: > >> http://stackoverflow.com/questions/40736742/wicket-and-wicke > >> t-select2-both-use-pageparameter-q-how-to-solve > >> ) > >> > >> I have a set of PageParameters for my page, one is q (for query). This > >> allows for nice URLs like: > >> > >> http://myapplication/search?q=myquery. > >> > >> But when I have a wicket-select2 component on my page, it initializes > the > >> query for the select2 with the same value of the PageParameter q. > >> > >> This causes the select2 to return an empty list of options, while the > user > >> has not even select anything yet. > >> > >> I know I can change the name of my PageParameters (unfortunately, some > >> clients will have to change urls). Or I can override the methods in > >> select2 > >> that use the q parameter. > >> > >> I wondered if there is a better solution? > >> > >> Thanks! > >> > >> -Rob > >> > > > > > > > > -- > > > > > > Regards, > > > > Pi Cuda > > Web Development with Java/Scala > > Wicket Consultant > > > > > > > > > -- > > > Regards, > > Pi Cuda > Web Development with Java/Scala > Wicket Consultant > -- WBR Maxim aka solomax
Re: How to solve: Application and Wicket-select2 both use PageParameter 'q'.
Never noticed that :( I can try to make this parameter configurable via ApplicationSettings [1] I believe this should solve the problem WDYT? [1] https://github.com/wicketstuff/core/blob/master/select2-parent/select2/src/main/java/org/wicketstuff/select2/ApplicationSettings.java On Tue, Nov 22, 2016 at 3:19 PM, Pi P314 wrote: > you can also use selected to in stateless mode > > 1- Mount a resource > 2- Point you select 2 to that resource. > > On Tue, Nov 22, 2016 at 9:16 AM, Rob Audenaerde > wrote: > > > (question is also on StackOverflow: > > http://stackoverflow.com/questions/40736742/wicket-and- > > wicket-select2-both-use-pageparameter-q-how-to-solve > > ) > > > > I have a set of PageParameters for my page, one is q (for query). This > > allows for nice URLs like: > > > > http://myapplication/search?q=myquery. > > > > But when I have a wicket-select2 component on my page, it initializes the > > query for the select2 with the same value of the PageParameter q. > > > > This causes the select2 to return an empty list of options, while the > user > > has not even select anything yet. > > > > I know I can change the name of my PageParameters (unfortunately, some > > clients will have to change urls). Or I can override the methods in > select2 > > that use the q parameter. > > > > I wondered if there is a better solution? > > > > Thanks! > > > > -Rob > > > > > > -- > > > Regards, > > Pi Cuda > Web Development with Java/Scala > Wicket Consultant > -- WBR Maxim aka solomax
Re: How to solve: Application and Wicket-select2 both use PageParameter 'q'.
https://github.com/wicketstuff/core/blob/master/select2-parent/select2-examples/src/main/java/org/wicketstuff/select2/WicketApplication.java#L29 https://github.com/wicketstuff/core/blob/master/select2-parent/select2-examples/src/main/java/org/wicketstuff/select2/HomePage.java#L158 On Tue, Nov 22, 2016 at 9:19 AM, Pi P314 wrote: > you can also use selected to in stateless mode > > 1- Mount a resource > 2- Point you select 2 to that resource. > > On Tue, Nov 22, 2016 at 9:16 AM, Rob Audenaerde > wrote: > >> (question is also on StackOverflow: >> http://stackoverflow.com/questions/40736742/wicket-and-wicke >> t-select2-both-use-pageparameter-q-how-to-solve >> ) >> >> I have a set of PageParameters for my page, one is q (for query). This >> allows for nice URLs like: >> >> http://myapplication/search?q=myquery. >> >> But when I have a wicket-select2 component on my page, it initializes the >> query for the select2 with the same value of the PageParameter q. >> >> This causes the select2 to return an empty list of options, while the user >> has not even select anything yet. >> >> I know I can change the name of my PageParameters (unfortunately, some >> clients will have to change urls). Or I can override the methods in >> select2 >> that use the q parameter. >> >> I wondered if there is a better solution? >> >> Thanks! >> >> -Rob >> > > > > -- > > > Regards, > > Pi Cuda > Web Development with Java/Scala > Wicket Consultant > > > -- Regards, Pi Cuda Web Development with Java/Scala Wicket Consultant
Re: How to solve: Application and Wicket-select2 both use PageParameter 'q'.
you can also use selected to in stateless mode 1- Mount a resource 2- Point you select 2 to that resource. On Tue, Nov 22, 2016 at 9:16 AM, Rob Audenaerde wrote: > (question is also on StackOverflow: > http://stackoverflow.com/questions/40736742/wicket-and- > wicket-select2-both-use-pageparameter-q-how-to-solve > ) > > I have a set of PageParameters for my page, one is q (for query). This > allows for nice URLs like: > > http://myapplication/search?q=myquery. > > But when I have a wicket-select2 component on my page, it initializes the > query for the select2 with the same value of the PageParameter q. > > This causes the select2 to return an empty list of options, while the user > has not even select anything yet. > > I know I can change the name of my PageParameters (unfortunately, some > clients will have to change urls). Or I can override the methods in select2 > that use the q parameter. > > I wondered if there is a better solution? > > Thanks! > > -Rob > -- Regards, Pi Cuda Web Development with Java/Scala Wicket Consultant
How to solve: Application and Wicket-select2 both use PageParameter 'q'.
(question is also on StackOverflow: http://stackoverflow.com/questions/40736742/wicket-and-wicket-select2-both-use-pageparameter-q-how-to-solve ) I have a set of PageParameters for my page, one is q (for query). This allows for nice URLs like: http://myapplication/search?q=myquery. But when I have a wicket-select2 component on my page, it initializes the query for the select2 with the same value of the PageParameter q. This causes the select2 to return an empty list of options, while the user has not even select anything yet. I know I can change the name of my PageParameters (unfortunately, some clients will have to change urls). Or I can override the methods in select2 that use the q parameter. I wondered if there is a better solution? Thanks! -Rob