Re: [Tapestry-developer] Tapestry and O/R persitence services

2003-01-16 Thread Christian Sell
what about making this a generic hook in the framework proper, for anyone who requires transaction demarcation. After all that is not an O/R-specific issue.. Neil Clayton wrote: I think this would be cool to add into some 'OR contrib' package. Seems to me like a number of people have posted me

Re: Fwd: [Tapestry-developer] string-binding problem

2003-01-15 Thread Christian Sell
Read the Page Localisation section of Chapter 4 of the Developers Guide for an explanation of why. in fact, there it is - I did not realize that on first reading. However, I still think it is an unnecessary restriction (rather, a bug). The request MindBridge pointed us to already suggests a sol

Re: [Tapestry-developer] string-binding problem

2003-01-15 Thread Christian Sell
(gesture.getAbsoluteURL()); Regards, Simon On Wednesday, January 15, 2003, at 05:10 pm, Christian Sell wrote: could somebody confirm that the issue described below is a bug? Should I enter it into the bug tracker? As it turns out, the only way to get around this is to change the application

Re: [Tapestry-developer] string-binding problem

2003-01-15 Thread Christian Sell
instead you want to redisplay the same page, it will not show the new localization. regards Christian Sell wrote: to answer my question regarding a workaround: I tried this: this forced the binding to be evaluated every time - BUT: The string table for the component is created lazily

Re: [Tapestry-developer] string-binding problem

2003-01-14 Thread Christian Sell
if the same component is reused in a subsequent request. See method AbstractComponent.getString(String key). it seems I cannot proceed without hacking tapestry - or redesigning my app Christian Christian Sell wrote: Hello, On one of my pages, I am using an Insert component with a string

[Tapestry-developer] string-binding problem

2003-01-14 Thread Christian Sell
Hello, On one of my pages, I am using an Insert component with a string-binding parameter. On the same page, I have a form with a Select component which allows setting the Locale. After setting the locale, the same page is redisplayed. Now it turns out that when the locale is set, the Insert e

[Tapestry-developer] pageDetached implementation

2003-01-10 Thread Christian Sell
Hello, I am just looking into tapestrys component state management technique. In doing that, I implemented the PageDetachedListener interface, resetting all component variables to default values, as the documentation describes. However, the method did not get called. It seems the docs fail to

Re: [Tapestry-developer] component definitions

2002-12-21 Thread Christian Sell
> Were we to try and make the Workbench Border component re-usable in new > applications, THEN we would have to add parameters, including a list of > pages, plus titles and whatever else. that (only THAT) is what I was trying to get at all the time. Reusable components. If you wanted to make the W

Re: [Tapestry-developer] component definitions

2002-12-20 Thread Christian Sell
>Actually, I used the property file because it was something that was going >to change frequently, and because I coded that before OGNL was available. > >So I could have done it as: > > > >If I was doing it today. > >Either way, it is only configured once. but you would have had to repeat the b

Re: [Tapestry-developer] component definitions

2002-12-19 Thread Christian Sell
ok, here goes again. > As you can see, the difference between the above approaches is precisely 7 > lines in the locations that I have specified. I have put the '? lines' I am not sure what locations you have specified. But assuming it is 7 lines more to write for the "new component" approach, on

Re: [Tapestry-developer] component definitions

2002-12-19 Thread Christian Sell
mmh, after 13 years of OO, including 5 years Smalltalk, 6 years of Java and 2 years Apple WebObjects I would be *really* amazed if you could prove I have a problem discerning objects from classes. I think, with MB we are finally getting there. I'll be answering his mail in a few moments. This is re

Re: [Tapestry-developer] component definitions

2002-12-19 Thread Christian Sell
>Could you describe the application you're building, at what about it makes it >so that you require this complex configuration? Thanks, I have already explained my scenario several times. See more below. >Where do its parameters come from? Do you mix and match parameters specified in the >

RE: [Tapestry-developer] component definitions

2002-12-19 Thread Christian Sell
mb, in continuation of the previous mail: Of yourse "new component" is more "powerful", because you can override everything that makes up a component, whereas reused configurations can only override parameters. But I would still question your arithmetics: >New Component (Tapestry 2.4): >-

RE: [Tapestry-developer] component definitions

2002-12-19 Thread Christian Sell
>New Component (Tapestry pre 2.4): >- >1 x defining a new component > 5 lines + 'component configuration', 1 line template, 1 line alias > >N x using the new component > 1 line in page definition, 1 line in template > >New Component (Tapestry 2.4): >

Re: [Tapestry-developer] component definitions

2002-12-19 Thread Christian Sell
lative to other >frameworks, in 2.4, just plain how easy) ... just drop the components in and >they work, regardless of page, boilerplate, application ... whatever, they just >work. > >All these specifications, parameters, services, request cycles, and so forth >exist to support t

Re: [Tapestry-developer] component definitions

2002-12-19 Thread Christian Sell
8:48:55 -0500 >Von: "Howard M. Lewis Ship" <[EMAIL PROTECTED]> >Betreff: Re: [Tapestry-developer] component definitions >An: "Christian Sell" <[EMAIL PROTECTED]>, > >I would suggest checking out the relevant portions on the Wiki. > >Easing adopt

[Tapestry-developer] component definitions

2002-12-19 Thread Christian Sell
? BTW, I also see WebOGNL doing it this way (e.g. component id="/path/path/name"). Does anyone else think it would at least theoretically make sense/be possible to introduce these items into tapestry? thanks, Christian Sell --- T

Re: [Tapestry-developer] OGNL expression problem

2002-12-19 Thread Christian Sell
- Original message >Datum: Wed, 18 Dec 2002 18:41:28 -0700 >Von: Drew Davidson <[EMAIL PROTECTED]> >Betreff: Re: [Tapestry-developer] OGNL expression problem >An: [EMAIL PROTECTED] > >Christian Sell wrote: > >>Hello, >> >>I am encountering

[Tapestry-developer] OGNL expression problem

2002-12-18 Thread Christian Sell
Hello, I am encountering problems using OGNL expressions of the following form: the first time this binding is invoked it executes OK, but the second time it throws an exception, stating something about an invalid OGNL expression, pointing at some "Eq" token. It seems "Eq" is an OGNL-internal r

Re: [Tapestry-developer] tapestry critique

2002-12-16 Thread Christian Sell
;Howard M. Lewis Ship" <[EMAIL PROTECTED]> >Betreff: Re: [Tapestry-developer] tapestry critique >An: "Christian Sell" <[EMAIL PROTECTED]>, "Tapestry- Developer" <[EMAIL PROTECTED]> > >Pooling of small objects is generally a waste of time. &g

Re: [Tapestry-developer] tapestry critique

2002-12-16 Thread Christian Sell
>The creation of new objects is universally accepted as the number one cause >for performance problems in Java. That is not true, nor "universally accepted" - at least not in the sense that pooling is a solution. Unless you have huge objects which need extensive external resources to be operat

Re: [Tapestry-developer] tapestry critique

2002-12-16 Thread Christian Sell
>Typically, you'll create a standard Border component for your application, >and configure the Calendar just once, inside your app- specific Border. >Every page that uses the Border gets the Calendar as well, configured >identically. > that is yet another version of the wrapper component approac

[Tapestry-developer] NoClassDefFoundError: javax.ejb.EJBObject

2002-12-15 Thread Christian Sell
Hello, yet another problem, in the hope of a quick answer from some expert: Sometimes, after changing a template file while running the app under Tomcat 4.1.12, when I hit the reload button to see the changes the app locks up, and the page never reappears. When looking into the tomcat logs, I

Re: [Tapestry-developer] tapestry critique

2002-12-15 Thread Christian Sell
Instead, there should be a way to configure components globally (in the application specification, or even optionally in an external, reusable file which can be included in the application specification. These definitions should be accessible to all pages (components?) in the application. Since

[Tapestry-developer] tapestry critique

2002-12-15 Thread Christian Sell
Hello, I have finally managed to get my first little evaluation to run, and would like to share some of my findings about tapestry so far. Let me first briefly describe my program: I use the border menu component from the examples, and nest a calendar component inside. By this, I wanted to tes

Re: [Tapestry-developer] Stale session

2002-12-15 Thread Christian Sell
one more word, just for completeness: everything is described in all required detail in the docs. Thats a big plus for tapestry/Howard. Dave Roberts wrote: Dirk, thanks! This finally helped. I had been trying to set the stateful parameter, but I finally figured out I was using a static-binding r

Re: [Tapestry-developer] Stale session

2002-12-15 Thread Christian Sell
Dirk, Dave, and all, I arrived there yesterday myself by scanning the docs for the term "session". I was rather amazed that the link imposed the "stateful" default - in my case that just dont make sense. Now I am using - "static-binding" gets the value from the body of the element (and not f

[Tapestry-developer] stale session

2002-12-14 Thread Christian Sell
Hello all, I am encountering an unexpected problem and am hoping someone with more experience can provide me with a quick pointer to the solution: I have created a component (my calendar component), which includes hyperlinks for paging forward and back. I created these as embedded DirectLink c

Re: [Tapestry-developer] complex components

2002-12-13 Thread Christian Sell
"class=" style attributes). In a JSP, I can write something like . How is this done with tapestry? thanks, Christian Sell --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibi

[Tapestry-developer] complex components

2002-12-13 Thread Christian Sell
to also dynamically determine some tag attributes (i.e., "class=" style attributes). In a JSP, I can write something like . How is this done with tapestry? thanks, Christian Sell --- This sf.net email is sponsored by: With Great Po

[Tapestry-developer] Tapestry and Resin 2.1 - OK

2002-05-10 Thread Christian Sell
, Howard: I have finished reading the Tapestry documentation. Really impressive, honestly. I look forward to exploring further. regards, Christian Sell ___ Have big pipes? SourceForge.net is looking for download mirrors. We supply the

[Tapestry-developer] Re: Re: Tapestry 2.02a and other appservers

2002-05-07 Thread Christian Sell
ok, sounds like that should be enough info to track this down. I am really interested in getting all parts of the equation matched up, preferrably without hacks. The caucho folks are usually very receptive, too. >Something is up with the XML parser. The specification for the page is not >being

[Tapestry-developer] Re: Tapestry 2.02a and other appservers

2002-05-06 Thread Christian Sell
Howard, heres the exception I get when I access the tutorial workbench. It seems to be related to localization, and its right inside your parser. I get it when I click on a tab after opening the page - it seems that the first exception gets swallowed somewhere. I find it a little disturbing th

Re: Re: [Tapestry-developer] Tapestry 2.02a and other appservers

2002-05-06 Thread Christian Sell
>I've found that Jetty is very good at following standards. In some cases, >the standards aren't well defined, or others (such as Tomcat) just flout >them. I've made adjustments in the past for this kind of situation and will >do so in the future, given sufficient details. Tapestry doesn't do a

[Tapestry-developer] Tapestry 2.02a and other appservers

2002-05-06 Thread Christian Sell
with more experience could give me useful hints. BTW, is there a searchable list archive anywhere? regards, Christian Sell ___ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the