Re: Tapestry & Spring

2006-06-08 Thread Ben
I am planning to use the following with Spring: *) Hibernate *) Web services *) Scheduling *) Jasper Reports I am familiar with Spring and have been using it for some time now. Cheers, Ben On 6/9/06, James Carman <[EMAIL PROTECTED]> wrote: What part of Spring are you looking for? -Origi

RE: Tapestry & Spring

2006-06-08 Thread James Carman
What part of Spring are you looking for? -Original Message- From: Ben [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 11:21 PM To: Tapestry Subject: Tapestry & Spring Hi I am investigating Tapestry 4 for my next project and just wondering if anyone is using Tapestry with Tapestr

Tapestry & Spring

2006-06-08 Thread Ben
Hi I am investigating Tapestry 4 for my next project and just wondering if anyone is using Tapestry with Tapestry-Spring in production environment? The thing that halts me back from using Tapestry is that there seems to be a lack of integration between the two frameworks unless using a hack. Ch

Re: OOT : how to use Tap IDEA

2006-06-08 Thread Dwi Ardi Irawan
only tapidea.jar , but inside the tapidea-0.4.1.zip there are many .jar do i have copy them all into plugins folder ??? [EMAIL PROTECTED] wrote: Copy tapidea jar into the plugins folder of idea, and restart >From Dwi Ardi Irawan <[EMAIL PROTECTED]>: i've already download the Tap IDEA

Re: OOT : how to use Tap IDEA

2006-06-08 Thread andyhot
Copy tapidea jar into the plugins folder of idea, and restart >From Dwi Ardi Irawan <[EMAIL PROTECTED]>: > i've already download the Tap IDEA and Demetra > but how to install it (without via internet) > > - > To unsubscribe, e-m

Re: Sending a http message to page

2006-06-08 Thread Jesse Kuhnert
What about it sounds like it's not open source? It's a term describing a method of sending continuous data via hidden iframe sections in a document. No one owns it, but Alex Russell from dojotoolkit created the phrase: http://alex.dojotoolkit.org/?p=545 On 6/8/06, Peter Dawn <[EMAIL PROTECTED]>

Re: Sending a http message to page

2006-06-08 Thread Peter Dawn
is comet not open source. it seems like its pretty new and not open source either. are there are tuts for it or any examples for that matter. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: Sending a http message to page

2006-06-08 Thread Peter Dawn
yes, i thought of that too. there is no point in sending a message to the page saying, please refresh. if i can send the data in the first place. it will just display it. if it has changed it will display new info, otherwise just the old info. i will try and get this working and will then put it o

OOT : how to use Tap IDEA

2006-06-08 Thread Dwi Ardi Irawan
i've already download the Tap IDEA and Demetra but how to install it (without via internet) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Sending a http message to page

2006-06-08 Thread Jesse Kuhnert
You are asking for comet, which sounds reasonable but isn't something many are likely to have implemented yet. It's a pretty specialized field right now so asking "how" to do it is a bit much. What you want to do is not send a msg to the page that it needs to refresh, but just send the data that

Re: Sending a http message to page

2006-06-08 Thread Peter Dawn
i agree. and i have been trying to do that all this time. i have zero-ed in on xtile for now and i am going to try and send and receive small messages back from the server and see if it works or not. - To unsubscribe, e-mail: [EM

RE: Sending a http message to page

2006-06-08 Thread James Carman
Well, you could hand-code a JavaScript solution, but using a framework like the ones you mentioned would save you a tremendous amount of time. -Original Message- From: Peter Dawn [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 8:48 PM To: Tapestry users Subject: Re: Sending a http

Re: the cycle of a component and de page in a submit

2006-06-08 Thread a a
hello, some one can help me i haven't find the solution place help alvaro tovar --- a a <[EMAIL PROTECTED]> wrote: > > i have a componenet with a property selection, a > hidden with a listener, this component is in the > page > in a Form, > i am tinking that this is the cycle: > page begin

Re: Sending a http message to page

2006-06-08 Thread Peter Dawn
i dont mind using the tool, if it actually does the job. now there are multiple of ways of doing the same thing, why not try diff approaches rather than using the usual approach. if it doesnt work, so be it. but if it does work, better for all of us. --

RE: Sending a http message to page

2006-06-08 Thread James Carman
Why are you averse to using the right tool for the job? -Original Message- From: Peter Dawn [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 8:42 PM To: tapestry-user@jakarta.apache.org Subject: Sending a http message to page hi all, i am trying to implement a ajax like functional

Sending a http message to page

2006-06-08 Thread Peter Dawn
hi all, i am trying to implement a ajax like functionality within my web app. now what i want to do is, i want to send a *ping* to the page, saying please update now (which i will send only if some info changes) and then the page should refresh. now for this, i need to establish a async http conne

RE: Tapestry/Acegi Integration...

2006-06-08 Thread James Carman
All, Now, Acegi secured methods are supported. So, if you have a listener method (taken from the tapernate example): @Secured("ROLE_EDIT") public void editMessage( Message message ) { // Blah blah } The tapernate-acegi module will perform a security check prior to executing the editMessage() m

Re: Problems with @Bean annotation

2006-06-08 Thread Travis Romney
Unfortunately that is not the case. On 6/7/06, spamsucks <[EMAIL PROTECTED]> wrote: While unlikely, another cause could be that you have the bean declared in your spec Andreas Bulling wrote: >On 07. Jun 2006 - 16:09:42, Travis Romney wrote: >| I'm trying to use the @Bean annotation. I h

Re: dojo question

2006-06-08 Thread Peter Dawn
thanks guys, will that a try. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tacos installation problem

2006-06-08 Thread Peter Dawn
i think my ant file is not including all dojo files for compilation. does somebody know on how to include all the folders within dojo using one ant statement, instead of having an include statement for each folder (as i think ant does not allow you to include recursive folders). -

Hibernate and binding Exception - Unable to read OGNL expression ''

2006-06-08 Thread Damian Sobieralski
I'm a complete newbie when it comes to Tapestry. So forgive my inexperience here. I'm having a problem taking my Hello World Tapestry Application to do a simple Hibernate thing. A good chance I'm doing something way wrong so I hope a kind soul can point out where I am making my error. I Have a

RE: How do you test your tapestry apps?

2006-06-08 Thread Jim Steinberger
For user-testing (e.g. simulating user-clicks, typing in fields, etc.), I started with Canoo WebTest, but have since switched enthusiastically to Selenium (http://www.openqa.org/selenium/), along with the Selenium IDE and Xpather plugins for Firefox. It's black-box testing, but since my Tapestry l

Test

2006-06-08 Thread Damian Sobieralski
Some really screwy things happened when I tried to subscribe. It said that the tapestry-users-subscribe mailbox didn't exist and bounced my request back. Yet, I am getting messages now. H. This is just a test to see if this gets through. > -Original Message- > From: Jim Steinberger

Absolute filepath of a webapp

2006-06-08 Thread Jim Steinberger
Hello (terribly sorry if this comes twice; I believe I sent it to the old mailing address earlier), Tapestry.getApplicationRootLocation(IRequestCycle) seems to have disappeared in Tapestry 4. Does anyone know of a replacement? That is, given an instance of IRequestCycle, does anyone know how to

Validator foo

2006-06-08 Thread Mark Stang
All, We are running into a problem with an over eager validator. We have a custom validator that is supposed to check a field for a properly formatted URL. However, we only want the validator to do the check if an associated checkbox is checked. And to make matters worse, we have an AnySubmit

Absolute filepath of a webapp

2006-06-08 Thread Jim Steinberger
Hello, Tapestry.getApplicationRootLocation(IRequestCycle) seems to have disappeared in Tapestry 4. Does anyone know of a replacement? That is, given an instance of IRequestCycle, does anyone know how to programmatically determine the absolute filepath of a web application in Tapestry 4? I've be

Re: [OT] loading resources from the classpath in a static method

2006-06-08 Thread Phillip Rhodes
Please read this. http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property-p2.html > I have static method where i need to read a .properties file off of the > classpath. The same code that works when running under a tapestry > application in jetty does not work when run as a normal

How do you test your tapestry apps?

2006-06-08 Thread Rob Dennett
How do you test your apps? How should I do it? What would Howard do (if he were using rather than developing Tapestry)? Thanks for your help, Rob -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/358 - Release Date: 6/7/20

Re: [OT] loading resources from the classpath in a static method

2006-06-08 Thread Jesse Kuhnert
You can also try checking off "Allow output folders for source folders" in your build config... To remove all doubt just look at the contents of whatever folder eclipse is compiling to. On 6/8/06, Henri Dupre <[EMAIL PROTECTED]> wrote: Check the "run" configuration of your app... Eventually try

Re: [OT] loading resources from the classpath in a static method

2006-06-08 Thread Henri Dupre
Check the "run" configuration of your app... Eventually try to delete it and create a new one. The "Run" configuration may not contain the same classpath. On 6/8/06, Dan Adams <[EMAIL PROTECTED]> wrote: Well, that's the thing. The properties file *is* on the build path and the same code works f

Re: [OT] loading resources from the classpath in a static method

2006-06-08 Thread Dan Adams
Well, that's the thing. The properties file *is* on the build path and the same code works fine in the web app. But I never run normal java apps within eclipse so i'm not sure if we're doin something wrong. I made sure that the project is on the java app runner classpath as well as the maven depend

Re: Tacos examples

2006-06-08 Thread Peter Svensson
Of course, sorry :) Cheers, PS On 6/8/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Yeah, I've been waiting for the next release and only just got the site up a few days ago.. On 6/8/06, Peter Svensson <[EMAIL PROTECTED]> wrote: > > Maybe someone could change the link on the main tacos site,

Re: Tacos examples

2006-06-08 Thread Jesse Kuhnert
Yeah, I've been waiting for the next release and only just got the site up a few days ago.. On 6/8/06, Peter Svensson <[EMAIL PROTECTED]> wrote: Maybe someone could change the link on the main tacos site, for the component examples. It would be great if people got there the easy way :) Cheers,

Re: [OT] loading resources from the classpath in a static method

2006-06-08 Thread Jesse Kuhnert
Eclipse can be decieving. You have to be really sure the properties file you are referencing really ~is~ on the classpath when you run it in eclipse. My guess is that it is not. This usually isn't an issue if the resources you are referencing are in the same tree as your java sources. Not to worr

Re: Tacos examples

2006-06-08 Thread Peter Svensson
Maybe someone could change the link on the main tacos site, for the component examples. It would be great if people got there the easy way :) Cheers, PS On 6/7/06, Andreas Bulling <[EMAIL PROTECTED]> wrote: On 06. Jun 2006 - 16:08:14, Jesse Kuhnert wrote: | It's been moved to the new site fina

[OT] loading resources from the classpath in a static method

2006-06-08 Thread Dan Adams
I have static method where i need to read a .properties file off of the classpath. The same code that works when running under a tapestry application in jetty does not work when run as a normal java program in eclipse. It's a static method and we're getting the resource using: ThisClass.class.getC

Re: Response is already committed!!! HELP!!!! NEWBIE

2006-06-08 Thread Ivano Pagano
Maybe the page finishLoad(cycle, loader, specification) method? Jesse Kuhnert wrote: This is getting sewwious. (sorry, if you have kids you'll know ;)) pageBeginRender() is a method that means rendering content back to the browser has already started, at which point it is too late to set the c

Re: Response is already committed!!! HELP!!!! NEWBIE

2006-06-08 Thread Jesse Kuhnert
This is getting sewwious. (sorry, if you have kids you'll know ;)) pageBeginRender() is a method that means rendering content back to the browser has already started, at which point it is too late to set the content type of your response. You might try a listener method approach instead, or use

Response is already committed!!! HELP!!!! NEWBIE

2006-06-08 Thread yesidredondo
Hi, i've a problem that don't know how to fix. A "java.lang.IllegalStateException: Response is already committed!" exception is beeing thrown when i set the content type to ms-excel in the pagebeginrender method of a page: // This is the code i'm using to set the content type on the pageBeginRend

RE: Tapestry+Spring+Hibernate was ->RE: @For within a @contrib:Table

2006-06-08 Thread James Carman
Or, use Tapernate! Other folks are using it and they seem to like it a lot. It does roughly the same thing as the Spring OpenSessionInViewFilter, but it also does a whole lot more. Check out the documentation at: www.carmanconsulting.com/tapernate James -Original Message- From: albarte

Tapestry+Spring+Hibernate was ->RE: @For within a @contrib:Table

2006-06-08 Thread albartell
Ok, I have looked into the Tapestry+Spring+Hibernate approach prescribed by Eric and have some questions. I am going to go into some code depth for the archives. Note that I have visited http://wiki.apache.org/tapestry/FrequentlyAskedQuestions/SpringHibernate and some other threads in this list bu

RE: Tapestry/Acegi Integration...

2006-06-08 Thread James Carman
Oh, to login to the example application, you use tapernate/tapernate. -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 10:38 PM To: 'Tapestry users' Subject: Tapestry/Acegi Integration... All, I have taken a stab at Tapestry/Acegi integrati

RE: @For within a @contrib:Table

2006-06-08 Thread albartell
Thanks Eric, that makes sense as to why it is occurring. I am going to shoot for option 2 below as right now I am doing my Hibernate open/close of the session through a servlet filter. Thanks again, Aaron Bartell -Original Message- From: Eric Fesler [mailto:[EMAIL PROTECTED] Sent: Thur

Re: @For within a @contrib:Table

2006-06-08 Thread Eric Fesler
Hi, I already had this issue in the past. It was due to the fact that the leadtagtype (or equivalent) method was called on the leadtag bean after the hibernate session was closed. There are two ways to solve the issue. 1°) Do not use lazy loading for the leadtagtype association 2°) Use the Open

Re: Problems with @Bean annotation

2006-06-08 Thread Chris Chiappone
I filed a JIRA a while back about Annotations execeptions when in development mode. Maybe this can be addressed before 4.1? On 6/7/06, spamsucks <[EMAIL PROTECTED]> wrote: While unlikely, another cause could be that you have the bean declared in your spec Andreas Bulling wrote: >On 07.

Re: strange problem losing session variables

2006-06-08 Thread John Menke
We are getting null values so the values are being lost it's not sync problem. On 6/7/06, Henri Dupre <[EMAIL PROTECTED]> wrote: Maybe synchronization glitches can be the cause? nothing prevents a user from firing two concurrent requests that would both modify your session objects at the same t

Re: Select first item of RadioGroup with n Radio Buttons

2006-06-08 Thread Christian Mittendorf
Hi! Am 08.06.2006 um 04:16 schrieb Nick Westgate: I've tried to use the pageBeginRender That should work. Perhaps time to post some code ... Well, not necessary any more... sometimes it's quite helpful to take a break and have a closer look at what you've done... Using pageBeginRender is d

Re: How to go to a specific page on a table

2006-06-08 Thread Mind Bridge
Hi, If 'table' is a variable that points to your contrib:Table component, you could do: table.getTableModel().getPagingState().setCurrentPage(page); The page number is counted from 0. See the JavaDoc for the package org.apache.tapestry.contrib.table.model: http://jakarta.apache.org/tapestry/ta

Re: dojo question

2006-06-08 Thread Shing Hing Man
Have you tried something like ? Shing --- Peter Dawn <[EMAIL PROTECTED]> wrote: > hi guys, > sorry for asking an ant question. but i am trying to > implement dojo > and my ant file wouldnt include all my sub-folders. > i have tried *.*, > *. but to no luck. can you guys suggest something > w

Re: dojo question

2006-06-08 Thread Ron Piterman
**/* cheers, Ron Peter Dawn wrote: hi guys, sorry for asking an ant question. but i am trying to implement dojo and my ant file wouldnt include all my sub-folders. i have tried *.*, *. but to no luck. can you guys suggest something which will fix this problem. thanks.

Re: SEM and Tapestry apps

2006-06-08 Thread Jérôme BERNARD
On 6/7/06, Henri Dupre <[EMAIL PROTECTED]> wrote: Hi Jerome, I'm not sure to understand the whole problem... For serving / instead of index.html that sounds to me more connected to your apache configuration. Unless this is part of your tapestry/tomcat application. Well, my whole website should

[OT] hivemind: external xml entities in a jar?

2006-06-08 Thread Ron Piterman
Hi all, is it possible to use external xml entities in a hivemind.xml which reference to a resource in the classpath ? The hivemodule.xml is inside a jar (/META_INF/) and the extranal entity is in the same jar. Thanx, Ron

Re: Tacos installation problem

2006-06-08 Thread Peter Svensson
It could be that you have misspelled or forgot to close some thing in the applicaiton spec. Could you post what in your application file? Cheers, PS On 6/8/06, Peter Dawn <[EMAIL PROTECTED]> wrote: hi all, i am trying to install tacos (which also requires dojo) but i am having some problems he