Re: [WARNING] T5 validation

2007-03-01 Thread Terry
That's what I thought, but when I tried it previously, I just got an exception: "Start does not contain an embedded component with id 'form'." If I look at the source of the page that is generated without the @Component, I see a form with id=form, so I don't know what is missing. My page design

[ANN] HandyTapestry Beta3, Intellij Idea Tapestry plugin

2007-03-01 Thread Alexei Orishchenko
HandyTapestry Beta 3 is available! If you develop a http://tapestry.apache.org Tapestry web application using http://www.jetbrains.com/idea IntelliJ Idea then try http://handyedit.com/handytapestry.html HandyTapestry plugin! The HandyTapestry plugin for IntelliJ Idea helps you to develop T

Alternative for Shell parameter parseWidgets

2007-03-01 Thread Diego
Is there a alternative way of using dojo Widgets in tapestry 4.1.1. If I don't set parseWidgets = "true", then the widgets aren't parsed. But the text of the Shell says: ". It is highly reccomended that you keep this at its default value of false." Regards, Diego

[T4] Adding body of a sub-component w/o using a template

2007-03-01 Thread Christian Haselbach
Hello, is it possible to add a body to a sub-component w/o using a template? I tried to inject the sub-component (which is specified in the jwc) into the class and than use addBody(). However, doing this during render adds a new body during each render. Doing it during finishLoad is not possible,

Tapestry 4.1.1 Hidden field truncates characters

2007-03-01 Thread Peter Stavrinides
Hi all, In my page I use a hidden field to store a name bound to a string property, this works fine most of the time, but I have an unusual situation sometimes when I submit, and the value is a sequence of say three characters ('ccc'), it gets truncated. Surely someone has had a similar situ

EventListener and DatePicker

2007-03-01 Thread Lionel Touati
Hi , I'm trying to put up a sample to use two date pickers, and an event listener. When I change the value of the first one, the second should be updated. The code is working, and in Firebug I see the proper html back from the server with the correct date, however the page is not updated in f

Re: [WARNING] T5 validation

2007-03-01 Thread Howard Lewis Ship
You didn't supply a component id, so Tapestry did; your id is "beaneditform" (matching the type of the component, converted to lower case). BeanEditForm is not a Form, but does own one; it includes a getForm() accessor. So: @Component private BeanEditForm _beanEditForm; // Case just doesn't ma

T4: render empty Ajax response

2007-03-01 Thread Kristian Marinkovic
hi, how do i render an empty ajax response? i'm sending an ajax request to synchronize the model with the view but i do not need any information back except an acknowledgement that my request was received and processed. g, kris -

Re: EventListener and DatePicker

2007-03-01 Thread Lionel Touati
In fact this issue was raised by the fact the DatePicker does not automatically updates after being changed during the AJAX response Here's a patch to the DatePicker.script to handle that L. Lionel Touati a écrit : Hi , I'm trying to put up a sample to use two date pickers, and an event l

Re: [WARNING] T5 validation

2007-03-01 Thread Terry
D'oh! That's obvious now I look at it. Like most things in Tapestry, once you have seen it once... :) Thanks. Howard Lewis Ship wrote: > > > BeanEditForm is not a Form, but does own one; it includes a getForm() > accessor. So: > > @Component > private BeanEditForm _beanEditForm; // Case ju

Tapestry Public Pages thr' Acegi

2007-03-01 Thread sunilmanu
Hello Everyone, We have implemented the Acegi security in our application. We have some public pages that can be accessed with and/or without Login into the application. Problem is when the User logs in and then tries to access these public pages, it takes too long to load up and when I see the

Re: Tapestry 4.1.1 Hidden field truncates characters

2007-03-01 Thread Julian Wood
Have you tried setting encode to false on the hidden field? J On 1-Mar-07, at 5:41 AM, Peter Stavrinides wrote: Hi all, In my page I use a hidden field to store a name bound to a string property, this works fine most of the time, but I have an unusual situation sometimes when I submit, a

Is Taepstry 4.1 ready to production?

2007-03-01 Thread Thiago H de Paula Figueiredo
It's site tells that 4.1 is active, but does it mean that it's final? Thanks in advance. -- hasta la vista!!! |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p thiago h. de paula figueiredo mestre em ciência da computação pelo dcc/ufmg ate' porque bobagem pouca e' bobage

Re: Alternative for Shell parameter parseWidgets

2007-03-01 Thread andyhot
http://tacos.sourceforge.net/tacos4.1/tacos-core/tapdoc/index.html http://tacos.sourceforge.net/tacos4.1/tacos-core/quick-start/downloading.html Take a look at the dojo:Widget component Diego wrote: Is there a alternative way of using dojo Widgets in tapestry 4.1.1. If I don't set parseWidget

Re: Request for T4.1 AJAX documentation enhancement

2007-03-01 Thread Thiago H de Paula Figueiredo
On Wed, 28 Feb 2007 16:33:16 -0300, Shing Hing Man <[EMAIL PROTECTED]> wrote: There is an example on @EventListener at the following. http://lombok.demon.co.uk/tapestry41Demo/app Thank you very much, Shing! Your example showed what I did wrong: my page didn't use @Shell nor @Body. Now it

Re: EventListener and DatePicker

2007-03-01 Thread andyhot
PLease, create a JIRA and post the patch (preferably just a diff) there Lionel Touati wrote: In fact this issue was raised by the fact the DatePicker does not automatically updates after being changed during the AJAX response Here's a patch to the DatePicker.script to handle that L. Lionel

Re: [T4] Adding body of a sub-component w/o using a template

2007-03-01 Thread andyhot
Can you give an example of what you're trying to accomplish ? Christian Haselbach wrote: Hello, is it possible to add a body to a sub-component w/o using a template? I tried to inject the sub-component (which is specified in the jwc) into the class and than use addBody(). However, doing this du

Dynamically calling service("home")

2007-03-01 Thread Mark Stang
Hi, I am using T3 and in my pageValidate method I want to call the home service. Does anyone have a quick way to do that? thanks, Mark Mark J. Stang Senior Engineer/Architect office: +1 303.468.2900 mobile: +1 303.507.2833 Ping Identity

Re: Latest Tapestry 5 Screencast

2007-03-01 Thread Massimo Lusetti
On 3/1/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: This one shows off the new Grid component. Amazing work Howard i got just one question. you said one approach to mark a field as hidden is to use the NonVisual annotation but i don't like the idea of annotating my domain data objects so i

Re: Is Taepstry 4.1 ready to production?

2007-03-01 Thread Norbert Sándor
As I know it's not final yet. But I think 4.1.1 is "stable enough". Regards: Norbi Thiago H de Paula Figueiredo írta: It's site tells that 4.1 is active, but does it mean that it's final? Thanks in advance. -- hasta la vista!!! |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p

Re: [T4] Adding body of a sub-component w/o using a template

2007-03-01 Thread Christian Haselbach
On Thu, Mar 01, 2007 at 08:56:58PM +0200, andyhot wrote: > Can you give an example of what you're trying to accomplish ? In this case I want to render customized LinkSubmit. For that I have LinkSubmit as subcomponent, but want to influence its body w/o using a template. With the addBody function I

Re: Latest Tapestry 5 Screencast

2007-03-01 Thread Howard Lewis Ship
For the moment, yes; you would obtain the bean model, and then remove the properties you don't want to display. I believe BeanEditForm and Grid should both provide parmeters to make this easier (i.e., excludeProperties="trackId,genre" ). D&J's BeanEditor component has excludeProperties and inclu

Re: [WARNING] Latest Tapestry 5 Screencast

2007-03-01 Thread Weisu
Great work Howard, just wonder where can I find the source code of this Screencast and all the other Screencasts. Thanks! Massimo Lusetti wrote: > > On 3/1/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > >> This one shows off the new Grid component. > > Amazing work Howard i got just one qu

Re: [WARNING] Latest Tapestry 5 Screencast

2007-03-01 Thread Ted Steen
Very nice Howard! I think you should end all your screen casts with a reference to the site where there is a simple and quick explanation on how to create and setup a tapestry-simple project. So that people easily could get started, when they just have been tempted with all the new and good stuff

T5 Injection of config properties

2007-03-01 Thread Terry
I've been through all the IoC docs a couple of times now, but I haven't seen a simple way to inject config parameters from a configuration file into a service. Obviously I could just load a properties file from the classpath manually, but I'm sure there must be a more elegant way to do that within

Newbie and form submission (rewinding resetting values)

2007-03-01 Thread Damian Sobieralski
This hopefully is a trivial question but it is driving me crazy (more so). I have a trivial form setup for Home. Below is my Home.java - import org.apache.tapestry.html.BasePage; import org.apache.tapestry.IRequestCycle; import org.apache.tapestry.event.PageBeginRenderListener;

Re: [WARNING] Latest Tapestry 5 Screencast

2007-03-01 Thread Howard Lewis Ship
I've been a bit sloppy, since I consider the screencasts throw-aways (they are already full of anacronisms as the framework evolves). The most interesting part of the latest is a block-and-copy of code from the integration test suite, the part that reads the itunes.xml file. On 3/1/07, Weisu <[E

Re: [WARNING] Latest Tapestry 5 Screencast

2007-03-01 Thread Howard Lewis Ship
Good idea; my big problem is that the tools I'm using don't allow for editting, or for adding title cards. The one at the beginning is Stickies.app! On 3/1/07, Ted Steen <[EMAIL PROTECTED]> wrote: Very nice Howard! I think you should end all your screen casts with a reference to the site where

Re: T5 Injection of config properties

2007-03-01 Thread Howard Lewis Ship
There's a couple of layers of indirection getting in your way. You can see tapestry.ioc.ApplicationDefaults and tapestry.ioc.FactoryDefaults. Those are two (of three) built-in contributions to the tapestry.ioc.SymbolSource service configuration. To pull that type of configuration data, data tha

Re: [WARNING] T5 validation

2007-03-01 Thread Howard Lewis Ship
With the fresh start in T5 I've been able to make it smarter and more adaptable, or at least, do better things by default. But there's a lot of limits. I could make this error noticable by requiring that all components have an explicit id in the template, but that would inconvienience most users

Re: Newbie and form submission (rewinding resetting values)

2007-03-01 Thread Nick Westgate
Hi Damian. You need to add something like this here: + @Persist public abstract Person getPerson(); Otherwise the Person is not persisted between cycles. That's what's causing your current exception. Also, you don't want to overwrite changes made to Person by the user, so you sh

plugins for a tapestry app?

2007-03-01 Thread Dan Adams
So I have a T4 app and I'm trying to get a sense for how hard it would be to allow the user of plugins. What I mean is that I would like to be able to write a plugin, put the jar in the WEB-INF/lib, and then have my application load it. The plugins could be either interface contributions or str

RE: Newbie and form submission (rewinding resetting values)

2007-03-01 Thread Damian Sobieralski
Nick, Thank you!! That did the trick. Granted, I am new to this so this might be an asinine question - but why do I have to "set up" the form to be re-displayed on a validation error? I mean, when would one rewind after a validation and NOT want the form values pre-filled in with their previou

Re: Dynamically calling service("home")

2007-03-01 Thread Nick Westgate
Hi Mark. Via: event.getPage().getEngine().getService(Tapestry.HOME_SERVICE)? Cheers, Nick. Mark Stang wrote: Hi, I am using T3 and in my pageValidate method I want to call the home service. Does anyone have a quick way to do that? thanks, Mark Mark J. Stang Senior Engineer/Architect offi

Re: plugins for a tapestry app?

2007-03-01 Thread James Carman
Since HiveMind is already integrated with T4, I'd say use it. It has the ability to dynamically discover new modules like you're wanting. I came up with a similar architecture to allow multiple modules to contribute to my Hibernate configuration dynamically. All you had to do is drop in the jar,

Re: Newbie and form submission (rewinding resetting values)

2007-03-01 Thread Nick Westgate
Hi Damian. The "set up" is only being done once: when the Person is null. We create a new one to be edited, and we do this at the first available opportunity, which is the render phase, since this occurs before the first rewind. (Keep in mind that the rewind phase is exactly the same as a render

Write html directly from a db

2007-03-01 Thread Hernâni Cerqueira
Hello all, I'm a newbie in wath counts to tapestry, and wath i wan't to do is the following: I have a table row in a db wich as some html stored in it. Then i want to write that html code directly into a page without my <'s and >'s and other stuff being replaced by their entities, so that th

Re: Write html directly from a db

2007-03-01 Thread James Carman
You can tell the @Insert component to not escape stuff... http://tapestry.apache.org/tapestry4.1/components/general/insert.html On 3/2/07, Hernâni Cerqueira <[EMAIL PROTECTED]> wrote: Hello all, I'm a newbie in wath counts to tapestry, and wath i wan't to do is the following: I have a tabl

Re: Write html directly from a db

2007-03-01 Thread Kirill Groshkov
HC> I'm a newbie in wath counts to tapestry, and wath i wan't to do is the HC> following: HC> I have a table row in a db wich as some html stored in it. Then i want HC> to write that html code directly into a page without my <'s and >'s and HC> other stuff being replaced by their entities, so t

Re: Write html directly from a db

2007-03-01 Thread Hernâni Cerqueira
yup, that did the trick nicely. Thank's once again... James Carman escreveu: You can tell the @Insert component to not escape stuff... http://tapestry.apache.org/tapestry4.1/components/general/insert.html On 3/2/07, Hernâni Cerqueira <[EMAIL PROTECTED]> wrote: Hello all, I'm a newbie in w

Experience with Tapestry4 in a real project

2007-03-01 Thread Sudharsan Rangarajan
We had the opportunity to try Tapestry4 on a project that went live around 5 months back. Now that things are verified and tested, I have a small writeup about it at our website. Hopefully, it will help prospective users make up their mind. http://www.flinksystems.com/tapestry_casestudy.html This