Re: Unable to access www.chenillekit.org

2010-01-28 Thread Sven Homburg
the chenillekit site is online again. with regards Sven Homburg Founder of the Chenille Kit Project http://chenillekit.codehaus.org 2010/1/28 Alexander Muthmann > Yeah, but thats not the "official" homepage with the demo application and > working download links. > But chenillekit.org seems t

Re: Unable to access www.chenillekit.org

2010-01-28 Thread Alexander Muthmann
Yeah, but thats not the "official" homepage with the demo application and working download links. But chenillekit.org seems to be down currently! Mit freundlichen Grüßen Alexander Muthmann On 28.01.2010, at 22:02, Christophe DUFOUR wrote: Hi, I can see chenillekit here : http://xircles

Re: Unable to access www.chenillekit.org

2010-01-28 Thread Christophe DUFOUR
Hi, I can see chenillekit here : http://xircles.codehaus.org/projects/chenillekit On Thu, Jan 28, 2010 at 10:00 PM, mlavannis wrote: > > Is the server temporarily down, or is it being hosted elsewhere? If someone > knows, please let me know! Thanks. > -- > View this message in context: > http:/

Unable to access www.chenillekit.org

2010-01-28 Thread mlavannis
Is the server temporarily down, or is it being hosted elsewhere? If someone knows, please let me know! Thanks. -- View this message in context: http://old.nabble.com/Unable-to-access-www.chenillekit.org-tp27360352p27360352.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Easy Way to create a select model?

2010-01-28 Thread Geoff Callender
And for an example: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/select/select/$N/$N/$N/$N Cheers, Geoff On 29/01/2010, at 2:08 AM, Andy Pahne wrote: > > > Yeah, that's it. Thanks a lot. > > > > > Am 28.01.2010 15:50, schrieb Ulrich Stärk: >> You are indeed mis

Re: Render Block markup without MarkupWriter

2010-01-28 Thread Joost Schouten (ml)
Appologies for the double post. It didn't go though immediately as I used an incorrect email address and thus tried again. Cheers, Joost JS Portal wrote: Hi, I have build a GridToCSVExporter mixin which works nicely. The one thing I can't quite get up and running is the printing of override

Re: How to return a component without a form (T5.1.05)

2010-01-28 Thread Inge Solvoll
Sorry, it's not true, my mistake. As long as the input doesn't depend on form events, it can be placed in a sub-component. On Thu, Jan 21, 2010 at 4:35 PM, Andreas Andreou wrote: > On Thu, Jan 21, 2010 at 16:47, Inge Solvoll > wrote: > > This limitation has been a blocker for me too. All form c

Render Block markup without MarkupWriter

2010-01-28 Thread JS Portal
Hi, I have build a GridToCSVExporter mixin which works nicely. The one thing I can't quite get up and running is the printing of override blocks (eg propertyNameCell blocks) I can obtain the block if it is available but miss the last step on how to convert it into html from there. Cheers, Jo

Re: How to get rid of some T5 stack traces ...

2010-01-28 Thread Thiago H. de Paula Figueiredo
On Thu, 28 Jan 2010 14:47:08 -0200, Ville Virtanen wrote: Hi, Hi! One way to prevent this is to contribute a T5 httprequest filter that just redirects to error page if it detects a post url submitted using GET. Well, Tapestry always submit by POST, so any submission using GET is not

Re: How to get rid of some T5 stack traces ...

2010-01-28 Thread Ville Virtanen
Hi, One way to prevent this is to contribute a T5 httprequest filter that just redirects to error page if it detects a post url submitted using GET. (And isn't hrx?) This is one of the T5 weaker sides I think. It produces many like these in the production for us for a site that slightly altered u

[T5.2.0-SNAPSHOT] Block to String without MarkupWriter

2010-01-28 Thread Joost Schouten (ml)
Hi, I have Build a GridToCSVExport mixin. This all works great up to the stage where I try render the override parameter blocks like "propertyNameCell". I can obtain the Block's, but can see no way to render the block to String without a MarkupWriter. Any pointers would be appreciated. Che

Re: Easy Way to create a select model?

2010-01-28 Thread Peter Stavrinides
> I feel a little dumb, because for years I have been using Tapestry... Well that makes two of us Andy, from my point of view its nice to see Kristians example, and I am sure for others too. cheers, Peter -- If you are not an intended recipient of this e-mail, please notify the sender, del

Re: Easy Way to create a select model?

2010-01-28 Thread Andy Pahne
Yeah, that's it. Thanks a lot. Am 28.01.2010 15:50, schrieb Ulrich Stärk: You are indeed missing something: http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Select.html HTH, Uli --

Re: Easy Way to create a select model?

2010-01-28 Thread Ulrich Stärk
You are indeed missing something: http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Select.html HTH, Uli On 28.01.2010 15:14 schrieb Andy Pahne: I feel a little dumb, because for years I have been using Tapestry. Is there an _easy_ way og cre

Re: Easy Way to create a select model?

2010-01-28 Thread Kristian Marinkovic
you have to do it only once! should not be too hard :) Andy Pahne 28.01.2010 15:42 Bitte antworten an "Tapestry users" An Tapestry users Kopie Thema Re: Easy Way to create a select model? Am 28.01.2010 15:32, schrieb Kristian Marinkovic: > public class SimpleOptionModel implemen

Re: Easy Way to create a select model?

2010-01-28 Thread Andy Pahne
Am 28.01.2010 15:32, schrieb Kristian Marinkovic: public class SimpleOptionModel implements OptionModel { private final T value; private final String label; public SimpleOptionModel(T value, String label) { this.label = label;

Re: Easy Way to create a select model?

2010-01-28 Thread Kristian Marinkovic
import static org.apache.tapestry5.ioc.internal.util.CollectionFactory. newList; Andy Pahne 28.01.2010 15:37 Bitte antworten an "Tapestry users" An Tapestry users Kopie Thema Re: Easy Way to create a select model? It also contains a function call newList(), but this method isn't

Re: Easy Way to create a select model?

2010-01-28 Thread Kristian Marinkovic
just a implementation of the interface with a constructor that accepts the value and the label public class SimpleOptionModel implements OptionModel { private final T value; private final String label; public SimpleOptionModel(T value, String label) {

Re: Easy Way to create a select model?

2010-01-28 Thread Andy Pahne
It also contains a function call newList(), but this method isn't there. Am 28.01.2010 15:17, schrieb Kristian Marinkovic: something like this: usage: SelectModel m = SelectModelUtils.toBeanSelectModel(someList, "name", "id" ); explanation: use the value of the property "name" as label, th

Re: Easy Way to create a select model?

2010-01-28 Thread Andy Pahne
Hi Kristian. Thanks for the code. It does not compile right now. Do you have the source for SimpleOptionModel also available? Thnak you, Andy Am 28.01.2010 15:17, schrieb Kristian Marinkovic: something like this: usage: SelectModel m = SelectModelUtils.toBeanSelectModel(someList, "name

Re: Easy Way to create a select model?

2010-01-28 Thread Kristian Marinkovic
something like this: usage: SelectModel m = SelectModelUtils.toBeanSelectModel(someList, "name", "id" ); explanation: use the value of the property "name" as label, the value of the "id" property as value; assuming that the bean within the list contains this properties (RuntimeException otherwi

Easy Way to create a select model?

2010-01-28 Thread Andy Pahne
I feel a little dumb, because for years I have been using Tapestry. Is there an _easy_ way og creating a SelectModel like this one (not so uncommon one): valuelabel - 1 Jan 2 Feb ... I had a look at the documentation. But I cannot be

Re: Updating a Zone with Actionlink doesn't work (Return type can not be handled)

2010-01-28 Thread Alexander Muthmann
The only error is caused by prototype: Error: "throw $continue" is deprecated, use "return" instead { message=""throw $continue" is deprecated, use "return" instead", more...} Line: 4159 File: https://localhost/assets/scriptaculous/5.1.0.5/prototype.js Nothing else On 28.01.2010 14:45, Thiago

Re: Updating a Zone with Actionlink doesn't work (Return type can not be handled)

2010-01-28 Thread Thiago H. de Paula Figueiredo
On Thu, 28 Jan 2010 11:36:07 -0200, Alexander Muthmann wrote: I don't use any custom javascript and other thinks like a autocomplete work, so I don't think, it's a problem with my configuration. To return null is what I do if(request.isXHR) { return zone.getBody(); } else return null; Use

Re: Updating a Zone with Actionlink doesn't work (Return type can not be handled)

2010-01-28 Thread Alexander Muthmann
Wow, that was fast, thank you very much... I don't use any custom javascript and other thinks like a autocomplete work, so I don't think, it's a problem with my configuration. To return null is what I do if(request.isXHR) { return zone.getBody(); } else return null; On 28.01.2010 14:13, Thiago

Re: Updating a Zone with Actionlink doesn't work (Return type can not be handled)

2010-01-28 Thread Thiago H. de Paula Figueiredo
Make sure Javascript is enabled and there are no Javascript errors in your page. By the way, when Request.isXHR() returns false, you should return null to refresh the page. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instru

Updating a Zone with Actionlink doesn't work (Return type can not be handled)

2010-01-28 Thread Alexander Muthmann
Hi there, I'm currently writing an application, which uses Tapestry 5.1. So far, I have no problems, but now I try to add some AJAX support. I want to update a Zone on my page, if the user clicks an actionlink. For this, I use the following code: text und in der Java Datei @InjectComponent

Re: kaptcha + tapestry5

2010-01-28 Thread Geoff Callender
Alternatively, use Chenillekit's Kaptcha component. It works for me. myPage.tml: myPage.java: import org.chenillekit.tapestry.core.components.Kaptcha; ... @Property private boolean _kaptchaCorrect; ... @Component(id = "kaptcha")

How to get rid of some T5 stack traces ...

2010-01-28 Thread Gunnar Eketrapp
Hi ! Our production servers get hitted by our users as well as robots as well as ... The stack trace below appears now and then and I would like to get rid of it. I haven't yet turned on production mode since we thought that bug haunting should be easier if not. So my questiosn are: + Will the