Re: Do I need a .jwc?

2006-10-26 Thread Bill Holloway
Leo, Thank you. Actually, the problem was that the entry of both my and entries in the web.xml did not reflect the name of the application. They were set to "myapp". I changed them to the app name and all's well. Thanks! Bill On 10/27/06, Leo Sakhvoruk <[EMAIL PROTECTED]> wrote: Hi Bill

Re: Do I need a .jwc?

2006-10-26 Thread Leo Sakhvoruk
Hi Bill, You need to define the following meta element in your .application file for Tapestry to find your component classes: value="your.component.class.package,separated.by.coma"/> Give that a try. Leo Bill Holloway wrote: Earlier today I had the Eclipse WTP set up with Tapestry 4.0.2 a

Re: Problem Understanding Tapestry..

2006-10-26 Thread Bill Holloway
It looks like you're creating a custom component called Person. Is that what you want to do? Or is Person one of your domain classes with first name, last name, etc. I also don't understand doing instanceof. You should make absolutely sure that your page's property called "Persons" always cont

Do I need a .jwc?

2006-10-26 Thread Bill Holloway
Earlier today I had the Eclipse WTP set up with Tapestry 4.0.2 and was enjoying putting my Border.html in WEB-INF and watching Tapestry find it without needing Border.jwc. Tonight I have switched to regular Eclipse with an ant buildfile to deploy my .war to tomcat and now I need .jwc's apparently

Re: Call listener after page appears on screen

2006-10-26 Thread Peter Beshai
I did eventually try that and it worked but it seemed slightly volatile. I'm not sure if this has to do with how my snapshots have been rolled back to August versions (see snapshots thread), but I randomly see in my dojo console "tapestry.cleanConnect is not a function" and when that happens tha

Re: Call listener after page appears on screen

2006-10-26 Thread Peter Beshai
Ok, resolved the response.responseXML has no properties problem. I was tipped off by this post: http://mail-archives.apache.org/mod_mbox/jakarta-tapestry-user/200512.mbox/[EMAIL PROTECTED] public void xTileListener(IRequestCycle cycle, String stringKey) { Integer threadKey = Integer.val

Re: Call listener after page appears on screen

2006-10-26 Thread andyhot
Try this: dojo.event.connect(window, "onload", setTimeout(function() { dojo.byId("mockHidden").onclick(); }, 50) ); Peter Beshai wrote: > Is there an easy way of calling a listener after the page appears > (rendered) on screen? I couldn't think of one, and so I tried having > add

Re: Call listener after page appears on screen

2006-10-26 Thread Peter Beshai
The XTile seems to work exactly how I want it to, but there is a problem. This is my setup: Stage 1: - User selects file in upload component and submits form. I needed a way to keep track of the progress of the file while it was uploading (to implement a progress bar). I couldn't do this in th

Re: snapshots?

2006-10-26 Thread Patrick Moore
I don't think you are ... it is screwing up my build a lot as as I use the latest snapshot on several libraries and plugins not just tapestry. Does anyone know if they have a fix time on this? On 10/26/06, Peter Beshai <[EMAIL PROTECTED]> wrote: I think it may be something to do with people.apa

Re: Call listener after page appears on screen

2006-10-26 Thread Christian Dutaret
I don't think this would work in this case. The @InvokeListener component is called on the server side, before the rendered response is flushed to the client. What is discussed here is having a listener invoked after the page is rendered on the client side, typically for a wait screen that will ke

Re: Tomcat failover.

2006-10-26 Thread Leo Sakhvoruk
No you're right there'll always be a single point of failure unless there is a truly redundant environment. But, minimizing the number of links in a non-redundant chain minimizes the chance of one of those links failing ;) So I'm trying to cut down on the number of things it takes to have the s

Re: Call listener after page appears on screen

2006-10-26 Thread Daniel Tabuenca
Why not just use an @InvokeListener component as the last component in your page? On 10/26/06, Christian Dutaret <[EMAIL PROTECTED]> wrote: I tried to achieve the same thing some time ago, and I couldn't find anything that would work with dojo and EventListeners. As you mentioned, this is proba

Re: Tomcat failover.

2006-10-26 Thread Dennis Sinelnikov
2 mirror installations of apache httpd and dns round robin them. I could be wrong, but at some point you will have single point of failure -- either at apache httpd level or dns level. Dennis Leo Sakhvoruk wrote: Yeah, I've read the docs on mod_jk. It seems a self-defeating purpose to set up

ITemplateSourceDelegate

2006-10-26 Thread Pablo Ruggia
Has someone a working example of an ITemplateSourceDelegate or or a PageSpecificationResolverImpl ? I can't find any. I only want to have a .class for each page and in the same package the html template. All .page configuration will be set using annotations. Thanks !!

DirectSevice ... how does it works.

2006-10-26 Thread Skorpien126
Hi... I want to know which steps a request takes when submitting a form??? Is there lets say an overview, which methods are called in the servlet-processing! Why I want to know!! I have defined a form using validation ... the URL ist www.test.com/Webapp/mypage (friendly url builded-in)... when I

Re: Call listener after page appears on screen

2006-10-26 Thread Christian Dutaret
I tried to achieve the same thing some time ago, and I couldn't find anything that would work with dojo and EventListeners. As you mentioned, this is probably due to tapestry connect events being called _after_ any point where we could insert any custom js. The workaround I found to work perfectl

Re: Tomcat failover.

2006-10-26 Thread Leo Sakhvoruk
Yeah, I've read the docs on mod_jk. It seems a self-defeating purpose to set up Apache httpd for load balancing and fail over because it introduces a single point of failure on the part of the Apache httpd. That's why I originally asked if the only way to set up fail over was via integration wi

RE: Upload file size limit in 4.0.2

2006-10-26 Thread Thomas.Vaughan
Trying using this class in your service-id instead: -Original Message- From: Christian Haselbach [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 6:45 AM To: Tapestry users Subject: Upload file size limit in 4.0.2 Hello, we wanted the set the file size limit for upload f

Re: Call listener after page appears on screen

2006-10-26 Thread Peter Beshai
Oh, I should've mentioned I tried that already. It doesn't give an error on page load, but it also doesn't call the listener. It gives this error when I try calling it manually: dojo.byId("mockHidden").click() Error: buildTargetProperties() Unknown target type:[object HTMLDocument] I have tr

Re: Call listener after page appears on screen

2006-10-26 Thread Karthik N
please try click() instead of onclick() On 10/26/06, Peter Beshai <[EMAIL PROTECTED]> wrote: Is there an easy way of calling a listener after the page appears (rendered) on screen? I couldn't think of one, and so I tried having adding an event to the onload of the page: dojo.event.connect(win

RE: snapshots?

2006-10-26 Thread Peter Beshai
I think it may be something to do with people.apache.org. The site was down (afaik) for a couple of days earlier this week. (I was interested in getting a nightly build of commons-fileupload) http://people.apache.org/builds/jakarta-commons/nightly/ only has files up until August 31. I could

Call listener after page appears on screen

2006-10-26 Thread Peter Beshai
Is there an easy way of calling a listener after the page appears (rendered) on screen? I couldn't think of one, and so I tried having adding an event to the onload of the page: dojo.event.connect(window, "onload",dojo.byId("mockHidden").onclick()); or dojo.addOnLoad(function(e){ dojo.byId

RE: Library 'tacos' not found in application namespace

2006-10-26 Thread Ken nashua
Hi Folks, While operating tacos-4.0 built with tapestry-4.0.2 I added the following to my webapp pom.xml net.sf.tacos tacos-core 4.0.1-SNAPSHOT compile And all builds fine... But when I attempt to run the web app I receive Library 'tacos' not found in application

Tacos-4.0 compatible with Tapestry-4.1.1 (build/deploy whoas)

2006-10-26 Thread Ken nashua
Guys, Is anyone going to upgrade tacos-4.0 to build/run with tap-4.1.1 ? I cannot get any webapps (that use tacos components) to deploy after building (tacos-4.0 and my webapps) against tapestry-4.1.1 I had to bump my webapps and tacos-4.0 build back to build against tapestry-4.0.2 just to b

Re: Tomcat failover.

2006-10-26 Thread Dennis Sinelnikov
Take a look at mod_jk, there are some great examples on apache's httpd website. Dennis Leo Sakhvoruk wrote: Excellent points Patrick! I will most certainly consider them as I look at clustering further. Thanks, Leo Patrick Moore wrote: Hi Leo -- From my experience, these are the questio

RE: Tacos and Javascript Function: which comoponent?

2006-10-26 Thread Edoardo Campagnano
Thank you, can you explain better maybe with an example? There's no way to use something like tacos:AjaxDirectLink? Bye, Edoardo -Original Message- From: Karthik N [mailto:[EMAIL PROTECTED] Sent: giovedì 26 ottobre 2006 14.44 To: Tapestry users Subject: Re: Tacos and Javascript Function:

Re: Tacos and Javascript Function: which comoponent?

2006-10-26 Thread Karthik N
use a hidden field to set the output of your javascript function. this hidden field is bound to a tapestry property. that way it will get set in the rewind cycle. in order to cause a submit you can have a hidden AjaxSubmit button that you can cause a click() on after you've set the hidden prope

RE: Dynamic Radiogroup

2006-10-26 Thread Ben Sommerville
Ok, attachments don't work. Code follows inline. ++ package tapestry.components; import org.apache.tapestry.form.RadioGroup; import org.apache.tapestry.form.AbstractFormComponent; import org.apache.tapestry.IMarkupWriter; import org.apache.tapestry.IRequestCycle; import org.apac

RE: Dynamic Radiogroup

2006-10-26 Thread Ben Sommerville
I ran into this problem too. FieldLabel does not work with Radio because it is not an IFormComponent. The order of FieldLabel & the component it refers to doesn't matter. Except that if you put the FieldLabel after the component you have to set prerender=false. I worked around this by creating

Tacos and Javascript Function: which comoponent?

2006-10-26 Thread Edoardo Campagnano
Hi to all, here's my poblem: I've got a javascript function that returns a String, I need to call a listener sending the result string from the function as argument for the listener. Which is the best method to do this? I think a Tacos component but don't know what and how.. Thanks in advice

snapshots?

2006-10-26 Thread Martin Strand
What has happened to the snapshots? There used to be snapshots from October in there but now they're from August: http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/tapestry-framework/4.1.1-SNAPSHOT/ Martin --

Upload file size limit in 4.0.2

2006-10-26 Thread Christian Haselbach
Hello, we wanted the set the file size limit for upload files to a different value, but this is not possible as noted in the following bug report: http://issues.apache.org/jira/browse/TAPESTRY-995 Unfortunately, updating is not an option right now. Is there a work-around? Thanks. Regards, Christ

How to custom the script event.

2006-10-26 Thread Jun Tsai
I find tapestry produce the script dojo.event.connect(window, 'onload', function(e) { dojo.require("tapestry.form");tapestry.form.registerForm("AForm"); }); I want to do something after onload.but I find dojo.event.connect("after",window,'onload',this,"testFun")); I find my testFun funct