Re: [ANNOUNCE] WicketStuff 8.0.0-M3 Released
Thanks a lot, Martin ! :) On Jan 5, 2017 23:22, "Martin Grigorov"wrote: WicketStuff core 8.0.0-M3 based on Apache Wicket 8.0.0-M3 is released and soon will be available at Maven Central! The changelog since 8.0.0-M2 is: Andrea Del Bene (21): Fix for pom version of wicketstuff-clipboard-js Fix for missing version for jetty-all Possible fix for the NPE we get in the unit test (stop is invoked on an unbinded behavior) Revert "Possible fix for the NPE we get in the unit test (stop is invoked on an unbinded behavior)" improve solution to check for unbinded behavior Fix for jetty 9 Code better formatted and variable name correction Introduced a common module for rest utils. Fix for minis project Added license header AttributesWrapper moved to module wicketstuff-rest-utils Added test case and tester class for rest Fix for junit dependency scope Removed stateless module as since ver 7.4.0 is integrated with Wicket. Reorganization of testing utilities added moduel wicketstuff-rest-lambda Fix problem with git repo Removed Serializabe functions/consumers. We don't need to worry about serialization WICKET-6287 Switch from json.org to open-json Merge pull request #566 from bitstorm/WICKET-6287 Revert "WICKET-6287 Switch from json.org to open-json" Maxim Solodovnik (5): Select2 version is updated to 4.0.3 Code clean-up: serialVersionUID is added Ajax query param is made configurable json:json library is replaced with openjson issue #470: dropdownParent setting is added Martin Tzvetanov Grigorov (4): [scala] Upgrade Scala to 2.12.0 [clipboard.js] Initial commit of integration with Clipboard.js [clipboard.js] Add support for setting the target by CSS selector. Release 8.0.0-M3 Konstantinos Karavitis (2): Merge pull request #561 from kkaravitis/master Update pom.xml Dan Simko (1): fixed event name - from 'onclick' to 'click' (#567) Miguel Payet (1): Fix the save action in an EditableGrid when there are more than 1 editable grids on the page (#558) Sven Meier (1): issue #534: destroy the factory kkaravitis (1): - Remove the action-scoped request attributes support usage and use render parameters for transferring the wicket redirect url from action phase to render phase - fix for issue #555, the url modification must be prevented if the url is a portlet one. - fix for issue #559, when an exception occurs during a resource request (not ajax), the portlet does not redirect to its InternalErrorPage page. The WicketStuff team
[ANNOUNCE] WicketStuff 8.0.0-M3 Released
WicketStuff core 8.0.0-M3 based on Apache Wicket 8.0.0-M3 is released and soon will be available at Maven Central! The changelog since 8.0.0-M2 is: Andrea Del Bene (21): Fix for pom version of wicketstuff-clipboard-js Fix for missing version for jetty-all Possible fix for the NPE we get in the unit test (stop is invoked on an unbinded behavior) Revert "Possible fix for the NPE we get in the unit test (stop is invoked on an unbinded behavior)" improve solution to check for unbinded behavior Fix for jetty 9 Code better formatted and variable name correction Introduced a common module for rest utils. Fix for minis project Added license header AttributesWrapper moved to module wicketstuff-rest-utils Added test case and tester class for rest Fix for junit dependency scope Removed stateless module as since ver 7.4.0 is integrated with Wicket. Reorganization of testing utilities added moduel wicketstuff-rest-lambda Fix problem with git repo Removed Serializabe functions/consumers. We don't need to worry about serialization WICKET-6287 Switch from json.org to open-json Merge pull request #566 from bitstorm/WICKET-6287 Revert "WICKET-6287 Switch from json.org to open-json" Maxim Solodovnik (5): Select2 version is updated to 4.0.3 Code clean-up: serialVersionUID is added Ajax query param is made configurable json:json library is replaced with openjson issue #470: dropdownParent setting is added Martin Tzvetanov Grigorov (4): [scala] Upgrade Scala to 2.12.0 [clipboard.js] Initial commit of integration with Clipboard.js [clipboard.js] Add support for setting the target by CSS selector. Release 8.0.0-M3 Konstantinos Karavitis (2): Merge pull request #561 from kkaravitis/master Update pom.xml Dan Simko (1): fixed event name - from 'onclick' to 'click' (#567) Miguel Payet (1): Fix the save action in an EditableGrid when there are more than 1 editable grids on the page (#558) Sven Meier (1): issue #534: destroy the factory kkaravitis (1): - Remove the action-scoped request attributes support usage and use render parameters for transferring the wicket redirect url from action phase to render phase - fix for issue #555, the url modification must be prevented if the url is a portlet one. - fix for issue #559, when an exception occurs during a resource request (not ajax), the portlet does not redirect to its InternalErrorPage page. The WicketStuff team
Re: unable to retrieve HTTPServletRequest parameters
Hi, The parameters should be available via PageParameters#get(String) But they should be available in the HttpServletRequest too. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Jan 5, 2017 at 2:43 PM, Kriswrote: > sven > > my constructor looks like this > > > public UploadFilePage(final PageParameters parameters) { > FeedbackPanel feedback = new FeedbackPanel("feedback"); > HttpServletRequest req = ((ServletWebRequest) > RequestCycle.get().getRequest()).getContainerRequest(); > > > - > K > -- > View this message in context: http://apache-wicket.1842946. > n4.nabble.com/unable-to-retrieve-HTTPServletRequest- > parameters-tp4676661p4676663.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: unable to retrieve HTTPServletRequest parameters
sven my constructor looks like this public UploadFilePage(final PageParameters parameters) { FeedbackPanel feedback = new FeedbackPanel("feedback"); HttpServletRequest req = ((ServletWebRequest) RequestCycle.get().getRequest()).getContainerRequest(); - K -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/unable-to-retrieve-HTTPServletRequest-parameters-tp4676661p4676663.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: unable to retrieve HTTPServletRequest parameters
Hi, > i am using ... in my home page from where in your page are you reading the request parameters? It seems you ain't doing it on the first request, but after a redirect only. Have fun Sven On 05.01.2017 14:31, K wrote: Hi I am trying to retrieve HTTPServletRequest parameters from a incoming request from an external application. i am using HttpServletRequest req = ((ServletWebRequest) RequestCycle.get().getRequest()).getContainerRequest(); in my home page, when i try to print the request parameters or getparameternames.size i get null and 0 respectively. i need the parameter values to retrieve the session and logged-in user information of the application that the request is coming from. can anyone point out what is to be done? Thanks in advance - K -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/unable-to-retrieve-HTTPServletRequest-parameters-tp4676661.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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
unable to retrieve HTTPServletRequest parameters
Hi I am trying to retrieve HTTPServletRequest parameters from a incoming request from an external application. i am using HttpServletRequest req = ((ServletWebRequest) RequestCycle.get().getRequest()).getContainerRequest(); in my home page, when i try to print the request parameters or getparameternames.size i get null and 0 respectively. i need the parameter values to retrieve the session and logged-in user information of the application that the request is coming from. can anyone point out what is to be done? Thanks in advance - K -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/unable-to-retrieve-HTTPServletRequest-parameters-tp4676661.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: Log tailer sample?
On 05/01/2017 13:28, Martin Grigorov wrote: On Thu, Jan 5, 2017 at 1:23 PM, Francesco Chicchiriccòwrote: On 03/01/2017 17:17, Francesco Chicchiriccò wrote: Hi all, is there any sample about building a log tailer with Wicket? I have found [1] [2] so far. FYI I went ahead and I am almost done with implementation: essentially, it is a ListView dinamically updated with data received via WebSocket. I have only an issue left at this point: when the ListView is updated, the scrollbar is moved to top, while I would like to leave it in the position it had before the refresh. Any idea? This is because you repaint/replace the whole ListView. It would be better if you just add the new item at the bottom. See http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/ Thanks, Martin. I am however not only adding new items at the bottom, but also potentially removing items from the top (the maximum number of log statements to keep is fixed, to avoid memory issues). I thought that jQuery's scroll lock could have been used in this case... Regards. [1] http://apache-wicket.1842946.n4.nabble.com/How-to-build-a-hudson-jenkins-like-live-log-viewer-td4090224.html [2] https://github.com/steveswinsburg/sakai-logviewer/blob/master/src/java/org/sakaiproject/logviewer/pages/View.java -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail http://home.apache.org/~ilgrosso/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Log tailer sample?
On Thu, Jan 5, 2017 at 1:23 PM, Francesco Chicchiriccòwrote: > On 03/01/2017 17:17, Francesco Chicchiriccò wrote: > >> Hi all, >> is there any sample about building a log tailer with Wicket? I have found >> [1] [2] so far. >> > > FYI I went ahead and I am almost done with implementation: essentially, it > is a ListView dinamically updated with data received via WebSocket. > > I have only an issue left at this point: when the ListView is updated, the > scrollbar is moved to top, while I would like to leave it in the position > it had before the refresh. > Any idea? > This is because you repaint/replace the whole ListView. It would be better if you just add the new item at the bottom. See http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/ > > TIA > > Regards. > > [1] http://apache-wicket.1842946.n4.nabble.com/How-to-build-a-hu >> dson-jenkins-like-live-log-viewer-td4090224.html >> [2] https://github.com/steveswinsburg/sakai-logviewer/blob/ >> master/src/java/org/sakaiproject/logviewer/pages/View.java >> > > -- > Francesco Chicchiriccò > > Tirasa - Open Source Excellence > http://www.tirasa.net/ > > Member at The Apache Software Foundation > Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail > http://home.apache.org/~ilgrosso/ > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: Log tailer sample?
On 03/01/2017 17:17, Francesco Chicchiriccò wrote: Hi all, is there any sample about building a log tailer with Wicket? I have found [1] [2] so far. FYI I went ahead and I am almost done with implementation: essentially, it is a ListView dinamically updated with data received via WebSocket. I have only an issue left at this point: when the ListView is updated, the scrollbar is moved to top, while I would like to leave it in the position it had before the refresh. Any idea? TIA Regards. [1] http://apache-wicket.1842946.n4.nabble.com/How-to-build-a-hudson-jenkins-like-live-log-viewer-td4090224.html [2] https://github.com/steveswinsburg/sakai-logviewer/blob/master/src/java/org/sakaiproject/logviewer/pages/View.java -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail http://home.apache.org/~ilgrosso/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org