path from WebObjects to T5

2008-11-15 Thread Marc A. Donis
Hi, I'd like to know if anyone has any experience migrating from WebObjects to Tapesty. Specifically, are there any tools to help this process, like a WO component-to-tml translator? Any advice is appreciated. Thanks, Marc

T5.0.6: validaiton on select

2007-11-04 Thread Marc A. Donis
Hi again, I'm having a problem getting the select component to validate. I do: where model is defined by: SelectModel model = new SelectModelImpl(new LinkedList(), new LinkedList()); model.getOptions().add(new OptionModelImpl(NO_VALUE_STR, false, null)); model.getOptions().add(new O

Re: binding id to a property (not a liteal)

2007-11-03 Thread Marc A. Donis
Thanks, but when I put: in the template, the generated html then looks like this: Again, I can't seem to prevent it from interpreting the id as a literal string. However, if i put: in the template, the generated html then looks like this: So... it really seems that id is special. T

binding id to a property (not a liteal)

2007-11-01 Thread Marc A. Donis
Hi again, I am trying to get a select component to take an id from its component class, rather than having it staticly defined in the tml. It seems, however, that no matter what I try, the id is always interpreted as a literal string. e.g.: which I would expect to get the id from an accessor

Re: T5: How to upgrade from 5.0.5 to 5.0.6

2007-10-30 Thread Marc A. Donis
in for the help. Marc - Original Message - From: "Lindsay Steele" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Tuesday, October 30, 2007 22:37 Subject: Re: T5: How to upgrade from 5.0.5 to 5.0.6 Marc A. Donis wrote: - moved *.tml (and *.properties ?) f

Re: T5: How to upgrade from 5.0.5 to 5.0.6

2007-10-30 Thread Marc A. Donis
"Nick Westgate" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Monday, October 29, 2007 03:52 Subject: Re: upgrading 5.0.5 to 5.0.6 breaks the app Please look for the recent thread "T5: How to upgrade from 5.0.5 to 5.0.6". Cheers, Nick. Marc A. Donis wrote

upgrading 5.0.5 to 5.0.6 breaks the app

2007-10-28 Thread Marc A. Donis
Hi again, First off, I am having an issue (with 5.0.5) concerning returning null from my ValueEncoder's toValue method. I expect the value to be simply set to null, but instead I get the message: Coercion of null to type java.lang.Integer (via null --> String, String --> Long, Long --> I

Re: Parameter(s) translate, value are required for org.apache.tapestry.corelib.components.TextField, but have not been bound.

2007-10-06 Thread Marc A. Donis
Aha... I need to specify a TextField's value property, not its id. But why does id work when the value is bound to an attribute of the component class? Anyway, problem solved. - Original Message - From: "Marc A. Donis" <[EMAIL PROTECTED]> To: "Tapes

T5: Parameter(s) translate, value are required for org.apache.tapestry.corelib.components.TextField, but have not been bound.

2007-10-06 Thread Marc A. Donis
Hi again, I have a form in EditAccount.html, which contains: EditAccount.java has a refernce to a user, along with a get/set pair of accessors, and the User object has gettes and setters for its properties, as well. Nonetheless, I am encountering: Parameter(s) translate, value are required

Re: T5 form field validation, component injection

2007-09-29 Thread Marc A. Donis
onent.html [2] http://tapestry.apache.org/tapestry5/tapestry-core/guide/validation.html On 9/29/07, Marc A. Donis <[EMAIL PROTECTED]> wrote: Hi all, I am trying to understand how to implement custom validation of form fields. Here's what I've got so far: CreateAcco

T5 form field validation, component injection

2007-09-29 Thread Marc A. Donis
Hi all, I am trying to understand how to implement custom validation of form fields. Here's what I've got so far: CreateAccount.java: public class CreateAccount { @InjectComponent private Form createAccountForm; @OnEvent(value = "validate", component = "createAccountForm") void v

Re: creating components with Tapestry 5

2007-09-23 Thread Marc A. Donis
I also am using Hibernate at work, trying to integrate it to a WebObjects presentation framework. It has not been easy. It just makes me nostalgic for EOF. I choose Cayenne for this project specifically because I am looking to re-create the ease and simplicity of WO. Cheers, Marc - Ori

creating components with Tapestry 5

2007-09-23 Thread Marc A. Donis
Hi everyone, First off, I am new to Tapestry, although I've been doing WebObjects for about 8 years, so the I'm hoping the transition won't be too painful. I've chosen to work with Tapestry 5 since it seems like quite a signifiicant evolution from the previous version, but I'm having some diff