Re: shiro UsernamePasswordToken "RememberMe" problems

2014-03-10 Thread Kalle Korhonen
Perhaps there's no reason to wait for a fix in Shiro. I could just implement this as a new default CookieRememberMeManager in tapestry-security. Dusko, you mind if I use your SimplePrincipalSerializer? Kalle On Thu, Mar 6, 2014 at 3:21 AM, Dusko Jovanovski wrote: > Thanks for pointing that out

Re: 5.4 tutorial/documentation for building jquery ajax request.

2014-03-10 Thread Thiago H de Paula Figueiredo
On Mon, 10 Mar 2014 17:10:23 -0300, George Christman wrote: AjaxDemo.js define(["jquery"], function($) { int = function(spec) { var title= $( "h2" ).attr("id", spec.clientId); $("body").append(title); //Action to update title however I do not know how to retu

Re: 5.4 tutorial/documentation for building jquery ajax request.

2014-03-10 Thread Lance Java
I'm not entirely sure what you're doing but this might help. http://tapestry-stitch.uklance.cloudbees.net/capturedemo As you can see, I render a block in an AJAX action and call alert(...). You could do anything you like with the rendered markup. Note: I hate rendering dom in javascript and alwa

Re: 5.4 tutorial/documentation for building jquery ajax request.

2014-03-10 Thread Dragan Sahpaski
On Mon, Mar 10, 2014 at 9:10 PM, George Christman wrote: > I'm trying to create a custom implementation of bootstrap/modal where I can > dynamically load the content via ajax while modal is open. My use case is > iterate through a series of warnings while clicking the submit action. I'd > like to

5.4 tutorial/documentation for building jquery ajax request.

2014-03-10 Thread George Christman
I'm trying to create a custom implementation of bootstrap/modal where I can dynamically load the content via ajax while modal is open. My use case is iterate through a series of warnings while clicking the submit action. I'd like to dynamically inject those warnings via ajax, however I do not know

Re: Use javascriptsupport.require.with() directly with Jackson

2014-03-10 Thread George Christman
Thanks Thiago. On Mon, Mar 10, 2014 at 3:30 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 10 Mar 2014 12:27:29 -0300, George Christman < > gchrist...@cardaddy.com> wrote: > > I was thinking Jackson could build a json object ready to be passed to >> the clientside witho

Re: Use javascriptsupport.require.with() directly with Jackson

2014-03-10 Thread Thiago H de Paula Figueiredo
On Mon, 10 Mar 2014 12:27:29 -0300, George Christman wrote: I was thinking Jackson could build a json object ready to be passed to the clientside without having to first convert it to a string then pass it into my JSONObject. I'm trying to avoid the last two steps. In this case, I think

Re: Use javascriptsupport.require.with() directly with Jackson

2014-03-10 Thread George Christman
Yes serverside and Jackson will convert java objects to json and I'm trying to pass the generated json object to clientside. I'm building a custom implementation of modal and I'm looking to pass a JSONObject into javascriptsupport.require.with(); This works fine if I convert the generated json into