RE: [OT] [T5] tapestry project structure

2007-03-14 Thread Greg.L.Cormier
I definately agree that keeping version numbers in sync would make things easier. For some reason Tap takes a lot of flack on the versioning of it. Could be a compliment if that's the only gripe :P But I agree, the versioning is chaotic. Why not adapt a linux-esque system... even numbers stable

RE: Dates and numbers formatted according to the user localization

2007-02-13 Thread Greg.L.Cormier
You need to store it somehow in your application, perhaps an ASO, and then pass that locale when you format a date. -Greg -Original Message- From: Stephane Decleire [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 9:02 AM To: Tapestry users Subject: Re: Dates and numbers format

Radio onChange firing oddly in Internet Explorer

2007-02-05 Thread Greg.L.Cormier
Has anyone else noticed onChange firing oddly in IE? If I change the selected radio button, the onChance event fires only when I change my focus after that. Is this a dojo issue? Regular Thanks, Greg - To unsubscri

RE: Help with sorting custom contrib:table column

2007-01-26 Thread Greg.L.Cormier
Thanks Andy. I think hacking up the source might be beyond my level. However if you do get the chance to work on it, I will be happy to test out some snapshots for you and provide feedback! Thanks, Greg -Original Message- From: andreas a [mailto:[EMAIL PROTECTED] Behalf Of andyhot Sent:

Help with sorting custom contrib:table column

2007-01-25 Thread Greg.L.Cormier
Hey guys. I've got a nice sortable table using contrib:table, and I broke the sorting by adding custom column values. So my englishTitle column uses the getEnglishTitleColumn() method on each row. Where do I need to start looking to implement the comparator that will let the sorti

RE: Netbeans plug-in.

2007-01-09 Thread Greg.L.Cormier
Mine is working fine with 4.1.1-SNAPSHOT. -Original Message- From: Daniel Anguita O. [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 09, 2007 4:04 PM To: Tapestry users Subject: Re: Netbeans plug-in. Should work with any snapshot. It's an IDE's thing. Try reinstalling. Leo Sakhvoruk es

ID of DOJO objects?

2007-01-04 Thread Greg.L.Cormier
If I have a Datepicker, Does that mean the name of it is startDate? Or am I missing something else? I'm getting errors trying to do : datepicker = dojo.widget.byId('startDate'); It's staying undefined. Thanks, Greg -

RE: Can someone help me with DropdownDatePicker javascript?

2007-01-03 Thread Greg.L.Cormier
Here's what I've hacked up so far but nothing is happening.. var datepicker = dojo.widget.byId('startDate'); dojo.event.connect(datepicker, 'setDate', 'myHandler'); function myHandler(evt) { alert("setDate hand

Can someone help me with DropdownDatePicker javascript?

2007-01-03 Thread Greg.L.Cormier
I've got a DropdownDatePicker. I'd like to have an onChange event that refreshes the form. I guess because this is DOJO I can't do what I typically do Can anyone help me get this sort of thing going? I have virtually no Javascript knowledge :( I'm guessing I will need to use some DOJO calls

RE: Raw values in contrib:table

2007-01-03 Thread Greg.L.Cormier
I figured it was something like this. Okay I will see if I can dig something up on how to fix it! -Greg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of James Carman Sent: Wednesday, January 03, 2007 11:09 AM To: Tapestry users Subject: Re: Raw values in con

RE: Raw values in contrib:table

2007-01-03 Thread Greg.L.Cormier
Hmm, is there any chance that by in doing this, I've broken the sorting functionality provided by contrib:table? It doesn't seem to work anymore... Thanks, Greg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 02, 2007 4:10 PM To: users@tapestr

RE: Raw values in contrib:table

2007-01-02 Thread Greg.L.Cormier
Great, I got it going. I read the documentation, had no idea what it was saying. Dug through the source code, got completely confused... then went back to the documentation, and then it made sense.. I just did a 3 line block element at the top of my HTML page, bam, it works! And they're very si

RE: Raw values in contrib:table

2007-01-02 Thread Greg.L.Cormier
Thanks! I'm still digging, it's a little confusing since it's split up as a JWC for LocaleSelection.. trying to piece everything together. I'd rather not split mine into a JWC file. -Original Message- From: Robert Zeigler [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 02, 2007 3:41 PM

RE: Raw values in contrib:table

2007-01-02 Thread Greg.L.Cormier
Thanks. I'm digging through workbench code to get a feel for this.. LocaleSelection.* Will I be able to override that one column only? Or will I need to override it, and then provide defaults for all the other columns? -Original Message- From: andreas a [mailto:[EMAIL PROTECTED] Behalf

Raw values in contrib:table

2007-01-02 Thread Greg.L.Cormier
On my tableView I have literal: * id:getId(), englishTitle:getEnglishColumn(), frenchTitle:getFrenchColumn() the 2nd and 3rd columns return some html links, but they get escaped. How can I get these to get displayed as html? I've tried adding a raw="true" in the html, but it's not

RE: Sortable tables?

2006-12-28 Thread Greg.L.Cormier
Of course, it was in contrib :) Found it. http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/table.html Thanks for the tip! Greg -Original Message- From: Daniel Jue [mailto:[EMAIL PROTECTED] Sent: Thursday, December 28, 2006 2:25 PM To: Tapestry users Subject: R

Sortable tables?

2006-12-28 Thread Greg.L.Cormier
I do vaguely remember having clickable table headers so you could sort by that column in Tapestry 3.. Can anyone point me to going about this in Tap 4.1? Even just a few breadcrumbs... In the documentation I don't see any components that look related to this. Thanks! Greg

RE: Adding Dojo when not using the Shell Component

2006-12-28 Thread Greg.L.Cormier
Matt, here's how I did mine, I just dropped in the ScriptIncludes... ...etcetcetc -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Thursday, December 28, 2006 9:59 AM To: Tapestry users Subject: Re: Adding Dojo w

RE: Help with @ScriptIncludes

2006-12-21 Thread Greg.L.Cormier
I doubt it, the Filter modifies the response just before it gets sent back to the client. It'd have to be client-side, or the last filter in a chain, but developers usually explicitly put the compression filter last ;) Time to add-in my compression filter again, but excluding *.js!! -Origin

RE: Help with @ScriptIncludes

2006-12-21 Thread Greg.L.Cormier
Fixed it! Alright, so it was GZIP'd JS "include" causing the issue! Initially I had a compression filter on my servlet path /app/*. So it compressed the JS file that Tapestry was returning with the URL /app?service=asset&path=%2Fdojo%2Fdojo.js Then I disabled the filter. I guess this file was

RE: Help with @ScriptIncludes

2006-12-21 Thread Greg.L.Cormier
I'm not setup on Maven2, or Jetty for that matter at all :( Netbeans+Ant+Websphere5 is what I'm stuck with over here :( The reason I'm curious about Firefox is because it's definately choking on the "include" line. The error console gives an illegal character, and then a ton of undefined obje

RE: Help with @ScriptIncludes

2006-12-21 Thread Greg.L.Cormier
Hmm, oddly enough in Internet Explorer, I think it's working. Maybe firefox doesn't support GZIP'd JS files... Jesse, is there a way to disable all response compression in Tapestry? Thanks, Greg -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Thursday, December 21

Help with @ScriptIncludes

2006-12-21 Thread Greg.L.Cormier
Okay, in my border.html, inside my I have a nice I view source and looks like it's working: djConfig = ..snip... ...snip a few more script tags ... However, I'm getting an error on the first dojo.js include.. Error: illegal character Source File: http://peanut/pctadmin/app?service=asset

RE: Job Offer in Miami, US

2006-12-21 Thread Greg.L.Cormier
Damn, jobs down south are EXTRA tempting at this time of year! -Original Message- From: jake123 [mailto:[EMAIL PROTECTED] Sent: Thursday, December 21, 2006 11:05 AM To: users@tapestry.apache.org Subject: Job Offer in Miami, US Location: Miami Lakes, Florida, United States Investacorp I

RE: Radio components

2006-12-21 Thread Greg.L.Cormier
Thanks! Does anyone have an example of a simple form that refreshes? Looks like I might need - a listener parameter on my Form component, not sure what to put there? It mentions it will use a default, so maybe I can just go.. listener="" ? - modify onchange to be onchange="javascript:tapestry.

RE: Can you comment on this?

2006-12-21 Thread Greg.L.Cormier
:s/emacs/vi ;) -Original Message- From: Daniel Jue [mailto:[EMAIL PROTECTED] Sent: Thursday, December 21, 2006 9:40 AM To: Tapestry users Subject: Re: Can you comment on this? Well, obviously emacs is better. On 12/21/06, Martin Strand <[EMAIL PROTECTED]> wrote: > I'm still troubled by

Radio components

2006-12-20 Thread Greg.L.Cormier
Whatever happened to adding onchange="javascript:this.form.events.refresh();" to a Radio component in 4.1? Documentation doesn't mention the new method, hoping there is one :( Thanks, Greg - To unsubscribe, e-mail: [EMAIL PROT

RE: Tapestry plugin for netbeans, new release!

2006-12-20 Thread Greg.L.Cormier
Sweet! THis was my next request :) An update URL! -Original Message- From: andreas a [mailto:[EMAIL PROTECTED] Behalf Of andyhot Sent: Wednesday, December 20, 2006 10:40 AM To: Tapestry users Subject: Re: Tapestry plugin for netbeans, new release! i did ? oh yea :) actually, better remo

Tapestry plugin for netbeans, new release!

2006-12-20 Thread Greg.L.Cormier
Andy snuck out a new release on us! https://nbtapestrysupport.dev.java.net/ Downloading 0.2.0 now ;) Thanks Andy! -Greg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Proper way to get ApplicationStateManager?

2006-12-15 Thread Greg.L.Cormier
That's awesome. Was I supposed to be able to find this out somehow with documentation? I'd like to think I've been scouring it really hard and never came across this :( Or it might just come with understanding HiveMind+Tap? Greg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: Proper way to get ApplicationStateManager?

2006-12-14 Thread Greg.L.Cormier
Wow, that's awesome :) I just got Ron's method working but I wouldn't mind giving this a try as well!! Thanks everyone, I think my app is working properly in 4.1.1 now, I'll need to do some testing. Bye bye 4.0! Knock on wood... -Greg -Original Message- From: Jesse Kuhnert [mailto:[EMA

RE: Proper way to get ApplicationStateManager?

2006-12-14 Thread Greg.L.Cormier
This sounds promising, and I am now on 4.1.1-SNAPSHOT... public abstract ApplicationStateManager getASM(); As easy as declaring this in a BasePage subclass??? -Greg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of James Carman Sent: Thursday, December 14,

RE: Proper way to get ApplicationStateManager?

2006-12-14 Thread Greg.L.Cormier
Thanks Andy, things semi-work now! Sorry, it's been a really rough week as far as Tapestry goes! Greg -Original Message- From: andreas a [mailto:[EMAIL PROTECTED] Behalf Of andyhot Sent: Thursday, December 14, 2006 3:04 PM To: Tapestry users Subject: Re: Proper way to get ApplicationStat

RE: Proper way to get ApplicationStateManager?

2006-12-14 Thread Greg.L.Cormier
I'm replacing the old getVisit() object. So most of my pages have a call to getVisit(), which returns my AdminVisit object, which has the information about if they are logged in, what permissions they have etc. Almost every page calls getVisit(), my Border also calls getVisit() to determine if

RE: Proper way to get ApplicationStateManager?

2006-12-14 Thread Greg.L.Cormier
This is fun! Unable to read context:/WEB-INF/Border.jwc: Attribute "property" is required and must be specified for element type "inject". So I fix it up... Unable to read context:/WEB-INF/Border.jwc: Attribute "name" must be declared for element type "inject". Cute? ---

RE: Proper way to get ApplicationStateManager?

2006-12-14 Thread Greg.L.Cormier
Thanks Dennis - I'm not sure I understand how to go about fixing the problem if it's null at the times I need it :) Greg > > Greg, You can do what you described before, but pull your visit object in your SomePage.java classes where you need it. As Ron pointed out, ASM uses other service w

RE: Proper way to get ApplicationStateManager?

2006-12-14 Thread Greg.L.Cormier
Thanks. I was hoping to avoid this in every page file, but I think I will go this route since it seems to be the easiest. -Greg -Original Message- From: Shing Hing Man [mailto:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 2:16 PM To: Tapestry users Subject: RE: Proper way to get Ap

RE: Proper way to get ApplicationStateManager?

2006-12-14 Thread Greg.L.Cormier
Unfortunately I can't use JDK 1.5. Which is what a lot of documentation seems to cover, everyone loves annotations but I get left out! Thanks, Greg -Original Message- From: Wes Bramhall [mailto:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 2:04 PM To: Tapestry users Subject: RE: Pr

RE: Tapestry 4.1 on a JVM 1.4

2006-12-14 Thread Greg.L.Cormier
Yesterday's 4.1.1-SNAPSHOT works fine with JVM1.4! -Greg -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 13, 2006 2:19 PM To: Tapestry users Subject: Re: Tapestry 4.1 on a JVM 1.4 I think it's deploying as we speak. Shouldn't be much longer th

RE: Proper way to get ApplicationStateManager?

2006-12-14 Thread Greg.L.Cormier
Hmm oh dear, just found this at the bottom of my HUGE stack trace... related perhaps? I'm not doing something good with hivemind? Caused by: java.lang.IllegalStateException: The Infrastructure service has not yet been initialized.

Proper way to get ApplicationStateManager?

2006-12-14 Thread Greg.L.Cormier
I need help with ASO's. In my Application Servlet.. public class PCTAdminApplicationServlet extends ApplicationServlet .. I have a static variable "asm". I have my init() method with the following : public void init() throws ServletException { super.init(); ... Registr

RE: Tapestry 4.1 on a JVM 1.4

2006-12-13 Thread Greg.L.Cormier
TAPESTRY-1188 I'm going to add what seems to be a "Barebones" runtime requirement for all the JAR's, it could be useful for the quickstart. -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 13, 2006 4:24 PM To: Tapestry users Subject: Re: Tapestry

RE: Tapestry 4.1 on a JVM 1.4

2006-12-13 Thread Greg.L.Cormier
I'm testing it now. I guess it needs Codec? http://jakarta.apache.org/commons/codec/ Caused by: java.lang.NoClassDefFoundError: org/apache/commons/codec/net/URLCodec at org.apache.tapestry.services.impl.LinkFactoryImpl.(LinkFactoryImpl.java:48) at sun.reflect.NativeConstructorAc

RE: Tapestry 4.1 on a JVM 1.4

2006-12-13 Thread Greg.L.Cormier
Awesome thanks! I will conviniently procrastinate fixing my getVisit() until I get 4.1.1 running :) -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 13, 2006 2:19 PM To: Tapestry users Subject: Re: Tapestry 4.1 on a JVM 1.4 I think it's deployin

RE: Tapestry 4.1 on a JVM 1.4

2006-12-13 Thread Greg.L.Cormier
Looks like Jesse has fixed it :) Is there a nightly build of Tapestry I'll be able to fetch tomorrow? Or do we have to build it ourselves? -Original Message- From: andreas a [mailto:[EMAIL PROTECTED] Behalf Of andyhot Sent: Wednesday, December 13, 2006 10:38 AM To: Tapestry users Subject

RE: Tapestry 4.1 on a JVM 1.4

2006-12-13 Thread Greg.L.Cormier
Opened up TAPESTRY-1187. Back to 4.0 for now! -Original Message- From: andreas a [mailto:[EMAIL PROTECTED] Behalf Of andyhot Sent: Wednesday, December 13, 2006 10:06 AM To: Tapestry users Subject: Re: Tapestry 4.1 on a JVM 1.4 [EMAIL PROTECTED] wrote: > I think I just found out the hard

RE: Tapestry 4.1 on a JVM 1.4

2006-12-13 Thread Greg.L.Cormier
I think I just found out the hard way that 4.1 can't be used on 1.4! Let me know if you find out anything. Too bad this wasn't mentioned anywhere on the website :( -Greg -Original Message- From: Joseph Polanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 13, 2006 7:14 AM To: Tape

RE: Getting rid of .getVisit()

2006-12-12 Thread Greg.L.Cormier
Okay, I've set this up in my ApplicationServlet's init() method Registry myRegistry = RegistryBuilder.constructDefaultRegistry(); PCTAdminApplicationServlet.asm = (ApplicationStateManager)myRegistry.getService(ApplicationStateManager.class); then i have this in a new method I made called getAdm

After all this? Tapester 4.1 and JDK 1.4?!

2006-12-12 Thread Greg.L.Cormier
Ack! So I think I sorted out everything in moving from 4.0 -> 4.1! Does 4.1 support JDK 1.4?! I get some oh-so-familiar errors ---Original exception--- java.lang.UnsupportedClassVersionError: org/apache/tapestry/ApplicationServlet (Unsupported major.minor version 49.0) at java.lang.Clas

RE: Getting rid of .getVisit()

2006-12-11 Thread Greg.L.Cormier
Nice, I will give this a shot! Thanks, Greg -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Dennis Sinelnikov Sent: Friday, December 08, 2006 9:45 PM To: users@tapestry.apache.org Subject: Re: Getting rid of .getVisit() [EMAIL PROTECTED] wrote: > Unfortunately I'm stuc

RE: Getting rid of .getVisit()

2006-12-08 Thread Greg.L.Cormier
Unfortunately I'm stuck with JDK 1.4 since our appserver is Websphere 5.1 :-( -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Friday, December 08, 2006 3:34 PM To: Tapestry users Subject: Re: Getting rid of .getVisit() Not if you use annotations. Unlike xml - annot

RE: Getting rid of .getVisit()

2006-12-08 Thread Greg.L.Cormier
So every .page file needs this? :o -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Friday, December 08, 2006 3:27 PM To: Tapestry users Subject: Re: Getting rid of .getVisit() You can have it "injected" into something via a .page/.jwc file by doing something like

RE: Getting rid of .getVisit()

2006-12-08 Thread Greg.L.Cormier
Also, Jesse I found this quote by a famous man, maybe it wil help you when you look into the issue... ;) "P.S. No one should have this issue with 4.1 as the visit and global objects don't exist anymore. (The hivemind versions of course do exist)" http://www.mail-archive.com/users@tapestry.apache

RE: Getting rid of .getVisit()

2006-12-08 Thread Greg.L.Cormier
Thanks, I'll start tackling the hivemodule.xml I suppose to just create an instance of my class instead of whatever default Visit tap provides. How do I go about actually retrieving this object with Hivemind? Wh -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Frid

Getting rid of .getVisit()

2006-12-08 Thread Greg.L.Cormier
Alright so I'm making the jump to 4.1, which totally kills BasePage.getVisit()! I knew I should of cleaned up my act in 4.0 :) Can anyone help me switch over? I'm reading this page http://tapestry.apache.org/tapestry4.1/usersguide/state.html#state.aso I'm confused if I need to actually do some

RE: 4.1 Stability (Hi Jesse! :P)

2006-12-05 Thread Greg.L.Cormier
Thanks! My app is launched in 4.0 right now, but the next version will probably be launched January 31st, so that was part of the reason I was aching to go for 4.1 since there's still 2 months to go for bug fixes, etc... Though I suppose we *should* schedule Christmas somewhere in there ;) Greg

RE: 4.1 Stability (Hi Jesse! :P)

2006-12-05 Thread Greg.L.Cormier
Does this page apply to Tap5 or Tap4.1? http://tapestry.apache.org/dependencies.html Thanks, Greg -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 05, 2006 12:12 PM To: Tapestry users Subject: Re: 4.1 Stability (Hi Jesse! :P) I think it would re

RE: 4.1 Stability (Hi Jesse! :P)

2006-12-05 Thread Greg.L.Cormier
Don't worry, it definately wouldn't affect my career. If something blows up the worst that would happen is I'd say "Damnit I shouldn't of switched to 4.1!!!" I'll give it a whirl, since the benefits definately outweigh the slim chances of things exploding. Thanks, Greg -Original Message---

4.1 Stability (Hi Jesse! :P)

2006-12-05 Thread Greg.L.Cormier
Okay, I know Jesse is probably fed up with these types of questions! And we've gone over it before, about 4.1, 5.0, roadmaps, etc, a couple weeks ago. The 4.1 "snapshot" that's out right now, for a relatively simple app - no custom components, hivemind services, Java 1.4 so no annotations, and m

RE: new book

2006-12-05 Thread Greg.L.Cormier
404 :) -Original Message- From: Warner Onstine [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 05, 2006 9:50 AM To: Tapestry users Subject: new book Hi all, Just wanted to give you a heads up that my book, "Tapestry 101", is now available for download at http://sourcebeat.com/books/

RE: Perfomance Testing Tapestry App

2006-11-23 Thread Greg.L.Cormier
I would highly recommend Jakarta JMeter. You can use it as a proxy to record some user actions, and then play back as many users as you want to simulate, and much more. -Greg -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Dennis Sinelnikov Sent: Wednesday, November 22

[OT] Netbeans 5.5 mirrors?

2006-10-30 Thread Greg.L.Cormier
Anyone know of any mirrors for Netbeans 5.5? I'm getting around 9kb/sec from the official site! :( Thanks, Greg

RE: [slight OT] GZip compression filter

2006-10-19 Thread Greg.L.Cormier
This looks great. Thanks for your help Paul! -Greg -Original Message- From: Paul Ferraro [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 3:12 PM To: Tapestry users Subject: RE: [slight OT] GZip compression filter I'm not immediately sure what's wrong with your filter. Compar

RE: [slight OT] GZip compression filter

2006-10-19 Thread Greg.L.Cormier
Here's my web.xml, it's servlet2.3. Still no luck. Could be Websphere :| [10/19/06 14:40:49:096 EDT] 2a73e0b6 SRTServletRes W WARNING: Cannot set header. Response already committed. [10/19/06 14:40:49:096 EDT] 2a73e0b6 WebGroup E SRVE0026E: [Servlet Error]-[Filter [GzipFilter]: filter is un

RE: [slight OT] GZip compression filter

2006-10-19 Thread Greg.L.Cormier
My web.xml is similar, except I had "/app" as my servlet-name under filter-mapping, and i had no tag. Hmm, perhaps it's my filter itself then doing something in the wrong order? It's a very tiny chunk of code public void doFilter(ServletRequest request, ServletResponse response, FilterChain c

[slight OT] GZip compression filter

2006-10-19 Thread Greg.L.Cormier
Has anyone gotten a compression filter to work with Tap4? I guess since Tap4 has a single servlet, and uses lots of redirects or something, I always get "Response already committed" for all my pages. Thanks, Greg

RE: Exceptions & Email

2006-10-11 Thread Greg.L.Cormier
Thanks for the prompt Reply robert. I'm putting in the code to send off an email inside the renderComponent() body. This should work well each time an exception is displayed. I figure why not keep it simple rather then worry about hivemind services? Greg -Original Message- From: Robert

Exceptions & Email

2006-10-11 Thread Greg.L.Cormier
Hey guys. I'm approaching a deployment of my Tap4.0 app in production. Whenever an exception occurs, I'd like to have an email get sent to me with the information of the exception rather then relying on people sending them to me. Has anyone gone about doing this? Any suggestions? Thanks, Greg

RE: Custom exception page

2006-09-27 Thread Greg.L.Cormier
Thanks Steve. So in Exception.html I could just have a ? Thanks, Greg -Original Message- From: Steve Shucker [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 27, 2006 11:04 AM To: Tapestry users Subject: Re: Custom exception page Look at tapestry's ExceptionDisplay component sou

Custom exception page

2006-09-27 Thread Greg.L.Cormier
Can anyone help me out with a snippet of code? On my Exception.html/.page I have a simple @Insert with getError(). Here's my code, but it doesn't provide a nice traceback :( public String getError() { ExceptionDescription[] Errors = getExceptions(); String err = ""; for (int

RE: Timing processing time of a page

2006-09-26 Thread Greg.L.Cormier
Okay I added some delays in I see what's happening. My border solution does work (although the Shell solution intrigues me, more details anyone?) The thing is, let's say you have an OK button that, per say, saves your entry. That saving wouldn't be included in the next pages render time since y

RE: Timing processing time of a page

2006-09-26 Thread Greg.L.Cormier
But I think renderComponent() would just be the rendering time of the page similar to what I'm doing in the Border component? Maybe I should put some slow down's in to double check. -Original Message- From: Lutz Hühnken [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 1:38 PM

RE: Timing processing time of a page

2006-09-26 Thread Greg.L.Cormier
James, Does this need to be enabled somehow? I don't see it in the HTML source. tap 4. Thanks, Greg -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 1:25 PM To: 'Tapestry users' Subject: RE: Timing processing time of a page Look at

Timing processing time of a page

2006-09-26 Thread Greg.L.Cormier
Hi. I'm wondering if anyone has done any simple timing of the processing for a page? I've changed my border slightly so at the start it creates a Date, and at the end creates another and determines the difference. However, I think this only works out to be the render time of the page itself, n

RE: Expired Session message

2006-09-22 Thread Greg.L.Cormier
I still have been unable to get this to work unfortunately and it's been thrown in the "Low priority" pile :( -Original Message- From: karthik.nar [mailto:[EMAIL PROTECTED] Sent: Friday, September 22, 2006 1:35 AM To: users@tapestry.apache.org Subject: Re: Expired Session message Hey G

RE: User rights with tapestry?

2006-09-18 Thread Greg.L.Cormier
I've done this in my application. Basically I made an abstract subclass of a BasePage. All my pages subclass this new class. All it has is a field requiredPermission which is set in the constructor, and an initialize() method which checks permissions in the Visit object with that requiredPermis

RE: Expired Session message

2006-09-14 Thread Greg.L.Cormier
Sorry Bryan, you're correct - it IS in my BorderEngine.class : (public class BorderEngine extends BaseEngine). My application has 1 menu item, Login. Once you log-in, it's replaced with your real menu containing a dozen items. Basically when I time-out my session (anyone know a quicker way to t

RE: Expired Session message

2006-09-14 Thread Greg.L.Cormier
Okay, I've taken both suggestions. I've renamed my page to "StaleSession", and altered my code slightly. It still doesn't seem to work. protected void handleStaleSessionException(IRequestCycle cycle, StaleSessionException exception) throws IOException { cycle.activate("StaleSession");

Expired Session message

2006-09-12 Thread Greg.L.Cormier
Hi. When the session expires, how can I handle this and redirect to a customized page saying "Your session has expired" In my BorderEngine class, I've tried this but maybe it's the wrong way, or the wrong place to put it protected void handleStaleSessionException(IRequestCycle cycle, StaleS

RE: Multilingual drop down menu content

2006-08-31 Thread Greg.L.Cormier
How is the content in a properties file but you're using a loop to get all the content? If it's in a properties file, it's obviously not dynamic stuff then? Greg -Original Message- From: Peter Dawn [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 11:35 PM To: tapestry-user@jaka

RE: Is there a way to pregenerate Component/Page classes?

2006-08-31 Thread Greg.L.Cormier
1. Testing. 2. Hmm, have you looked into a tag for web.xml? I'm not 100% sure it would work with Tapestry but, since Tapestry does have a Servlet, i would guess that it would. 4. I find that the servlet loading takes the longest, about 8 seconds the first time. After that, it's hard to determ

Obtaining Messages for different Locale

2006-08-30 Thread Greg.L.Cormier
I have a Tapestry 4 page that generates some reports in 2 languages, English or French. The page itself can be view in English/French like a regular bilingual application. However regardless of which language you're using to surf the application, this page will generate 2 reports, one in each l

RE: Instancing a page inside a BaseComponent

2006-08-15 Thread Greg.L.Cormier
Aha, I've found out I can just call getPage().getRequestCycle().getPage("PageName"); Thanks, Greg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 15, 2006 11:00 AM To: users@tapestry.apache.org Subject: Instancing a page inside a BaseComponent

Instancing a page inside a BaseComponent

2006-08-15 Thread Greg.L.Cormier
I'd like to make an instance of a Page inside a BaseComponent. Is there any ways to do this without a Cycle object available? Thanks, Greg