Re: [T5.1] How do you advise ClassNameLocator?

2009-05-07 Thread Igor Drobiazko
Hi Steve, that is not true. Of course you can override ClasspathURLConverter as any service in Tapestry. On Wed, May 6, 2009 at 6:49 PM, Steve Eynon wrote: > Arr, yes, thanks Igor. > > The JavaDocs for ClasspathURLConverter even states it exists for OSGi > (Eclipse) apps: > > > This is a hook f

Re: Pause after successfull authentication

2009-05-07 Thread aahsanJamshaid
First sorry peter for late reply. Actually i have done almost same by adding dummy loop but that work randomly. Sometime it works and sometime not. Is there any configuration in acegi/spring to wait until request fwded manually or adding some delay. thanks Peter Stavrinides wrote: > > How a

t5: usual practice for page test

2009-05-07 Thread Angelo Chen
Hi, I'd like to know how others do the test for page? what I'm doing now is, write the code, manually test it until it works, that's the end. how you guys do this task: 1) using test driven development for pages? 2) just write the code, write a test after it is done for SVN commit? 3) just write

Re: Problem running Tap 5.1.0.4 on Jboss 5.0.1.GA

2009-05-07 Thread Eric Ma
Shing Hing Man wrote: > > When I deploy a simple Tap 5.1.0.4 application on JBoss 5.0.1.GA and > access the index page, I get the following error. > java.lang.IllegalArgumentException: Unable to resolve 'ExceptionReport' to > a known page name. Available page names: (blank), About, Contact, Inde

Re: Encoding with exceptions

2009-05-07 Thread Christian Edward Gruber
Yeah - I don't, at least not yet. I probably will use such an editor later, but I need a protected output system so I'm not using since that's quite dangerous when writing from a database. I want ot make sure that even if bad data got in, it can't come out as an XSS attack or something.

Re: Encoding with exceptions

2009-05-07 Thread Howard Lewis Ship
Cool; I tend to do a lot of that from Ruby, using Hpricot. On Thu, May 7, 2009 at 2:28 PM, Martin Strand wrote: > If you need to parse html input, from a rich text editor, a remote website, > uploaded documents, etc, I would recommend nekohtml: > http://nekohtml.sourceforge.net/ > > It cleans up

Re: Encoding with exceptions

2009-05-07 Thread Martin Strand
If you need to parse html input, from a rich text editor, a remote website, uploaded documents, etc, I would recommend nekohtml: http://nekohtml.sourceforge.net/ It cleans up broken html and you can easily add a filter to only allow certain tags: http://nekohtml.sourceforge.net/filters.html Mar

Re: Encoding with exceptions

2009-05-07 Thread Howard Lewis Ship
I'd tend to do this on the other end, if possible; parse user input (or RSS feed, or whatever) into XML and transform out the content you don't like, then store that in DB or render it raw. On Thu, May 7, 2009 at 1:26 PM, Christian Edward Gruber wrote: > Hi, > >    I was considering how to write

Encoding with exceptions

2009-05-07 Thread Christian Edward Gruber
Hi, I was considering how to write a minimal markup component - that is a component which can handle encoding raw text into safe text much the same way MarkupWriterImpl passes to a Text node which encodes html entities, etc., but in this case, letting a few of them pass. One simpl

Re: tapestry5 on google appengine exception

2009-05-07 Thread Mike D Pilsbury
Although using Jetty Run does indeed work around the java.lang.NoClassDefFoundError: org/apache/tapestry5/corelib/components/Loop$1 issue, and allows simple pages to work, another problem raises its head when you go anywhere near the datastore. Caused by: java.lang.NullPointerException:

[ANNOUNCE] Apache Tapestry 5.1.0.5 (stable release)

2009-05-07 Thread Howard Lewis Ship
The stable release for Apache Tapestry 5.1, release 5.1.0.5, is now available for download. Apache Tapestry is an open-source, component-based web application framework for Java. It features concise templates, minimal amounts of Java code, high performance, and important productivity features such

Re: mac os x gzip compression 5.1

2009-05-07 Thread Howard Lewis Ship
Yes: clean up your deployment to get rid fo the 5.0.18 JARs. On Thu, May 7, 2009 at 4:27 AM, Magnus Rundberget wrote: > Hi, > > I have a 5.0.18 App i tried upgrading to 5.1.0.5. > > Using zones extensively. > > When I try to invoke anything using a zone I get the following error; > > A component

Re: Problem using BeanEditForm: empty form

2009-05-07 Thread Otho
If the read only is by design you could also use BeanDisplay component. 2009/5/7 Thiago H. de Paula Figueiredo > On Thu, May 7, 2009 at 2:40 AM, Anton Marchenkov wrote: > > Hi! > > Hi! > > > My TariffData.java interface looks as follows: > > > > public interface TariffData { > > > >Integer

Re: newbie needs some advice/ build-in components not loaded by server

2009-05-07 Thread Thiago H. de Paula Figueiredo
It looks like you have some corrupted JAR or messed up dependencies. By the way, instead of using JBoss from the beginning, try using Jetty. It won't make any difference while developing your web interface in Tapestry, but it will make solve some common environment problems easier. -- Thiago ---

newbie needs some advice/ build-in components not loaded by server

2009-05-07 Thread Yvonne Olbrich
Hi all, I have been trying for 3 days now to work out the easy example from the site for Tapestry 5. Index.tml --- http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> tutorial1 Start Page tutorial1 Start Pa

Re: Problem using BeanEditForm: empty form

2009-05-07 Thread Thiago H. de Paula Figueiredo
On Thu, May 7, 2009 at 2:40 AM, Anton Marchenkov wrote: > Hi! Hi! > My TariffData.java interface looks as follows: > > public interface TariffData { > >    Integer getId(); > >    Long getFix(); > >    Double getCoeff(); > >    Long getMin(); > >    Long getMax(); > } BeanEditor/BeanEditForm on

mac os x gzip compression 5.1

2009-05-07 Thread Magnus Rundberget
Hi, I have a 5.0.18 App i tried upgrading to 5.1.0.5. Using zones extensively. When I try to invoke anything using a zone I get the following error; A component event handler method returned the value Block[Body of report/ViewReportNodes:output, at classpath:no/mil/ferdaball/web/pages/ repo

Re: t5: use image for submit

2009-05-07 Thread Ulrich Stärk
Am 07.05.2009 11:57 schrieb Angelo Chen: Hi, Is there a way to use image for submit? seems, we have only - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry

t5: use image for submit

2009-05-07 Thread Angelo Chen
Hi, Is there a way to use image for submit? seems, we have only -- View this message in context: http://www.nabble.com/t5%3A-use-image-for-submit-tp23423549p23423549.html Sent from the Tapestry - User mailing list archive at Nabble.com. --