Re: how to wrap tapestry.services.FactoryServices?

2006-11-23 Thread Jesse Kuhnert
It sounds like you are not allowed to "contribute" more than one service name with the same id for this particular configuration point. Maybe what you need to do is define what object is returned from the tapestry.services.Home service point via http://hivemind.apache.org/descriptor.html#implemen

how to wrap tapestry.services.FactoryServices?

2006-11-23 Thread Patrick Moore
Hi -- I am trying to wrap some engine service by replacing the configuration point, tapestry.services.FactoryServices with this definition: I did something similiar to this to replace tapestry.services.ResponseContributors:

Re: 4.1 : updating components inside a For

2006-11-23 Thread Dennis Sinelnikov
I have not played around with Tap 4.1 yet, but I believe @EventListener annotation might do the trick. hth, Dennis Ron Piterman wrote: I Guess this is a frequent question, yet I could not find an anwer in the forum: I have a for iterating over some objects, generating a list of direct links

Re: MultipleComponents Submit

2006-11-23 Thread Dennis Sinelnikov
Did you get Tapestry-Prop library? -Dennis Skorpien126 wrote: I´m not sure if I can add Components dynamicly. I try to add several SubComponents with a @For Component, building the Subcomponent with a Value of a List. Can I use BeanForm in this way??? I now get currently this error Message "Una

Re: Perfomance Testing Tapestry App

2006-11-23 Thread Dennis Sinelnikov
s/gooble/gobble/g :) Dennis Sinelnikov wrote: Wow. This is great! Within couple hours I'm already running performance tests. Proxy would not be applicable to my environment right away b/c my server is ssl enabled, which makes sense because that would defeat the purpose of ssl encryption. I

How to active a page in @EventListener method?

2006-11-23 Thread Jun Tsai
hi,all I find the eventListener can't active a page.such as @EventListener(elements = {"PriceTypeField0","PriceTypeField1","PriceTypeField2"}, events = "onclick") public IPage doSomething(){ . . return getRequestCycle().getPage("xx.page"); }

Re: MultipleComponents Submit

2006-11-23 Thread Skorpien126
I´m not sure if I can add Components dynamicly. I try to add several SubComponents with a @For Component, building the Subcomponent with a Value of a List. Can I use BeanForm in this way??? I now get currently this error Message "Unable to parse OGNL expression 'prop:isInsideAForm': Malformed OGNL

Re: Hivemind and Spring application context...

2006-11-23 Thread Bill Holloway
I'm not sure that in your context-param in web.xml that "globbing" is supported -- namely putting the "*" wildcard character in applicationContext*.xml. You can include other spring bean context fields from applicationContext.xml. I'd try that as a first approach. Cheers, Bill On 11/23/06, Cyr

Re: tapestry.form.focusField problems

2006-11-23 Thread Bill Holloway
doh! That works. On 11/23/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Set focus="false" on your Dialog form. On 11/23/06, Bill Holloway <[EMAIL PROTECTED]> wrote: > Interesting clarification: I have two forms on the page, but one is > an @Dialog form at the top of the page, used for logging

Re: tapestry.form.focusField problems

2006-11-23 Thread Jesse Kuhnert
Set focus="false" on your Dialog form. On 11/23/06, Bill Holloway <[EMAIL PROTECTED]> wrote: Interesting clarification: I have two forms on the page, but one is an @Dialog form at the top of the page, used for logging in. This form is hidden of course. My other form is a "registration" form s

Re: tapestry.form.focusField problems

2006-11-23 Thread Bill Holloway
Interesting clarification: I have two forms on the page, but one is an @Dialog form at the top of the page, used for logging in. This form is hidden of course. My other form is a "registration" form shown below that and is a beanform form and is not hidden. The dojo.addOnLoad javascript does t

Re: Perfomance Testing Tapestry App

2006-11-23 Thread Dennis Sinelnikov
Wow. This is great! Within couple hours I'm already running performance tests. Proxy would not be applicable to my environment right away b/c my server is ssl enabled, which makes sense because that would defeat the purpose of ssl encryption. I might use one of the firefox plugins to observe

tapestry.form.focusField problems

2006-11-23 Thread Bill Holloway
I've tried using both jwcid="@Form" and using beanform, and in FireFox on xubuntu I do not see any form field focus working. I the page source I do see the call to tapestry.form.focusField in dojo's AddOnLoad function. There are no errors reported in the javascript console of firefox, but no fie

Re: MultipleComponents Submit

2006-11-23 Thread Skorpien126
Thx u. I´ll check it out. More will follow... gredler wrote: > > Yes, it's possible, but it takes a bit of hand waving. Check out the > BeanForm source code for examples: > > http://beanform.sourceforge.net/ > > > On 11/23/06, Skorpien126 <[EMAIL PROTECTED]> wrote: >> >> >> Hi @All... >> I

4.1 : updating components inside a For

2006-11-23 Thread Ron Piterman
I Guess this is a frequent question, yet I could not find an anwer in the forum: I have a for iterating over some objects, generating a list of direct links ( "view mode"). what I want to achieve is that when a link is activated, only the selected item refereshes to a form ("edit mode"), whi

Re: MultipleComponents Submit

2006-11-23 Thread D&J Gredler
Yes, it's possible, but it takes a bit of hand waving. Check out the BeanForm source code for examples: http://beanform.sourceforge.net/ On 11/23/06, Skorpien126 <[EMAIL PROTECTED]> wrote: Hi @All... I want to make a MainComponent which includes a dynamic number of subcomponents, presenting

AJAX and Internet Explorer

2006-11-23 Thread Patrick Klein
Hi! I'm still working my way through ajax functionality in tapestry 4.1.1 and stumbled upon the following behaviour: If i'm accessing my test-page using IE the ajax-functionality seems to fail. The first call of an asynchronous EventListener works (at least kind of) but e.g. the "dynamic" Pr

MultipleComponents Submit

2006-11-23 Thread Skorpien126
Hi @All... I want to make a MainComponent which includes a dynamic number of subcomponents, presenting String,Date etc. All these subcomponentes include a validation for the corresondending values. The mainComponent includes the Submit-Button which should update the values of the subcomponents t

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

Re: tapestry-spring test suite

2006-11-23 Thread Cyrille37
Here is the good code (I hope ;o) /** * Reference: http://javaforge.com/sccShowFileRevision/CreatedBean.java?proj_id=220&tag=162&date=Mar+26%2C+2006+23%3A05&filename=tapestry-spring%2Ftrunk%2Fsrc%2Ftest%2Fjava%2Fcom%2Fjavaforge%2Ftapestry%2Fspring%2Fbeans%2FCreatedBean.java */ public class Nan

NPE in DataSqueezer after session time out

2006-11-23 Thread Mark Lehmacher
I have a problem with session timeouts and my custom data squeezer implementation. When a user of my web application uses an external link after his session already expired, he ends up with a NPE emanating from my data squeezer (the squeezer makes use of an injected service, from which the except

Re: how to internationalise titles

2006-11-23 Thread John Coleman
Jesse Kuhnert gmail.com> writes: > > Do you mean something like?: > > > Thanks. But if I use @Any, then I can't have a static value to represent the dynamic value when I view the template in a browser. Some components (like buttons) support a dynamic label attribute that will replace the

Re: tapestry-spring test suite

2006-11-23 Thread Cyrille37
Sorry for that post. It is a big and dirty mistake from me. Shure the following code is stupid ... I think I'm tired because of the complexity of all that framworks discovering... cyrille Cyrille37 a écrit : Hello, I got Tapestry4.0.2+Spring2 running and when I've tried the tapestry-sprin

Re: Hivemind and Spring application context...

2006-11-23 Thread Cyrille37
Hi, The following exception is occurring at startup, but bean injection is working fine. I'd forgot to tell my software configuration : Tapestry 4.0.2 + Spring 2 + TapestrySpring 1.0.0SNAPSHOT The startup exception is : org.apache.hivemind.ApplicationRuntimeException: Could not locate the

tapestry-spring test suite

2006-11-23 Thread Cyrille37
Hello, I got Tapestry4.0.2+Spring2 running and when I've tried the tapestry-spring, the result was not has expected. So I've added a random value to the getNanos() method of CreatedBean class and the example/testSuite run has expected. public long getNanos() { Random rnd = new

Re: tapestry-spring and diaphragma

2006-11-23 Thread Cyrille37
Thanks a lot Nanda for your explanation. Cyrille Nanda Firdausi a écrit : Hello Cyrille, I'm the developer of that component. Yes.. this is complement of HLS's tapestry spring. When Tapestry 4 is in development, many people are anxious on how to make it works with Spring, including me. So I

Re: tapestry-spring and diaphragma

2006-11-23 Thread Nanda Firdausi
Hello Cyrille, I'm the developer of that component. Yes.. this is complement of HLS's tapestry spring. When Tapestry 4 is in development, many people are anxious on how to make it works with Spring, including me. So I scratch an initial try and it works very nicely. Later on HLS comes with hi

Re: tapestry-spring and diaphragma

2006-11-23 Thread Cyrille37
Cyrille37 a écrit : Hi, Want is the project http://sourceforge.net/projects/diaphragma ? Is it an old project which is no more accurate ? Or is it a complement of HLS's tapestry-spring ? My question is motivated by the fact that "diaphragma" is mentioned on the page: http://wiki.apache.org/ta

tapestry-spring and diaphragma

2006-11-23 Thread Cyrille37
Hi, Want is the project http://sourceforge.net/projects/diaphragma ? Is it an old project which is no more accurate ? Or is it a complement of HLS's tapestry-spring ? Thanks cyrille - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Using Hibernate as the persistence engine

2006-11-23 Thread Gareth
Thanks for the reply Martin. I bought the 2nd edition actually about 9 months ago, and have been slowly working through it in my 'free time'... I have written a couple of small examples using that hibernate integration code, but I was concerned that, being an example, it wouldn't scale too w

@EventListener doesn't acitvate new page

2006-11-23 Thread Conny Kuehne
Hello everyone, I'm trying to activate a new page in a listener method annotated with @EvenListener. But unfortunately it doesn't work: @EventListener(events = "onValueChanged", targets = "topicChoose", submitForm="topicForm") public IPage topicsAutocompleterSelected(IRequestCycle cycle)

Hivemind and Spring application context...

2006-11-23 Thread Cyrille37
Hello, I'm very sorry to could not get running Tapestry+Spring by my self. I've read some posts on forums and references documents but startup steel throwing an exception: org.apache.hivemind.ApplicationRuntimeException: Could not locate the Spring application context. Most likely, you did not