Re: How to return multiple values with ajax select

2014-03-06 Thread George Christman
I'm assuming it hasn't been upgraded to run on 5.4 yet? :-( You have some nice components too. On Thu, Mar 6, 2014 at 5:53 PM, Lance Java wrote: > Yeah, it uses prototype's getValue() which works for all field types. > > There's a name clash to watch out for. Both select and onevent accept a > "

Re: How to return multiple values with ajax select

2014-03-06 Thread Lance Java
Yeah, it uses prototype's getValue() which works for all field types. There's a name clash to watch out for. Both select and onevent accept a "zone" parameter. From memory there's an option to qualify parameter names with the mixin name.

Re: Persist object fails

2014-03-06 Thread Cezary Biernacki
Tapestry uses Servlet API to persist data, so if they are not persisted, something wrong is with your Tomcat configuration. I would first check if JSESSIONID cookies are generated properly and they stay unchanged in a single session (or alternatively ';jsessionid=' is added to URLs). Then I would c

Re: How to return multiple values with ajax select

2014-03-06 Thread George Christman
Thanks lance, I won't get a chance to try it until tonight, but does it work with select menu's? On Thu, Mar 6, 2014 at 4:14 AM, Lance Java wrote: > Use my onevent mixin > http://tapestry-stitch.uklance.cloudbees.net/oneventdemo > > You can send as many clientside field values as you want in the

Re: Use cases for the "any" component

2014-03-06 Thread Thiago H de Paula Figueiredo
On Mon, 03 Mar 2014 04:18:31 -0300, Lance Java wrote: I've also extended "any" to make new components. I'm really not following you . . . -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br --

Re: Use cases for the "any" component

2014-03-06 Thread Thiago H de Paula Figueiredo
On Sun, 02 Mar 2014 19:42:29 -0300, Bob Harner wrote: Hi Tapestry users, Does anyone have any good use cases for the "any" component? I think there's only one: adding mixins to something that wasn't a component before. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consult

Re: Tapestry App Not booting right - dependency tree help

2014-03-06 Thread Thiago H de Paula Figueiredo
On Sun, 02 Mar 2014 15:30:23 -0300, nhhockeyplayer nashua wrote: What I find worse though is open source project committers that deliberately maintain broken build tree compilation Who? The Tapestry team? If not, go complain in the right place. [long off-topic ramble that should have neve

Re: shiro UsernamePasswordToken "RememberMe" problems

2014-03-06 Thread Lidija Dolinar
Cookie size is 2K. Works like a charm, thank you :). Regards, Lidija On Thu, Mar 6, 2014 at 12:21 PM, Dusko Jovanovski wrote: > Thanks for pointing that out, I wasn't finishing the GZIP stream properly, > already fixed in the updated gist. > https://gist.github.com/duskote/0f8cce8d1b0d1cc56844

Re: Use cases for the "any" component

2014-03-06 Thread Bob Harner
Thanks, Geoff. Very nice. On Mar 5, 2014 11:28 PM, "Geoff Callender" < geoff.callender.jumpst...@gmail.com> wrote: > Here's an Any div that is a container of things you can click on to > select, identified by having CSS class "selectable". JavaScript listens for > click from selectables in the con

Re: shiro UsernamePasswordToken "RememberMe" problems

2014-03-06 Thread Dusko Jovanovski
Thanks for pointing that out, I wasn't finishing the GZIP stream properly, already fixed in the updated gist. https://gist.github.com/duskote/0f8cce8d1b0d1cc56844 You could give it another try and see if it works for you. On Thu, Mar 6, 2014 at 11:36 AM, Lidija Dolinar wrote: > Dusko, thank you

Re: shiro UsernamePasswordToken "RememberMe" problems

2014-03-06 Thread Lidija Dolinar
Dusko, thank you for your reply. If I use your SimplePrincipalSerializer, the rememberMe cookie is indeed created and is very small: [11:31:39] DEBUG [org.apache.shiro.web.servlet.SimpleCookie]: Added HttpServletResponse Cookie [rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Wed, 05-Mar-2014 10

Re: shiro UsernamePasswordToken "RememberMe" problems

2014-03-06 Thread Dusko Jovanovski
Hello Lidija, could you try out this custom serializer and report back with the results? https://gist.github.com/duskote/0f8cce8d1b0d1cc56844 On Thu, Mar 6, 2014 at 10:48 AM, Lidija Dolinar wrote: > Ah, I see, you ment SimplePrincipalSerializer from the patch. > > It doesn't effect cookie size

Re: shiro UsernamePasswordToken "RememberMe" problems

2014-03-06 Thread Lidija Dolinar
Ah, I see, you ment SimplePrincipalSerializer from the patch. It doesn't effect cookie size much though - it is now 4.3K instead of 4.6K so it doesn't resolve our problem, cookie is still to big. Regards, Lidija On Thu, Mar 6, 2014 at 10:14 AM, Lidija Dolinar wrote: > By SimplePrincipalSeriali

Re: shiro UsernamePasswordToken "RememberMe" problems

2014-03-06 Thread Lidija Dolinar
By SimplePrincipalSerializer - did you mean this one that uses Kryo? http://grepcode.com/file/repo1.maven.org/maven2/org.jasig.cas/cas-server-integration-memcached/4.0.0-RC1/org/jasig/cas/ticket/registry/support/kryo/serial/SimplePrincipalSerializer.java Regards, Lidija On Wed, Mar 5, 2014 at 5

Re: How to return multiple values with ajax select

2014-03-06 Thread Lance Java
Use my onevent mixin http://tapestry-stitch.uklance.cloudbees.net/oneventdemo You can send as many clientside field values as you want in the serverside event. See the "group of fields" demo for an example.