Re: Decoration passed by parameter. Possible?

2009-06-09 Thread DH
Well, a simple implementation here may be like: public class Decorate { @Parameter(required = true) private Object by; @Inject private ComponentResources componentResources; @Inject private Environment environment; Object beginRender() { environme

Re: t5 and fckeditor component

2009-06-09 Thread spaway
Hi Kalle yes - the chenille kit fckeditor worked perfectly well for me. cheers SPA 2009/6/9 Kalle Korhonen > I can verify that chenillekit's editor works great and is fully > customizable using FCKEditor api. > > Kalle > > > On Fri, Jun 5, 2009 at 1:23 AM, Otho wrote: > > This is outdated I w

Re: t5 and fckeditor component

2009-06-09 Thread Kalle Korhonen
I can verify that chenillekit's editor works great and is fully customizable using FCKEditor api. Kalle On Fri, Jun 5, 2009 at 1:23 AM, Otho wrote: > This is outdated I would assume. > > Try the chenillekit editor, which is also based on fckeditor. > > 2009/6/5 spaway > >> Dear all, >> >> I am

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

2009-06-09 Thread Thiago H. de Paula Figueiredo
On Tue, Jun 9, 2009 at 11:48 AM, Onno Scheffers wrote: > Well, that's all a skin is required to do... change the appearance, not the > behavior. Nice to know I'm not the only one using this definition of skin. :) > You just have to make sure you don't use any images in your HTML. Use CSS > for th

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

2009-06-09 Thread Onno Scheffers
> > 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? Well, that's all a skin is required to do... change the appearance, n

Re: LinkSubmit and confirm dialog

2009-06-09 Thread Jorge Saridis
maybe this can help you http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained On Tue, Jun 9, 2009 at 10:48 AM, Alfie Kirkpatrick wrote: > Hi, would like to write a mixin (or even a subclass) that allows me to > throw up a confirm div/message box when the user clicks the link before > s

LinkSubmit and confirm dialog

2009-06-09 Thread Alfie Kirkpatrick
Hi, would like to write a mixin (or even a subclass) that allows me to throw up a confirm div/message box when the user clicks the link before submitting the form. Basically an 'are you sure?' message. Is this possible? Looking at the LinkSubmit source it is not obvious to me how to do it...

Re: Obtain the data inside RequestGlobals question

2009-06-09 Thread Otho
I usually use Spring Security. No need to maintain a sessionstate object myself then.:) But if Neo Anderson really insists of writing his own auth system it could be handy indeed. 2009/6/9 Thiago H. de Paula Figueiredo > On Tue, Jun 9, 2009 at 8:51 AM, Otho wrote: > > Or did I get you totally wr

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

2009-06-09 Thread Thiago H. de Paula Figueiredo
On Tue, Jun 9, 2009 at 8:42 AM, Christian Senk wrote: > But with this technique you replace only the stylesheets, > it is not possible in T5 to replace the generated HTML from skin to skin IMHO, if you replace the generated HTML, it's not a skin, it's something else, as you're changing functionali

Re: Obtain the data inside RequestGlobals question

2009-06-09 Thread Thiago H. de Paula Figueiredo
On Tue, Jun 9, 2009 at 8:51 AM, Otho wrote: > Or did I get you totally wrong? You did totally right. Maybe you would also store user information in the session for later user. ;) -- Thiago - To unsubscribe, e-mail: users-unsubs

Re: Obtain the data inside RequestGlobals question

2009-06-09 Thread Thiago H. de Paula Figueiredo
On Tue, Jun 9, 2009 at 7:11 AM, Neo Anderson wrote: > What I want to do is to perform authentication function; but would like auth > logic to be separated from Page file. So the auth function can be reused > next time if other front end client needs it. > Then I searched on the tapestry website an

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

2009-06-09 Thread Luther Baker
If you want to allow that much control - you are likely relegated to JSPs. -Luther On Tue, Jun 9, 2009 at 6:42 AM, Christian Senk < senk.christ...@googlemail.com> wrote: > But with this technique you replace only the stylesheets, > it is not possible in T5 to replace the generated HTML from sk

Re: Obtain the data inside RequestGlobals question

2009-06-09 Thread Otho
That seems a very complicated way to do it. public interface AuthService() { public boolean authenticate(User user); } publlic class AuthServiceImpl() { public boolean authenticate (User user) { // authenticate and return true on success } } In your appmodule binder.bind(AuthService.

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:

Re: Obtain the data inside RequestGlobals question

2009-06-09 Thread Neo Anderson
What I want to do is to perform authentication function; but would like auth logic to be separated from Page file. So the auth function can be reused next time if other front end client needs it. Then I searched on the tapestry website and found that seemingly it is achieved by using Dispatcher

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

2009-06-09 Thread Otho
2009/6/9 Onno Scheffers > > I'm currently cleaning up the stylesheets throughout our application and > replacing whatever I can with styles from jQuery UI CSS Framework ( > http://jqueryui.com/docs/Theming/API). This means it gets much easier for > non-techies to create custom skins with the Them

Re: T5.1 Question regarding BeanModel and BeanModelSource

2009-06-09 Thread Michael Gerzabek
Ok, thank you Robert! Let me rephrase/ summarize that using the @DisplayForEdit approach you kindly offered. Step 1: Create a custom annotation @DisplayForEdit for properties without setter that should be displayed when editing is used in BeanEdit/Form. Step 2: Then a decorator would imple

Re: Submit Button on Form & Event Handler Actions

2009-06-09 Thread Clark H.Robert
Yeah,man ,this problem was caused because you hadn't add a event type for this button. THe default event type is "action" ,which means that your event handler could be equal to following: @OnEvent(value="action" component="submitButton") But things are a little different on Submit . The default e

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

2009-06-09 Thread Onno Scheffers
> Skinning means you drop in a skin to some folder and everything changes > automatically. With the layout component you have to manually adjust it. > Core support means, that there is a core mechanism to find skins > automatically and be able to change the looks at runtime for example with a > lis

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

2009-06-09 Thread Otho
> > Why can't we already do that with a Layout component, CSS and the > Delegate component? Skinning means you drop in a skin to some folder and everything changes automatically. With the layout component you have to manually adjust it. Core support means, that there is a core mechanism to find s