Re: Return with html anchor in listener

2006-07-01 Thread KE Gan
Hi, Apology if I am repeating here ... So anyone know how to return an ILink with a html anchor (#) from a listener in Java class (using the ExternalService object) ? Thanks, appreciate if anyone can give some pointers. On 6/27/06, KE Gan [EMAIL PROTECTED] wrote: Hi, How do you return an

Re: Return with html anchor in listener

2006-07-01 Thread Shing Hing Man
Have you looked at the source code for the getLink method in org.apache.tapestry.link.ExternalLink ? Copying the code from the method ExternalLink.getLink, I would have thought you need something like the following. // parameters as in the attribute parameters in ExternalLink component

Re: component-binding/property side-effect (T4)

2006-07-01 Thread hv @ Fashion Content
Hmm, could you describe the situation a bit more. Are you using sessions or not ? It sounds like you are trying to break the encapsulation of the component. Are you looking to have an object attached to the page which is accessed by the component and presented as a component getter ? I can't

Re: component-binding/property side-effect (T4)

2006-07-01 Thread Lukas Ruetz
Hi Henrik! Yes, I'm using sessions (comes from the authentication). But again - I'm doing nothing special - I just want a component to set attributes of a domain-object with values from a form. The object is provided by a parameter. Normally the attributes can be bound to the form-fields. But as

RE: component-binding/property side-effect (T4)

2006-07-01 Thread James Carman
You can use a value object and bind your form fields to that. Then, when you submit your form, you can create your domain object from your value object using the constructor. -Original Message- From: Lukas Ruetz [mailto:[EMAIL PROTECTED] Sent: Saturday, July 01, 2006 8:26 AM To:

Locale missing during web-app load ???

2006-07-01 Thread hv @ Fashion Content
I am trying out the Eclipse WTP stuff with Tapestry 4.02, but all of a sudden I get a load time error (I already use 4.02 with no problem on my server). So I guess it is because I am deploying on my local PC which has a danish locale. Why would locales matter during web-app load ?? Henrik

Re: component-binding/property side-effect (T4)

2006-07-01 Thread Lukas Ruetz
Hi James! I've done it now that way - there seems no other solution to this. thx lukas Am Samstag, 1. Juli 2006 15:48 schrieb James Carman: You can use a value object and bind your form fields to that. Then, when you submit your form, you can create your domain object from your value

Tapestry JumpStart - calling all armchair critics!

2006-07-01 Thread Geoff Callender
To all the armchair critics out there, I've built a Tapestry learning tool called Tapestry JumpStart and I'm looking for feedback before I add it to the Wiki. http://files.doublenegative.com.au/jumpstart/ My aim is to make it as easy as possible for newcomers to get up and running with

RE: component-binding/property side-effect (T4)

2006-07-01 Thread Shing Hing Man
--- James Carman [EMAIL PROTECTED] wrote: You can use a value object and bind your form fields to that. Then, when you submit your form, you can create your domain object from your value object using the constructor. -Original Message- From: Lukas Ruetz [mailto:[EMAIL

RE: component-binding/property side-effect (T4)

2006-07-01 Thread Shing Hing Man
--- James Carman [EMAIL PROTECTED] wrote: You can use a value object and bind your form fields to that. Then, when you submit your form, you can create your domain object from your value object using the constructor. -Original Message- From: Lukas Ruetz [mailto:[EMAIL

Re: Locale missing during web-app load ???

2006-07-01 Thread hv @ Fashion Content
So how do you change the locale that the logger uses then? Henrik James Carman [EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL PROTECTED] To print out the messages that HiveMind prints to the log system, it needs to internationalize them, so it uses a locale. -Original Message-

RE: Tacos issues

2006-07-01 Thread andyhot
Probably, but... it would be really useful to have the minimum amount of code that reproduces this problem posted somewhere... Perhaps at the tacos bugreporter? From James Carman [EMAIL PROTECTED]: Okay. Removing the validators allowed the AjaxLinkSubmits to work. However, now I have another