Hi all
We have a Message service that we used when our system
was implemented in T4. The messages will request localized
strings from file and override the string with values
from the database if they have been overridden there.
I cannot find anything in the T5 literature on how to
provide
Inge Solvoll inge.tapestry at gmail.com writes:
I'm using file synch in eclipse to copy the newly compiled files to
webapp/WEB-INF/classes. If the class is found there, it
overrides the one in
the jar.
On Fri, Jun 4, 2010 at 7:56 AM, Nicolas Bouillon nicolas
at bouil.org wrote:
I'm
Hi
I have setup a project in maven 2 where the lowest project
(parent) has two sub modules, one with the webapp
(tapestry 5) and one with a separate custom made
component library. This means that I have three
modules to build (parent, webapp and components).
Webapp has a dependency to
Hi all
We have a rather big system that has been written in tapestry 4. We started out
in tapestry 3 some years ago and during upgrade to T4 we spent quite a long
time, which was very critical for our customers. But in the end, the upgrade was
really worth it.
Now we would like to upgrade to
Hi all
Is it possible to get access to an instance
of a page without using the InjectPage
annotation? I know the logical name of the
page - the string groupEditor, and would
like get an instance of the page, and run
some getters on it. I have the logical names
in a map, and do not have the
Hi
In tapestry 4 it was possible to get an instance of a page by using the
cycle.getPage(somePageName); Then it was possible to set properties on the
page before activating it. I would like to do something like this in T5, it
seems that the only way to get an instance of a page is by getting it
Shing Hing Man matmsh at yahoo.com writes:
Have you tried ComponentSource ?
@Inject
private ComponentSource compSource;
MyPage comp = (MyPage) compSource.getPage(pageName);
Shing
Shing, thanks man! This worked. I can now get instances of the pages through
their id!
Best
Thiago H. de Paula Figueiredo thiagohp at
gmail.com writes:
Em Mon, 24 Nov 2008 18:43:37 -0300,
Henrik Schlanbusch henrik at enovate.no
escreveu:
Is it possible in T5 to get hold
of page
instances without using injected
properties, but through string
identifiers like in T4
Henrik Schlanbusch henrik at enovate.no writes:
Hi all
Is it possible to get access to an instance
of a page without using the InjectPage
annotation? I know the logical name of the
page - the string groupEditor, and would
like get an instance of the page, and run
some getters
Hi and thanks for a good and extremely responsive
group!
I have a project where i use T4.1.6 in combination
with prototype. I use the Ajax.updater to perform
ajax operations. But When I use this, the rendering
of pages gets extremely slow. Is there any reason
for this?
new Ajax.Updater(
Thiago, thanks
I found the solution with your help:
public static void
contributeIgnoredPathsFilter(ConfigurationString configuration) {
configuration.add(/services/.*);
}
Best regards,
Henrik
-
To
Hi
I have run into a problem.
I have defined two servlets in my web.xml - one tapestry5
and one for apache CXF. I have defined them in a way that
I should hit the CXF whenever I run /services/* and
tapestry for all other urls.
When I try to browse the wsdls on my server, I can see
that the
Just add this method to your AppModule:
public static void
contributeIgnoredPathsFilter(UnorderedCollectionString configuration) {
configuration.add(/services/.*);
}
Thanks man! This seems to be the solution to my problem, but one more thing
I cannot get the UnorderedCollection
I am even more puzzled. I tried to do this in
the tml file:
${group.class.name}
and the result in the html was:
org.apache.maven.project.MavenProject
I am using the jetty:run to start the project.
Henrik
-
To unsubscribe,
The group object is of course my own object.
I do not understand why the maven project is
returned.
If I try to access the group in the java code
System.out.println(getGroup().getClass().getName());
I get the correct classname.
Henrik
Joachim, thanks man!
That solved the problem
Henrik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi I am using Tapestry 5.0.15 and have come over
a strange problem that I cannot resolve.
In my tml file i have this code
${currentGroup.name} - which should display Root group
instead it displays: scy-useradmin-web Tapestry 5 Application
The same goes for all other places where I try
to
michael lim jim_theory at yahoo.com writes:
in my pagevalidate method, i call db to retrieve information and print out on
page using @insert
how do i cache it so that it will not hit the db so frequent ? any example?
Thanks to your hints I finally found a way to identify the problem. The problem
was that on the same page that I load the images, I also have a flash object,
that loads sound files through the same service. I am not sure, but it seems
like the calls for both the images and the soundfiles conflict
Hi
I have a major problem with my file service.
It is a service that should stream files
to the client. It works swell in firefox
and opera, but behaves strangely in IE.
An image may be opened ok first time (probably
due to caching), then the second time (after
hitting ctrl + F5)
the image may
Marcus Schulte etluchs at googlemail.com writes:
output.close() ?
Marcus, thanks for the suggestion, but the same
situation persists. Exactly the same error message
from explorer.
-
To unsubscribe, e-mail: [EMAIL
Hi again... still no luck with this one.
After an intense night debugging this, I have found
that the bug appears consequently the *second*
browser instance that hits the same page. The first
request to the page runs fine, but the second time
(with a new browser instance) will produce the
Hi
I see there has been a lot of activity on this before,
and the issue seems to have been resolved, still I
experience this problem in 4.1.3 and 4.1.5:
Exception: Error: An error occured processing annotation
@org.apache.tapestry.annotations.InjectState(value=bite-visit)
of public abstract
The problem was that we had the two
following files:
trans.properties (default locale)
and trans_no.properties
This always ended up with values from
the first file.
Then we renamed the files:
trans_en.properties
trans_no.properties
and it worked, why - I do not know...
Hi again, I have a strange problem with my app.
When I have logged in the first time, my Home
page is not rendered, but instead I can see a
javascript file core.js (loaded by the asset service).
If I then press back (to the login form) and login
again, I will get the Home page as expected, and I
Thanks Alejandro, this was indeed the problem.
Best,
Henrik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
I have to do some of the localisation
work in the java code, and run this
simple method:
public String getLocalisedMessage
(String key) {
return getMessages().getMessage(key);
}
The method does only return strings in
english locale.
The only special thing with my pages is that
Hi I have problem with my ajax code. I try
to run the code in my tapestry app, but
when I read the results in firebug from my calls, I get an
empty string from the tapestry servlet,
when I indeed expect to see a well formed html
page. I have tried to run the url that I call
directly through the
Andreas Andreou andreoua at gmail.com writes:
But, what happens when you GET that url directly? Do you see anything
returned?
Yes, I get the full page as I expect it to be loadede through the ajax call.
I can even see - when I try to load through the AjaxUploader - that the page I
want to
Hi
Is it possible to upgrade to Dojo 0.9 when using T4.1.3?
And if it is possible, how do I do it?
Regards,
Henrik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
I am still in the process of upgrading from T3 to T4.1
which have taken quite a bite of time now. I encounter the following
problem that I never had in 3.1:
span jwcid=@fw:AjaxPlaceHolder model=ognl:userPerformance
property=satisfactoryPerformance inputType=Checkbox/
Unable to update OGNL
Jesse Kuhnert jkuhnert at gmail.com writes:
We'd probably have to see more of your stack trace, but it looks like
someone is trying to update that parameter at some point.
On Nov 5, 2007 6:17 AM, Henrik Schlanbusch henrik at enovate.no wrote:
Hi
I am still in the process
Ulrich Stärk uli at spielviel.de writes:
Hi all,
for the workshop I held with some students a month ago I created a maven
archetype that uses
Tapestry, Hibernate and Spring. This one is very similar to the current
tapestry-archetype but is
based on more recent Tapestry (4.1.3),
Uli - I would love to try this one out, but it seems that the link is dead.
Could you provide another one?
Sorry, my fault. The dot in the end of the sentence containing the link was
included in my link. The link is correct, but at least in thunderbird it is
interpreted together with the dot
Hi
I have a problem with injecting a good old visit object.
I do the following:
contribution configuration-id=tapestry.state.ApplicationObjects
state-object name=visit scope=session
create-instance class=no.imb.bite.framework.BiteVisit/
/state-object
Hi
I have a problem. In my application that I am upgrading
from T3 to T4.1.3
I need to build up the list of pages dynamically
on startup time. This we managed without problems
in T3 by subclassing the engine and accessing the
IApplicationSpecification there and add pages like this:
I have a problem. In my application that I am upgrading
from T3 to T4.1.3
I need to build up the list of pages dynamically
on startup time.
To clearify:
I have specified all the pages file names and specification
paths in different
xml files (spring)- that reside in several
modules. The
37 matches
Mail list logo