Re: Tapestry HiveDoc generation

2006-12-01 Thread Jesse Kuhnert
I did sit down and figure this out finally. Hivemind has an ant task you can use to read in registry files and output them into one main "registry.xml" file. From there it can be transformed with xsl into whatever you want. I added it into the build process for tap 4.1 today (using maven2) so you

Re: Re: Re: Number translator message in 4.1

2006-12-01 Thread Patrick Moore
Hi Sam -- I will preface this by saying: 1. I understand your frustration that there isn't a smooth, clean migration path to the latest Tapestry. 2. I have worked with a variety of frameworks (open source, free, and otherwise) 3. I have been coding for a long, long time - doesn't make me right -

Re: Re: Re: Number translator message in 4.1

2006-12-01 Thread Sam Gendler
+1 for new extended default messages! It is worth wading through a sea of PMs to save development stress. This is why I like HLS and Tapestry. ... No (mostly no) cryptic error messages! You are replacing developer stress with end-user stress. Upir average end user will not have a clue how to par

How to access the message thrown by "RedirectException" in 4.0

2006-12-01 Thread Sam
Hi, I have a custom form validator, to compare the username and password. In that, if for some reason database connectivity is down, I do a Redirect Exception to another page, as follows: throw new RedirectException(e.getMessage() ,"app?page=Dberror&service=page"); Yo

Re: using Tapestry to send mails

2006-12-01 Thread Luc Peerdeman
Phillip Rhodes wrote: One thing to keep in mind with this type of problem is whether this email will ever be seen outside the context of a web request, will you have have to send the email via a batch process? I ended up doing my email in velocity due to this requirement. We had the same req

Re: Re: Number translator message in 4.1

2006-12-01 Thread Patrick Moore
Hi Sam -- I, for one, vote that Jesse's extended message is better... The more meaningful detail that can be provided the better. This is especially true because it is the default message. The first 'user' to see this message is the developer. This developer may be in the middle of pulling their

Re: Thumbnail Popup Widget

2006-12-01 Thread Jesse Kuhnert
Right. The Dialog component seems like an obvious no brainer for this one. http://tapestry.apache.org/tapestry4.1/components/dojo/dialog.html It doesn't really care what you put in it. On 12/1/06, Sam Gendler <[EMAIL PROTECTED]> wrote: I haven't seen such a thing, myself. It does seem like it

Re: Thumbnail Popup Widget

2006-12-01 Thread Sam Gendler
I haven't seen such a thing, myself. It does seem like it wouldn't be too difficult to make. Just provide two asset URLs and let js handle the rest. --sam On 11/30/06, Ken nashua <[EMAIL PROTECTED]> wrote: Hi Folks, Was wondering if a certain widget exists... Here are my specs... The cont

Re: Re: Number translator message in 4.1

2006-12-01 Thread Sam Gendler
Given that the messages CAN be overridden, I'd like to register a vote for keeping very simple messages as the default (since I tend to use them as is) and letting individual users override them as necessary. Also, keeping the messages unchanged would aid those of us who will have to port applicat

Re: getting .page and .html from a database

2006-12-01 Thread Jesse Kuhnert
Please don't re-post messages to the list. We all saw the first 2-3 messages you posted already. If someone wants to reply they will but doing things like this is considered very poor "mailing list" manners. On 12/1/06, Tapestry User List <[EMAIL PROTECTED]> wrote: IComponentSpecification spec =

Re: getting .page and .html from a database

2006-12-01 Thread Tapestry User List
IComponentSpecification spec = new ComponentSpecification(); spec.setComponentClassName(CommonPage.class.getName()); Resource componentResource = ??? how to instanciate a resource and fill it with a String retrieved from a database ??? spec.setSpecificationLocation(componentResource); AssetSpe

Re: Reproducing a tapestry 4.11 snapshot build exactly

2006-12-01 Thread Josh Long
Gah! How embarassing.. Around 6 yesterday I started writing a letter saying that, to my chagrin, using the rleative context works so long as I've whacked my repository and cleared all caches and so on. Then I went on at length to say how pleased I am with this, as it leaves me on schedule (where

getting .page and .html from a database

2006-12-01 Thread Tapestry User List
Hi, I would like retrieve a tapestry specification definition (.page) and the template (.html) from a database. For doing that, I create a class that implements ISpecificationResolverDelegate . The method findPageSpecification must return a IComponentSpecification. So I instanciate a ComponentS

getting .page and .html from a database

2006-12-01 Thread Tapestry User List
Hi, I would like retrieve a tapestry specification definition (.page) and the template (.html) from a database. For doing that, I create a class that implements ISpecificationResolverDelegate. The method findPageSpecification must return a IComponentSpecification. So I instanciate a ComponentSp

to add to Wiki / Articles on Tapestry

2006-12-01 Thread Cyrille37
Hello, An practical presentation of Tapestry in French. Really great for starting. http://www.supinfo-projects.com/fr/2006/tapestry%5Ffr/ The same in english http://www.supinfo-projects.com/fr/2006/tapestry%5Fen/ It should be added to the "Articles on Tapestry" section of the Tapestry'

[newbie] Access hivemind contribution object from html page

2006-12-01 Thread Cyrille37
Hello, Sorry for that poor question : Is it possible to access from a html page to an object defined with hivemind without a java class for the page ? here is my idea, with syntax error of course ;-) in hivemodule.xml : in ThePage.html : GlobalCounter value is: value="hivemind

Component for comparing to versions of a text?

2006-12-01 Thread jake123
Hi, I wonder if anybody knows if there is a component for tapestry that can compare two versions of a text (similar to comparing two versions of a file from the SVN/CVS repository in eclipse) ? If it doesn't... does anybody have any suggestions on how to compare the text and mark the changes? Ch

Re: Number translator message in 4.1

2006-12-01 Thread Jesse Kuhnert
*meekly raises hand.. I think my original intention was to change some of the default error messages to give more specific information about the format that we want the input to be in. Rather than just saying "your input sucks, try again" and having them randomly type stuff in until they get it r

Re: Reproducing a tapestry 4.11 snapshot build exactly

2006-12-01 Thread Jesse Kuhnert
I'm not sure how I can help or what the exact problem is but I am very concerned to see that you are manually building tapestry by hand. I guess the context relative build just won't work for you? I did sit down and specifically make sure that particular feature works. JETTY wasn't correctly hand

Tapestry portlet calling Spring-services?

2006-12-01 Thread Arve Klev
hi, I'm using Tapestry 4.0.2 for the web-layer, and integrates Spring (2.0) by use of "tapestry-spring" api. I do like tapestry for the MVC layer, and this Spring-integration works fine for the servlet Tapestry. For the servlet Tapestry I'm using: @InjectSpring("facade") / public abstract

Re: wysiwyg editor

2006-12-01 Thread Cyrille37
Karthik N a écrit : http://lombok.demon.co.uk/tapestry4Demo/TestFCKeditor2.html http://lombok.demon.co.uk/tapestry4Demo/TestFCKeditor1.html Thanks a lot ! There is the source code too ! So nice. ;o) cyrille On 12/1/06, Peter Schröder <[EMAIL PROTECTED]> wrote: http://tapestryjava.blogsp

Re: Web Security concerns

2006-12-01 Thread Sam Gendler
I haven't read that document, but I think a discussion of security within Tapestry is definitely in order, as it has some pretty significant security vulnerabilities which are never even mentioned in the docs. The fact that so much state is stored in the client page by default really leaves the a

Re: Re: Re: Redirect to an external site on the serverside

2006-12-01 Thread Sam Gendler
well, arguably, any solution that involves the client is going to be just as fragile when it comes to 'api' changes from your payment processors, since if the form fields change, you will have to update your app, anyway. You can't do it from the server, at least not without proxying it and violat

Re: Using ApplicationStateObject on Spring

2006-12-01 Thread Sam Gendler
This works fine for me: On 12/1/06, NISHIMURA Toshio <[EMAIL PROTECTED]> wrote: Hi, all. I'm developping an application using Spring-2.0 + tapesty-4.0.2 + tapestry-spring-1.0.0-SNAPSHOT. I tried to us

Re: wysiwyg editor, FCKEditor

2006-12-01 Thread Marilen Corciovei
Hello, I have been working in the last 2 years on a CMS system using Tapestry and used first TextArea and then FCKEditor. The FCKEditor was not very complicated even if the encapsulation was not very tight with Tapestry: and the script is: http://jakarta.apache.org/tapestry/dtd/Script_3_0

Re: wysiwyg editor

2006-12-01 Thread Karthik N
http://lombok.demon.co.uk/tapestry4Demo/TestFCKeditor2.html http://lombok.demon.co.uk/tapestry4Demo/TestFCKeditor1.html On 12/1/06, Peter Schröder <[EMAIL PROTECTED]> wrote: http://tapestryjava.blogspot.com/2006/10/ezing-builder-wysiwyg-builder-for.html -Ursprüngliche Nachricht- Von

Using ApplicationStateObject on Spring

2006-12-01 Thread NISHIMURA Toshio
Hi, all. I'm developping an application using Spring-2.0 + tapesty-4.0.2 + tapestry-spring-1.0.0-SNAPSHOT. I tried to use Application Status Object in this application, so I add the XML block before the line of '' in the hivemind.xml; But the a

AW: wysiwyg editor

2006-12-01 Thread Peter Schröder
http://tapestryjava.blogspot.com/2006/10/ezing-builder-wysiwyg-builder-for.html -Ursprüngliche Nachricht- Von: Cyrille37 [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 1. Dezember 2006 10:51 An: Tapestry users Betreff: wysiwyg editor Hello, Has someone integrated some Wysiwyg editors wit

wysiwyg editor

2006-12-01 Thread Cyrille37
Hello, Has someone integrated some Wysiwyg editors with Tapestry like FCKEditor (www.fckeditor.net/), xstandard (www.xstandard.com), RTE (www.kevinroth.com/rte/), TinuMCE (tinymce.moxiecode.com/) ? Any experience and comment are wellcome. Have a nice day, cyrille

Web Security concerns

2006-12-01 Thread Gareth
Hi, Slightly off topic of "tapestry", but I recently came across a document I thought was really useful at highlighting all the potential issues with a website. It's quite long, but, if like me you haven't had to worry much about security on your web projects before - e.g. non public applicati

Re: Re: Redirect to an external site on the serverside

2006-12-01 Thread Gareth
Thanks Sam, I've been doing a lot of reading around this issue, and that is essentially what my colleagues and I came up with. Sadly the payment servers don't seem to support this (correct me if I'm wrong anyone), and also, don't seem keen to reply to my emails surrounding the issue (though th

Re: Page redirect with exception

2006-12-01 Thread Renat Zubairov
Thank you very much. It works perfectly. Renat On 29/11/06, Sam Gendler <[EMAIL PROTECTED]> wrote: throw new RedirectException(link.getURL()); --sam On 11/28/06, Renat Zubairov <[EMAIL PROTECTED]> wrote: > Hello, > > How can I create a Page Redirect (not forward) with exception. > I know th