Re: [OT] FreeForm Text Search other than Lucene?

2005-10-06 Thread Erik Hatcher
Sorry for my belated reply to this hot topic. I've been too busy writing code around Lucene to tune into e-mail :) There are techniques you can use to keep a Lucene index in sync with a DB. If you're using Hibernate, there are hooks you can use to manage the index on updates, deletes, add

Re: tapestry to JSF conversion

2005-12-12 Thread Erik Hatcher
On Dec 8, 2005, at 3:19 PM, Leonardo Quijano Vincenzi wrote: (now, maybe Ruby's not a strict scripting language... but it's not strong.. and I don't like that! It just produces buggy code, IMO) In other words, you don't write unit tests. Erik --

Re: tapestry to JSF conversion

2005-12-12 Thread Erik Hatcher
On Dec 8, 2005, at 3:19 PM, Patrick Casey wrote: Honestly, I looked into it and couldn't figure out what all the fuss is about. For a little toy crud application it's nice and fast, but, hey, so's python, perl, or PHP. It just doesn't have to features I'd need to build what I

Re: tapestry to JSF conversion

2005-12-12 Thread Erik Hatcher
On Dec 8, 2005, at 3:52 PM, Cosmin Bucur wrote: yea it did look like notepad , but it was generating code , files , directories on the fly . TextMate is the "IDE" of choice for RoR developers on Macs, and the one typically seen in the RoR videos. RDT for Eclipse is supposedly quite good as

Re: tapestry to JSF conversion

2005-12-12 Thread Erik Hatcher
On Dec 8, 2005, at 4:09 PM, Konstantin Ignatyev wrote: Personally I see no reasons to worry about RoR yet. No worries at all, you're right. I'm building the front-end of my main project in RoR, and love it. I love the Ruby language, and RoR is a great DSL on top of Ruby. Tapestry has t

Re: tapestry to JSF conversion

2005-12-12 Thread Erik Hatcher
On Dec 12, 2005, at 6:20 AM, Leonardo Quijano Vincenzi wrote: Erik Hatcher wrote: On Dec 8, 2005, at 3:19 PM, Leonardo Quijano Vincenzi wrote: (now, maybe Ruby's not a strict scripting language... but it's not strong.. and I don't like that! It just produces buggy code,

Re: tapestry to JSF conversion

2005-12-12 Thread Erik Hatcher
On Dec 12, 2005, at 7:49 AM, Leonardo Quijano Vincenzi wrote: Ah ha! Now we're to the fun stuff successful compilation is a false sense of "correctness". So what if you got your syntax correct - your program still could have logical flaws. Does your compiler check that you've got you

Re: tapestry to JSF conversion

2005-12-12 Thread Erik Hatcher
On Dec 12, 2005, at 8:48 AM, Leonardo Quijano Vincenzi wrote: You were speaking of a compiler regarding this though, not a unit test. So currently you're using Tapestry without compilation OR unit tests for your fragile expressions in your templates. So you've got neither. H. As a ma

Re: tapestry to JSF conversion

2005-12-12 Thread Erik Hatcher
On Dec 12, 2005, at 9:08 AM, Leonardo Quijano Vincenzi wrote: Compilation isn't the key though. Testing (not just unit testing) is. As I like to re-test my 300+ pages applications for a syntax error after a refactoring. I can use my time better, you know. Ever hear of "continuous integrati

Re: tapestry to JSF conversion

2005-12-12 Thread Erik Hatcher
On Dec 12, 2005, at 10:50 AM, Konstantin Ignatyev wrote: Tests cannot prove that code is bug free. It is simple as that. They definitely help, but not that much Wow, where do you people come from with such a low opinion of testing? They don't help much? Then I argue you're not writing the r

Re: tapestry to JSF conversion

2005-12-12 Thread Erik Hatcher
On Dec 12, 2005, at 12:15 PM, Konstantin Ignatyev wrote: I guess the point is that statically typed language allows getting rid of many tests because compiler can do them. Your point does not hit home with me or any of the skilled folks I've been around. With dynamic access of any kind (R

Re: tapestry to JSF conversion

2005-12-12 Thread Erik Hatcher
On Dec 12, 2005, at 2:35 PM, Konstantin Ignatyev wrote: Clarification: al I am saying does not mean that we do not need test. It means that tests are useful but not the reason for throwing away safety net of static type checks. And my point is, and has been that static type checks are a false

Re: tapestry to JSF conversion

2005-12-12 Thread Erik Hatcher
On Dec 12, 2005, at 1:54 PM, Ido M. Tamir wrote: On Monday 12 December 2005 12:03, Erik Hatcher wrote: On Dec 8, 2005, at 4:09 PM, Konstantin Ignatyev wrote: Personally I see no reasons to worry about RoR yet. No worries at all, you're right. I'm building the front-end of my ma

Re: tapestry to JSF conversion

2005-12-12 Thread Erik Hatcher
On Dec 12, 2005, at 11:26 AM, Shawn Church wrote: Since you have some experience with older/legacy databases, how would Ruby/RoR stack up against Java/Tapestry in regard to legacy databases and multiple databases? Ruby and RoR in particular is appealing, but my applications must reliably su

Re: tapestry to JSF conversion

2005-12-12 Thread Erik Hatcher
On Dec 12, 2005, at 4:16 PM, Mark Stang wrote: Will you be shipping your RoR code out to customers? Or is there a compiler/code obfuscator? I work for a University building a web application that we will host initially, but in the future others may want to install it. The code will be o

Re: tapestry to JSF conversion

2005-12-12 Thread Erik Hatcher
On Dec 12, 2005, at 4:30 PM, John Coleman wrote: Statically typed, eh? Again, what about all that reflection going on? Let's take the most basic Java interfaces, List and Set. Good points. Reflection should be kept out of critical stuff like business logic, and ideally collections as wel

Re: How to clear the visit object(Tapestry 3.03)

2006-01-03 Thread Erik Hatcher
On Jan 3, 2006, at 4:20 AM, Vincent wrote: Hi all, When I tried to restart the server the server (Tomcat) , I am suprised to found that visit object is still there. Of course , I using the same web browser during restart. Is it possible to clear the visit object when server is shutting down?

Re: If we call it Tapestry 4.0, not 3.x, Maybe we would do much more about it?

2005-04-21 Thread Erik Hatcher
On Apr 21, 2005, at 1:37 AM, liigo wrote: If we call it Tapestry 4.0, not 3.x, Maybe we would do much more about it? such as: do a lot of things that do not need to think about back compatible Such as what, specifically?? - To u

Re: Sitemesh Tapestry

2005-04-21 Thread Erik Hatcher
On Apr 20, 2005, at 3:20 PM, Naveen Nagulapally wrote: I am trying to use tapestry sitemesh integration that you provided. It works pretty well, unfortunately, I have a problem. I configured sitemesh to use the decorator that you have designed. If I go to myJSP.jsp, Address: http://localhost:80

Re: Sitemesh Tapestry

2005-04-21 Thread Erik Hatcher
On Apr 21, 2005, at 6:15 AM, Erik Hatcher wrote: On Apr 20, 2005, at 3:20 PM, Naveen Nagulapally wrote: As you can see, the request URL is myJSP,so url generated is wrong. What would be the easiest way to change this. Great question. I have just duplicated this issue with the sitemesh

Re: If we call it Tapestry 4.0, not 3.x, Maybe we would do much

2005-04-21 Thread Erik Hatcher
Let's be pragmatic, though. It would be rude to simply remove things just to clean up naming and break things for no strong technical reason. I hate the I* names myself, as does Howard these days. An intermediate step would be to put extend those interfaces with names we like, deprecate the

Re: If we call it Tapestry 4.0, not 3.x, Maybe we would do much

2005-04-21 Thread Erik Hatcher
tarted down the path towards the desired destination. Ben On Thu, Apr 21, 2005 at 09:33:52PM -0400, Erik Hatcher wrote: Let's be pragmatic, though. It would be rude to simply remove things just to clean up naming and break things for no strong technical reason. I hate the I* names myself,

Re: Images not serving (may be Jetty Launcher)

2005-04-22 Thread Erik Hatcher
On Apr 22, 2005, at 5:31 AM, Adam Chesney wrote: I still have not fixed this issue. I have tried using the assets as below and now when i view the source of the RENDERED pages the images look like this: But I still only see the ALT text and the images are not rendered. What is the context path yo

Re: If we call it Tapestry 4.0, not 3.x, Maybe we would do much

2005-04-22 Thread Erik Hatcher
On Apr 22, 2005, at 5:53 AM, Mind Bridge wrote: Hi, Do you have to 'implement' or 'extend' a particular type? Can you have multiple inheritance with that type or not? Can you instantiate it? The answers of those questions are clear with 'IPage'. If 'Page' can be both a class or an interface, you

Re: how are bindings handeld?

2005-04-22 Thread Erik Hatcher
it will render again and again. caching would be up to you to implement. On Apr 22, 2005, at 7:43 AM, Ron Piterman wrote: Hi, I have a component with an ognl binding, which is rendered once. if during the render I call the (abstract) getXXX many times, will the ognl resolve again and again, or

Re: If we call it Tapestry 4.0, not 3.x, Maybe we would do much

2005-04-22 Thread Erik Hatcher
ct your opinions as much as Howard's, but I still reserve the right to disagree :) Hungarian notation seemed to have it's place in C coding, but only in Tapestry have I seen it in Java. Should we start calling variables like this: String sName = "Erik"; too?! ;)

Re: If we call it Tapestry 4.0, not 3.x, Maybe we would do much

2005-04-22 Thread Erik Hatcher
I'm building with Cayenne myself, and enjoying it immensely! Erik On Apr 22, 2005, at 4:38 PM, Patrick Casey wrote: Looks like it might (at least in the particularly common case I was listing). Still, Rails 12 isn't release yet (still alpha/beta neh?), and Hibernate's nice and mature on v

Re: If we call it Tapestry 4.0, not 3.x, Maybe we would do much

2005-04-22 Thread Erik Hatcher
On Apr 22, 2005, at 1:54 PM, Patrick Casey wrote: Ick, Ruby! I downloaded the tutorial on that one, set up two tables, joined them, and printed a list of 1,000 rows that included columns from each table. Nine seconds and 1,001 SQL statements later I got my list :). Sorry, but anything which us

Re: Components and i18n

2005-04-25 Thread Erik Hatcher
On Apr 25, 2005, at 4:25 PM, Bruno Haas wrote: Hi All, From what I gather in the documentation, it is possible to inject a localized string into a component by using the tag. This is nice but let's say I have a component that takes an array of strings as an input parameter. Would there be a

Re: If we call it Tapestry 4.0, not 3.x, Maybe we would do much more about it?

2005-04-26 Thread Erik Hatcher
(BOn Apr 26, 2005, at 5:08 AM, liigo wrote: (B> $B:_(B Thu, 21 Apr 2005 17:35:26 +0800$B!$(BErik Hatcher (B> <[EMAIL PROTECTED]> $B (B> (B>> (B>> On Apr 21, 2005, at 1:37 AM, liigo wrote: (B>> (B>>> (B>>> If we call it Tapestry 4.0, not 3.x, Maybe we would do much more (B>>> about

Re: XTile question

2005-04-26 Thread Erik Hatcher
Or you could send it down as JavaScript commands (serializing an object with basic types as JavaScript "function" objects) and eval it on the client-side. Erik On Apr 26, 2005, at 11:13 AM, Yu, Ed wrote: That seems to be the only option as to encode it in Base64 or ASCII Hex code and

Re: Where to report documentation issues?

2005-04-26 Thread Erik Hatcher
On Apr 26, 2005, at 12:57 PM, Patrick Yip wrote: From time to time I browse the API and online documents and noticed some obvious documentation issues, should I report it so it can be checked out by the developers? Yes, please do report it by filing JIRA issues: http://issues.apache.org/ji

Re: page property type gotcha

2005-04-26 Thread Erik Hatcher
The "good" news is that in Tapestry 4.0, there are no 'type' attributes on (it's renamed in the 4.0 DTD). Erik On Apr 26, 2005, at 5:35 PM, Ryan Owens wrote: Hello, I just ran into a 'gotcha' and was curious if it's been documented somewhere and I just missed it. The problem is that I

Re: OGNL Voodoo

2005-04-27 Thread Erik Hatcher
Could you put this scenario concretely in Tapestry terms? Are you speaking of a page or component here? As far as I know, OGNL doesn't enhance objects, but Tapestry does enhance components and pages that need to have getters/setters filled in. OGNL does its fair share of reflection voodoo, t

Re: OGNL Voodoo

2005-04-27 Thread Erik Hatcher
s.setObject(o); m.fList.add(s); } return m; } -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 3:21 AM To: Tapestry users Subject: Re: OGNL Voodoo Could you put this scenario

Re: good news/bad news

2005-04-27 Thread Erik Hatcher
On Apr 27, 2005, at 3:12 PM, Warner Onstine wrote: I have recently signed a contract to do a book on Tapestry for SourceBeat publishing called Tapestry Live. Congrats, Warner! You can view the Web-site for the book here - http://www.sourcebeat.com:80/TitleAction.do?id=12 Maybe your examples can

Re: reference to tapestry service from batch program?

2005-04-27 Thread Erik Hatcher
On Apr 27, 2005, at 6:55 PM, phillip rhodes wrote: I have a batch program that sends emails that will have href's inside the html that reference a Service Engine, The purpose of the email is to notify customers how to download a "downloadable product" in a tapestry-based ecommerce store that they h

Re: automatically set element parameter in Foreach and ListEdit

2005-04-28 Thread Erik Hatcher
On Apr 28, 2005, at 12:06 PM, Ben Eng wrote: Components that iterate like Foreach and ListEdit take an element parameter. Usually, a static-binding is used to set the element; and it is almost certainly the case that the element will match the tag in the template, where the component appears. e.g.,

Re: Looking for Advice on the "Tapestry Way" to recall where a page came from

2005-04-28 Thread Erik Hatcher
Have a look at using ICallback and family. The VLib example application leverages this for the login page so that a user attempting to go to a page before logging in is redirected to the login page, then redirected back to the page requested. A stack of ICallback's can be quite handy! I've e

Re: Searching mailing lists

2005-04-30 Thread Erik Hatcher
On Apr 30, 2005, at 9:58 AM, Vjeran Marcinko wrote: Hi. Is there some way to give Search capability to Tapestry mailing lists? Actually, I was the one who proposed having forum instead of mailing list, but since there was a lot of people at my suprise who don't agree that forum is better (how can

Re: Shared beans ?

2005-05-02 Thread Erik Hatcher
You don't need to use to define these things. You can simply return an IValidator and ValidationDelegate from anywhere you like. I've often used a base page class with getters for this purpose. Erik On Apr 30, 2005, at 4:23 PM, Random Tapestry User wrote: Hey all, I think I'm missing

Re: init something once

2005-05-02 Thread Erik Hatcher
On May 2, 2005, at 3:03 PM, sastan wrote: Hello, i want to initialize something (e.g. do some work) before the first page renders. How and where should i do this? Where can i add something to the application start up? I'm using 3.0.3. You can register an in .application that initializes right

Re: init something once

2005-05-02 Thread Erik Hatcher
On May 2, 2005, at 5:15 PM, Paul Ferraro wrote: Other locations that come to mind are: a servlet context listener, overriding the init() method of the Tapestry servlet, or the global object facility. Global, though, will be instantiated on the first call to getGlobal() though, not on startup.

Re: init something once

2005-05-02 Thread Erik Hatcher
uest to the application. Paul Erik Hatcher wrote: On May 2, 2005, at 5:15 PM, Paul Ferraro wrote: Other locations that come to mind are: a servlet context listener, overriding the init() method of the Tapestry servlet, or the global object facility. Global, though, will be instantiated on the fi

Re: Still having errors : Re: Shared beans ?

2005-05-03 Thread Erik Hatcher
tance variable for the delegate and any other objects created like this. And clear them in an initialize () method. Not sure what I'm doing wrong, but it appears Tapestry is expecting a bean to be found for the delegate binding. ?? Thanks for any help here ! tappapp Erik Hatcher wrot

Re: Render a stock component via java code?

2005-05-03 Thread Erik Hatcher
Well, ya know Tapestry's code is open source... just have a peek at the TextField component and what makes it tick. You'll need to navigate to its parent class and such, but it's pretty straightforward how that particular component works and does the binding to and from. Sorry to not

Re: IMarkupWriter newline/auto-indent

2005-05-05 Thread Erik Hatcher
On May 5, 2005, at 2:09 AM, Massimo Lusetti wrote: On 5/4/05, Patrick Casey <[EMAIL PROTECTED]> wrote: You could do something similar to the DOM writers out there though and offer a "prettyprint" flag (false by default) that adds inserts and newlines to make the output more human reada

Re: Tapestry 3.1 build version problems

2005-05-06 Thread Erik Hatcher
First note that it's Tapestry 4.0 now, not 3.1 (same codebase, just a different number label). I built from CVS HEAD this morning on Mac OS X with no problems using this command-line: "ant -Dhivebuild.skip-tests=true" What problems are you having specifically? Erik On May 6, 2005, at 9:49

Re: Components to fry JSF and all other frameworks

2005-05-06 Thread Erik Hatcher
On May 6, 2005, at 11:23 AM, Gregg D Bolinger wrote: I am hoping that IoC still remains a developers option when using Tapestry. Of course it is. How could it not be? You could use Spring in Tapestry 3.0 just fine, and there is nothing any Java project could do to prevent you from using Sprin

Re: Components to fry JSF and all other frameworks

2005-05-06 Thread Erik Hatcher
On May 6, 2005, at 2:10 PM, Gregg D Bolinger wrote: Erik, thank you for clarifying things for me. I'm not lost to Wicket. I was just making a point. ;) Like my kids saying "I'm not going to clean up my room unless I you let me eat some candy first". Lousy way to make a point, and it doesn't

Re: As a User, which two items would you personally most like to see in the next Tapestry Release?

2005-05-06 Thread Erik Hatcher
On May 6, 2005, at 1:30 PM, Patrick Casey wrote: Just curious: can you come up with a case when you will get a stale link problem if you use If and For instead of Foreach, etc? I haven't yet, but I don't feel like I should have to go out and get a third party library to make iteration work. I

Re: Tapestry 3.1 build version problems

2005-05-06 Thread Erik Hatcher
On May 6, 2005, at 2:57 PM, seloha . wrote: Thanks Erik the build works with ant -Dhivebuild.skip-tests=true but if I use just ant the build fails with: specific build error: [junit] Testsuite: org.apache.tapestry.junit.mock.TestMocks [junit] Tests run: 45, Failures: 1, Errors: 0, Time elaps

Re: 4.0 DTD

2005-05-06 Thread Erik Hatcher
On May 6, 2005, at 4:27 PM, Gregg D Bolinger wrote: I am correct in assuming that the DTD for 4.0 should point at 3.1? http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd";> For the record, the 3.0 DTD still works fine with Tapestry 4.0, so there is no need to change your DTD necessarily. Th

Re: AW: A Few Questions About 4.0

2005-05-07 Thread Erik Hatcher
On May 7, 2005, at 4:34 AM, Ralf E. Stranzenbach wrote: As a newbie on Tapestry i'm currently working on porting a sample application from Struts to Tapestry. Does it already make sense to start development using Tapestry 4.0 ? I think so. I'm using CVS HEAD of 4.0 with no problems. The more fo

Re: Component Migrate 3.0-4.0

2005-05-07 Thread Erik Hatcher
On May 6, 2005, at 7:51 PM, Gregg D Bolinger wrote: Again, sorry if this has been asked. I did do a search but did not find an answer. I am wondering how the contrib components will act in a 4.0 environment. Are they all going to have to be converted from a 3.0 component to a 4.0 component? How

Re: Tapestry3.0.3: build error behind firewall

2005-05-07 Thread Erik Hatcher
Try adding a Ant task into the build if its not already there and parameterizable somehow. You could also bypass the build steps by manually downloading the dependencies. Erik On May 6, 2005, at 7:43 PM, Serban Tatu wrote: Hi, While trying to build Tapestry I got this error: downloadgz:

Re: AW: A Few Questions About 4.0

2005-05-07 Thread Erik Hatcher
is either. Feedback from users would be very helpful in this regard, in either fixing whatever we can to keep as much compatibility as possible, or at least noting it. I personally juggle too many variables and have not noted every little change I've made regarding 4.0. Erik Gregg

Re: Tapestry 4: Accessing HiveMind Registry outside of Tapestry

2005-05-09 Thread Erik Hatcher
On May 9, 2005, at 4:45 PM, Chris Conrad wrote: I'm currently working on an application where one of the requirements is that I handle notifications from a second application. The second application sends these notifications via an HTTP GET. From my understanding of Tapestry (which is curr

Re: 4.0 application config

2005-05-09 Thread Erik Hatcher
3.0 -> 4.0: -> -> And, no, you don't need a HiveMind (hivemodule.xml) file to declare a visit. Here's the .application file for the current app I'm building: http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> Only the stuff is different, which

Re: Deployment instructions for JBoss

2005-05-09 Thread Erik Hatcher
On May 9, 2005, at 3:00 PM, Edward Scanzano wrote: Hi all, Does anyone have any deployment instructions for JBoss. Sure, install this instead: http://jetty.mortbay.org :) Death to the Unified Class Loader! Erik - To unsubsc

Re: 4.0: what was property-specification

2005-05-10 Thread Erik Hatcher
On May 10, 2005, at 11:58 AM, Gregg D Bolinger wrote: In 3.0 we did a property-specification for each property in the Java file and declared a type, etc. The property-specification tag went way, obviously in 4.0. In fact, It would seem that you don't need to do anything similar in 4.0 for it

Re: Tapestry's Simplicity Blues

2005-05-11 Thread Erik Hatcher
Vjeran, I enjoy your posts and this one was no exception. You provide a much needed refreshing viewpoint on Tapestry. I converse with Howard about complexity on a regular basis. I won't paraphrase his view, but it does contrast with mine. I feel that complexity leaks, much like the age

Re: Tapestry's Simplicity Blues

2005-05-11 Thread Erik Hatcher
On May 11, 2005, at 9:46 AM, Konstantin Iignatyev wrote: Erik Hatcher wrote: My most recent struggle is with integrating auto-commit (via Cayenne) for all of my listener methods without them having to explicitly have a Cayenne dependence and mandating that they individually call the

Re: Tapestry's Simplicity Blues

2005-05-11 Thread Erik Hatcher
On May 11, 2005, at 12:09 PM, Konstantin Iignatyev wrote: Erik Hatcher wrote: I don't see how it'd be transparent. What is more transparent than a listener that doesn't have any explicit commits or rollbacks in it? In fact, my Tapestry code will have no direct use of Cayenn

Re: Tapestry's Simplicity Blues

2005-05-11 Thread Erik Hatcher
On May 11, 2005, at 5:02 PM, Ben Eng wrote: On Wed, May 11, 2005 at 11:36:39AM -0400, Erik Hatcher wrote: There is not a way to intercept listener method invocations with HiveMind that I know of. If you know of a way, could you please share? You don't like how I implemented events befor

Re: AW: Tapestry's Simplicity Blues

2005-05-12 Thread Erik Hatcher
think. Erik -Ursprüngliche Nachricht- Von: Erik Hatcher [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 12. Mai 2005 01:59 An: Tapestry users Betreff: Re: Tapestry's Simplicity Blues On May 11, 2005, at 5:02 PM, Ben Eng wrote: On Wed, May 11, 2005 at 11:36:39AM -0400, Erik Hat

Re: BindingException

2005-05-12 Thread Erik Hatcher
On May 12, 2005, at 8:54 AM, martin stanik wrote: Hallo, i am getting BindingException, when my program tries save data from form to bean. My page file is following: In exception dump is stated, that my class does not have setBalance (String) method. This is right, as t

Re: Tapestry's Simplicity Blues

2005-05-13 Thread Erik Hatcher
On May 12, 2005, at 9:43 PM, Ben Eng wrote: In your terms my post-listener event is fired only if the original listener succeed without thrown an exception or if throws Page/RedirectException. I don't think an "after" listener event could be coded in your contribution to do that. Please correct m

Re: Dynamic page templates?

2005-05-13 Thread Erik Hatcher
On May 12, 2005, at 11:53 PM, Mark Dillon wrote: Has anyone out there attempted to dynamically load a page template from the database at runtime? For instance, imagine I had a model property on a page specification, and that model had a string property containing template text. Would it be possib

Re: Converting a Spring MVC application to Tapestry

2005-05-13 Thread Erik Hatcher
On May 13, 2005, at 6:33 AM, Nathan Lai wrote: Hi All, A few weeks ago, I made a web mapping application with the Spring MVC using the MultiActionController that comes with the framework. The application features the following (1) A user is able to retrieve the map image of a feature (say

Re: Dynamic page templates?

2005-05-13 Thread Erik Hatcher
ucene in Action... Thanks Always a joy to hear. Erik Thanks, Mark On 5/13/05, Erik Hatcher <[EMAIL PROTECTED]> wrote: On May 12, 2005, at 11:53 PM, Mark Dillon wrote: Has anyone out there attempted to dynamically load a page template from the database at runtime? For instance, imag

Re: Unifying Insert and InsertText

2005-05-14 Thread Erik Hatcher
Hear hear! Less is more, less is more, less is more. COME ON CHANT HOWARD'S MANTRA What say folks to pulling the ax out on Tapestry and trimming things back simplicity. Howard, and I'm mentioning him by name in a very reverent manner despite the likely interpretation that I'm pokin

Re: InvalidateSessionException for log out?

2005-05-16 Thread Erik Hatcher
On May 16, 2005, at 12:51 AM, Vjeran Marcinko wrote: For example, we have PageRedirectException and RedirectException for changing request flow once it is in listener method. Now we wan to perform log out from listener method, so, how does it sound to introduce something like throw new Invalidate

Re: HTML in response stream

2005-05-17 Thread Erik Hatcher
On May 16, 2005, at 12:08 PM, Patrick Casey wrote: Does anyone have any recent experience with client-side XSL transforms? Historically I've been nervous about trusting the browsers to transform predictably so I've preferred server-side transforms, but I might just be an old nervous fogey o

Re: Serving large number of product images

2005-05-17 Thread Erik Hatcher
On May 16, 2005, at 8:00 PM, Patrick Yip wrote: I apologize if this question has been asked too many times. I did a quick search and haven't been able to find a satisfactory answer. Currently, I face a practical issue of serving the images when the image files are packaged into the war file. Ad

Fwd: MyEclipse Newsletter

2005-05-17 Thread Erik Hatcher
Tapestry support in MyEclipse, I presume via Spindle... Begin forwarded message: From: MyEclipse <[EMAIL PROTECTED]> Date: May 17, 2005 4:39:44 AM EDT To: MyEclipse <[EMAIL PROTECTED]> Subject: MyEclipse Newsletter Reply-To: [EMAIL PROTECTED] Home | Forums | Your Account | Subscriptions May 16, 200

Re: Serving large number of product images

2005-05-18 Thread Erik Hatcher
On May 17, 2005, at 6:36 PM, Patrick Yip wrote: Hi, there, I'm still trying to find a way to put large number of product images on a centralized folder not under the application WEB. I was able to use this to get my images from a folder not under WEB application: public IAsset getProductImage(St

Re: Serving large number of product images

2005-05-18 Thread Erik Hatcher
s and off-load that calendar icon to Apache directly. Erik Thanks, -Patrick -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 17, 2005 5:41 AM To: Tapestry users Subject: Re: Serving large number of product images On May 16, 2005, at 8:00 PM, Patric

Re: Is it possible in tapestry - assets at runtime?

2005-05-19 Thread Erik Hatcher
On May 19, 2005, at 5:07 AM, Tomas Jucius wrote: I explain situation: Have menu items - component. All items are defined in *.properties file.. In that file I define: page name(tapestry page name), title(title for user), icon (icons that wraps link)... All menu items are components what take asset.

Re: Foreach and links

2005-05-25 Thread Erik Hatcher
On May 25, 2005, at 7:06 PM, Edward Scanzano wrote: Thanks Jamie, That is really good advice. The variable you put into a parameter must be an object (Integer vs int). Am I right about this? It would be ideal if I use the Foreach index. OGNL will make the conversion automatically for you, so

Re: Foreach and links

2005-05-26 Thread Erik Hatcher
try/ util/io/ISqueezeAdaptor.html> Erik On May 25, 2005, at 9:03 PM, Erik Hatcher wrote: On May 25, 2005, at 7:06 PM, Edward Scanzano wrote: Thanks Jamie, That is really good advice. The variable you put into a parameter must be an object (Integer vs int). Am I right about this? It would be id

Re: Image src not rendered correctly?

2005-05-26 Thread Erik Hatcher
Why even bother with using the Image component if you want to have custom URLs? Try this instead: where your page or component has a getImageUrl that provides the desired servlet path. Erik On May 26, 2005, at 3:48 AM, Jacob Lauemøller wrote: Hi all, I'm currently using Tape

Re: JSF + Tapestry

2005-05-26 Thread Erik Hatcher
On May 26, 2005, at 5:29 AM, Andreas Andreou wrote: Not that it matters to me, but others (especially newcomers or people considering Tapestry) might like being able to integrate these 2. In an interview (http://www.theserverside.com/talks/videos/CraigMcClanahan2/ interview.tss?bandwidth=dsl

Re: Tapestry 4.0 Unable to read OGNL expression

2005-05-26 Thread Erik Hatcher
For the record, I concur with the confusion the default prefix has caused as well. It still seems unnecessarily a violation of DRY to repeat "listener" multiple times to bind to a single listener, but the duplication is better than confusion and difficulty in tracking down issues. Eri

Re: contrib:Table problem sorting or going to next page [auf Viren geprueft]

2005-05-27 Thread Erik Hatcher
On May 27, 2005, at 9:35 AM, Jonathan O'Connor wrote: Well, I found what was happening. For some strange reason, the source must be made persistent. Now everything works OK. Does anyone know why it must be persistent? The table component needs the original data in order to sort it. It do

Re: Why can't tapestry have LGPL code?

2005-05-29 Thread Erik Hatcher
For the record - it's not a problem to mix and match ASL, GPL, and LGPL in your own applications. Apache itself does not allow non- ASL'd code to be released from its codebases directly because that changes whether something is wholly ASL'd or not. It's best to keep the code distributed by

Re: Date Formatter - not thread safe

2005-05-29 Thread Erik Hatcher
On May 29, 2005, at 2:04 PM, Jamie Orchard-Hays wrote: Yeah, I'd forgotten that. I'm sure it's why we put these in our Visit class. The idea (in the Darden design) to use a hard-coded data format, but in a Visit-centric way so that in the future if you wanted to provide Locale-specific h

Re: Apache mailing list leading to SPAM

2005-05-31 Thread Erik Hatcher
On May 31, 2005, at 10:00 AM, Karthik Abram wrote: I was appalled to find out that the apache archives don't remove email addresses when exposing them over the web. Ever since I joined this mailng list, I've started getting tons of junk mail. Does anyone know whom to contact to rectify this

Re: Apache mailing list leading to SPAM

2005-05-31 Thread Erik Hatcher
On May 31, 2005, at 10:23 AM, Andrus Adamchik wrote: Consider that the e-mail lists are public and that there are many services that tap into the archives to allow viewing/searching them. Services could also simply subscribe to the lists and harvest messages that way as well. Hiding your e-

Re: newbie: call tapestry page with parameters from external web site

2005-06-01 Thread Erik Hatcher
Also note that you can get at the HttpServletRequest from the IRequestCycle - allowing you to use named parameters and not have to deal with the funky DataSqueezer (S) prefix. Erik On Jun 1, 2005, at 2:29 AM, Fabio Bondioli wrote: Hi, i'm in my day one with tapestry and I would like to

Re: Manipulating existing components via java code

2005-06-02 Thread Erik Hatcher
On Jun 1, 2005, at 9:52 PM, Patrick Casey wrote: I have a component on my form: How the heck do I make the component red? I can make it red on the page definition with: But I can't seem to find a way for my java code to set the class programmatically. Is there a w

Re: Example of query params in ExternalLink

2005-06-02 Thread Erik Hatcher
On Jun 2, 2005, at 3:33 AM, Peter Veentjer - Anchor Men wrote: I have been looking for an example how to use query parameters with the ExternalLink. I know the ExternalLink can have a array of parameters.. and it can access the request context to catch the query parameters. But is there no

Re: How to make forward to Page

2005-06-02 Thread Erik Hatcher
On Jun 2, 2005, at 6:06 AM, gvp wrote: Hi all, I have two pages A and B(implements IExternalPage interface). I'd like to make forward (not redirect) from A.someListener to B page but don't know how. Do you know any way of doing this? You could simply activate the next page, though that's no

Re: Re[2]: How to make forward to Page

2005-06-02 Thread Erik Hatcher
On Jun 2, 2005, at 6:48 AM, gvp wrote: Hello Erik, I do forward because I want to have A's page url in browser address text box. So if user decides to bookmark page B (results) he'll get actually page A(search criteria). Then simply activating a page from a listener will do the trick. The

Re: Concrete pages and components

2005-06-03 Thread Erik Hatcher
On Jun 3, 2005, at 4:30 AM, Robert wrote: Hi, After working with tapestry a little bit I decided to find a way to not use abstract classes anymore. They give me too much trouble. I was hoping you people could give me some insight in the possibilities to accomplish this. For pages I rea

Re: How to overwrite an old css class within the a ValidField ?

2005-06-03 Thread Erik Hatcher
On Jun 2, 2005, at 11:52 PM, Andy Chu wrote: From the workbench example, We know that Tapestry is able to indicate a ValidField being Invalid by writing a CSS class, for example "field- error", with the "writeAttributes" method in the delegate class of a specified form. However, for some pu

Re: Velocity Integration

2005-06-03 Thread Erik Hatcher
On Jun 3, 2005, at 8:25 AM, Scott F. Walter wrote: Is is possible to have a Velocity template perform an http "post" operation to a Tapestry Page? The answer is "yes", but what you're after needs to be clarified a bit more. Do you want the template to post or the template to generate a t

Re: Concrete pages and components

2005-06-03 Thread Erik Hatcher
On Jun 3, 2005, at 9:05 AM, Robert wrote: There really isn't much to elaborate on. You can make your classes concrete, use (or in Tapestry 4.0 DTD) in the specification files and simply use get/ setProperty in your Java code to work with the values. The thing that I don't understand

Re: PropertySelection

2005-06-04 Thread Erik Hatcher
Just to clarify Paul's response a bit as it did not seem clear on this... you can create a single custom IPropertySelectionModel class to handle a wide range of data. In the past, I've created a general purpose (within the scope of a particular project) JavaBean model that allowed specifi

Re: SVG based UI: contenttype

2005-06-05 Thread Erik Hatcher
On Jun 4, 2005, at 11:34 PM, Patrick Casey wrote: For serving SVG I need to switch contenttype from text/html to image/ svg+xml. I achieved this by implementing a SVGWriter which sets the contenttype accordingly. The Internet Explorer ignores the contenttype, so I have to name the pages wi

  1   2   >