wicket + JSON web tokens

2015-07-28 Thread Jason Novotny
Hi, Has anyone done any work with Wicket and JSON web tokens http://jwt.io/? I'm interested in getting away from server-side session management if possible. Thanks, Jason - To unsubscribe, e-mail:

Re: wicket creating tons of sessions

2015-07-26 Thread Jason Novotny
, Jul 26, 2015 at 6:16 AM, Jason Novotny jason.novo...@gmail.com wrote: Hi, In deploying my wicket 6.2 application I noticed sessions are getting created like crazy-- I'm using Tomcat and the manager application and after only a minute, there are over 6000 sessions(!) and oddly I only navigated

distributed session handling with redis

2015-07-26 Thread Jason Novotny
Hi, I googled and found a discussion on using redis to handle sessions, and someone also came up with a project https://github.com/baholladay/WicketRedisSession. Based on the thread http://mail-archives.apache.org/mod_mbox/wicket-dev/201502.mbox/%3c54e4cfee.80...@gmail.com%3E I wound up

wicket creating tons of sessions

2015-07-25 Thread Jason Novotny
Hi, In deploying my wicket 6.2 application I noticed sessions are getting created like crazy-- I'm using Tomcat and the manager application and after only a minute, there are over 6000 sessions(!) and oddly I only navigated to the page once(!). Any ideas on where I can debug this to

wicket-annotations and page mounting

2015-07-10 Thread Jason Novotny
Hi, I'm using wicket-annotations and I've added: newAnnotatedMountScanner().scanPackage(com.foo.web.pages).mount(this); in my Application class. My page classes all have: @MountPath(value =summary) However, I want to adjust the pages to not use query parameters like account=5 and use /

ajax events and manipulating DOM

2014-11-14 Thread Jason Novotny
Hi, I'm using jquery datatables which allows customization of table header by creating html in javascript via dom attribute which creates a div : $('#datatable').dataTable({ dom: 'topdropholderpostponebtnsholdeript', language: { info: _START_-_END_ of _TOTAL_,

Re: ajax events and manipulating DOM

2014-11-14 Thread Jason Novotny
Ok, to answer my own question, it was a jquery/javascript issue. Instead of removing dom, the approach that works is to use appendTo instead: $('.actionbuttons').appendTo('.btns'); Jason On 11/14/14, 6:13 PM, Jason Novotny wrote: Hi, I'm using jquery datatables which allows customization

wicket + jsessionid and 302 issues

2014-11-12 Thread Jason Novotny
Hi wicketeers, I was hoping to get rid of the jsessionid that appears in the browsewr bar when running my wicket app under Tomcat 7, and I added the following to web.xml: session-config session-timeout30/session-timeout tracking-modeCOOKIE/tracking-mode

Re: wicket + jsessionid and 302 issues

2014-11-12 Thread Jason Novotny
connectionTimeout=2 redirectPort=8443 / Just not sure how to config the web.xml or if my tomcat config needs changing. Thanks, Jason On 11/12/14, 1:40 PM, Jason Novotny wrote: Hi wicketeers, I was hoping to get rid of the jsessionid that appears in the browsewr

wicket6 + sso and redirects

2014-11-03 Thread Jason Novotny
Hi, I'm adding support to my application use SSO outbound from my webapp to an Identity provider (IP) to authenticate a user from my webapp to an external web application. I have SSO code and the steps involved on my page are: 1. send redirect to

Re: jquery DataTable + wicket Cannot bind a listener

2014-10-28 Thread Jason Novotny
On Mon, Oct 27, 2014 at 8:37 PM, Jason Novotny jason.novo...@gmail.com wrote: Hi Martin, Thanks for the help-- I've reached out to them, the js appears pretty complex http://cdn.datatables.net/1.10.3/js/jquery.dataTables.js They indicate that listeners need to be added according to: http

Re: jquery DataTable + wicket Cannot bind a listener

2014-10-27 Thread Jason Novotny
) to preserve the event bindings. Ask in their forums. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Sun, Oct 26, 2014 at 12:46 AM, Jason Novotny jason.novo...@gmail.com wrote: I've managed to figure out the cause of the problem but no solution. jquery datatables removes

Re: jquery DataTable + wicket Cannot bind a listener

2014-10-25 Thread Jason Novotny
and so the links are broken. Is there any good way to do this? Thanks, Jason On 10/24/14, 1:24 PM, Jason Novotny wrote: I should add I'm using Wicket 6.17. Thanks, Jason On 10/24/14, 10:47 AM, Jason Novotny wrote: Hi, I'm using latest jquery DataTable with a ListView and in wicket:head

jquery DataTable + wicket Cannot bind a listener

2014-10-24 Thread Jason Novotny
Hi, I'm using latest jquery DataTable with a ListView and in wicket:head of the page, I initiate the DataTable: $(function () { $('.datatable_executed').dataTable({ 'lengthChange': false, 'dom': 'topdoc-filterholdeript', language:

Re: jquery DataTable + wicket Cannot bind a listener

2014-10-24 Thread Jason Novotny
I should add I'm using Wicket 6.17. Thanks, Jason On 10/24/14, 10:47 AM, Jason Novotny wrote: Hi, I'm using latest jquery DataTable with a ListView and in wicket:head of the page, I initiate the DataTable: $(function () { $('.datatable_executed').dataTable

adding wicket generated link to javascript

2014-09-03 Thread Jason Novotny
Hi, My designer gave me code where HTML is created in javascript as part of a jquery dataTable: script $(document).ready(function() { $('#datatable').dataTable( { $('.clientinvoices .dropholder').html('div class=opener/div*button class=btn type=resetCancel

wicketAjaxGet and wicket 1.5 and StalePage exceptions

2011-11-10 Thread Jason Novotny
Hi, Recently converting an app from wicket 1.4.18 to wicket 1.5.2 and am now seeing stack traces like the following: org.apache.wicket.request.mapper.StalePageException at org.apache.wicket.request.handler.PageProvider.getStoredPage(PageProvider.java:302) at

mouse over table cells and dialog popup with ajaxlinks

2010-09-20 Thread Jason Novotny
Hi, I have a fairly complex use-case scenario: I want a dialog to popup when a hover event occurs within a table cell. The dialog will provide a couple of links (ideally AjaxLink) that should trigger a wicket ajax event. I can imagine maybe creating the dialogs all on the client so

Re: mouse over table cells and dialog popup with ajaxlinks

2010-09-18 Thread Jason Novotny
Thanks! My real concern isn't so much the creation of the dialog/tooltip but how do I create a wicket appropriate link in that dialog/tooltip in order to edit the item that is contained in the table cell? Thanks again, Jason On 9/18/10 8:08 AM, Ernesto Reinaldo Barreiro wrote:

mouse over table cells and dialog popup with ajaxlinks

2010-09-17 Thread Jason Novotny
Hi, I have a fairly complex use-case scenario: I want a dialog to popup when a hover event occurs within a table cell. The dialog will provide a couple of links (ideally AjaxLink) that should trigger a wicket ajax event. I can imagine maybe creating the dialogs all on the client so

how to override wicket DataTable.html

2009-11-25 Thread Jason Novotny
Hi, I want to add a css class to the tbody that is part of DataTable.html that looks like: wicket:panel thead wicket:id=topToolbars wicket:container wicket:id=toolbar/wicket:container /thead tfoot wicket:id=bottomToolbars wicket:container wicket:id=toolbar/wicket:container /tfoot

setting PageExpiredErrorPage not working

2009-11-15 Thread Jason Novotny
Hi, I'm using Wicket-1.4.3 and just trying to set the expired page to my home page in my Application class like so: IApplicationSettings settings = getApplicationSettings(); settings.setPageExpiredErrorPage(getHomePage()); In addition, I'm using the

autocomplete text field with dropdown style functionality

2009-11-05 Thread Jason Novotny
Hi, I'm using the autocomplete text field with great success. However, I'm looking for a way where a user can start to move down the list and once they are at the last choice, it will continue to pull new items back from the server. If this seems confusing let me explain with my use-case:

open modal window w/o ajax resolved?

2009-10-31 Thread Jason Novotny
Hi, I was trying to figure out how to display wicketmodal once a page is created-- this has been a popular issue http://issues.apache.org/jira/browse/WICKET-12 It seems just a week ago it has been marked resolved in wicket 1.4.4, can someone tell me what the fix is or what I need to do

Re: Wicket HTML before graphics design with CSS ...

2009-10-28 Thread Jason Novotny
My best experiences have been when the designer has full reign to do what they need on the CSS/HTML front on a blank canvas-- obviously after doing wireframes with something like OmniGraffle, Balsamiq or Fireworks. It helps if they add things like static error messages or a highlighted

Re: Wicket and JQuery

2009-10-28 Thread Jason Novotny
Bingo!! I've been hitting this wall, and pulling my hair out-- in fact I may ditch jQuery for this very reason since I can't find a suitable workaround :-( Martin Makundi wrote: ... and expect trouble with ajaxifying jquery plugins that skin html components. They will not work properly

jquery ui dialog and ajax component updating

2009-10-27 Thread Jason Novotny
Hi, I'm not sure if this is a jquery or wicket problem I'm having. I am using wicket ajax to update (replace) a panel component with a link AjaxLink link = new AjaxLink(link) { public void onClick(AjaxRequestTarget target) {

Re: How to write HTML directly

2009-10-26 Thread Jason Novotny
Try changing add(new Label(output,h1Hello/h1)).setEscapeModelStrings(false); to Label label = new Label(output,h1Hello/h1); label.setEscapeModelStrings(false); add(label); Jason NiJK wrote: igor.vaynberg wrote: Also, despite the setEscapeModelString(false), all the HTML is escaped.

using wicket ajax to add components containing javascript

2009-10-23 Thread Jason Novotny
Hi, I'm using AjaxLinks all over the place to refresh a container that contains custom components that themselves also use javascript. So what happens is when I do target.add(myCustomComponent) that the javascript is not really in the page, its in the rendered markup so it often just

usage of select and optgroup

2009-10-06 Thread Jason Novotny
Hi, I see there is a select component that offers optgroup element support-- does anyone have a simple example of usage HTML and Java? I couldn't find anything on wicketstuff or the wiki... Thanks! Jason - To

adding ajaxindicator to dropdownchoice

2009-09-24 Thread Jason Novotny
Hi, I have a DropDownChoice that triggers an ajax event to occur using the AjaxFormComponentUpdatingBehavior. Since the event takes a little while to complete, I'd like to display an ajaxindicator similar to an IndicatingAjaxButton next to it... how can this be done? Thanks, Jason

Re: adding ajaxindicator to dropdownchoice

2009-09-24 Thread Jason Novotny
getAjaxIndicatorMarkupId() { return indicatorAppender.getMarkupId(); } } Peter Thomas wrote: On Thu, Sep 24, 2009 at 11:40 AM, Jason Novotny jason.novo...@gmail.comwrote: Hi, I have a DropDownChoice that triggers an ajax event to occur using

why is getHomePage called multiple times?

2009-08-31 Thread Jason Novotny
Hi, My home page takes longer to load than expected and after placing a log line in getHomePage#MyWicketApplication I see that it's being called 3 times: Connected to server gethome page called me! gethome page called me! gethome page called me! Is there sort of a

Re: why is getHomePage called multiple times?

2009-08-31 Thread Jason Novotny
to the home page, it's instantiated only once. Cheers, Jason Nick Heudecker wrote: Any chance you have empty image src attributes in your home page? On Mon, Aug 31, 2009 at 9:19 PM, Jason Novotny jason.novo...@gmail.comwrote: Hi, My home page takes longer to load than expected and after

a DataTable header that allows selection of # items per page?

2009-08-23 Thread Jason Novotny
Hi, I've been a happy user of the AjaxNavigationToolbar to display which page is being displayed with arrows for paging, however is there a Toolbar that provides a dropdown to allow a user to select the number of items per page? Just asking before I attempt to write one ;-) Thanks,

ajax navigation toolbars not updating when rows are added to initially empty table

2009-08-22 Thread Jason Novotny
Hi, In a nutshell, I have a table that starts off empty and rows are added to it dynamically. So I have a DataTable inside of a WebMarkupContainer where setOutputMarkupId(true) and in the ajax callback I do a target.addComponent(markupContainer). So far so good and the table does update

simple example of RadioGroup

2009-04-23 Thread Jason Novotny
Hi, Somehow I seem to have problems if I want to do individual radio buttons in my HTML and it looks like I need to use RadioGroup. Here is the example HTML and I'm trying to figure out how to wicket-ize it... the model just needs to be a boolean since I have only two values. pinput

Re: how to not display RepeaterView

2009-04-22 Thread Jason Novotny
to notice the closing H3. Looking at RV code - it really doesn't seem to work for this. I'd suggest opening a JIRA and then adjusting your jquery script to expect the div. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Apr 21, 2009 at 7:35 PM, Jason Novotny novo...@gridsphere.orgwrote

how to not display RepeaterView

2009-04-21 Thread Jason Novotny
Hi, I have some markup I wish to repeat like so: ... h3a href=#span wicket:id=workoutCategoryBlah Blah Blah/span/a/h3 div wicket:id=activeGroup p ol wicket:id=workoutList class=workoutList li wicket:id=itemspan wicket:id=labelstrongWorkout

changing style of ajax link

2009-04-17 Thread Jason Novotny
Hi, I have code to create an ajax link and I want it to dynamically adjust its css class when clicked. This doesn't work since I don't think the onComponentTag is being called. final AjaxLink link = new AjaxLink(navlink) { @Override public void

how to display a BookmarkableLink so it can't be clicked

2009-03-30 Thread Jason Novotny
Hi, I have a case where if some condition is met I don't want a link to be clickable... but I want it to display the link text (so overriding isVisible() is not an option). Any ideas on the most elegant approach? Thanks, Jason

Re: using AutoCompleteTextField with wicket 1.4-rc1

2009-01-07 Thread Jason Novotny
I found my problem-- mootools javascript and wicket ajax components don't play nicely :-( Jason Novotny wrote: Hi, I saw the example of the autocomplete textfield at http://www.wicket-library.com/wicket-examples/ajax/autocomplete.1 and I'm trying to use it. Problem is it doesn't look

using AutoCompleteTextField with wicket 1.4-rc1

2009-01-06 Thread Jason Novotny
Hi, I saw the example of the autocomplete textfield at http://www.wicket-library.com/wicket-examples/ajax/autocomplete.1 and I'm trying to use it. Problem is it doesn't look like it responds at all when I start typing in the textfield. I see that the rendered input field does not have a