hi martin,
try to set the cache attribute of your @Parameter
annotation of your currentPage component parameter
to false
@Parameter(cache=false,...)
g,
kris
Martin Grotzke [EMAIL PROTECTED]
11.07.2007 22:20
Bitte antworten an
Tapestry users users@tapestry.apache.org
An
Tapestry users
hi david,
i don't think this is possible. although you can
access the ActionLink instance by injecting it
with:
@Inject ComponenResources compRes;
comRes.getComponent()
you cannot access the context parameter as it is
a private field. you could provide a own actionlink
component with a
hi all
i'm trying to make a web application use different stylesheets based on the
url, eg. we will have different versions of the site based on the subdomain,
so the site will essentially be the same, but the layout/gui will be
different
this is what i have in my Border.java
public
Hi,
So I created a singleton class with static field, created at the first
session since the last server restart, but I didn't understand why I should
use the ASO notation also. I don't need, I think, to store the object in the
session, would be redundant, wouldn't be?
The object is already
Hi,
Is there a rough outline to help with migration of T4
- T5? I realize
T5 may still be alpha, though I would like to begin
migration as well as
have a general idea of what to expect...
Thanks,
Josh
-
To unsubscribe,
On Thu, 2007-07-12 at 08:45 +0200, Kristian Marinkovic wrote:
hi martin,
try to set the cache attribute of your @Parameter
annotation of your currentPage component parameter
to false
I tried that, but it didn't solve the issue - same behavior. Debugging
showed that
hi renat,
i am using maven for my dependency management. it automatically includes
javassist-3.4.ga.jar into my project. this is the same version that is stated
here:
http://tapestry.apache.org/tapestry4.1/dependency-convergence.html
i thought that hivemind services are compatible within T4
it seems that this is a maven-issue. i have to update all dependencies that are
still using javassist-3.0 to use javassist-3.4.ga. locally overriding
javassist-version in the application pom has no effect... even though eclipse
sais, that javassist-3.4.ga is included as a dependency?!!?!?!?!?
Hi
You can check
mvn dependency:analyze
It might happened that there is something else that is using wrong
Javassist version.
Renat
On 12/07/07, Peter Schröder [EMAIL PROTECTED] wrote:
it seems that this is a maven-issue. i have to update all dependencies that are
still using javassist-3.0
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-
AFAIK, there is no way you can upgrade from T4, T5 is design from scratch.
Cheers
John
- Original Message -
From: Josh Joy [EMAIL PROTECTED]
To: users@tapestry.apache.org
Sent: Thursday, July 12, 2007 3:38 PM
Subject: T4 - T5 Guide?
Hi,
Is there a rough outline to help with
Indeed there is no automated way to upgrade to T5 but you also don't have to
abolish everything.
For example your T4 listener methods will become event handler methods, access to page properties
via ognl will be done using a new syntax. Other things have similar counterparts in T5. You still
Hi Josh,
I agree with Ulrich, we're doing this right now. The Forum already have a
lot of T5 code examples.
http://tapestry.apache.org/tapestry5 (What's changed since Tapestry 4?)
Marcus
hi,
i am wondering why there is no documentation for the tree-component on:
http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/index.html
even though these components are still included into
tapestry-contrib-4.1.2.jar. is this legacy-support, or are they just missing?
Thank you Kristian,
Yes I've try your solution and I've also explore the injection of
ComponentDefaultProvider
@Inject
private ComponentDefaultProvider _defaultProvider;
but the value are stored in a Binding class that is not accessible
(I've not found for the moment).
BTW I'm agree with you,
Thanks Marcus.
Something similar to What's changed since Tapestry
4? is helpful,
though even more helpful would perhaps be a side by
side comparison of
what's changed between T4 and T5 with code examples.
Maybe this sort of
documentation is something that can start to grow in
the wiki as users
Hi,
I followed the discussion about Grid component and Date.
I had the same problem and tryed to solve it by using t:parameter and t:output
but it didn't work since my date column was not available.
Only columns with supported types are available.
Wouldn't it be better to just not render those
AFIK tree is deprecated and now tree from Tacos is recommended for use.
Old Tap-Contrib 4.0 tree was anyway crappy. I required almost
completely to rewrite it to make it somehow usable in my environment.
On 12/07/07, Peter Schröder [EMAIL PROTECTED] wrote:
hi,
i am wondering why there is no
Dear list,
It would be great if BeanEditor support collection and map properties,
or at least List.
Functionally, for this kink of properties, one wants to be able to
add/remove elements from the collection and edit them.
Programatically, it seems to be an hard problem...
I would like to
Add version parameter as here:
mvn archetype:create -DarchetypeGroupId=org.apache.tapestry
-DarchetypeArtifactId=tapestry-simple -DarchetypeVersion=5.0.2
-DgroupId=org.example -DartifactId=myapp -DpackageName=org.example.myapp
-Dversion=1.0-SNAPSHOT
this will use version 1.0-snapshot of
the tacos website states:
The latest release of the current branch of work has produced Tacos 4.0.0 - a
version fully compatible with Tapestry 4.0.x.
Most development efforts will now be shifted to converting the Ant-based build
system to Maven2. A version compatible with Tapestry 4.1.x will
Is there any documentation in general on how T5 is architected that
would help somebody begin studying T5 source code?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://tacos.sourceforge.net/tacos4.1/
Igor Drobiazko and myself have been putting a fair amount of work on the
project.
Additionally, Daniel Gredler has donated the beanform code (
http://beanform.sf.net/)
which has been updated and tested with Tapestry 4.1.2 and
Norbert Sandor the tapdoc code
hi andreas,
thank you for providing the information,
i will try the snapshot-builds.
kind regards,
peter
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Andreas Andreou
Gesendet: Donnerstag, 12. Juli 2007 16:26
An: Tapestry users
Betreff: Re:
I have a component that is explicitly meant for being used within a grid
cell and I'd like to default it's parameter to the current grid row. The
problem is that there is nothing set in the environment to give you
access to the row so you have to inject the grid component and then
provide a getter
Hi,
I am trying to get the DatePicker class from the
tapestry5-jscalendar package [1] to work with the latest 5.0.5
snapshot. The code did not compile initially since there were
@Inject annotations like this one:
| @Inject(${net.keso.ted.jscalendarscript}/button-image.png)
| private Asset
documentation is something that can start to grow in
the wiki as users
start migrating...
Sounds good, I will be doing a hefty migration from 4 to 5 soon ... so I
will try to contribute to this. Please send the link
thanks
Peter
Josh Joy wrote:
Thanks Marcus.
Something similar to What's
When you apply a mixin with @Mixin how do you specify parameters? Is
there an open ticket for this?
--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Replying to myself...
On Thu, July 12, 2007, Martin Dietze wrote:
I modified these like this:
| @Inject
| @Value(${net.keso.ted.jscalendarscript}/button-image.png)
| private Asset defaultButtonImage;
As I now understand it, the code above should read:
| @Inject
|
I've been integrating Tapestry 4.0.x into my existing web application
based on JSP and servlets. It's all been going quite well so far.
I've been using Hibernate for database access in Tapestry, but was
using JDBC in the old servlet code. (Since it was developed pre-
hibernate.) Anyway, I
Hi
In hivemind you don't need (shouldnt) use singletons anymore since
they are hindering the unit testing.
Since you are using plain configuration (hivemind + tapestry) you
actually don't need to do anything at all :) (almost) you just need to
use hivemind + Tapestry + one of the hibernate
My question was how to get a reference to a HiveMind service
(Hibernate based here) from a non-Tapestry servlet prior to Tapestry
initializing HiveMind.
-Norman
On Jul 12, 2007, at 12:14 PM, Renat Zubairov wrote:
Hi
In hivemind you don't need (shouldnt) use singletons anymore since
they
Hi,
please look here to construct the Registry:
http://hivemind.apache.org/hivemind1/filter.html
Then create your DAO like this:
Registry registry = HiveMindFilter.getRegistry( request );
registry.getService(MyDesiredDAO.class);
On 7/12/07, Norman Franke [EMAIL PROTECTED] wrote:
My
Again answering myself...
On Thu, July 12, 2007, Martin Dietze wrote:
Exception constructing service
'ClasspathAssetAliasManager': Error invoking constructor
org.apache.tapestry.internal.services.ClasspathAssetAliasManagerImpl(Request,
Map) (at ClasspathAssetAliasManagerImpl.java:50) (for
Is it possible to adjust Tapestry's template caching strategy? In other
words, is it possible to make it like JSP where there's a timestamp check to
see if a page has been updated? I realize I can turn off page caching, but
does that make Tapestry slower than a JSP-based solution? Can I provide
The registry is initialized in tapestry's ApplicationServlet.init(). In
web.xml, you need to specify load-on-startup1/load-on-startup for
the servlet configuration. This will force ApplicationServlet.init() to
run when the application is deployed instead of the first time a
tapestry page is
I have a very simple bean object with two simple string properties. When I
do
form t:type=beaneditform object=foo /
I see the validation error red Xs after the property input fields and a
notice You must correct the following errors before you may continue.
above the set of fields. The error
Hi
What kind of document you would like to see? What should be the
content of such document?
Renat
On 12/07/07, Adam Zimowski [EMAIL PROTECTED] wrote:
Is there any documentation in general on how T5 is architected that
would help somebody begin studying T5 source code?
Well, for instance sample request flow diagram demonstrating core
components involved when Tap 5 is at work. Something similar to
component render states diagram.
Perhaps discussion about Tapestry page cache and point out classes and
interfaces that implement it. On that note, maybe a list of
Hi Andy,
I have the same problem and tried to find a new release of beanform. It
looks like 0.8 is on the way but I cannnot find where to download. What do
you suggest? Thank you.
andyhot wrote:
There's a new version coming in that address exactly this problem.
I'll make a related
http://tacos.sourceforge.net/nightly/ is a maven snapshot repo...
http://tacos.sourceforge.net/nightly/net/sf/tacos/ has the subprojects
http://tacos.sourceforge.net/tacos4.1/tacos-core/quick-start/downloading.htmla
quick note on including
any subproject in a pom
On 7/12/07, Henry Chen
http://track.sipfoundry.org/browse/XCF-1795
UI prototype for: http://track.sipfoundry.org/browse/XCF-1790
UI prototype for: http://track.sipfoundry.org/browse/XCF-1605
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi
I'm a bit confused, you want to have a reference to Hivemind service
_before_ tapestry initalizing Hivemind? It means you want to initalize
hivemind your self and then give it to the tapestry?
May I ask you what is the issues you have with Hibernate that you want
to initialize it before it
Awesome
The main page is
http://wiki.apache.org/tapestry/
I created a new section
http://wiki.apache.org/tapestry/Tapestry5Migration
It is blank right now, though I'll try to contribute
as I go along as
well...
Thanks,
Josh
Peter Stavrinides wrote:
documentation is something that can start
Great! Thank you. I didn't know that beanform was from tacos. :)
andyhot wrote:
http://tacos.sourceforge.net/nightly/ is a maven snapshot repo...
http://tacos.sourceforge.net/nightly/net/sf/tacos/ has the subprojects
What browser are you using? Tapestry relies on CSS to make some
divs and imgs not visible.
On 7/12/07, Bill Holloway [EMAIL PROTECTED] wrote:
I have a very simple bean object with two simple string properties. When I
do
form t:type=beaneditform object=foo /
I see the validation error red Xs
oops, using tapestry 4.0.2, Hivemind 1.1.1
is it possible to disable the hash in the include url? or generate my own?
--
View this message in context:
http://www.nabble.com/use-dynamic-stylesheet-tf4066464.html#a11571141
Sent from the Tapestry - User mailing list archive at Nabble.com.
I'm looking for it too!
2007/7/13, Adam Zimowski [EMAIL PROTECTED]:
Well, for instance sample request flow diagram demonstrating core
components involved when Tap 5 is at work. Something similar to
component render states diagram.
Perhaps discussion about Tapestry page cache and point out
Hi all,
If anyone is in a position to help, it would be greatly appreciated.
Many of us tapestry 4.1 users don't use maven. As a result it's pretty
hard for us to get access to the snapshot builds.
It would be really handy if someone who uses maven and has an ftp server
handy could make an
Is it possible to use Tapestry's parser in tests to verify that template
syntax is correct?
I'd like to run tests (like you do when doing a JSP pre-compile) to verify
syntax w/o having to start the app and find out at runtime.
Thanks,
Matt
--
View this message in context:
how can i sort my pages into sub directories within my web-inf directory.
ex:
i would like a structure kinda like
WEB-INF
==components
core
==userName
==userIcon
==galleryLink
==...
global
==header.html
==footer.html
==...
supplemental
With both T4 and T5 this is possible; I think it is easier in T5
because of how the parser works (it provides a set of tokens). From
there, there's more work ... to ensure that the tokens parsed are
correct (i.e. that component types are valid, parameters are bound
properly, etc.).
T5 has the
I want to get it too.
2007/7/13, Donyee [EMAIL PROTECTED]:
I'm looking for it too!
2007/7/13, Adam Zimowski [EMAIL PROTECTED]:
Well, for instance sample request flow diagram demonstrating core
components involved when Tap 5 is at work. Something similar to
component render states diagram.
Garr I hate that.There is probably a better way but there was something
about the CDATA response approach that I didn't like either. (though I don't
remember what that was)
On 7/11/07, Patrick Klein [EMAIL PROTECTED] wrote:
Hello again!
Problem was a br instead of br/ which prevented dojo
You would like to and it doesn't work when you tried it or ..?
You might try wrapping your @Table with a @Any and tell it to update the
@Any instead if it's giving you trouble.
On 7/8/07, Jon Oakes [EMAIL PROTECTED] wrote:
Hi Group,
Forgive me if the answer is obvious, but I have searched
Yes, Tapestry tries very hard to work however people feel comfortable..
With 4.1.2 especially I don't understand why
span jwcid=@For
span jwcid=[EMAIL PROTECTED]
/span
/span
wouldn't work with a updateComponents=updateArea parameter value. The
client id logic / unique loop id generation /
I'm glad you are having fun! :)
Most thanks should of course go to Howard, as always. (the rest of us are
mostly tinkerers/modifiers)
On 7/3/07, #Cyrille37# [EMAIL PROTECTED] wrote:
Hi,
I spent a lot of time for discovering the Java World. After used Php,
C++ and C# for years, this new
That patch is for PopupContainer - which isn't part of the simple
AlertDialog mixin that Tapestry does with the dojo Dialog object. (well it
is part of the object, but not something Tapestry duplicated)
Alternately, you could just not use the experimental proxy injected feature
of selenium and
The headComponent reference probably really is null. I don't think the
component hierarchy is doing what you think it is in this instance - things
get a little trickier when you are working through a @RenderBody setup and
such...
I'd make this be a single shared property that you have defined
You can inject the ResponseBuilder service and call
ResponseBuilder.isDynamic() to avoid doing things you don't want to have
happen in one vs. another instance.
To be clear, ~everything~ that happens in a dynamic request should be the
same as what happens in a normal request. (except maybe for
Thanks, I've re-opened the bug and will take a look.
On 7/10/07, Damien Uern [EMAIL PROTECTED] wrote:
Hello,
I recently upgraded to OGNL 2.7, Tapestry 4.1.2 and am experiencing the
same issue described here http://jira.opensymphony.com/browse/OGNL-11.
The original poster didn't seem to
Weird..I've got everything tested on most browsers known to man now so
am always on the lookout for any bugs (that I can do something about) ...Ie
is tested back to 5.5.
On 7/11/07, Patrick Klein [EMAIL PROTECTED] wrote:
Hello,
Is it a cache problem? Try to delete your cache, cookies,
This is too much for me to digest, has anything important been added to
that JIRA issue that is still missing?
On 7/11/07, Bastian Voigt [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sorry, I have to correct my last post:
The for loop is _NOT_ nested in the form!
Hi,
I just updated my tapestry, and am trying to deploy my application.
It deploys fine on one of my ubuntu based servers, but when I attempted to
deploy it onto production I get the following errors:
ERROR spintop.tapestry.Exception - Uncaught error, discovered at tapestry
level
That's implemented in 4.1.2, not sure about T5.
http://tapestry.apache.org/tapestry4.1/components/dojo/dropdowndatepicker.html
On 7/12/07, Borut Bolčina [EMAIL PROTECTED] wrote:
Hello,
Has anyone tried to upgrade T4 (or T5) DatePicker component to take two
additional parameters (min and max)
That sounds about right to me. There really isn't an engine service named
action anymore. It existed in previous 4.X versions but was marked for
death a long time ago.
Sounds like your server has some old tapestry jars somewhere.
On 7/12/07, craigham [EMAIL PROTECTED] wrote:
Hi,
I just
I'll try and set up a similarly structured test-case this weekend. If I can
find a bug, I'll post it.
2007/7/13, Jesse Kuhnert [EMAIL PROTECTED]:
This is too much for me to digest, has anything important been added to
that JIRA issue that is still missing?
On 7/11/07, Bastian Voigt [EMAIL
I think it was some Eclipse weirdness. I started over w/ a fresh call to
the archtype and had no problems.
bill
On 7/12/07, Howard Lewis Ship [EMAIL PROTECTED] wrote:
What browser are you using? Tapestry relies on CSS to make some
divs and imgs not visible.
On 7/12/07, Bill Holloway [EMAIL
I belive you can declare parameters in you mixin just as you would in a
component,
I haven't tried it yet, but if you hadn't, please read this page from
tapestry site:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/mixins.html
Davor Hrg
On 7/12/07, Dan Adams [EMAIL PROTECTED] wrote:
Jesse,
It is my own application code that I want to avoid. The ResponseBuilder
solution works great.
Thanks.
Jesse Kuhnert wrote:
You can inject the ResponseBuilder service and call
ResponseBuilder.isDynamic() to avoid doing things you don't want to have
happen in one vs. another instance.
70 matches
Mail list logo