RE: Open Session in View - Tapestry

2006-04-11 Thread Schulte Marcus
The ServletRequestServicer Pipeline won't see normal exception. You can either override DirectService and put a try-catch around the triggerComponent or you can put your code in the ListenerInvoker-Pipeline. In the latter case it's wrapped around each listener invocation (possibly more than one per

Open Session in View - Tapestry

2006-04-11 Thread Sukma Agung Verdianto
Hi, I'm trying to implement Open Session in View in tapestry application. There is a way to create servlet filter to open and close the db session. (I'm using ServletRequestServicer) My question is, how can I catch the page exception to rollback the transaction, because tapestry ExceptionHandling

Re: tapestry component reuse

2006-04-11 Thread Aninder Makkar
i've put the deafult value for isName,isAge and isOccupation =false so i only have to specify the parameter im interested in as true . but still if i need to include a new property say lastName i have to change component spec and html template and that doesn't look too convincing. Aninder

tapestry component reuse

2006-04-11 Thread Aninder Makkar
Thanks Diogenes i used the onChange event as the solution and it's working as intendedand thanks once again for your prompt reply .. ok am on another solution crisis , i've made a component which queries the database and gets a customer object , in the html template i do 'ognl:c

Re: Can't get a Tacos:AjaxForm working: dojo.widget has no properties

2006-04-11 Thread Pedro Viegas
Jesse, 1st of all, man you're fast! Lead developer of TACOS and still you take the time to answer 3 minutes after my naive post! 2nd, works like a charm. Leave it to silly old users to complicate whats simple. Used the bundled dojo and works like a charm! Thanks a million! On 4/12/06, Jesse Kuhn

Re: Can't get a Tacos:AjaxForm working: dojo.widget has no properties

2006-04-11 Thread Jesse Kuhnert
The shipped version of tacos comes with the correct version of dojo bundled with it. You should always use that version unless you are sure about doing it another way. On 4/11/06, Pedro Viegas <[EMAIL PROTECTED]> wrote: > > Well somethings diferent mas seems like incompatibilitys of some sort. > I

Re: Can't get a Tacos:AjaxForm working: dojo.widget has no properties

2006-04-11 Thread Pedro Viegas
Well somethings diferent mas seems like incompatibilitys of some sort. I have dojo 0.2.2 installed. This is the correct version right? Now I get this... DEBUG: DEPRECATED: dojo.alg.Alg is deprecated, use dojo.lang instead DEBUG: DEPRECATED: dojo.graphics.htmlEffects is deprecated, use dojo.fx.htm

Re: Use AOP for Tapestry Java Page Class

2006-04-11 Thread Eduardo Valentim
Hi Friend, I have the same issue, I am need to use AOP to advice the Page class with an Spring ThrowsAdvice for tranformation of my validation exception in Tapestry validation exception. I do not have idea of how can I solve this issue, somebody would know .. Thank You in adva

RE: Hivemind problem with tapestry 4

2006-04-11 Thread James Carman
Where are your HiveMind/Tapestry libraries stored? Are you using a "global" (server-wide) library? Other folks have had trouble with using this configuration in Jetty. Does the same thing happen if you put all your jars in the WEB-INF/lib directory inside your webapp? -Original Message---

Re: Hivemind problem with tapestry 4

2006-04-11 Thread Rodnei Couto
no... i will deploy with tomcat to verify and feedback... []'s Rodnei Couto Jesse Kuhnert escreveu: H... That brings us to the culprits being either hibernate or jetty. Are you using maven2 in eclipse as well? On 4/11/06, Rodnei Couto <[EMAIL PROTECTED]> wrote: tapesttry 4.01 / hive

Re: Hivemind problem with tapestry 4

2006-04-11 Thread Jesse Kuhnert
H... That brings us to the culprits being either hibernate or jetty. Are you using maven2 in eclipse as well? On 4/11/06, Rodnei Couto <[EMAIL PROTECTED]> wrote: > > tapesttry 4.01 / hivemind / hibernate using jetty. > > i'm not using spring > > []'s > Rodnei Couto > > Jesse Kuhnert escreveu:

Re: Hivemind problem with tapestry 4

2006-04-11 Thread Rodnei Couto
tapesttry 4.01 / hivemind / hibernate using jetty. i'm not using spring []'s Rodnei Couto Jesse Kuhnert escreveu: It's not tapestry OR hivemind...Not sure who the ultimate culprit is but it's obviously a classloader or someone in the classloader type of issue. I'm running with hivemind / tap

Re: Hivemind problem with tapestry 4

2006-04-11 Thread Jesse Kuhnert
It's not tapestry OR hivemind...Not sure who the ultimate culprit is but it's obviously a classloader or someone in the classloader type of issue. I'm running with hivemind / tap / spring / hibernate using jetty. What are you running with? On 4/11/06, Rodnei Couto <[EMAIL PROTECTED]> wrote: > > I

Re: Hivemind problem with tapestry 4

2006-04-11 Thread Rodnei Couto
If i try to inject the propertie how a application object, a had a ClassCastException when try to use the getPropertie method. Example Hivemind Home.page Home.java public abstract HelloWorldImp getValor(); when i do getValor() in Home.java, i give a Cl

Re: Missing slash in externalized asset URLs?

2006-04-11 Thread Filip S. Adamsen
Sorry, totally forgot to mention that. I'm on 4.0.0. -Filip Jesse Kuhnert skrev: What version is this against? On 4/10/06, Filip S. Adamsen <[EMAIL PROTECTED]> wrote: I just moved some of my application's assets into my source-tree. Unfortunately, it appears that externalized assets aren't wo

RE: Hivemind problem with tapestry 4

2006-04-11 Thread James Carman
That's fine if you're not using annotations. That's why I asked Jesse (since in his environment, he can probably do both). I wanted to know if the annotation version of "inject" is working and not the xml version. I know I've injected services into my pages via annotations. -Original Messag

Re: Hivemind problem with tapestry 4

2006-04-11 Thread Rodnei Couto
i'm not using annotations, because i can't change my projet to java 5 yet. I made this example in hivemind, without tapestry, and work fine. Didn't work with hivemind and tapestry together. []'s Rodnei Couto Jesse Kuhnert escreveu: Don't know yet, but I don't think it's hivemind's problem. W

RE: Hivemind problem with tapestry 4

2006-04-11 Thread James Carman
It sounds like a classloader issue to me. It's the same interface, but it doesn't appear as if it's loaded from the same classloader (hence the type incompatibility). -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 2:27 PM To: Tapestry users

Re: Hivemind problem with tapestry 4

2006-04-11 Thread Jesse Kuhnert
Don't know yet, but I don't think it's hivemind's problem. Will know for sure in the next couple minutes. On 4/11/06, James Carman <[EMAIL PROTECTED]> wrote: > > Jesse, > > Does it work using annotations? > > > -Original Message- > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > Sent: Tues

RE: Hivemind problem with tapestry 4

2006-04-11 Thread James Carman
Jesse, Does it work using annotations? -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 2:19 PM To: Tapestry users Subject: Re: Hivemind problem with tapestry 4 How lucky for you! I'm running into the same exact problem now. When I find a s

Re: Hivemind problem with tapestry 4

2006-04-11 Thread Jesse Kuhnert
How lucky for you! I'm running into the same exact problem now. When I find a solution I'll let people know. On 4/11/06, Rodnei Couto <[EMAIL PROTECTED]> wrote: > > Hi list, > > I'm migrating my aplication from tapestry 3 to tapestry 4. I made this > hivemind helloWorld example with tapestry to le

Hivemind problem with tapestry 4

2006-04-11 Thread Rodnei Couto
Hi list, I'm migrating my aplication from tapestry 3 to tapestry 4. I made this hivemind helloWorld example with tapestry to learn, but this didn't work. The version of hivemind is 1.1.1. Somebody can help me? The exception is: org.apache.hivemind.ApplicationRuntimeException Error at context:

Re: Best practice? Cleaning up instance data in pages and compone nts for the cache?

2006-04-11 Thread Sam Gendler
@InitialValue() On 4/10/06, Schulte Marcus <[EMAIL PROTECTED]> wrote: > yes, exactly, that's what I do. > > > -Original Message- > > From: Nick Faiz [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, April 11, 2006 8:09 AM > > To: Tapestry users > > Subject: Re: Best practice? Cleaning up instan

Re: Major Issue with Tacos and IE 6 SP2

2006-04-11 Thread Chris Chiappone
Probably a good idea, thanks On 4/11/06, Andreas Andreou <[EMAIL PROTECTED]> wrote: > > you might like to subscribe to the tacos list as well. > > This exact issues was mentioned several times. > > Chris Chiappone wrote: > > >Jesse - you da man. > > > >Why would the base tag have an effect on taco

Re: Major Issue with Tacos and IE 6 SP2

2006-04-11 Thread Andreas Andreou
you might like to subscribe to the tacos list as well. This exact issues was mentioned several times. Chris Chiappone wrote: >Jesse - you da man. > >Why would the base tag have an effect on tacos in IE? Simple things like >that I wouldn't been able to figure out without the help of this list. >

Re: Tacos4 beta2 javascript error on Masks

2006-04-11 Thread Leonardo Quijano Vincenzi
Interesting. Actually, the bug is really based on a Hivemind limitation: http://issues.apache.org/jira/browse/HIVEMIND-172 The demo tries to escape the separator to use it as a decimal separator ("\,"). That's server side. Since the version of Hivemind used doesn't support this, the separator

Re: Major Issue with Tacos and IE 6 SP2

2006-04-11 Thread Chris Chiappone
Jesse - you da man. Why would the base tag have an effect on tacos in IE? Simple things like that I wouldn't been able to figure out without the help of this list. Thanks again. ~chris On 4/11/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > See what happens when you set "renderBaseTag" to fals

Re: Major Issue with Tacos and IE 6 SP2

2006-04-11 Thread Jesse Kuhnert
See what happens when you set "renderBaseTag" to false in your @Shell component. On 4/11/06, Chris Chiappone <[EMAIL PROTECTED]> wrote: > > I have been building an application for some time now using tacos and > tapestry 4. I do most of my testing in firefox. Today I decided to make > sure every

Major Issue with Tacos and IE 6 SP2

2006-04-11 Thread Chris Chiappone
I have been building an application for some time now using tacos and tapestry 4. I do most of my testing in firefox. Today I decided to make sure everything looked good in IE. An obviously IE has a major problem. The webpage won't even open I get the following error in IE 6 "Internet Explorer c

RE: Another question concerning the For component

2006-04-11 Thread James Carman
If you remove the "doctor" property, does it complain about the "patient" property? -Original Message- From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Bulling Sent: Tuesday, April 11, 2006 8:37 AM To: Tapestry users Subject: Re: Another question concerning the For comp

Re: Another question concerning the For component

2006-04-11 Thread Andreas Bulling
On 11. Apr 2006 - 06:22:33, James Carman wrote: | I mean are you ultimately extending BasePage? Yes, I do - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: spindle

2006-04-11 Thread Pedro Viegas
Geoff, glad to hear you! Can't agree with Francis. Tapestry like any other framework has it's tricks and must haves! It's not very elegant to have to teach each new developer that comes to a Tap project that he has to know exactly the property names of the components they will use. Witch component

Re: Another question concerning the For component

2006-04-11 Thread James Carman
I mean are you ultimately extending BasePage? > On 10. Apr 2006 - 22:29:28, James Carman wrote: > | Are you extending a page class (shot in the dark)? > > Yes, but what could that mean, could that be related to my problem? > They are rather long, I don't know if it makes sense to post > them here.

Tacos4 beta2 javascript error on Masks

2006-04-11 Thread Fabio Bondioli
Hi everybody, I've downloaded Tacos beta2 and I found that the online demo fails running the Mask page. There is a javascript error: http://localhost:8080/tacos4-demo/app?page=core%2FMasksExample&service=page Riga: 79, Colonna: 65 Codice sorgente: document.formatter_numberEuropeanTextFie

Re: Java Native library and Hivemind/Tapestry

2006-04-11 Thread Andreas Bulling
Sorry, just to complete my first posting: The exception is java.lang.UnsatisfiedLinkError: Native Library already loaded in another classloader And concerning Hivemind I thought that perhaps a singleton service would solve the problem? ---

Java Native library and Hivemind/Tapestry

2006-04-11 Thread Andreas Bulling
Hi folks, as I have to integrate some functionality of a native library in my web application this time I would like to know how you are doing this. The problem is that the library is only allowed to be loaded once by the classloader and any further loadings will result in a corresponding excepti

Re: spindle

2006-04-11 Thread Francis Amanfo
I think it's time those lazy tapestry developers roll their sleeves up their long arms and start getting their hands dirty with some real tapestry development. Life without Spindle in T4 isn't that bad like you probably might want to think. You can avoid all the page specifications xml (where I thi

Re: Another question concerning the For component

2006-04-11 Thread Andreas Bulling
On 10. Apr 2006 - 22:29:28, James Carman wrote: | Are you extending a page class (shot in the dark)? Yes, but what could that mean, could that be related to my problem? They are rather long, I don't know if it makes sense to post them here. Perhaps you're thinking of something more concrete I can

Re: Tapestry 5

2006-04-11 Thread Leonardo Quijano Vincenzi
I would actually vote for a Spring-like approach to component configuration. If you check out Spring Transaction support (and other stuff too), they actually have an abstract hierarchy of configuration classes (in the sense of implementation-agnostic data structures, not abstract classes). For

Re: Tapestry drop downs

2006-04-11 Thread Peter Svensson
I hope I don't misunderstand what you're trying to do, but I usually use PropertySelection for my drop-downs, like As usual the choice is both read and set by get/setType() in my example. The only slightly tricky thing is to make a IPropertySelection object that describes the choices, but there