Re:

2012-05-19 Thread TG
Layout.tml's head tag contain a lot of html codes and css style sheets, which need to be populated in LayoutWithSegments.tml. For some reason, they were filtered by this forum. Also LayoutWithSegments.tml - http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"; xmlns="http://www.w3.org/1999/xhtm

Re:

2012-05-19 Thread TG
Not sure if it helps, but here you - Layout.tml http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"; xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> ... Layout.java packag

Re: tapestry-security and CAS integration?

2012-05-19 Thread Kalle Korhonen
There's an issue open for it (http://jira.codehaus.org/browse/TYNAMO-150), I'll put it in for the next version. Kalle On Fri, May 18, 2012 at 10:13 AM, Chris Cureau wrote: > Since Apache Shiro 1.2.0, there is a plugin that allows Schiro to > communicate directly with CAS SSO server.  Has this f

Re:

2012-05-19 Thread Taha Siddiqi
and your code is ??? On May 19, 2012, at 7:18 PM, TG wrote: > If I follow the example using parameter, I got Caused by: > java.lang.RuntimeException: Block parameters are only allowed directly > within component elements. > > -- > View this message in context: > http://tapestry.1045711.n5.nabb

Re:

2012-05-19 Thread TG
If I follow the example using parameter, I got Caused by: java.lang.RuntimeException: Block parameters are only allowed directly within component elements. -- View this message in context: http://tapestry.1045711.n5.nabble.com/t-head-tp5712176p5712324.html Sent from the Tapestry - User mailing li

Re:

2012-05-19 Thread TG
I would like to achieve the same thing like the one mentioned in http://blog.progs.be/45/using-a-tapestry5-layout-with-several-content-blocks. Except that LayoutWithSegments is the one that makes use of Layout. So how with the codes that are provided, where do they go? Thanks. -- View this messa

Re: Tapestry 5.2.5 Select component's multiple property

2012-05-19 Thread Taha Siddiqi
You have not mentioned what error you are getting ? Also, what is myList ? It is never initialized regards Taha On May 19, 2012, at 12:49 PM, Ab wrote: > myList

Re:

2012-05-19 Thread Thiago H. de Paula Figueiredo
On Sat, 19 May 2012 01:34:43 -0300, TG wrote: I got - Could not convert 'headBlock' into a component parameter binding: Exception generating conduit for expression 'headBlock': Class app.components.LayoutWithSegments does not contain a property (or public field) named 'headBlock'. There ar

Re: Tapestry 5.2.5 Select component's multiple property

2012-05-19 Thread Ab
Here's the java code: package edu.asu.wit.eadvisor.ds.t5.pages.t5.admin; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.LinkedList; import java.util.List; impor

Re: Charset problem of component event handler parameter

2012-05-19 Thread Rural Hunter
ah, I found the cause. it's because of the file encoding setting used in tomcat for working around TAP5-1741(https://issues.apache.org/jira/browse/TAP5-1741). So the parameter is actually decoded correctly but just output in log with malformation. Sorry for the trouble. ?? 2012/5/19 15:01, Ru

Re: Charset problem of component event handler parameter

2012-05-19 Thread Rural Hunter
anyone has any idea? ?? 2012/5/18 22:43, Rural Hunter : Very very strange. I tried to encode Chinese first in javascript then sent to the component event handler. Javascript: new Ajax.Request(spec.url, { method: 'post',