Hey,
I don't think this is technically possible on server side, since assets are
retrieved via separate http requests and there is no way for tapestry to
determine which request belongs to what page load.
Original-Nachricht
Datum: Fri, 25 Jan 2013 01:36:42
sorry, did not see, that the question has already been answered :)
Original-Nachricht
Datum: Fri, 25 Jan 2013 11:40:00 +0100
Von: Markus Feindler markus.feind...@gmx.de
An: Tapestry users users@tapestry.apache.org
Betreff: Re: How to log page on-load time
Use app.properties
see http://tapestry.apache.org/localization.html ApplicationMessageCatalog
Original-Nachricht
Datum: Fri, 11 Jan 2013 06:50:06 -0800 (PST)
Von: Anbazhagan anbazhaga...@snovabits.net
An: users@tapestry.apache.org
Betreff: How to write a
Hey,
how would I disable Tapestry provided JavaScript libraries (Prototype,
sciptaculous etc.) completely?
Greets
Markus
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail:
Got it,
I overrode the CoreJavaScriptStack with an EmptyStack.
Forgot how easy Tapestry is :)
Hey,
how would I disable Tapestry provided JavaScript libraries (Prototype,
sciptaculous etc.) completely?
Greets
Markus
-
To
Hm, it's hard to say since there are some basic features which don't
function in the bridge (like returning a page or stream response in
onactivate).
I wouldn't recommend using it.
Original-Nachricht
Datum: Tue, 16 Oct 2012 11:09:59 -0400
Von: Lenny Primak
You might consider using xmpp, if it should be scalable.
Hi,
For our current project we need a kind of customer service chat function. A
logged in user can see if there is an admin online and can start a
one-to-one chat (simple text).
Is there already something made for Tapestry like this? Or
Hi,
about the preloading page issue: Isn't it sufficient to remove the
HTTP-header X-Requested-With XMLHttpRequest, which is used by tapestry to
determine ajax requests?
Original-Nachricht
Datum: Thu, 26 Jan 2012 14:57:38 -
Von: Peter Stavrinides
Use URLEventContext:
http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/internal/URLEventContext.html
The ContextValueEncoder can be injected.
Hi,
this works:
new PageRenderRequestParameters(Sample.class.getSimpleName(),
new EmptyEventContext(), false);
but if
Then, why don't you use a page at all?
Can I access a component out of the context of a page?
i.e. does a component have to be bound to a Page to be rendered?
I'm trying render a simple html template and fetch it from my JS.
On Thu, 2011-06-30 at 17:38 -0300, Thiago H. de Paula Figueiredo
Hey Moritz,
have a look at PortletSessionImpl.class.
try to replace
session.setAttribute(name, value);
by
session.setAttribute(name, value, PortletSession.APPLICATION_SCOPE);
Do the same for all methods (like getAttribute, getAttributeNames), where a
scope can be defined:
The thing is, he does not want to work with zones!
Heh.. this is funny, but it sounds like the issue I just described in
my Grid with multiple forms thread. Anyway, to call a Tapestry event
from a JavaScript you probably want this in your javascript:
function
Hi,
how to create a Component Event Link for a different page?
This is not a suitable solution for my problem:
http://www.mail-archive.com/users@tapestry.apache.org/msg36825.html
Best Regards
Markus
--
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit
gratis Handy-Flat!
albertoalma...@gmail.com
An: Tapestry users users@tapestry.apache.org
Betreff: Re: Create a component event link for another page
Maybe this can help?
http://jumpstart.doublenegative.com.au/jumpstart/examples/navigation/eventlinks
Alberto
2011/1/21 Markus Feindler markus.feind
link.toRedirectURI() + :yourEventName;
Add context is required
return link.toRedirectURI() + :yourEventName/contextValue;
There might be a service for it somewhere but not much that can go wrong
here ;-)
Cheers,
Joost
On 21/01/11 11:22 AM, Markus Feindler wrote:
No, I do not want to send
Have a look at https://xhtmlrenderer.dev.java.net/ , it's exactly what
you need.
Selenium is neither suitable nor made for your use case.
Hi,
Is there a way to archive a page? say render it into a jpeg or a pdf ?
Angelo
-
Why would you need a submit notifier? I checked out your book and it
works fine without one.
What you need is a combination of Loop, Delegate, and SubmitNotifier
components and a couple of blocks inside your template. Check this out:
Why do I need a notification? the value encoder handles that stuff.
Did you try to submit the form after removing SubmitNotifier? Try it out.
Because all fields are bound to the same property you need a way to be
notified when a field value is set. The SubmitNotifier component is the way
to do
PageResponseRenderer
Have you tried without specify Generic types ?
2010/9/13 Christophe Cordenier christophe.corden...@gmail.com
Oh, this is maybe due to generics...
2010/9/13 Markus Feindler markus.feind...@gmx.de
public interface RequestParameterExtractor
Just tried, does not work :(.
Have you tried without specify Generic types ?
2010/9/13 Christophe Cordenierchristophe.corden...@gmail.com
Oh, this is maybe due to generics...
2010/9/13 Markus Feindlermarkus.feind...@gmx.de
public interface RequestParameterExtractor {
MapString,
@Christoph:
Same Error
@Josh
Yes, I also removed the Generic Map from the Interface.
Just checked in debug method: the method indeed already exists
(breakpoint: line 1443 InternalClassTransformationImpl). But how come?
Its never added through my code.
Did you take the type parameters off of
of
getOrCreate'ing it.
Josh
On Tue, Sep 14, 2010 at 11:05 AM, Markus Feindler
markus.feind...@gmx.de wrote:
Sounds plausible, but how would a MethodFilter help? It can retrieve the
TransformMethodSignature, but how to use that to create an advise?
Hmm... just took a look at the code again and I
, 2010, at 9:51 AM, Markus Feindler
markus.feind...@gmx.de
wrote:
Need it for portlet implementation.
Hi
What is the purpose ? I guess you are dealing with some
kind of
dynamic
stuff, please can you give more details ?
2010/9/5 Markus Feindlermarkus.feind...@gmx.de
Hey folks
Am 13.09.2010 22:18, schrieb Thiago H. de Paula Figueiredo:
On Mon, 13 Sep 2010 17:02:02 -0300, Christophe Cordenier
christophe.corden...@gmail.com wrote:
Please, Can you provide your Tapestry Module class that contributes your
worker ?
And the worker itself? It seems two different worker
public interface RequestParameterExtractor {
MapString, String extractRequestParameters();
}
is not equal to:
TransformMethodSignature extractMethod = new
TransformMethodSignature(Modifier.PUBLIC,
MapString, String, extractRequestParameters, null, null);
?
Everything
: Retrieve ActivationRequestParameters in custom
PageResponseRenderer
Weird, does you Index page extends a base class ?
2010/9/8 Markus Feindler markus.feind...@gmx.de
Sorry to bother you, but Im stuck with a DuplicateMemberException:
Caused by: java.lang.RuntimeException
Hi,
is there already jQuery Integration for Tapestry 5.2?
Regards
Markus
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
need to
get
the
parameters.
That's not enough details.
-- Josh
On Sep 5, 2010, at 9:51 AM, Markus Feindler
markus.feind...@gmx.de
wrote:
Need it for portlet implementation.
Hi
What is the purpose ? I guess you are dealing with some kind of
dynamic
stuff, please can you give
So, I tried to follow your advice, but I don't see how to add a new
method after calling
transformation.addImplementedInterface(MyInterface.class). The
documentation states to use transformation.getOrCreateMethod, but where
to define the message body?
Actually,
I would implement a
Thats what Im doing right now for the PageActivationContext, but I also
need the values for the ActivationRequestParameters (introduced in 5.2:
http://tapestry.apache.org/tapestry5.2-dev/apidocs/org/apache/tapestry5/annotations/ActivationRequestParameter.html).
Hi
So why not passivate the
i would say you can get them from
Request directly
This only works for the current request. I need to get the parameters,
which will be set for the next request/redirect. It would be possible to
write get methods for the ActivationRequestParameters, but that would
not be the right way. I
Thats the class I discovered earlier at work.
Now my question is how to get ClassTransformation and
MutableComponentModel from the Page Object in the PageResponseRenderer?
Thanks for you help/hints.
Regards markus
Hi
Logic is enclosed in ActivationRequestParameterWorker, i think you can
Hey folks,
I need to access page field values annotated with
ActivationRequestParameters in order to retrieve the values. Reflection
doesnt work, because the fields are private and a
java.lang.IllegalAccessException is thrown. Whats the right way to
retrieve the values / activation request
Need it for portlet implementation.
Hi
What is the purpose ? I guess you are dealing with some kind of dynamic
stuff, please can you give more details ?
2010/9/5 Markus Feindlermarkus.feind...@gmx.de
Hey folks,
I need to access page field values annotated with
ActivationRequestParameters
No, Im trying to upgrade my portlet implementation from 5.1 to 5.2
and up to now the activationrequestparameters aren't put in the url,
cause I have to adjust my former 5.1 custom response renderer. If the
Request is an ActionRequest (see Portlet lifecycle) you can't write
output into a
Hey,
what happened to the Defense class in 5.2.1? Is it replaced?
cheers
markus
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
thanks for your response,
I don't want to create a new thread for this:
is 5.2.1 dependant on spring and hibernate?
when I try to start my application I had to add the hibernate and spring
libraries due to NoClassDefFoundErrors. After having added them, I keep
getting the following
Ah, my bad, had all tapestry libraries in classpath :)
thanks for your response,
I don't want to create a new thread for this:
is 5.2.1 dependant on spring and hibernate?
when I try to start my application I had to add the hibernate and
spring libraries due to NoClassDefFoundErrors. After
Each zone in a loop must have a unique id, so you have to create an id
for example like this:
${zoneId}
private int idcounter;
public String getZoneId() {
return randomtext + idcounter++;
}
Otherwise only the first zone will be updated. Use id instead of t:id
for zones.
Hi All! You are
Great news, I enjoyed reading the german version of your book!
Congratulations !! ;-)
El 11/06/2010 1:03, Igor Drobiazko escribió:
Hello folks,
great news for all of you who wished my Tapestry 5 book to be translated
into English. Manning Publications informed me today that the
translation
The Transaction for the default session (sm.getSession()) is started
automatically. So let tapestry handle the transaction stuff and just
inject Session via constructor instead of HibernateSessionManager and
dont begin a new transaction for the FullTextSession.
Yes I have:
[INFO]
He should also define the scope of the services, where the session is
injected: @Scope(ScopeConstants.PERTHREAD)
I'm not sure if it will solve your problem Borut but to get the session in your
service, rather than binding your service with a no args constructor in the
bind method of your
Hi,
you are missing the onPassivate(){ return blah; } in your page class.
Furthermore you don't have to do foo.setBlah(blah) - should that be
setBlah(fooBlah?), because the parameter is bidirectional. Please
correct me, if I'm wrong.
Markus
Hey,
I have a page Foo which has a component
Hi, how would I pass services to a domain object? what do I have to
configure? For Example if I read some objects from a database via
hibernate, where I dont have any control of instantiation.
Martin Strand schrieb:
On Tue, 25 May 2010 12:07:05 +0200, Andreas Berg si...@taz.de wrote:
The
Well, I think this is what he's trying to avoid: a client redirect (http
redirect). He wants to delegate the request to a different page using the
same request/response cycle.
You would rather use a ComponentRequestFilter for that: Change the
PageRenderRequestParameters and send them to the
So?? Howard?
So a community-driven documentation effort is out of the question unless we
come up with a system or procedure that complies with ASF rules.
We could just require to sign a CLA for people that want to help out
with documentation. This would mean to give rights to
Howard may be forgiven :)
Howard is stuck in London due to Volcano. Never thought that'd be my status.
Howard is also jet-lagged, exhausted and sick.
On Fri, Apr 16, 2010 at 11:24 AM, Markus Feindler
markus.feind...@gmx.de wrote:
So?? Howard?
So a community-driven documentation
Well, dont you lose the benfits of localisation and versioning when using
direct paths? Your files aren't handled by the Asset Dispatcher anymore,
instead the request handler for static files does the work
Original-Nachricht
Datum: Tue, 13 Apr 2010 00:23:57
The last issue
(https://issues.apache.org/jira/secure/IssueNavigator.jspa?mode=hiderequestId=12314122)
does not exist.
Original-Nachricht
Datum: Thu, 25 Mar 2010 09:41:36 +0100
Von: Ulrich Stärk u...@spielviel.de
An: Tapestry users users@tapestry.apache.org
What about developing such a system in Tapestry, document the code and use
it as a guide? Two birds with one stone.
Original-Nachricht
Datum: Wed, 24 Mar 2010 08:46:30 +0100
Von: Ulrich Stärk u...@spielviel.de
An: Tapestry users users@tapestry.apache.org
Hey guys,
I have extended the jira portlet commitments by Trun Le Xuan and
Kristina B. Taylor.
XHR Requests and Resource Serving have been added. Up to now it's only
working with liferay, because some features rely on the liferay api (see
link for more information).
You can find a detailed
51 matches
Mail list logo