Rendering partial Components with Environmental support

2009-04-29 Thread Christian Senk
Hello, i have several custom components. Like in forms, some components require that they are nested another component. At the end it looks like: The communication between the components is like in forms with Environmental services realized. The "MapSupport.class" is pushed in @B

Re: Rendering partial Components with Environmental support

2009-04-29 Thread Christian Senk
Forgot to mention that i use the tapestry 5.1.0.3 :) Christian Senk schrieb: Hello, i have several custom components. Like in forms, some components require that they are nested another component. At the end it looks like: The communication between the components is like in

Re: t5: component events?

2009-05-17 Thread Christian Senk
I think the builtin Autocomplete mixin does something like that. ComponentEventCallback callback = new ComponentEventCallback() { public boolean handleResult(Object result) { List matches = coercer.coerce(result, List.class); matchesHolder.put(matc

Message catalog encoding

2009-05-18 Thread Christian Senk
Hi, it seems that i have a serious problem with the message catalog encoding. the default eclipse encoding creating new and saving *.properties files seems to be ISO-8859-1. Also if the encoding was UTF-8. eclipse change it to ISO-8859-1. i have two message catalogs "Login.properties" and "Login

[t5] Call Form.recordError() from a Service

2009-05-20 Thread Christian Senk
Hi, i like to redirect a request with insufficient privileges to a login page. In that case i wrote an AccessControlDispatcher like this one: http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess The login page contains a form component with an error section. I like to redirect to this pa

Re: [t5] Call Form.recordError() from a Service

2009-05-20 Thread Christian Senk
Thanks, that helped me alot. It works now similar to - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: T5 - Chenillekit Quartz & Services

2009-05-21 Thread Christian Senk
Hi, i recently used this module by chenillekit also. I think you use the JobDataMap in a wrong way. Instantiate the JobDetail and then use the JobDataMap from the jobDetail. jobDetail = new JobDetail("AccountRemoverJob", Scheduler.DEFAULT_GROUP, AccountRemoverJob.class); jobDetail.getJobDataM

Re: T5 - Chenillekit Quartz & Services

2009-05-21 Thread Christian Senk
hanks! jobDetail = new JobDetail("AccountRemoverJob", Scheduler.DEFAULT_GROUP, AccountRemoverJob.class); jobDetail.getJobDataMap().put("accountRemover", accountRemover); trigger.setJobDataMap(jobDetail.getJobDataMap()); did the trick. -Borut 2009/5/21 Ch

Re: Versioning assets

2009-05-25 Thread Christian Senk
Hi, you may increment your build number by one, and use the Application version symbol. configuration.add(SymbolConstants.APPLICATION_VERSION, "0.0.7"); the version is part of the path to the assets. Borut Bolčina schrieb: Hello, we have a T5.0.18 in production. Now I want to "deliver" cha

Re: Versioning assets

2009-05-25 Thread Christian Senk
: /app/assets/ctx/0.0.7/css/my.css you don't have to create folders for that. And don't bother about your templates "asset:context" do all this stuff automatically for you. Hope i explained it good enough ^.^ Borut Bolčina schrieb: Hello, 2009/5/25 Christian Senk H

Re: Versioning assets

2009-05-25 Thread Christian Senk
hrieb: Thanks Christian but I am using T 5.0.18 and SymbolConstants.APPLICATION_VERSION is not available. Upgrade to 5.1 is not an option as we are using tapestry-spring-security which is not yet compatible with 5.1 So, how to do it in 5.0.18? -Borut 2009/5/25 Christian Senk You put this line

Re: Authentification in Tapestry

2009-06-03 Thread Christian Senk
We are using a custom dispatcher called "AccessControlDispatcher". It is like the AccessDispatcher described in the howto-wiki, but in addition it checks for certain roles. This works through a SessionState object that implements an interface used by the dispatcher to determine if the SessionStat

Re: [T5.1] How to break the chain in MasterDispatcher

2009-06-04 Thread Christian Senk
Hi nille, i got the same problem. This part isn't good documented, look at this snippet from the TapestryModule: /** * The MasterDispatcher is a chain-of-command of individual Dispatchers, each handling (like a servlet) a particular * kind of incoming request. RootPath Renders the

Re: blog, wiki, chat, alert, poll components

2009-06-09 Thread Christian Senk
But with this technique you replace only the stylesheets, it is not possible in T5 to replace the generated HTML from skin to skin like in Wordpress because the TML and the Java-class are strongly wired together, or? This would be really great ^.^ Greetings, Christian Onno Scheffers schrieb: