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 custo
Inge Solvoll 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 bouil.org> wrote:
>
> > I'm very interested t
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 compon
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 T5.1
Henrik Schlanbusch 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 o
>Thiago H. de Paula Figueiredo
> gmail.com> writes:
>
> Em Mon, 24 Nov 2008 18:43:37 -0300,
>Henrik Schlanbusch enovate.no>
> escreveu:
>
> > Is it possible in T5 to get hold
>of page
> > instances without using injected
>properties, bu
Shing Hing Man 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 reg
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
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 opt
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(
placeho
Thiago, thanks
I found the solution with your help:
public static void
contributeIgnoredPathsFilter(Configuration configuration) {
configuration.add("/services/.*");
}
Best regards,
Henrik
-
To unsubscribe, e-
> Just add this method to your AppModule:
>
> public static void
> contributeIgnoredPathsFilter(UnorderedCollection configuration) {
> configuration.add("/services/.*");
> }
Thanks man! This seems to be the solution to my problem, but one more thing
I cannot get the UnorderedCollection f
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 CXF
Joachim, thanks man!
That solved the problem
Henrik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
--
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, e
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 pr
michael lim 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?
>
> -
> T
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 w
Marcus Schulte 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 PROTECTED]
For
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 be
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 exceptio
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 n
Thanks Alejandro, this was indeed the problem.
Best,
Henrik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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 c
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
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
Andy, thanks s much, that did the trick. I fixed the prototype.js file not
to include the X-Prototype-Version in the header, and swsh the file appeared
as it should. I cannot thank you enough
Best wishes
Henrik
-
To uns
Andreas Andreou 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 load is
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 th
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]
>
> 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 d
Ulrich Stärk 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), Hibernat
Jesse Kuhnert 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 enovate.no> wrote:
> > Hi
> >
> >
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:
Unable to update OGNL expression ''
of [EMAIL PROTECTED]/
$AjaxPlaceHolder] to satisfactoryPerformance: Binding with
value satisfa
Hi
I have a problem with injecting a "good old" visit object.
I do the following:
and in my BasePage i do the following:
@InjectState("visit")
public abstract BiteVisit getVisit();
As far as I can see, that should be all that
is to it, but when I try to
> 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. T
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:
applicationSp
38 matches
Mail list logo