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
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
(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
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
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
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
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
> 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
>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
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
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
>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
>
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):
>-
>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):
>
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
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
? 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
- 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
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
;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
>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
>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
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
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
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
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
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
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
"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
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
, 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
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
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
>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
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
35 matches
Mail list logo