Form.js

2006-04-24 Thread Eric Schneider
Hi, I was wondering if there is a way to suppress the inclusion of Form.js script tag. I'm guessing it isn't necessary if you set the Form component's binding clientValidationEnabled="ognl:false" focus="ognl:false", but maybe I'm wrong. Normally, this .js include isn't a problem, but during high

Re: Creating array of Validators with String

2006-03-31 Thread Eric Schneider
at make sense to you, then use them to create one or more > > of the validators in the org.apache.tapestry.valid package. > > > > Will that work? > > > > -Mike > > > > On 3/30/06, Eric Schneider <[EMAIL PROTECTED]> wrote: > > > Hi, > >

Creating array of Validators with String

2006-03-30 Thread Eric Schneider
Hi, I have a generic editor page that iterates over a dynamic list of properties (driven by an xml file). I'd like to make use of the built in validator stuff, but I'm unclear about how to create a collection of Validator objects from a string. I'm assuming there is some convenience in the frame

Re: promoting Tapestry

2006-03-22 Thread Eric Schneider
> a big problem with tapestry is that not many employers are using it . ps - still looking for 3 developers to do Tapestry work in NYC. Please contact me if anyone is interested. Thanks, Eric On 3/22/06, Cosmin Bucur <[EMAIL PROTECTED]> wrote: > > a big problem with tapestry is that not many em

Tapestry developers in NYC

2006-03-17 Thread Eric Schneider
Hi, Just curious how many Tapestry developers are out there in the tri-state area. My company is looking to hire 1 developer immediately and possibly 2 more in the next 6 months or so. I won't go into details on the list, but if you're interested or know if people interested please contact me pr

Writing Tapestry Response to File

2006-03-16 Thread Eric Schneider
Hi, I recently remember someone asking about writing out a Tapestry response to a file, tho I can't find that thread. I'll looking to add some functions to a CMS app to flatten content to our web server's doc root. Can someone share an ideal way of doing this? Thanks, Eric

Re: Tapestry on GlassFish

2006-03-15 Thread Eric Schneider
Shreedhar, I'm assuming GF is borrows a lot on the sunone app server. I think we may be one of a few groups (on this mailing list at least) that have deployed production Tapestry applications on the Sunone App Server 7.0. After spending many hours on different policy file configurations, we de

Re: ANN: FCKeditor TextArea component for Tapestry 4

2006-03-13 Thread Eric Schneider
Kinda knew this was too useful to not exist already. The Snippets plugin... http://sourceforge.net/tracker/index.php?func=detail&aid=1396390&group_id=75348&atid=737639 Very easy to gear up, exactly what I was looking for. Cheers, Eric On 3/13/06, Eric Schneider <[EMAIL PR

Re: ANN: FCKeditor TextArea component for Tapestry 4

2006-03-13 Thread Eric Schneider
Shing, Excellent job on porting the FckEditor to Tapestry. I'm finding it very useful. Quick question. I'm trying to create some behavior similar to Template functions built into the FckEditor. Ideally, I'd like to create "chunk" templates that could inserted into existing content in the edito

Re: free xxx video

2006-02-21 Thread Eric Schneider
Hey, anyone try this? Is it really free? :-) e. On 2/21/06, Apache <[EMAIL PROTECTED]> wrote: > Download IcooLoader and then you can download all video for free > free xxx video (http://www.u-blog.net/freevideo) > > _ > http://www.u-blog.net/freevideo > > > -

Re: pages inside a component library?

2006-02-17 Thread Eric Schneider
Sure. There's nothing component specific about Tapestry libraries. Cheers, e. On 2/17/06, Dan Adams <[EMAIL PROTECTED]> wrote: > Is it possible to package a page inside a component library? > > -- > Dan Adams > Software Engineer > Interactive Factory > > > ---

Re: Schedule a task when servlet loads on server.

2006-01-30 Thread Eric Schneider
Check out TimerTask. http://java.sun.com/j2se/1.4.2/docs/api/java/util/TimerTask.html If you need something more sophisticated (cron like) check out Quartz. http://www.opensymphony.com/quartz/ Cheers, Eric On 1/30/06, Frank <[EMAIL PROTECTED]> wrote: > Hi, > > How do I make a scheduled task, t

Re: How to specify multiple stylesheets in Shell component?

2006-01-25 Thread Eric Schneider
There's a "stylesheets" binding where you can pass the Shell component an Array of IAsset objects. http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Shell.html http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/IAsset.html Hope that helps. Eric On 1/25/06, Cliff

Re: Guaranteed order of PageBeginRender

2006-01-04 Thread Eric Schneider
Scott, Yeah, this is a spot that can get a little awkward. It feels most natural (maybe because of my WO experience) to allow the page to init instance variables and pass them to components on the page. Where you hit a snag is when the component needs to init additional things based on a parame

Re: Learning Tapestry

2005-12-16 Thread Eric Schneider
> I wonder if you would dare to say it to my face? Nice. I can almost hear the chest pounding. Give us a break please. On 12/16/05, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote: > To John (Dow?) > > The responce below seems to be typical for email accounts with names like > this one [EMAIL

Re: java.lang.NoClassDefFoundError: com/apple/eawt/Application

2005-12-07 Thread Eric Schneider
Hi, Sorry about the noise. It was totally user error. I had a rogue import statement on one of my framework classes (didn't bark compile time because I was building on OSX). Thanks, Eric On 12/7/05, Eric Schneider <[EMAIL PROTECTED]> wrote: > Hi, > > I'm attemp

java.lang.NoClassDefFoundError: com/apple/eawt/Application

2005-12-07 Thread Eric Schneider
Hi, I'm attempting to deploy a Tapestry application (beta 11) on a machine that already contains other Tapestry applications with identical jar configurations. These other applications work flawlessly, but for reasons unknown this app throws a NoClassDefFoundError looking for com/apple/eawt/Appli

Re: Tassel/DynamicSelectionList for 4.0

2005-11-08 Thread Eric Schneider
to tapestry 4.0. It takes a content tree and lets you render multiple selects, setting *one* value - a child node. parent nodes selection is not allowed. Need it? Cheers, Ron ציטוט Eric Schneider: Hi, I was wondering if anyone has ported the DynamicSelectionList in Tassel to T4? Or i

Tassel/DynamicSelectionList for 4.0

2005-11-04 Thread Eric Schneider
Hi, I was wondering if anyone has ported the DynamicSelectionList in Tassel to T4? Or if someone has a similar component that they'd like to share, it would me much appreciated. http://equalitylearning.org/Tassel/app?service=external/ ViewComponent&sp=SDynamicSelectionList Thanks in advance.

Injecting ServletContext into a service?

2005-11-01 Thread Eric Schneider
Hi, I haven't stumbled across a way to inject an application's ServletContext into a hivemind singleton service. Is there an easy way to do this that I'm missing? I need to load some XML files in the WEB-INF directory. Maybe there's another way to read files in as an input stream? Also th

Re: Upgrading 3 to 4 issues

2005-10-27 Thread Eric Schneider
> > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > -- Eric Schneider Central Park Software, Inc. http://www.centralparksoftware.com [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Cayenne integration guidelines

2005-10-25 Thread Eric Schneider
Borut, I've always stuck to the simplest approach. If I'm dealing with a completely stateless application, I share one DataContext for all users (in T4 as a hivemind singleton). For stateless apps, each individual user has their own DataContext in the Visit object. I haven't used the

Re: tp3 to 4 conversion scripts

2005-10-21 Thread Eric Schneider
It might be tough without human intervention (but then again, I suck at complex regex stuff). These seemed to be the changes I made over and over again In .page(s): Replace: http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd";> With: http://jakarta.apache.org/tapestry/dtd/Tapestry_4_

Re: Delibrately Provacative Question: Why Upgrade to 4.0?

2005-10-19 Thread Eric Schneider
Pat, I think your concern is valid. I started looking at 4.0 a couple of months back (around beta 4) to see what it would take to upgrade our 3.0.3 and 2.3 apps (all of which are large). I wouldn't say upgrading is a re-implementation. But, if you're dealing with a large application, I

Re: AW: Sun Java Apllication Server and Tapestry 4

2005-10-01 Thread Eric Schneider
Miso, It absolutely works. I'm guessing the errors you are seeing are due to the default security policy settings (which doesn't allow applications to create page subclasses at runtime). You can find instructions on how to loosen these restrictions somewhere in the completely lame Sun O

Re: hivemodel.xml search path?

2005-09-30 Thread Eric Schneider
Dan, I have my hivemodule.xml in the META-INF folder within a .jar file (which is a shared tapestry library). This jar is sitting in WEB- INF/lib directory. Tapestry seems to find it with no problems. Hope that helps. Eric On Sep 30, 2005, at 5:18 PM, Greg Ward wrote: On 30 September

Deployment problems: argument type mismatch

2005-09-26 Thread Eric Schneider
Hi, Our SA recently setup a new deployment environment that we're having configuration issues with. The application has run successfully on other machines. It seems to throw an argument type mismatch while trying to build the ApplicationSpecificationInitializer related services. inte

Re: OgnlUtils? 4.0

2005-08-24 Thread Eric Schneider
he tapestry.ognl.ExpressionCache service. However, given that expression caching is built into the tapestry.ognl.ExpressionEvaluator, service don't see why you would need to get parsed expressions. On 8/24/05, Eric Schneider <[EMAIL PROTECTED]> wrote: Hi, In a 3.0 application I made u

OgnlUtils? 4.0

2005-08-24 Thread Eric Schneider
Hi, In a 3.0 application I made use of some OgnlUtils API. The class appears to be gone in 4.0. Is there a suggested 4.0 replacement for the following: OgnlUtils.getParsedExpression(property); Thanks! Eric - To unsubscri

Re: Application State Objects in a Library

2005-08-22 Thread Eric Schneider
Hi Adam, I was curious about this too, Thanks! A quick follow up. Is this an either or thing? For example, the application's hivemodule.xml file must either be in the WEB-INF folder or in a jar's META-INF. Or can you have multiple hivemodule.xml files deployed with an application? Al

Re: Back to Tapestry after an Year

2005-08-21 Thread Eric Schneider
Konstantin, But if Modeller to be "wheels" of Cayene then I would expect big troubles down the road for Cayene users. Right, I'll start trembling now. Saying something like this without any knowledge of the framework is really just hot air. You've asked for a comparison, take it how ever

Re: Back to Tapestry after an Year

2005-08-21 Thread Eric Schneider
Interesting point. Kind of like saying, this car comes with wheels which is exactly why I will NOT buy it. Just me. :) All joking aside, if you've reached a point where you are productive with a tool, stick with it. Cheers, e. On Aug 19, 2005, at 7:17 PM, Konstantin Ignatyev wrote: Th

Re: Tapestry on Mac?

2005-08-18 Thread Eric Schneider
Frank, A little over a year ago I picked 1.5GHZ Powerbook, with a GIG of ram. I totally dig it. I can't see myself ever developing on a window machine again. e. On Aug 18, 2005, at 2:59 PM, Frank wrote: Hello, I am thinking of getting a Mac Ibook or iMac. Can I develop web apps usi

Re: EngineServiceOuterProxy

2005-08-18 Thread Eric Schneider
new service interface as the hivemind service interface. Richard -Original Message- From: Eric Schneider [mailto:[EMAIL PROTECTED] Sent: Thursday, August 18, 2005 8:36 AM To: Tapestry users Subject: EngineServiceOuterProxy Hi, I'm still very new to hivemind, so bear with me. I'

EngineServiceOuterProxy

2005-08-18 Thread Eric Schneider
Hi, I'm still very new to hivemind, so bear with me. I'm injecting a custom IEngineService implementation into a component. All seems to work fine until I need to call API that is specific to my service. The problem is due to the component's service instance variable being an instance o

Re: Back to Tapestry after an Year

2005-08-18 Thread Eric Schneider
zation problem?. Thats what I seem to have the most difficulty with. Currently I seem to have to use lazy="false" with all my persistant objects. Would you say that it is easy to migrate from hibernate to cayenne? On 8/18/05, Eric Schneider <[EMAIL PROTECTED]> wrote: I can offer a

Re: Back to Tapestry after an Year

2005-08-18 Thread Eric Schneider
I can offer a few reasons why I like it better. It's based on another excellent O/R framework (EOF, the O/R framework bundled with WebObjects). I think it's easier to learn, the naming is less awkward, and the Cayenne mailing list is more helpful than the Hibernate forums. Cayenne dynamic

Re: Injecting custom IEngineService

2005-08-17 Thread Eric Schneider
njection you mentioned. You probably have it right, but I was wondering if your contribution should be using something more like this: jesse On 8/17/05, Eric Schneider <[EMAIL PROTECTED]> wrote: Hi, I'm having trouble injecting a custom IEngineService into a comp

Injecting custom IEngineService

2005-08-17 Thread Eric Schneider
Hi, I'm having trouble injecting a custom IEngineService into a component. I'm essentially implementing a component that mirrors the regular Tapestry PageLink (called PDFPageLink). All the component is suppose to do is render the links with the correct service name. Referencing the s

Re: Tapestry 4.0/JDK 1.4/AnnotationEnhancementWorker

2005-08-16 Thread Eric Schneider
Gosh, things are easy when you know what you're doing! :-) Thanks again for you help. Eric. On Aug 16, 2005, at 11:15 AM, Howard Lewis Ship wrote: Simply make sure you AREN'T including the annotations JAR in the classpath. On 8/16/05, Eric Schneider <[EMAIL PROTECTED]> w

Tapestry 4.0/JDK 1.4/AnnotationEnhancementWorker

2005-08-16 Thread Eric Schneider
Hi, I'm attempting to setup a simple test application with Tapestry 4.0. I'm using the workbench as an example which probably isn't the best idea since it makes use of JDK 1.5 annotations. Switching to the JDK 1.5 isn't an option for me. Can someone point me to the proper configuratio

Re: 3.0.3 - referencing pages in library

2005-07-18 Thread Eric Schneider
ince, like I mentioned, this is probably something I will be needing to do in the future. :) Robert Eric Schneider wrote: Hi, I'm having a heck of time moving a page (.java, .html, .page) into a shared library. In my app's listener call, it throws a DocumentParseException on

3.0.3 - referencing pages in library

2005-07-18 Thread Eric Schneider
Hi, I'm having a heck of time moving a page (.java, .html, .page) into a shared library. In my app's listener call, it throws a DocumentParseException on this line: MySharedPage nextPage = (MySharedPage)cycle.getPage("MySharedPage"); "Could not parse specification context:/com/myco/share

Re: Container managed security with tapestry 3?

2005-07-16 Thread Eric Schneider
Lukasz, Just to get this straight...all of your .html, .page, and .jwc files are in your WEB-INF directory? You can nest them into sub folders, but that will require you to reference all of you pages and components in your .application file. specification-path="templates/m

Re: 3.0 -> 4.0 porting issues

2005-07-12 Thread Eric Schneider
wrote: Eric Schneider wrote: Hi, Just updated the tapestry (and related) .jar files in one of our libraries. Here are the things I noticed that aren't listed on the upgrade page on the jakarta site. deprecated: IEngine.getScriptSource(); FormEventType RequestContext

3.0 -> 4.0 porting issues

2005-07-12 Thread Eric Schneider
Hi, Just updated the tapestry (and related) .jar files in one of our libraries. Here are the things I noticed that aren't listed on the upgrade page on the jakarta site. deprecated: IEngine.getScriptSource(); FormEventType RequestContext Body.get(requestCycle); Reques

Re: Tapestry, Cayenne and Squeezer

2005-07-12 Thread Eric Schneider
Excellent work Filip! Thanks for putting this together. Cheers, eric. On Jul 12, 2005, at 1:13 PM, Filip Balas wrote: It seems to me that no where on the internet is this whole process explained in enough detail to make it easy to understand in under 15min. So here is my best attempt. I as

custom NumberValidator

2005-06-15 Thread Eric Schneider
Hi, Has anyone created a subclass of NumberValidator that includes a format attribute similar to the DateValidator implementation? I need ValidFields to take numeric values formatted like: "150,000" Just figured I'd take a stab before getting dirty. Thanks, Eric ---

Re: augmenting DirectLink (resolved)

2005-05-26 Thread Eric Schneider
Hi, My render worked perfectly. Sorry for the noise! Eric On May 26, 2005, at 2:15 PM, Eric Schneider wrote: Ha! Well, I found the default link render (DefaultLinkRenderer). Took me a while to find because it's so poorly named. ;-) I'd still appreciate suggestions if this i

Re: augmenting DirectLink

2005-05-26 Thread Eric Schneider
Ha! Well, I found the default link render (DefaultLinkRenderer). Took me a while to find because it's so poorly named. ;-) I'd still appreciate suggestions if this is the best approach. Thanks! e. On May 26, 2005, at 2:06 PM, Eric Schneider wrote: Hi, I need the ability

augmenting DirectLink

2005-05-26 Thread Eric Schneider
Hi, I need the ability to render DirectLinks in an alternate way. Instead of the standard: Foo I need it to render like: Foo Is the best approach to implement my own ILinkRenderer? I'm having trouble finding which default implementation of ILinkRenderer DirectLink is using (but maybe

Re: dynamic forms that are stateless

2005-05-19 Thread Eric Schneider
...? If you are, watch out for null data contexts on re-serialization. Robert Eric Schneider wrote: Robert, I'm curious as to how putting the count in a hidden is too late? Maybe you can tell me? As far as I can tell, the composite object (which holds all the form elements) is null when pageBegin

Re: dynamic forms that are stateless

2005-05-19 Thread Eric Schneider
should allow you to track the users actions and render an appropriate form as needed, and each form displayed in a browser has it's own "state". Also, remember to set all the @Form and @xxxLink components to stateful="false". Richard -Original Message- From: Eric

Re: dynamic forms that are stateless

2005-05-18 Thread Eric Schneider
If I don't instantiate the object in pageBeginRender(), the page throws because it's attempting to set a value on a null object. I'm going to try Richard's suggestion. See if that gets me somewhere. Thanks, e. On May 18, 2005, at 5:00 PM, Robert Zeigler wrote: Eric Schn

dynamic forms that are stateless

2005-05-18 Thread Eric Schneider
Hi, I have a requirement that I'm stumbling on. I have an editor page that needs to be completely stateless containing no persistent properties. Users must be able to open this page in multiple browsers windows, switching back and forth and performing updates. This is no problem if there

Re: IRequestCycle cookie madness

2005-05-11 Thread Eric Schneider
information in the visit object or throw a page redirect exception which would cause the browser to retrieve a new page with the cookie set. Barry On Wednesday, May 11, 2005, at 01:46PM, Eric Schneider <[EMAIL PROTECTED]> wrote: Hi, I'm having trouble getting my head around som

IRequestCycle cookie madness

2005-05-11 Thread Eric Schneider
Hi, I'm having trouble getting my head around some behavior that I'm seeing. Here's the scenario: I have two components that appear on every page of my application, component A & B. When I start a new Visit to the application, the Home page renders and users can invoke an action on compon

Re: SubmitButton Example

2005-05-03 Thread Eric Schneider
Mark, Not sure what you mean. Are you trying to track which submit button was clicked? e. On May 3, 2005, at 12:52 PM, Mark Stang wrote: Hi, Does anyone have some sample code on how to access the SubmitButton from within java? thanks, Mark -

Conditionally showing form elements (v. 2.3)

2005-04-19 Thread Eric Schneider
Hi, I've been tasked to augment a Tapestry 2.3 application and I'm having a little "stale link" trouble because of form elements wrapped in conditionals. I'm fairly sure I've gotten this to work in 2.3 apps before (pre contrib:FormConditional), but I can't remember how I did it. Does each co

Re: Tapestry Site in Action

2005-04-12 Thread Eric Schneider
Frncs, This is only included in pages that use the Shell component. It's very possible that this site doesn't use a Shell component. Well, is the site really created with the Tapestry framework? Where is the proof then? There are only about a 100 Tapestry related service links on the Home pa

Re: Body.addInitializationScript()

2005-04-01 Thread Eric Schneider
Totally worked. Thank you Jamie! e. On Apr 1, 2005, at 5:18 PM, Jamie wrote: the dtd says you don't need a body tag (0 or 1) : Eric Schneider wrote: Can I accomplish this using a Script component? Could it be as simple as this? "-//Apache Software Foundation//Tapes

Re: Body.addInitializationScript()

2005-04-01 Thread Eric Schneider
r(); </initialization> Can you have a script component without a defined? Thanks, e. On Apr 1, 2005, at 4:48 PM, Eric Schneider wrote: Hi, I'm wondering where in the request cycle it is appropriate to add some javascript initialization code to my Body component? Following needs to b

Body.addInitializationScript()

2005-04-01 Thread Eric Schneider
Hi, I'm wondering where in the request cycle it is appropriate to add some javascript initialization code to my Body component? Following needs to be tucked into the window.onload on every page: onLoadHandler(); Also, I need this to work on pages that use Tapestry's validation stuff (which also