Take the before="excel" out, what that refers to is what other
ServiceEncoders should run before yours, most of the time, you can just put
after="*"
which means run it last.
- Original Message -
From: "Paolo Donà" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Thursday, November 03,
Where would one get said component (FCKEditor Tap4)?
- Original Message -
From: "Chris Nelson" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Thursday, October 13, 2005 5:46 PM
Subject: Re: Tapestry CMS
Yeah, I looked at this one first, but it didn't work
in Tap4. It ended up being
You aren't missing anything. Upgrade to the latest Beta-9 build, the
ServletContext wasn't available originally (but was "requested" that it be
added). Then just inject it as a service, like you would a WebRequest (it
might be available via infrastructure:, but I haven't looked).
- Origi
Ok. Here is a quick explanation of the client persistent scopes and how
they work.
There is "page" and "application" scopes. defined as "client:page" and
"client:app" respectively.
Both page and application scope client-side persistence take the indicated
page values and gzip compress + ba
What is the status of OGNL 3.0, it seems like it hasn't been worked on for a
long time, and I was wondering when we might see it integrated into Tapestry,
assuming it is in a state that could be integrated. If it is not, can we apply
some pressure to see it completed :-) If it gives a 3x speed
tries to be smart about mapping the method
name to a key, so all the following will return the same string:
@Message("message-for-key")
public abstract String messageForKey();
@Message
public abstract String messageForKey();
@Message
public abstract String getMessageForKey();
On 9/2
@InjectMessage(value="key")
public abstract String getKeyValue();
if you do this:
@InjectMessage(value="key")
public abstract String getKeyValue(String param1, int param2);
it will use MessageFormat and the params as the replacement values.
- Original Message -
From: "Anjali Abraham"
#x27;Filtered resources'. In that row is a comma
delimited string of files that isn't included in the output folder. I'll bet
that '*.html' is somewhere in that string on your Eclipse :) If you're using
a version other than Eclipse 3.1 maybe the setting is somewhat diffe
I'm sorry as this is off topic but it has stopped me from being able to develop
with Tapestry :-)
Has anyone come across the problem of Eclipse, when building a project does not
copy the HTML files to the output folder. I have the Tapestry source and a web
project in Eclipse. It will copy the
You can't. Tapestry evaluates the abstract classes as it loads the pages
and components, and your class is not a page or component. The only way to
do what you want is to make your page extend the interface.
- Original Message -
From: "Sylvain COUTANT" <[EMAIL PROTECTED]>
To:
Sent:
The solution I've found so far is the Web Tools Project at Eclipse.org.
Once you define something in the xml, it can code complete based on what it
has seen so far (ie. Define one service-point and it can code complete the
next one).
- Original Message -
From: "Geoff Longman" <[EMAIL
Basic String comparison. In java 'true' != 'true' as they are two different
strings. you want to leave the quotes off because it's string replacement
and true == true.
- Original Message -
From: "Madhavan Thirumalai" <[EMAIL PROTECTED]>
To:
Sent: Monday, September 05, 2005 7:55 PM
The problem is that windows runs under a different base codepage, and Gentoo
(if like FC4) runns under UTF-8. Which means that you pages, when stored on
windows, were written as the wrong codepage. If you are using Eclipse, you
could switch your text editors to write UTF-8 instead and that mig
If you put "state:visit" as the value of a binding, or inject the
ApplicationStateManager service and make the calls directly, you can find
out if different ASOs have been created.
- Original Message -
From: "Waimun Yeow" <[EMAIL PROTECTED]>
To:
Sent: Saturday, September 03, 2005 5:5
I think you might have misunderstood the whole question. You would access
the state object via "state:myState", but watch out though as putting
"state:myState" as the value of a Tapestry binding within a page/jwc has a
different meaning (it returns a boolean indicating if the object has been
c
get it fast". I'll be looking at ways to speed
up HiveMind for 1.2, then see if we can make use of that in Tapestry
4.1. I am pleased that runtime performance is good and, I suspect,
better than 3.0.
On 9/3/05, Adam Greene <[EMAIL PROTECTED]> wrote:
Remembers these numbers are b
Remembers these numbers are basically at an 8:1 ratio (so 8secs under profiler
is only 1 second normally).
Base Time (total time across all calls of this particular method, subtracting
time for submethods):
javassist.CtBehaviour.setBody -- 14.3sec
java.lang.forName -- 9.24sec
Highest average:
Ok, I have removed the method call, and it took 20 seconds of initial page
render. The most costly events on initial render of a page (initial for sake
of definition is "start server and request first page"), are loadPage() and
constructURL() as individual methods. But Tapestry actually spent
I have seen this discussion on and off over the last year and each time
someone almost always asks this question, it may seem obvious, but it must
be asked none the less :-)
Are you sure that you have not disabled caching within tapestry with
the -Dorg.apache.tapestry.disable-caching command line
his JavaScript. It is primiarly used by Translator and Validator
implementations.
On 9/3/05, Adam Greene <[EMAIL PROTECTED]> wrote:
What is the expected replacement for Form.addEventHandler. I know it has
to do with FormComponentContributor and FormComponentContributorContext,
but how do
What is the expected replacement for Form.addEventHandler. I know it has to do
with FormComponentContributor and FormComponentContributorContext, but how does
one use them?
Ok, first thing right off. You do not need to subclass BaseEngine. The
steps are :
1. Your class implements org.apache.tapestry.services.DataSqueezer.
2. Setup your class as a service in hivemodule.xml:
3. Then contribute to the tapestry.data.SqueezeAdaptors configuration
point, put somethi
Have you looked at using Hivetranse? http://hivetranse.sourceforge.net/
It can be tricky at times. the documentation at the site wasn't obvious on
the some of the config stuff. So here is what I use for configuration in
hivemodule.xml, if it is of interest to you :-)
schema-id="hivetranse
Questions:
1. What are you generating? JPGs, PDFs, CSS, etc.
1. How do you generate the files, via a Tapestry service? or internal to a
page?
2. Once the files are generated, where do they end up? In the web context,
WEB-INF, class path, etc.
Possible Solutions:
1. If it lands in the c
The only other solution I can think of is to indicate that a certain
character marks the beginning and end of the part to be wrapped with a link.
example: Click *Here*
Then write a component that takes three parameters, the first being the
message, the second being the page to go to, and the
Have you thought implementing PageRenderListener (PageBegnRenderListener in
tapestry 4.0) in your class? That way you can do the initialization just
before the page renders (which it will only do after the listener has been
called and done it's thing, so you can check to see if variables have
o and store it.
I am using Tapestry 3.0.3. My service extends AbstractSerivce class only.
Activation link is something like this:
http://myhost/myproject/app?service=activation/username/key
-- Oleksandr Yuzikov
Adam Greene wrote:
Well, first off, be careful about setActivatedUser that it doesn&
When you create services in hivemind, you cannot use Tapestry annotations.
You must use initialization parameters:
if you have the necessary code to support the spring prefix. I don't use
spring so I don't know if the spring prefix is available by default or if it
is an add-on (I saw somewh
Well, first off, be careful about setActivatedUser that it doesn't store the
user directly in the Global because global is just that, global across all
users. I assume that the setActivatedUser is calling out to hivemind,
hibernate, spring, or some other back end process. Secondly, we need mor
references multiple sub modules...
It seems possible to bundle these sub module xml files with libraries
and reference them in the application's hivemodule.xml file. I
haven't tried it yet, but I'm wondering if someone else has?
Thanks again.
Eric
On Aug 22, 2005, at 11:30 AM,
yes, if you package the library in a jar file, simply put your
hivemodule.xml in the META-INF directory of the jar file.
- Original Message -
From: "Derek Brown" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Sunday, August 21, 2005 1:38 AM
Subject: Application State Objects in a Libr
There is a component binding prefix called "state:" that returns true if the
object has been created. See
http://jakarta.apache.org/tapestry/UsersGuide/bindings.html for explanation.
- Original Message -
From: "Dustin Frazier" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, August 16, 2005
No, both org.apache.tapestry.asset.dir and org.apache.tapestry.asset.URL are
still used, as of Beta 3 anyways.
- Original Message -
From: "Alan Chandler" <[EMAIL PROTECTED]>
To:
Sent: Monday, August 15, 2005 3:54 PM
Subject: Re: Confused about asset prefix
On Monday 15 Aug 2005 18:
As to messages, if you are using the messages as parameters, just use the
message: prefix.
- Original Message -
From: "Kent Tong" <[EMAIL PROTECTED]>
To:
Sent: Monday, August 15, 2005 1:57 PM
Subject: Re: Is injection overkill for pages/components?
Vjeran Marcinko email.t-com.hr>
Any time you change the number of components in the form without rerendering
the page, you will invalidate the form. There is a field within the page
that stores the number of components that will need to be changed (and as of
Tapestry 4.0, I think that field may now be DataSqueezed, someone el
Basically, your theory stands. I'm not sure about step 4. But you save on
the fact that the code plucking occurs on the server side, it simply sends
back an XML document that contains elements with the same names as the
replaced DIVs, not the entire page.
- Original Message -
From:
You indicated that you removed the default-binding from parameters? why?
Was there a problem with it or a better way of doing it? I kind of liked
that feature, made things a lot easier.
- Original Message -
From: "Howard Lewis Ship" <[EMAIL PROTECTED]>
To: "Tapestry users" ; "Jakarta
interface="org.apache.tapestry.engine.IEngineService">
value="infrastructure:responseRenderer" />
value="infrastructure:linkFactory" />
interface="org.apache.tapestry.engine.ServiceEncoder">
value="se
Or just use Tapestry 4.0 and a ServiceEncoder :-)
- Original Message -
From: "Jeff Lubetkin" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Wednesday, August 03, 2005 8:27 PM
Subject: RE: Tapestry for a "virtual" web site
Looks like https://urlrewrite.dev.java.net/ might be the right
I have been using Jetty for production for over 2 years now with every build
of Tapestry and the only problem I have had is that on Linux, every so often
the temp directory gets swept and the compiled JSPs go missing.
- Original Message -
From: "Michael Henderson" <[EMAIL PROTECTED]>
Ok, tracked the problem to this: The proper value is persisted by the Page
client persister, the incorrect value comes out of the App client persister
and overwrites the value placed in by the Page persister (as the App
persister comes last).
- Original Message -
From: "Adam G
gets back a
different PersistentPropertyData with the previous value in it and it
overrides the one DirectLink created. I'm looking deeper but can't see
anything right off. I've attached the files.
- Original Message -
From: "Adam Greene" <[EMAIL PROTEC
I did some initial testing. It is generating the proper QueryParameter, but
then when it goes to actually write out the URL in the DirectLink, it uses
the previous value, or so it seems.
- Original Message -
From: "Adam Greene" <[EMAIL PROTECTED]>
To: "
I have this piece of code:
@Persist(value="client")
public abstract int getClientValue();
public abstract void setClientValue(int what);
public void doAdd() {
int value = getClientValue() + 1;
setClientValue(value);
}
and a DirectLink on the page that calls doAdd(), the problem is that
There was a complete example posted yesterday or today. Search the list for
it.
- Original Message -
From: "Ashish Raniwala" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Tuesday, August 02, 2005 2:39 PM
Subject: File Download Example
Guys,
Can anyone please help and give me point
L's pages get pre-generated and then served as
static
files? All but the home page perhaps?
-----Original Message-
From: Adam Greene [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 02, 2005 12:17 AM
To: Tapestry users
Subject: Re: High Traffic Tapestry Performance
Well, the NHL's
02, 2005 11:36 AM
Subject: RE: High Traffic Tapestry Performance
Is it true that the NHL's pages get pre-generated and then served as
static
files? All but the home page perhaps?
-----Original Message-
From: Adam Greene [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 02, 2005 12:17 AM
You are correct. I reported the documentation error earlier today.
- Original Message -
From: "Vinicius Carvalho" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Monday, August 01, 2005 10:26 PM
Subject: Re: Tapestry 4 property
Thanks, but that wasnt a typo... look at :
http://jakart
I have seen these cases you describe when there is a problem with my
hivemodule.xml. And the only way to find out what is really going on is to
step through the Engine code and find the caught Exception because it is not
reported.
- Original Message -
From: "Xi Ping Wang" <[EMAIL PRO
You could always put in a feature request and let the maintainers decide if
it would be viable, doable, or logical.
- Original Message -
From: "Lance Arlaus" <[EMAIL PROTECTED]>
To: "'Tapestry users'"
Sent: Monday, August 01, 2005 10:14 PM
Subject: RE: Possible to omit value attribute
Well, the NHL's website runs on tapestry. Check out the source to their
home page (http://www.nhl.com). I like the fact that it is an MSN website
running on Java :-)
- Original Message -
From: "Lance Arlaus" <[EMAIL PROTECTED]>
To: "Tapestry Users Mailing List"
Sent: Monday, Augus
Not being sure who handles the web pages now, I am sending this to the list.
On http://jakarta.apache.org/tapestry/UsersGuide/state.html#state.aso
under the section Defining new Application State Objects, it reads:
and it should read:
Nevermind, answer my own question :-)
- Original Message -
From: "Adam Greene" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Friday, July 29, 2005 8:09 PM
Subject: New URL encoding scheme for a new service
I am trying to write a service in Tapestry 4.0
I am trying to write a service in Tapestry 4.0 and want to register a new
Encoder like PageServiceEncoder et al. What particular do I
need to make to register the Encoder?
I created a component that wrapped HTML on a page and sent it as an email.
Basically, after every successful form submit, people usually display a
"Form Submitted" page and I simply put the component there. It even has
enough sense to convert relative urls with absolute urls and can even attach
I was looking at Wicket Web Framework
(http://wicket.sourceforge.net/ExampleHelloWorld.html) and realized how much it
reminds me of Tapestry. It says it is being released under ASL and developed
by one of the original JFC Swing members. Anyone else looked at this
framework? Does it have any
re and are willing to share it, I would greatly
appreciate it. In advance I thank you.
Adam Greene
I just noticed that my Mail component eats
SocketConnections for breakfast while inlining files and was wondering if there
might be a more efficien way of getting the contents of a URL from, say, the
Servlet?
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322
I just created a JavaMail component that takes
whatever it wraps, analyzes the HTML, replacing all URLs with absolute urls
(well, if the URL occurs in a src or href attribute), and optionally inlining
the files (they become part of the email, and it even works for CSS files, and I
assume _ja
Never mind answered my own question. Just put
the library in the classpath as well.
- Original Message -
From:
Adam Greene
To: Tapestry users
Sent: Tuesday, May 17, 2005 3:16 PM
Subject: Using Script Component with JS
file in classpath
Is there any way to use
Is there any way to use a Script component with a
js file on the classpath, as I want to be able to embed the component I'm
building into a Library, as far as I can tell it will only work with js files in
the context or under WEB-INF. I would like to avoid having to use URLs (as
in fudging
61 matches
Mail list logo