RE: dirty form checking ...

2007-05-09 Thread Marcus.Schulte
Ok, I tried dojo.event.connect( tapestry.form ,"onFormSubmit",tapestry.dirtyFormWarning, "defuse"); now, same result: works for @Submit, doesn't work for @LinkSubmit ... > -Original Message- > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 09, 2007 5:52 PM > To:

Re: Does anyone have the same problem of following the T5 tutorial

2007-05-09 Thread Eugene Lozovan
I was able to get 5.0.3 working in eclipse, may be this can help you a bit. E.L. On 10/05/07, John Lee <[EMAIL PROTECTED]> wrote: Dear List, I follow the tutorial to download hilo game. Since 5.0.4-snapshot have

Re: instantiate abstract asset class

2007-05-09 Thread Kalle Korhonen
You can't instantiate an abstract class, that's why it's abstract. Instantiating an anonymous inner class derived from it wouldn't work? MyAsset myAsset = new MyAsset() { @Override public InjectedObject getInjectedObject() {return null;} }; Kalle On 5/9/07, Paul Stanton <[EMAIL PROTECTED]> wro

Does anyone have the same problem of following the T5 tutorial

2007-05-09 Thread John Lee
Dear List, I follow the tutorial to download hilo game. Since 5.0.4-snapshot have bug, I modified pom.xml to use 5.0.3 instead, and I get it running. However, after important the project to eclipse, I get compile error in org.example.hilo.services.AppModule. 1. The type MappedConfiguration is

Re: T5 - Location of files

2007-05-09 Thread Joshua Jackson
What is the error stack trace? Can you see it in your logs? On 5/10/07, Marcus <[EMAIL PROTECTED]> wrote: Hi, Where, in T5, should i put others jars necessary to application, for example, if i want to put my jdbc driver in file myApp.war. I've try WEB-INF/lib, but don't work. Thank's Marcus

Re: T5 - Location of files

2007-05-09 Thread Weisu
If you use Tomcat, try put jdbc jar in tomcat\common\lib, see if it works. Marcus-11 wrote: > > Hi, > > Where, in T5, should i put others jars necessary to application, for > example, if i want to put my jdbc driver in file myApp.war. > I've try WEB-INF/lib, but don't work. > > Thank's > Marc

Re: instantiate abstract asset class

2007-05-09 Thread Paul Stanton
no, I have a class which implements IAsset, and I need to be able to keep it abstract for injections, yet instantiate it or get a handle to an instance on demand. Is there a pool/procedure in tapestry I can retrieve an instance from? Thanks. Jesse Kuhnert wrote: I don't think you can instant

Re: localization oddity

2007-05-09 Thread Jesse Kuhnert
Not much - and definitely not anything that would be related to what you are seeingSo if you see an oddity that would explain it it has to in there, or your copy && paste of the characters didn't come through ok in the new file,. On 5/9/07, Eric Schneider <[EMAIL PROTECTED]> wrote: I'm stil

Re: localization oddity

2007-05-09 Thread Eric Schneider
I'm still using 4.0.2. Not sure how much has changed since then. e. On 5/9/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: I don't know what version you are on but most of that happens in here: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapes

Re: localization oddity

2007-05-09 Thread Jesse Kuhnert
I don't know what version you are on but most of that happens in here: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/services/impl/ComponentMessagesSourceImpl.java?view=markup I haven't changed things ~too~ much in 4.1.2 but there are sligh

Re: dojo Dialog, forms, asynchronous submission and javascript

2007-05-09 Thread Jesse Kuhnert
Yes: dojo.event.connectOnce(tapestry.form, "onFormSubmit" /** or even "submitAsync" */, function(e){ // if you think it might be an issue you can double check the target element id if (evt.target.getAttribute("id") != "myExpectedId") return; dojo.widget.byId("yourDialogCompo

Re: localization oddity

2007-05-09 Thread Jesse Kuhnert
This sounds troublesome, if you file this in jira I should be able to track down the discrepancy. (if any) On 5/9/07, Eric Schneider <[EMAIL PROTECTED]> wrote: Hi, I'm in the process of moving my page and component message bundles into a global file. In the long run this seems like a much mor

Re: localization oddity

2007-05-09 Thread Eric Schneider
Thanks for the tip, I'll give it shot. I'm still very curious about why it would behave differently. :-| e. On 5/9/07, Michael Maier <[EMAIL PROTECTED]> wrote: I wonder that 'recap_label=Récapitulation' works... try man native2ascii *.properties are invented by english speaking man, so ev

Re: JavaFX

2007-05-09 Thread Konstantin Ignatyev
Yeah, JavaFX looks really weird and purposeless. --- Bill Holloway <[EMAIL PROTECTED]> wrote: > I've looked at sample code for JavaFX and it reminds > me *greatly* of > all the IDE-generated stuff when I do Swing > applications in Eclipse or > netbeans. God help us generating UI's by hand with

Overloading onActivate(), multiple parameter sets

2007-05-09 Thread Ki Alam
I'm passing parameters from page to page via url encoding (e.g., "/Count/1/10"), but I'd like to be able to pass different numbers of parameters to different onActivate() methods: /Count/1/10 /Count/1/10/2 /Count/1/10/2/5 would map to: onActivate(Integer start, Integer end) onActivate(Integer s

Re: T5 - Location of files

2007-05-09 Thread Howard Lewis Ship
That would be a bit of a surprise, as that's a function of the servlet container, not Tapestry. On 5/9/07, Marcus <[EMAIL PROTECTED]> wrote: Hi, Where, in T5, should i put others jars necessary to application, for example, if i want to put my jdbc driver in file myApp.war. I've try WEB-INF/li

dojo Dialog, forms, asynchronous submission and javascript

2007-05-09 Thread Julian Wood
I'm experimenting with using a dojo Dialog for form input. I open up a dojo dialog, add some data to my fields, and then click on submit. Submit is just a regular old submit which submits my form component. My form component is asynchronous and updates some parts of the web page after its l

Re: T5 CSS

2007-05-09 Thread Marcus
Just another way, Layout.html: with mystyles.css under src/main/webapp/assets/css/ ;) Marcus

Re: localization oddity

2007-05-09 Thread Michael Maier
I wonder that 'recap_label=Récapitulation' works... try man native2ascii *.properties are invented by english speaking man, so everything is ascii...:-) maybe this will help Am 10.05.2007 um 00:16 schrieb Eric Schneider: I'm in the process of moving my page and component message bundles

localization oddity

2007-05-09 Thread Eric Schneider
Hi, I'm in the process of moving my page and component message bundles into a global file. In the long run this seems like a much more manageable approach. But, I'm seeing some results that I didn't expect. For example, moving "recap_label=Récapitulation" from a page property file to the globa

Re: JavaFX

2007-05-09 Thread Bill Holloway
I've looked at sample code for JavaFX and it reminds me *greatly* of all the IDE-generated stuff when I do Swing applications in Eclipse or netbeans. God help us generating UI's by hand with this stuff! bill On 5/8/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Yes..quite. There's a related art

Re: T5: page redirect

2007-05-09 Thread Sven Homburg
ok, my fault. but i ve tested it in any possible combinations. e.g. page in the same package as the class page in the WEB-INF but every test gives me the same result if i jump to url "http://localhost:8080/test5"; tapestry passes method "onActivate()" end returns the name of the login page "log

Re: 4.1.2-SNAPSHOT and OGNL 2.7-SNAPSHOT out of sync

2007-05-09 Thread Jesse Kuhnert
Ah yes, ignore the slight of hand. .. http://opencomponentry.com/repository/m2-snapshot-repo/ On 5/9/07, Hugo Palma <[EMAIL PROTECTED]> wrote: I'm getting the following error when i start my application. It seems to me that Tapestry is invoking an ognl API method that isn't there. Maybe the on

4.1.2-SNAPSHOT and OGNL 2.7-SNAPSHOT out of sync

2007-05-09 Thread Hugo Palma
I'm getting the following error when i start my application. It seems to me that Tapestry is invoking an ognl API method that isn't there. Maybe the ongl snapshots feel a little behind the tapestry ones ? java.lang.NoSuchMethodError: org.apache.tapestry.services.impl.HiveMindExpressionCompiler.

Re: T5: Since update from 5.03 to 5.04 class not found

2007-05-09 Thread Piotr Dadura
I managed with the change of Tapestry from 5.0.2 to 5.0.4 with replaceing AppModule.java with new file. I got new AppModule.java file from temporary Maven project created with quick-start archetype. The las change was in the hilo's pom.xml to 5.0.4 BR, PD

T5 - Location of files

2007-05-09 Thread Marcus
Hi, Where, in T5, should i put others jars necessary to application, for example, if i want to put my jdbc driver in file myApp.war. I've try WEB-INF/lib, but don't work. Thank's Marcus

Re: T5: Since update from 5.03 to 5.04 class not found

2007-05-09 Thread Marcus
search on this forum for: "*Cannot run hilo game in T5 tutorial*" ** It's the same problem. There's no org/apache/tapestry/ioc/ServiceLocator in 5.0.4-SNAPSHOT put 5.0.3 in POM.xml

Tapestry 4.1.1 - (custom) type conversion date <-> calendar

2007-05-09 Thread Jan Vissers
Hi, Is it possible to a (custom) type converter from/to - date, calendar and how should I do this? (Can somebody point me in the right direction for documentation) Thanks, -J. - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: dirty form checking ...

2007-05-09 Thread Andreas Andreou
And hey, if that works, perhaps contribute back into tacos? i'm sure we'll have to implement that eventually, so it'll be a huge shortcut if we could use that! On 5/9/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: I think you can connect to tapestry.form.onFormSubmit as per: http://svn.apache.

Re: dirty form checking ...

2007-05-09 Thread Jesse Kuhnert
I think you can connect to tapestry.form.onFormSubmit as per: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/form.js?view=markup On 5/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Yes, that's what I started with. The basic check works, now. But I

RE: dirty form checking ...

2007-05-09 Thread Marcus.Schulte
Yes, that's what I started with. The basic check works, now. But I can't seem to hook into regular form-submission nicely, to switch off the dirty-check in that case. I tried dojo.event.connect(form_${formName},"onsubmit",tapestry.dirtyFormWarning , "defuse"); That works just fine for @Submit,

Re: Tapestry 4.1.1 "Hello World" not working on Oracle 10.1.3.2.0

2007-05-09 Thread Jesse Kuhnert
I wonder if there is going to be a 1.1.2 hivemind release or should I try applying patches and waiting for the eventual good-enough-to-commit blah blah to eventually get some of these things fixed up? On 5/9/07, Jan Vissers <[EMAIL PROTECTED]> wrote: Hi, With the help of this "Tapestry (4.0.2)

Re: Improving Autocompleter performance T 4.1.2

2007-05-09 Thread janjonge
Please use detachable models! Jan mistapony wrote: > > I am trying to figure out why my autocompleter performs so slowly. > I've tried multiple things to try to improve. I've tried using the > DefaultAutoComplete model, a StringAutoCompleteModel that just takes > in a List and looks for a matc

Re: Improving Autocompleter performance T 4.1.2

2007-05-09 Thread Jesse Kuhnert
Try using http://yourkit.com/ . It leaves 0 doubt about the performance bottleneck in these things. On 5/9/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: I am trying to figure out why my autocompleter performs so slowly. I've tried multiple things to try to improve. I've tried using the Defaul

Re: Tapestry 4.1.1 "Hello World" not working on Oracle 10.1.3.2.0

2007-05-09 Thread janjonge
Hmm, this looks and smells like a bug in Tapestry. Jan Jan Vissers wrote: > > Hi, > > With the help of this "Tapestry (4.0.2) / Hivemind (1.1.1) in OC4J > 10.1.3 - Dig a little bit more, anyone please give me a ladder to climb > up" post > I've now got things working on 10.1.3.2 > > Below t

Re: Tapestry 4.1.1 "Hello World" not working on Oracle 10.1.3.2.0

2007-05-09 Thread janjonge
It seems your jar is corrupted. Try updating it. Jan Jan Vissers wrote: > > Below the trace I see, whenever Tapestry 4.1.1 tries to load > Has anybody ever tried Tapestry 4.1.1 on OC4J? > > ** > > > 07/05/09 13:22:02 org.apache.hive

Improving Autocompleter performance T 4.1.2

2007-05-09 Thread Chris Chiappone
I am trying to figure out why my autocompleter performs so slowly. I've tried multiple things to try to improve. I've tried using the DefaultAutoComplete model, a StringAutoCompleteModel that just takes in a List and looks for a match where the List is created in PageBeginRender and set as a abst

Re: T5: Since update from 5.03 to 5.04 class not found

2007-05-09 Thread Eugene Lozovan
Hello all, Could you please give a piece of advice, I downloaded tapestry quick-start 5.0.4 using such a command: mvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.4 -DgroupId=org.example -DartifactId=myapp -DpackageName=org.examp

Re: Tapestry 4.1.1 "Hello World" not working on Oracle 10.1.3.2.0

2007-05-09 Thread Jan Vissers
Hi, With the help of this "Tapestry (4.0.2) / Hivemind (1.1.1) in OC4J 10.1.3 - Dig a little bit more, anyone please give me a ladder to climb up" post I've now got things working on 10.1.3.2 Below the hivemodule.xml I created: package="com.cumquatit.refapp"> class="com.cumquati

Job Offer in Miami: 1 Java/Tapestry Developer, 1 Web Designer

2007-05-09 Thread Jacob Bergoo
Hi all, sorry to spam the list with this Job Offer but I figure that it could be of interest to know that we are looking to expand our (Tapestry) Development Team here in Miami Lakes. We are currently 3 Java/Tapestry Developers, 2 DBA, 1 Web Designer, 2 Sys. Admin and 2 Support Guys. We are workin

Re: Anybody have the FCKEditor working in IE7?

2007-05-09 Thread Jacob Bergoo
Hi, my problem turned out to be ... a non problem... In 2 different places in our app we have a tab group and in the first tab on both of the tab groups we have the FCKEditor. The one page I checked before my posting here on the list didn't render the FCKEditor but the second one did and we have a

Re: dirty form checking ...

2007-05-09 Thread Jesse Kuhnert
Oh ...Forgot that you wanted to stop it. Yeah that wouldn't work there. I don't think there is anything to do other than what tacos does: http://opencomponentry.com:8080/tacos/forms/DirtyFormExample.html On 5/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: thanks, but I don't seem to be ab

RE: dirty form checking ...

2007-05-09 Thread Marcus.Schulte
thanks, but I don't seem to be able to veto that event. dojo.event.browser.stopEvent(evt) doesn't seem to work ... > -Original Message- > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 09, 2007 2:57 PM > To: Tapestry users > Subject: Re: dirty form checking ... >

Re: Tapestry 5 and Template Reloading

2007-05-09 Thread bjornharvold
Another FYI, I can start my application using mvn jetty:run without problems using 5.0.4. It's the jettylauncher and eclipse that is the problem. -- View this message in context: http://www.nabble.com/Tapestry-5-and-Template-Reloading-tf3671362.html#a10394244 Sent from the Tapestry - User maili

Re: Tapestry 4.1.1 "Hello World" (also) not working on Oracle 11.1.1.0.0 (Technology Preview)

2007-05-09 Thread janjonge
Maybe he's building a prototype in both frameworks in order to convince his client that Tapestry is not the way to go. That said, I also want to add that not all tasks have to be done with Tapestry. Sometimes some framework, like Wicket, does the job better and more effieciently. Jesse, let me as

Re: How to store the rendering of a page in a String

2007-05-09 Thread Jesse Kuhnert
You have to contribute a new ResponseContributor to the service point here: http://tapestry.apache.org/tapestry4.1/tapestry-framework/hivedoc/config/tapestry.services.ResponseContributors.html It works the same way as the tacos version. Different response types sniff the incoming http request an

Re: How to pass custom arguments to @EventListener, TabSet, persistent props in XHR's

2007-05-09 Thread Jesse Kuhnert
Ah good good.. I'm not sure if it was announced yet or not but I'll probably be integrating the new 0.9 version of dojo in a 4.2 tapestry release. The internal bickering is done and the performance / no code bloat people have won. The library has also been broken up into three modules to make t

Re: Tapestry 4.1.1 "Hello World" (also) not working on Oracle 11.1.1.0.0 (Technology Preview)

2007-05-09 Thread Jan Vissers
Hi Jesse - Is it me, I didn't quite catch the fowarded solution/reply... Thanks, -J. p.s. No, not wicket - although I've been trying some Faclets+Seam+JSF lately... ;-) Jesse Kuhnert wrote: I re-forwarded a solution/reply from a previous user list question. p.s. I thought you were off usin

Re: dirty form checking ...

2007-05-09 Thread Jesse Kuhnert
dojo.addOnUnload On 5/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I'm implementing a dirty form checking component. Can I avoid the dreaded window.onbeforeunload and use some convenient dojo-hook to upon unloading the form? Any ideas are welcome! thanks, Marcus -- Jesse Kuhnert T

Re: Tapestry 4.1.1 "Hello World" (also) not working on Oracle 11.1.1.0.0 (Technology Preview)

2007-05-09 Thread Jesse Kuhnert
I re-forwarded a solution/reply from a previous user list question. p.s. I thought you were off using wicket now? On 5/9/07, Jan Vissers <[EMAIL PROTECTED]> wrote: Below the trace I see, whenever Tapestry 4.1.1 tries to load This time on 11g (Technology Preview) -- Jesse Kuhnert Tapest

Re: Tapestry (4.0.2) / Hivemind (1.1.1) in OC4J 10.1.3 - Dig a little bit more, anyone please give me a ladder to climb up

2007-05-09 Thread Jesse Kuhnert
I believe this may be useful to Jan. On 8/24/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Hi, Looking at the source for the hivemind LoggingInterceptorFactory leads me to believe it could very well be a "bug" on hivemind's part. Not because I saw anything particular, just because it looked com

Tapestry 4.1.1 "Hello World" (also) not working on Oracle 11.1.1.0.0 (Technology Preview)

2007-05-09 Thread Jan Vissers
Below the trace I see, whenever Tapestry 4.1.1 tries to load This time on 11g (Technology Preview) ** 07/05/09 14:51:08 org.apache.hivemind.ApplicationRuntimeException: Unable to construct service tapestry.init.ApplicationSpecificatio

Tapestry 4.1.1 "Hello World" not working on Oracle 10.1.3.2.0

2007-05-09 Thread Jan Vissers
Below the trace I see, whenever Tapestry 4.1.1 tries to load Has anybody ever tried Tapestry 4.1.1 on OC4J? ** 07/05/09 13:22:02 org.apache.hivemind.ApplicationRuntimeException: Unable to construct service tapestry.init.ApplicationSpe

dirty form checking ...

2007-05-09 Thread Marcus.Schulte
I'm implementing a dirty form checking component. Can I avoid the dreaded window.onbeforeunload and use some convenient dojo-hook to upon unloading the form? Any ideas are welcome! thanks, Marcus

tapestry 4.2

2007-05-09 Thread Gareth
Hi, I noticed there was a new snapshot release of tapestry 4 recently. Does anyone have a feel for when the final tapestry 4.2 version will be released? Also, is there a specific reason that downloading up to date documentation in archive format for tapestry 4.1 is currently unsupported - its

Re: Cannot run hilo game in T5 tutorial

2007-05-09 Thread John Lee
find out it IS a bug, not until 5.05, this bug will not be fixed. see below I used to work with tapestry 3 and 4 but I dont know much about tapestry 5 and almost nothing about maven. But I wanted to test the great new functionality of tap 5 so I wanted to run the project in the tutorial. I ha

Re: How to store the rendering of a page in a String

2007-05-09 Thread Stephane Decleire
Thanks Jesse, I think i can manage the alterations in the ResponseBuilder but i would welcome some advice on the way to inject the custom ResponseBuilder in the rendering cycle. -- Stéphane Decleire www.bebe-nounou.com Jesse Kuhnert a écrit : It's a little more complicated looking than say

Re: Cannot run hilo game in T5 tutorial

2007-05-09 Thread John Lee
Here you are. 5.0.4-SNAPSHOT - Original Message - From: "Joshua Jackson" <[EMAIL PROTECTED]> To: "Tapestry users" ; "John Lee" <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2007 4:39 PM Subject: Re: Cannot run hilo game in T5 tutorial What is the value of in your p

best practice advice

2007-05-09 Thread Ulrich Stärk
Hi List, I want the content of a GET parameter passed to my page included as a hidden field into a form on that page. To do this I implement the PageBeginRender interface in my page class and check for the presence of that parameter in pageBeginRender(). If it's there I set a property on my pag

Re: Cannot run hilo game in T5 tutorial

2007-05-09 Thread Joshua Jackson
What is the value of in your pom.xml ? On 5/9/07, John Lee <[EMAIL PROTECTED]> wrote: Dear Joshua , Here is the trace, seems like a bug in T5 snapshot. Best regards John [INFO] Jetty server exiting. [INFO] [ERROR] FATA

RE: How to pass custom arguments to @EventListener, TabSet, persistent props in XHR's

2007-05-09 Thread Marcus.Schulte
> What do you mean by forbidden? And also by changing page > properties in an XHR request? > > I do this quite often myself so maybe it's just a matter of > ~when~ you try to change the properties. Oops, silly mistake in the component. It works perfectly well. > > p.s. Have you guys noticed

Re: Cannot run hilo game in T5 tutorial

2007-05-09 Thread John Lee
Dear Joshua , Here is the trace, seems like a bug in T5 snapshot. Best regards John [INFO] Jetty server exiting. [INFO] [ERROR] FATAL ERROR [INFO] [

Re: [T5] Calling URL without pages

2007-05-09 Thread Blackwings
I can't use filter. In fact, I have a swing application implemented with HttpClient that try to authenticate a user by calling my Tapestry5 web application. The server will receive my request and should return an xml response with the user information or any other response. Filter are used to chan