RE: Temporary objects in OGNL

2007-12-31 Thread Marcus.Schulte
Have a look at http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/varref.html I tend to use complex ognl for rapid view development (dynamic reload). After that, I move complex expressions into Java-code. > -Original Message- > From: Kaspar Fischer [mailto:[EMAIL PROTECTED] > Se

RE: Conditional validation in T4?

2007-12-21 Thread Marcus.Schulte
You can bind your validators dynamically (validatory="ognl:conditionalValidStuff" ) and submit changes of you pre-conditions via @EventListener. Sounds a bit like overkill for simple dependencies, but can do very complex things > -Original Message- > From: Drew McAuliffe [mailto:[EMAI

RE: Help needed with DirectLink and page parameters (Was: Contrib:Table and page parameters)

2007-12-20 Thread Marcus.Schulte
> > I suppose your page implements IExternalPage? > > You mean that I create a single Tapestry class implementing > IExternalPage, right? All my (variably many) pages use this > class. Correct? Yes. > > > If you seed you page/app with external parameters which you > need later > > on, in s

RE: Help needed with DirectLink and page parameters (Was: Contrib:Table and page parameters)

2007-12-20 Thread Marcus.Schulte
I suppose your page implements IExternalPage? If you seed you page/app with external parameters which you need later on, in subsequent requests, store them in page/component properties marked as @Persist-ent. > -Original Message- > From: Kaspar Fischer [mailto:[EMAIL PROTECTED] > Sent: We

RE: Using Alfresco from within Tapestry

2007-11-19 Thread Marcus.Schulte
If your Tomcat instance is dedicated to alfresco and your tapestry app, I would try to go with the shared/lib approach. Logging in Tomcat is a bit complicated to get right due to the funny classloading hierarchy and commons-logging's log-method detection. I put commons-logging into each web-app's l

RE: T4.1.3 - Upgrade Dojo

2007-11-06 Thread Marcus.Schulte
This would mean changing tapestry's built-in javascript libraries since they use dojo extensively and dojo's api changed incompatibly between 0.4.x and 0.9. I'd say this would be quite some work. > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Henrik Schlanbusch >

RE: [4.1] EventListener within a component

2007-09-27 Thread Marcus.Schulte
You should be ablet to use the component-id with @EventListener's targets-Parameter. sth like: @EventListener( targets="textField", events="onchange" ) public void doIt(){...} @Component public TextField getTextField() > -Original Message- > From: Marcelo C. de Freitas [mailto:[EMAIL

RE: T 4.1.2 Autocompleter

2007-09-21 Thread Marcus.Schulte
nope, is your getter public? > -Original Message- > From: Frank [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 20, 2007 10:19 PM > To: Tapestry users > Subject: T 4.1.2 Autocompleter > > Hi, > > This is driving me crazy ;-) I just can't figure out why I > get a Unknown property

RE: Tapestry 4.0.1 to 4.1.2 migration problem

2007-09-11 Thread Marcus.Schulte
This method is indeed gone. Seems, that a 4.0 Version of IPage.class is lurking in one of your class-loaders/library-paths > -Original Message- > From: Michael Kleen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 11, 2007 1:53 PM > To: users@tapestry.apache.org > Subject: Tapestry

RE: Memory consumption in T4.1.2 - Hard data

2007-08-28 Thread Marcus.Schulte
But that POM does use snapshots. You shouldn't need the repository http://people.apache.org/repo/m2-snapshot-repository at all. Probably, there are no very significant differences between the latest 4.1.2 snapshot and the release. But nevertheless, for a productive environment, I'd always go with a

RE: How do I get a page from a sub-package

2007-08-28 Thread Marcus.Schulte
page-pathes are always relative to your pages-package, so cycle.getPage("admin/UserList") should be fine. Somehow, Tapestry seems to find your template in /admin/UserList and associates it with BasePage. Could it be, that you have a page class named UserList in both the pages package and the admin

RE: Memory consumption in T4.1.2 - Hard data

2007-08-28 Thread Marcus.Schulte
> my configuration is as follows: > > JDK 6.01 32bit JVM (I have also tested on a 64 bit with no > luck) Tomcat 5.5.20 Debian Linux (2.6.15.28 kernel) Tapestry > 4.1.2-SNAPSHOT with ognl 2.7 > Hi Peter, 4.1.2-SNAPSHOT is a typo, I suppose? > regards, > Peter > > Jesse Kuhnert wrote: > > I'

RE: Memory consumption in T4.1.2 - Hard data

2007-08-28 Thread Marcus.Schulte
So changing the page pool parameters didn't help then? > -Original Message- > From: Peter Stavrinides [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 28, 2007 10:34 AM > To: Tapestry users > Subject: Re: Memory consumption in T4.1.2 - Hard data > > > Andreas, give me a break! I am no

RE: path to referenced files

2007-08-24 Thread Marcus.Schulte
yourWebApp/images > -Original Message- > From: Angelo Chen [mailto:[EMAIL PROTECTED] > Sent: Friday, August 24, 2007 1:07 PM > To: users@tapestry.apache.org > Subject: path to referenced files > > > Hi, > > If I have something like following in the html, which > directory should i pu

RE: [T4.1.2] Hivemind / OGNL error

2007-08-23 Thread Marcus.Schulte
The OGNL Expression-Compiler falls back from the new, byte-code generating mode to the old, interpreting mode when an error occurs. Are you using the very latest and greatest OGNL-version? At least, try version 2.7. If the error persists, try 2.7.1-SNAPSHOT. If it's still there you can file a bug

RE: Tapestry 4.1.2 Javaassist and runtime errors

2007-08-22 Thread Marcus.Schulte
Hi Peter can you try to set the property org.apache.tapestry.page-pool-evict-idle-page-minutes to -1? You can, for example, add the following to your application's hivemind.xml : Does this help? Marcus > -Original Message- > From: Peter Stavrinides [mailto:[EMAIL PROTECTED]

RE: [T4] update documentation to reflect client:page and client:app state scopes

2007-08-21 Thread Marcus.Schulte
please file a jira issue for this. Otherwise it'll get lost. > -Original Message- > From: Ulrich Stärk [mailto:[EMAIL PROTECTED] > Sent: Friday, August 17, 2007 6:41 PM > To: Tapestry users > Subject: [T4] update documentation to reflect client:page and > client:app state scopes > > Hi

RE: Ajax example in doco not working?

2007-08-21 Thread Marcus.Schulte
I think Geoff is not complaining about @Any, but about @Insert. In fact, most components nowadays call AbstractComponent.renderIdAttribute(), including Any. Insert does not. This seems inconsistent to me and it's an easy fix, so I'd file an issue. > -Original Message- > From: Jesse Kuhnert

RE: T3: PropertySelecton

2007-08-13 Thread Marcus.Schulte
To customize the label for your selects, you'll have to implement you own IPropertySelection or inherit from existing one and override getLabel(int). As for disabling/hiding stuff dynamically: you can set submitOnChange to true (see http://tapestry.apache.org/tapestry3/doc/ComponentReference/Prope

RE: [T4.1.2] No component found in tree for EventListener binding

2007-08-13 Thread Marcus.Schulte
Hi Daniel, thanks, if you've confirmed that Lionel's solution solves your problem, that's fine. No need for an example then. I've just not been sure that it really solved the problem you had. best regards, Marcus > -Original Message- > From: Daniel Kleine-Albers [mailto:[EMAIL PROTECTED

RE: Memory leaks in Tapestry 4.1

2007-08-10 Thread Marcus.Schulte
not to forget the really awkward HiveMind version. Use 1.1.1 > -Original Message- > From: Chris Chiappone [mailto:[EMAIL PROTECTED] > Sent: Friday, August 10, 2007 3:41 PM > To: Tapestry users > Subject: Re: Memory leaks in Tapestry 4.1 > > I think one of the recommendations would be to

RE: [T4.1.2] No component found in tree for EventListener binding

2007-08-10 Thread Marcus.Schulte
Hi Daniel, I'm not sure that it's exactly the same problem. If you can, please provide an example. It would be helpful anyway. Marcus > -Original Message- > From: Daniel Kleine-Albers [mailto:[EMAIL PROTECTED] > Sent: Friday, August 10, 2007 8:52 AM > To: Tapestry users > Subject: Re: [

RE: [T4.1.2] No component found in tree for EventListener binding

2007-08-10 Thread Marcus.Schulte
something very similar was reported by someone else not long ago. Unfortunately, I couldn't reproduce the problem just from the verbal description. Could you provide an example that reproduces the error? That would make it easy to fix! > -Original Message- > From: Daniel Kleine-Albers [mai

RE: T4.1 List of pages

2007-07-31 Thread Marcus.Schulte
Hi Craig, most probably, you don't have your page-specifications listed in your *.application (or *.library, if you're interested in a library's pages.) Unfortunately, Tapestry's page-/component-lookup mechanism is sufficiently complicated to make it hard to detect all pages before usage -- unles

RE: T4: Adding a listener to a link that has not been rendered in tapestry

2007-07-30 Thread Marcus.Schulte
depends on how much control over the "external links" you do have. If you can control their generation, you can do anything ;). hard to say, without a more concrete knowledge of what these links should do, why they cannot be generated by tapestry and what they may be allowed to know about tapestry.

RE: T4: Adding a listener to a link that has not been rendered in tapestry

2007-07-29 Thread Marcus.Schulte
you could use the EventListener mechanism to intercept the clicks, see http://tapestry.apache.org/tapestry4.1/ajax/eventlistener.html If you know the link-id's in advance, it's particularly easy. If you don't have control over the "external" links, you'll have to come up with some javascript deleg

RE: T4.1 List of pages

2007-07-24 Thread Marcus.Schulte
getNamespace().getPageNames() /Marcus > -Original Message- > From: Craig Spry [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 25, 2007 8:01 AM > To: Tapestry users > Subject: T4.1 List of pages > > Hello All, > > I'm currently adding user permissions to my application, this > is go

RE: component export message properties to global / application catalog

2007-07-24 Thread Marcus.Schulte
Hm, yes. Of course, "libID:pageName" should not really be a literal You can, for example, list all child-Namespace-IDs from your-app namespace, then load the pages and look for one that implements your interface, or always look for a page named "Home", or whatever. > -Original Message- > F

RE: component export message properties to global / application catalog

2007-07-23 Thread Marcus.Schulte
Hm, you could do cycle.getPage("libID:pageName") in your nav-component, couldn't you? > -Original Message- > From: Eckenfellner Klaus [mailto:[EMAIL PROTECTED] > Sent: Monday, July 23, 2007 10:58 AM > To: users@tapestry.apache.org > Subject: Re: component export message properties to glo

RE: [T4.1.2] Is there Client side validation for @RadioGroup ?

2007-07-23 Thread Marcus.Schulte
Looks like a bug to me. If you file a JIRA-issue for it, I'll have a closer look > -Original Message- > From: #Cyrille37# [mailto:[EMAIL PROTECTED] > Sent: Monday, July 23, 2007 12:31 PM > To: users@tapestry.apache.org > Subject: Re: [T4.1.2] Is there Client side validation for > @Radi

RE: component export message properties to global / application catalog

2007-07-20 Thread Marcus.Schulte
I see, but why can't you initialise all your plugin libs upon the first request? Does this really hurt a lot performance-wise? Sorry, but I'm just being curious ... > -Original Message- > From: Eckenfellner Klaus [mailto:[EMAIL PROTECTED] > Sent: Friday, July 20, 2007 11:56 AM > To: use

RE: component export message properties to global / application catalog

2007-07-20 Thread Marcus.Schulte
you should be able to access your components msg-catalog from the navigation/border-component via IComponent.getMessages() Does that help? Also, you components/pages could be required to implement some interface Named {getDisplayName(Locale);} > -Original Message- > From: Eckenfellner K

RE: T4.1.2 When will it reach ibiblio?

2007-07-17 Thread Marcus.Schulte
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/tapestry/tapest ry-framework/4.1.2/ ? > -Original Message- > From: Geoff Callender [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 17, 2007 11:32 PM > To: Tapestry users > Subject: T4.1.2 When will it reach ibiblio? > > When will

RE: Tap 4.1.2 Bug found ???

2007-07-17 Thread Marcus.Schulte
Ok, I did my best to reproduce the problem - without success. Please pay attention to how you specify the id of the form to be submitted. Maybe you can post your EventListener annotation? > -Original Message- > From: Bastian Voigt [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 10, 2007 2

RE: T4.1.2 error loading hivemind-service

2007-07-12 Thread Marcus.Schulte
javassist changed its group / artifact id from javassist.javassist to jboss.javassist. Release 3.0 was the last one available under the javassist toplevel-group. If you somehow, transitively, reference both, maven has no way to know that both are the same artifact. > -Original Message-

RE: Tap 4.1.2 Bug found ???

2007-07-11 Thread Marcus.Schulte
> Hmm, it might be difficult to reproduce this bug in a testing > application, but I will try if I find the time. if you do need assistance with this, it would also be helpful to know the exact page/component structure of your setup. A working source-example is not strictly necessary (though i

RE: Tap 4.1.2 Bug found ???

2007-07-11 Thread Marcus.Schulte
Once you find out what's wrong with EventConnectionVisitor, you can "patch" Tapestry quite easily, without even building Tapestry yourself, thanks to HiveMind. The EventConnectionVisitor is a HiveMind service, which you can override from your application by putting into your hivemodule.xml some

RE: Tap 4.1.2 Bug found ???

2007-07-11 Thread Marcus.Schulte
Bastian, please have a look at https://issues.apache.org/jira/browse/TAPESTRY-1556 . Maybe you can temporarily work around this by toying with your form-id and their specification on the EventListener annotation. Maybe you can add your problem with source-code, if possible, to that issue. That wo

RE: Tapestry read query parameters before page rendering [T4.0]

2007-07-09 Thread Marcus.Schulte
Your class can implement IExternalPage. You would then publicise a link like: http://localhost/myapp?service=external&context=ViewCustomer&sp=5056&sp= 302 Where ViewCustomer is you page. Loading that Url will call you page-classes' activateExternal method passing in an array of Objects ( {5056,302}

RE: Tapestry 4.1.2 LinkSubmit issue

2007-07-09 Thread Marcus.Schulte
you can use dojo's event connection/interception stuff which is described here: http://dojotoolkit.org/book/dojo-book-0-4/part-5-connecting-pieces/event -system-0 Basically you can do something like: dojo.event.connect("before", dojo.byId("yourLinkId"), "onclick", yourObjectRef, "yourMethodName")

RE: T4: Can I have dynamic component id or how do I solve this?

2007-07-06 Thread Marcus.Schulte
As there are no dynamic component instances in Tapestry, there are no dynamic component-ids. What you are seeing (loopContacts_i, i=1 ...) are multiple clientId's (Element id's on the client side) rendere by one and the same component instance, whose id, the component-id on the server, is "loopCont

RE: service method in BaseEngine

2007-07-05 Thread Marcus.Schulte
I wonder, why it even compiles ;). _locale is a private member! Try using setLocale() instead. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 04, 2007 1:19 PM > To: Tapestry users > Subject: service method in BaseEngine > > Has anyone an

RE: Can I achieve this with T4.1.1 @Bean annotation?

2007-06-08 Thread Marcus.Schulte
> Let me rephrase my question - > > "/Lightweight intialization:/ A concept borrowed from > HiveMind where simple properties of the bean can be > configured in-line, as a comma-separated list of > property=value pairs." > > Does this mean that the value of the name-value pair cannot > be the

RE: dynamic plugins / menu problem

2007-06-06 Thread Marcus.Schulte
1. you could define a hivemind configuration-point into which you may contribute your page-names, implement a service that takes that takes this configuration-point as an arg and inject it wherever you need it. No need to access the HM-Reg. 2. Skip hivemind altogether and do sth like: for ( Str

RE: 4.1 and "do it once" components

2007-05-16 Thread Marcus.Schulte
I just did somthing similar for my "DirtyFormWarning" component. You might try something like: ___ submitOnce = { submitting:false; interceptValidation:function(inv) { var valid = inv.proceed(); if (!valid) this.submitting=false;

RE: I'm missing something obvious

2007-05-15 Thread Marcus.Schulte
In our setup, the problem will only occur with numbers with more than 3 digits. As far as I can see, dojo guesses the grouping from the locale when no grouping-character is given. To me, it seems as if the flag groupSize in the call to "dojo.i18n.number.isReal" should be explicitly set to zero. >

RE: I'm missing something obvious

2007-05-11 Thread Marcus.Schulte
This is a regression, the JIRA issue is https://issues.apache.org/jira/browse/TAPESTRY-1071 > -Original Message- > From: Tony Nelson [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 10, 2007 6:57 PM > To: Tapestry users > Subject: I'm missing something obvious > > I have a simple form t

RE: dirty form checking ...

2007-05-10 Thread Marcus.Schulte
Ok, now I got it right, almost ;). Somehow tapestry tapestry.form.onFormSubmit is not called, when you use tapestry.form.submit to submit the form, as @LinkSubmit does. So I ended up with two connections for the defuser: dojo.event.connect("before", tapestry.form ,"onFormSubmit",

RE: dirty form checking ...

2007-05-10 Thread Marcus.Schulte
> 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! sure, if I ever make it work ... :( - To unsubscribe, e-ma

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: 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: 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 ... >

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

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: Anybody have the FCKEditor working in IE7?

2007-05-08 Thread Marcus.Schulte
> I would be interested in the latest version. Is there a > reason it is not publicly available? > Not really. It just seemed too much work for a very limited group of potential users ;). > thanks, > > Mark > > Mark J. Stang > Senior Engineer/Architect > office: +1 303.468.2900 > mobile: +

RE: How to pass custom arguments to @EventListener

2007-05-08 Thread Marcus.Schulte
Unfortunately, I explicitly do NOT want to post the form on each event. I have a relatively big form partitioned into several js-Tabs. Switching tabs should not submit the form. I could, of course do an asynchronous submit of a different form. But then I'd have to find a way to render the form some

RE: Anybody have the FCKEditor working in IE7?

2007-05-08 Thread Marcus.Schulte
I made a component back in 2005 and posted it here: http://marcus-schulte.blogspot.com/2005/05/bugfix-for-tapestry-fckeditor .html If you need the latest version, which is not publicly available, drop me an email. It works fine with FCKEditor 2.3.x, I think. There's also support for file-browsing

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

2007-05-08 Thread Marcus.Schulte
While I'm at it: what I did was to replace the dojo-TabContainer (which is next to useless thanks to its incredibly bad performance) with another one based on the TabSet from Tassel. I wanted to store the selected Tab at the server, so that the user can scroll through a set of tabbed detail-scree

RE: How to pass custom arguments to @EventListener

2007-05-07 Thread Marcus.Schulte
I'm now working around this by doing the tapestry.bind directly from my JavaScript calling the directevent service. Of course, my component now implements IDirect and the @EventListener annotation is not used anymore. Nevertheless, I think passing a stringified version of the intercepted functions

RE: tapestry throws exception when paging?

2007-05-07 Thread Marcus.Schulte
Try making the property "modaltest" @Persistent. Most probably, it's not properly initialised for the paging request. Hi everyone: I want to use tapestry's Table . But when I click the next page's link,tapestry throws exception: org.apache.hivemind.Applicatio

How to pass custom arguments to @EventListener

2007-05-07 Thread Marcus.Schulte
I'm successfully listening to a custom javacript method being called on an element. Now, I'd like to access the argument(s) that were passed to this method. Is there an easy way to achieve this? I've looked at the BrowserEvent object passed to the listener, but this didn't help. Thanks for any hint

RE: SessionPropertyPersistence and Infrastructure object provider

2007-05-04 Thread Marcus.Schulte
Because with HiveMind services, in your code you always deal with proxies. When SessionPropertyPersistenceStrategy calls a mehod on the WebRequest it really calls a proxy which determines the correct instance belonging to the current thread and then, in turn, calls the core implementation itself.

@DirtyFormWarning missing from Tacos 4.1.0-SNAPSHOT

2007-04-27 Thread Marcus.Schulte
I've just realised that @DirtyFormWarning is (currently) gone from Tacos 4.1.0-SNAPSHOT. I'd be very grateful for any hints on how you worked around this - or what the difficulty was in porting this one. Marcus

RE: Upgrading Tapestry

2007-04-25 Thread Marcus.Schulte
Shit, that looks nice. If I only weren't so fed up with dev-environment changes-upgrades at the moment... > -Original Message- > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 24, 2007 2:48 PM > To: Tapestry users > Subject: Re: Upgrading Tapestry > > FYI - if you'r

RE: Upgrading Tapestry

2007-04-24 Thread Marcus.Schulte
Eclipse-WTP is quite decent. With Annotations and/or auto-completion in xml the only things I miss are: - jumping between template and Java files - an autocompleting template editor. both losses don't hurt a lot - for me. Could be different if you used a real lot of different component-types.

RE: Hivemind eager loading of a service which references tapestry services is not possible

2007-04-24 Thread Marcus.Schulte
The name of the config-point is ApplicationInitializers, not ApplicationSpecificationInitializer. > -Original Message- > From: Paul Stanton [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 24, 2007 2:27 AM > To: Tapestry users > Subject: Re: Hivemind eager loading of a service which > re

RE: [announce] ognl 2.7 fail-safe enabled

2007-04-11 Thread Marcus.Schulte
Sorry to bring this up again, but I was too quick with my positive feedback, although it IS better than before ;). There are still problems which the workaround doesn't catch: Unable to process client request: Unable to parse OGNL expression ' value || !okOnly': Unable to add method java.lang.Obje

RE: [announce] ognl 2.7 fail-safe enabled

2007-04-05 Thread Marcus.Schulte
Jesse, thanks a bunch! It works great now - and we're back on the snapshot ;) Shall I enter my stacktraces into the Tap-Jira or the Ognl-Jira, preferably? Marcus > -Original Message- > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 04, 2007 5:46 PM > To: Tapestry

RE: .jwc-file-free components for libraries (4.1.1)

2007-04-04 Thread Marcus.Schulte
Yes, I could work around part of the problem spelling out absolute pathes for assets. However, the template could still not be found for templated components, even if it was in the very same package/directory. Marcus > -Original Message- > From: Steve Shucker [mailto:[EMAIL PROTECTED] >

RE: [announce] ognl 2.7 fail-safe enabled

2007-04-04 Thread Marcus.Schulte
Hi Jesse first of all, thanks a lot for your efforts! Unfortunately this doesn't seem to work for me right now (pom.properties says it's from Mon Apr 02 09:33:49 EST 2007 ) I'll file the exception I'm getting in Jira. Marcus > -Original Message- > From: Jesse Kuhnert [mailto:[EMAIL PROT

.jwc-file-free components for libraries (4.1.1)

2007-04-03 Thread Marcus.Schulte
We are trying to move a little library of ours to Java-5 with full usage of annotations, without jwc-files. While a component itself is recognised this way. Asset-resolution relative to the (non-existing) specification doesn't work. Did I overlook anything? Or would that be an improvement-issue in

RE: Latest OGNL 2.7-SNAPSHOT and Tapestry

2007-03-30 Thread Marcus.Schulte
If it's just about sending stack-traces and code-snippets - I really, really promise to do it ;). I've just rewound our current project to 4.1.1, but would be happy to return to 4.1.2, if ognl worked for my core components. Marcus > -Original Message- > From: Jesse Kuhnert [mailto:[EMAIL

RE: Tapestry 4.1.1 and open session in view

2007-03-26 Thread Marcus.Schulte
Manually initialising collections makes your "service layer" implementation depend on the presentation layer implicitly. This is evil. You'll want to make sure that Hibernate entities are NOT persisted via standard serialization but using their hibernate entity-name + id. While tapernate & honeyco

RE: JFly edit table online: Jesse, Justin and all interested

2007-03-07 Thread Marcus.Schulte
Hi Kiuma, looks nice! However, on IE6 it's broken (some JavaScript error) - and keybindings don't seem to work for me (On Firefox). Marcus > -Original Message- > From: Andrea Chiumenti [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 08, 2007 7:40 AM > To: Tapestry users > Subject: JF

RE: Redirect after Post = no parameters, no save

2007-02-01 Thread Marcus.Schulte
Depends on what kind of Tapestry/Hibernate Integration you're actually using. Where is you session committed? Do you throw a RedirectException to redirect or do you return an ILink? > -Original Message- > From: Matt Brock [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 31, 2007 5:52

RE: Cannot get a connection, pool exhausted

2007-01-29 Thread Marcus.Schulte
You don't really need to know, when the user leaves your page, because the app holds the connection only while processing a request. I'd enable JMX and have a close look at the connection pool and at the threads-tab. Possibly, there's a condition which leads to a blocked request-processor-thread ho

RE: AW: Re: AW: download a file

2007-01-16 Thread Marcus.Schulte
> > Why not return an ILink from the listener ? > > > > > http://tapestry.apache.org/tapestry4.1/usersguide/listenermethods.html > > Not sure about others, but I don't think this will work for > me. I'm generating a PDF inside my listener, which I then > wish to send to the client as a downl

RE: error with prop-1.0.0

2007-01-12 Thread Marcus.Schulte
I'd try putting Hivemind in web-inf/lib, I had very funny problems having it in some more visible Tomcat classloader. > -Original Message- > From: Henri Dupre [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 10, 2007 5:14 PM > To: Tapestry users > Subject: Re: error with prop-1.0.0 >

RE: Extending existing component and .page file

2007-01-09 Thread Marcus.Schulte
You'll - either have to use annotations if you're on Java 5. They're inherited correctly. - on Tapestry 3 you could include the common .jwc XML fragments as external entities starting with Tap4 this functionality is broken. A patch exists, if you want it you can vote on http://issues.apache.org

RE: error with prop-1.0.0

2007-01-09 Thread Marcus.Schulte
Do you have the correct version of HiveMind in the web-inf/lib? > -Original Message- > From: Henri Dupre [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 09, 2007 7:37 AM > To: Tapestry users > Subject: error with prop-1.0.0 > > I jsut tried replacing a simple ognl:espace by prop:espa

How to reference a library-page from a library-service

2007-01-05 Thread Marcus.Schulte
I'd like to refer to a custom exception page from my custom ExceptionPresenter service. Both live in a library. Does anybody know how I can provide my service with the library namespace? I do not want the client to make an explicit connection by requiring it to contribute the library-id somewhere?

RE: ComponentBeginRenderListener?

2007-01-05 Thread Marcus.Schulte
how about AbstractComponent.prepareForRender() ? > -Original Message- > From: Martin Strand [mailto:[EMAIL PROTECTED] > Sent: Friday, January 05, 2007 6:08 AM > To: Tapestry users > Subject: Re: ComponentBeginRenderListener? > > Thanks, but finishLoad() is also invoked regardless of >

RE: Error Message Handling

2007-01-04 Thread Marcus.Schulte
It's perfectly Ok, to record your own cross-field validation errors in the delegate. At least as long as you can associate the error sensibly with a particular (set of) field (s). I use an error display component in my @Border, which actually checks two different sources for errors. The first is

RE: Tapestry 4.0 and Expires header on images

2007-01-04 Thread Marcus.Schulte
I think context-Assets are not served by the tapestry servlet at all, but by your containers default file-servlet. You may be able to configure this or maybe not. For Tomcat, at least, it's not so easy, if I remember correctly. > -Original Message- > From: Michael Prescott [mailto:[EMAIL P

RE: RE: RE: HoneycombLib/Hibernate problem

2007-01-04 Thread Marcus.Schulte
Oh, now I see it: Instead of org.hibernate.dialect.MySQLDialect you need to write since in HiveMind descriptors text-elements are alway treated as comments, contrary to the syntax in hibernate.cfg.xml > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Se

RE: RE: HoneycombLib/Hibernate problem

2007-01-03 Thread Marcus.Schulte
Somehow the hibernate session factory is not initialised correctly. Usually, there's some more info in the logs. Some wild guesses: is the MySQL driver on the classpath? I.e did you add a dependency in your pom.xml? Did you try to run the "unit"-Tests from the core project? If that works, is the My

RE: CamelCase page names/URLs in Tapestry

2007-01-03 Thread Marcus.Schulte
> In AppFuse 2.0, we're requiring JDK 5 and using annotations > where it seems appropriate. AFAIK, we can eliminate .page > files if we use annotations instead. Is that true? If so, Yes that's true. > how do you define how a @TextField works (displayName, > validation rules, etc.)? Do you

RE: HoneycombLib/Hibernate problem

2007-01-03 Thread Marcus.Schulte
Which hivemodule.xml did you change? You only need to change the following contribution in the generated core project's hivemodule.xml: ... There's no need to change anything inside the honeycomb libs > -Origina

RE: CamelCase page names/URLs in Tapestry

2006-12-29 Thread Marcus.Schulte
You'd have to map between .page- and template-file-name and the Java class name if you don't want to break the convention for Java class names. Since Tap-4 I don't have .page files anymore. So non-CamelCase page names would simply not be an option for me - even if I found them aesthetically more

RE: Tomcat hangs - Tapestry issue or what?

2006-12-07 Thread Marcus.Schulte
If you're running on Java 5, fire up Jconsole and have a look at Threads Tab. It'll tell you where your threads are hanging. A common problem is leaking pooled Db-connections - but that's only a guess. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf

RE: Multiple browser windows causing session issue

2006-11-30 Thread Marcus.Schulte
It should be reasonably straightforward, but will require a decent, non-trivial amount of work/fiddling to implement really transparently. For me, it's, at the moment, just not worth the work. I've talked with James Carmen about this and I think, he wanted to do something like that, but don't know

RE: Redirect to an external site on the serverside

2006-11-30 Thread Marcus.Schulte
Hi Gareth in similar situations, I've used a custom form component. You can pretty well just start using @Any for this. Then the client request goes directly to the target site. Dowside is, if you calculate some of the form fields on the server side, you might need some javascript stuff to auto-su

RE: Re: [newbie] Spring vs Hivemind

2006-11-22 Thread Marcus.Schulte
Thanks for the pointer! That's looking quite cool. My only complaint is that you obviously have to remember to put " " inside each bean with a non-standard scope. If this was available a year ago, I'd have considered Spring - though I still like the HiveMind XML notation better. Sorry for asking i

RE: Re: [newbie] Spring vs Hivemind

2006-11-22 Thread Marcus.Schulte
No, Spring has only prototype and singleton Beans afaik. HiveMind has threaded/pooled service-models which can easily be extended (Honeycomb does this to implement session-per-conversation based on a "stateful" service-model). > -Original Message- > From: Daniel Tabuenca [mailto:[EMAIL PR

RE: Re: Tapernate Access multiple database

2006-11-22 Thread Marcus.Schulte
Hm, couldn't resist to drop a few remarks on that (inline): > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Sam Gendler > Sent: Wednesday, November 22, 2006 2:24 AM > To: Tapestry users > Subject: Re: Re: Tapernate Access multiple database > > Ac

RE: [newbie] get Tapernate and/or Honeycomb JAR files

2006-11-22 Thread Marcus.Schulte
You can find all the modules on javaforge. Eg. For Honeycomb: http://www.javaforge.com/proj/doc.do?doc_id=16753 Tapernate will be similar, I think. hth, Marcus > -Original Message- > From: Cyrille37 [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 21, 2006 3:39 PM > To: Tapestry us

RE: ForBean issues

2006-11-14 Thread Marcus.Schulte
> > I also just used a list as source and the index attribute, it > seems Tapestry updates the items "in place" during rewind, > which is fine. > But I don't understand how I can avoid the items being > serialized into hidden fields if I choose this approach. try, setting the For-component's v

RE: PageLink with parameters?

2006-11-12 Thread Marcus.Schulte
Try ExternalLink ( http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/Externa lLink.html ) From: Mark [mailto:[EMAIL PROTECTED] Sent: Monday, November 13, 2006 8:44 AM To: Tapestry users Subject: PageLink with parame