T5 - shutting off script.aculo.us

2008-01-29 Thread Evan Rawson - Work
i was wondering how to tell tapestry not to load any of the scriptlous or prototype libraries. Our company uses our own js libraries, and these script.aculo.us files increase download times drastically. I think forcing all tapestry applications with forms to use these files is ridicoulous. I mea

Re: T5 CSS positioning of errors.

2007-08-02 Thread Evan Rawson - Work
yeah i noticed that as well. i used this css to fix the problem /* Validation Decoration Overide */ div.t-error{ margin:6px 0 0 0; padding:0px; background-color:#FF;} div.t-error ul{ margin:0px; padding:1px 0 2px 20px;} div.t-error li{ margin:0px; padding:1px 0 1px 0;} this turns off the

T% : cant extend Page classes

2007-08-02 Thread Evan Rawson - Work
hello. i created a generic page which i want all of my other pages in my application to extend. This page controls various methods which all of my pages need to use. Event Listening methods (ie: onActivate, or any lifecycle annotation) does not work. I have to manually call the method and activ

Re: [T5] Eclipse WTP - conflict between class reloading and context reloading

2007-08-01 Thread Evan Rawson - Work
tomcat has memory issues when it comes to context loading. hence outta memory errors it has been plaqued with. you should use jetty for development and tomcat for production enviroments. When you deploy to production you should create either a ant task to collect together your war and deploy it

Re: [T5] Any component Bis

2007-08-01 Thread Evan Rawson - Work
after some more research it seems that mixins have to be applied to a specific component type of specific instance of a component type. i dont think you can mixin for generics. i think a component minus a template is more what your looking for. ~evan - Original Message - From: "David

Re: Tap5 - integrate several templates

2007-08-01 Thread Evan Rawson - Work
all pages and components are technically consider the same thing within t5. all components/pages wrap there content (what is between the tags content) within the wrapping component template you specify a component. This directs the template as to where to insert the body content. ex: b

T5 : bug : no way to throw runtime exceptions within service interfaces

2007-08-01 Thread Evan Rawson - Work
i have some utilites running in my application via a custom Util Interface certain classes call. I need some way to redirect the user to a custom error page which a pregenerate error id. Even a way to throw a runtime exception (T3: ApplicationRuntimeException / RedirectException). This would be

Re: ajax question

2007-07-27 Thread Evan Rawson - Work
s for cells and rows would be a little tricky. sigh! ps.: I hate tables too On 7/27/07, Evan Rawson - Work <[EMAIL PROTECTED]> wrote: tbody is a soon to be deprecated html element. i would recommend steering away from tables and try to utilize div's and css as much as possible. Esp

Re: IRC

2007-07-27 Thread Evan Rawson - Work
awesome thats a kewl plugin. - Original Message - From: "#Cyrille37#" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Saturday, July 21, 2007 5:17 AM Subject: Re: IRC Evan Rawson - Work a écrit : wow IRC, looks like i got another reason to download mIRC a

Re: ajax question

2007-07-27 Thread Evan Rawson - Work
tbody is a soon to be deprecated html element. i would recommend steering away from tables and try to utilize div's and css as much as possible. Especially if you wanna be using alot of AJAX. - Original Message - From: "Andrea Chiumenti" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: T

t5 - XMLNS Error

2007-07-27 Thread Evan Rawson - Work
my eclipse keeps throwing this question on all of my t5 documents when my pages are setup similiarly to this http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";> http://www.w3.org/1999/xhtml"; xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> This is a test thi

Re: IRC

2007-07-20 Thread Evan Rawson - Work
wow IRC, looks like i got another reason to download mIRC again. ill definatly be on that channel. - Original Message - From: "Chris Lewis" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Friday, July 20, 2007 9:16 AM Subject: IRC Dear mailing list, I'm sure you've probably received

[T5] Sort pages in WEB-INF into subdirectories

2007-07-12 Thread Evan Rawson - Work
how can i sort my pages into sub directories within my web-inf directory. ex: i would like a structure kinda like WEB-INF ==components core ==userName ==userIcon ==galleryLink ==... global ==header.html ==footer.html ==... supplemental ==registerForm.

Re: t5 :: onSucess() doesn't work for forms

2007-07-11 Thread Evan Rawson - Work
nFromRegistrationForm() the page seemed to pick it up okay." - i.e. no exceptions and a new record in a DB, right? Also, have you tried this on 5.0.4 or you started right with 5.0.5? Anyway, let me have some time for migration to 5.0.5 and to get the issue. Thank you, E.L. On 11/07/0

t5 :: onSucess() doesn't work for forms

2007-07-11 Thread Evan Rawson - Work
im in the middle of this tutorial, andi think i found a bug. im working with 5.0.5 http://elozovan.blogspot.com/2007/05/simpletapestry-5-crud-application-step_24.html and was checking the adduser page that that step has you create to test the hibernate functionatlity. the onSucess() event hand

[t:5] Can get xmlns to work in Eclipse 3.2

2007-07-11 Thread Evan Rawson - Work
Ive been battling eclipse for the last week so that my HTML components templates can pick up the http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> i downloaded and tried XMLbuddy with no prevail. Ive tried manually setting the xsd in the validation prefrences. could someone please enligh

[t5] Error in tutorial

2007-07-05 Thread Evan Rawson - Work
when doing the hi/lo tutorial this section of code @Persist private String _message; public String getMessage() { return _message; } String onActionFromLink(int guess) { if (guess == _target) return "GameOver"; if (guess < _target) _message = String.format("%d is

Re: how to tile/stretch a header image in css

2007-07-05 Thread Evan Rawson - Work
div#header{ height:94px; width:80%; margin:0 auto 0 auto; background css code } then wrap that div with another div called headerContainer{}, use that to control layout positioning of your inner header div. css doesn't ever stretch images like an img tag does, it only underlays the image

Re: T5 : potential feature - JSON component

2007-06-28 Thread Evan Rawson - Work
ash is a really nice technology. If JSon is implemented in Tapestry like every great Tapestry designs, it should be very easy to add more protocols !! cyrille. Evan Rawson - Work a écrit : it really wouldn't be that hard. basically you would create a java class to generate your RPC calls an

Re: is ognl usable inside *.css files ?

2007-06-28 Thread Evan Rawson - Work
good question we made this like 16 months ago, so i gotta remember how it works. this stomps out the shell and replaces it with your own custom. we did this so we can easily incorporate a DB driven meta generator, as well as full control of the head. really it wasn't that bad to make it. took ab

Re: T5 : potential feature - JSON component

2007-06-28 Thread Evan Rawson - Work
n Tapestry ; I'm using the JSonRpc Servlet and share objects with WebApps using SpringFramework. It would be nice to get Tapestry managing JSonRpc calls. I'm new with Tapestry, and Java in general, so I could not bring any idea about the way to do this. But I can participate to the discu

Re: is ognl usable inside *.css files ?

2007-06-28 Thread Evan Rawson - Work
our company hasn't migrated to t5 yet so my syntax experience in that version is only limited to 3.1 this is how we handle extending our external shell which generate the external css links, basically this generates our own custom head to all pages within our app. import java.util.Date; impo

Re: OutOfMemoryError after serving N pages

2007-06-28 Thread Evan Rawson - Work
ay, June 28, 2007 12:25 PM Subject: Re: OutOfMemoryError after serving N pages I get this if I disable caching after a while. However, I have not seen it with caching enabled. -Norman On Jun 28, 2007, at 11:47 AM, Evan Rawson - Work wrote: what application host are you using. cuz i know in to

Re: Component Cheatsheet

2007-06-28 Thread Evan Rawson - Work
thats awesome. we need more charts like that :) maybe an interactive one on the website would be best, then we can have only one tab ;) evan - Original Message - From: "David Peterson" <[EMAIL PROTECTED]> To: Sent: Thursday, June 28, 2007 9:45 AM Subject: T5: Component Cheatsheet I

T5 : potential feature - JSON component

2007-06-28 Thread Evan Rawson - Work
It would be great if a JSON component could be created for T5. After some extensive research i feel that this feature really would add a ton of flexibility of how your tapestry application can communicate with other tapestry application running on a network. For example my company needs to spli

Re: [T5] OS Summit Asia submission

2007-06-28 Thread Evan Rawson - Work
good write up. i couldn't see y they wouldn't accept that. i truly believe that tapestry will become the leader in web application development. when someone finally makes a working opensource visual IDE for T5 its gonna be game over =) evan - Original Message - From: "Kolesnikov, Alex

Re: OutOfMemoryError after serving N pages

2007-06-28 Thread Evan Rawson - Work
what application host are you using. cuz i know in tomcat, when you redeploy X amount of times you will get out of memory error. i dont know if this is some how related. but the only way to fix it is to shut down and start tomcat back up. evan - Original Message - From: "Thomas Wiz" <

Re: upgrade to 4.1.1

2007-06-28 Thread Evan Rawson - Work
i didn't think tapestry had that kinda control, so we use quartz scheduler, which is invoked by the servlet during loading of the application. the application can use the quartz methods to set up new jobs to be chron'd or one time runs. Its works really well. we use it to import and export data

AJAX : DOJO vs JQuery

2007-06-27 Thread Evan Rawson - Work
i dont know how many you know about jquery, i recently discovered it today, and from the demo's and plugins i found from it it look very superior verses dojo, i have used both, but i prefer jquery, do to the fact that its way easier to create new libraries and plugins for it. Almost like how tap

Re: is ognl usable inside *.css files ?

2007-06-26 Thread Evan Rawson - Work
ess it in servlet/service and serve up the image of your choice dynamically. Kalle On 6/26/07, Evan Rawson - Work <[EMAIL PROTECTED]> wrote: > > i do not believe so, cuz tapestry is only generating a link tag to load > and > cache your external asset (the external css sheet) >

Re: is ognl usable inside *.css files ?

2007-06-26 Thread Evan Rawson - Work
e user, unless you want to create a whole bunch of files (one per user), and then deal with cleaning those files up. On 6/26/07, Evan Rawson - Work <[EMAIL PROTECTED]> wrote: in line with that you could also have java generate that css, but rather then making it inline in the page or head o

Re: is ognl usable inside *.css files ?

2007-06-26 Thread Evan Rawson - Work
different applications, you can override the style in later style sheet; or, if you really want it dynamic, keep the link static but process it in servlet/service and serve up the image of your choice dynamically. Kalle On 6/26/07, Evan Rawson - Work <[EMAIL PROTECTED]> wrote: i do

Re: is ognl usable inside *.css files ?

2007-06-26 Thread Evan Rawson - Work
in line with that you could also have java generate that css, but rather then making it inline in the page or head of the page, you could have that generate the external asset, then have the border class of the page create the link tag for that new external asset. we do this for our external ja

Re: is ognl usable inside *.css files ?

2007-06-26 Thread Evan Rawson - Work
i do not believe so, cuz tapestry is only generating a link tag to load and cache your external asset (the external css sheet) a way to get around this would be to create a java method to generate your external asset (your css code + whatever variable data you wanna inject into it). then have