Dmitry,
extremely cool tip, the hack to get the local dev app server running is
highly appreciated !
Cheers,
Alex K
On Tue, Aug 25, 2009 at 8:12 AM, Dmitry Gusev wrote:
> FYI
>
> Here is the running t5 app: http://ping-service.appspot.com/
>
> It uses T5.0.18 + Spring 3.0.0M4/JPA + Google
>
Christian,
you seem to indicate that there's an easy fix for this on the mailing
list; however, the last discussion there is from around 2007; the module
that Robert is referring to is out of date (e.g. referring to old package
names, etc). Any other tips on addressing this ?
I'm completely
Sure, there must be a passivate method. Action link in tmeplate is fairly
simple: English.
DH
http://www.gaonline.com.cn
- Original Message -
From: "Erik Putrycz"
To:
Sent: Wednesday, August 26, 2009 4:44 AM
Subject: Re: Create actionlinks in components with page context
>
> How i
I created the ComponentRequestHandler service (a pipeline, with
filters) for this purpose; to make a single logical place to put
filters for both page render requests and component event requests.
public interface ComponentRequestHandler
{
/**
* Handler for a component action request whic
Is it possible for this message component to auto detect the form submit
and to render when the submit is successful?
I've tried to use the defer method of the FormSupport, but it occurs
after the render phase.
Thiago H. de Paula Figueiredo wrote:
Em Tue, 25 Aug 2009 10:26:16 -0300, Sebastian
It's the Wiki on tapestry.formos.com
On Sun, Aug 16, 2009 at 1:10 AM, Howard Lewis Ship wrote:
> Trust me, documentation is a top priority for me ... I'm not even
> writing any code for 5.2 until I get the docs under control.
>
> The "user guide" needs to be renamed as a "reference guide".
>
> A
How is your template looking like for the action link?
I just looked at the action link code and there doesn't seem to be any magic
to add the current page context.
And does your page class has a passivate method?
DH-14 wrote:
>
> My action handler is inside a component, for example, the layou
My action handler is inside a component, for example, the layout component.
If there is context, url for the action link is like
/app/pagename.layout.english?t:ac=1 (1 is context), after link is clicked, the
redirect url is like /app/pagename/1
Thanks,
DH
- Original Message -
From: "E
I have used this:
http://wiki.apache.org/tapestry/Tapestry5SimpleAndPowerfulLayouts
It's a generic solution using blocks! and you don't need to declare
them in the page.
On Tue, Aug 25, 2009 at 9:30 AM, Sebastian
Hennebrueder wrote:
> Hello,
>
> I used
>
>
> foo
>
>
> in a page to pass f
The Testify documentation seems to imply that if its jar is present on
your class path, you can use @Inject within your tests just like you
would in a page class and get services from your IOC registry. (http://tapestry.formos.com/nightly/tapestry-testify/#Inject_services_into_tests
).
Howev
This is my action handler
void onActionFromToggleLocale()
{
Locale current = locale.get();
if (current == null || current.getDisplayLanguage().equals("en"))
locale.set(Locale.CANADA_FRENCH);
else
locale.set(Locale.CANADA);
}
btw,
Thiago H. de Paula Figueiredo schrieb:
Em Tue, 25 Aug 2009 11:33:18 -0300, Sebastian Hennebrueder
escreveu:
But it is an internal service which are from my understanding
discouraged to use.
ComponentEventLinkEncoder isn't internal, as it's in the
org.apache.tapestry5.services package. Only
Em Tue, 25 Aug 2009 11:33:18 -0300, Sebastian Hennebrueder
escreveu:
But it is an internal service which are from my understanding
discouraged to use.
ComponentEventLinkEncoder isn't internal, as it's in the
org.apache.tapestry5.services package. Only classes and interfaces in
packages
Thiago H. de Paula Figueiredo schrieb:
Em Tue, 25 Aug 2009 11:25:42 -0300, Sebastian HennebrŸüder
escreveu:
Hello,
Hi!
A correct implementation needs to implement the page name extraction as
done in ComponentEventLinkEncoderImpl.decodeComponentEventRequest and as
in the decodePageRenderRe
Em Tue, 25 Aug 2009 11:25:42 -0300, Sebastian HennebrŸüder
escreveu:
Hello,
Hi!
A correct implementation needs to implement the page name extraction as
done in ComponentEventLinkEncoderImpl.decodeComponentEventRequest and as
in the decodePageRenderRequest method of the same class.
Why d
Hello,
the examples in the Wiki uses either a request filter or a request
dispatcher. Both solutions extract the page name in order to check if
there are any restrictions. This code orginally comes from the
PageRenderDispatcher.
String pageName;
String path = request.getPath();
i
Hello,
the examples in the Wiki uses either a request filter or a request
dispatcher. Both solutions extract the page name in order to check if
there are any restrictions. This code orginally comes from the
PageRenderDispatcher.
String pageName;
String path = request.getPath();
Em Tue, 25 Aug 2009 11:01:58 -0300, Christian Riedel
escreveu:
In the link I posted in my first reply, there are some T5.0.18 sites
that don't list WEB-INF, in some you can find the hibernate.cfg.xml
under /assets/, in some you don't.
Some also seem to implement the workaround, so there is
Hello,
I suppose you don't read all threads in detail, so I post the question
directly.
I could provide a patch to the beaneditform component in order to easily
record errors for a field without the need to inject the Field component.
Usage pattern:
@Component
private BeaneditForm form;
voi
Hello,
I was missing a t:messages component as I want to show 'entry was
deleted' 'entry was saved ...' messages directly or after a redirect.
I wrote my own one but it is not very beautiful. It uses a application
state object stored into the session 'MessageStore'. I inject the
message store
Andreas, Thanks. That's all I needed to know.
-Original Message-
From: andre...@gmail.com [mailto:andre...@gmail.com] On Behalf Of Andreas
Andreou
Sent: Monday, August 24, 2009 6:39 PM
To: Tapestry users
Subject: Re: Google Web Toolkit Version 1.7.0
AFAIK, the credits to Tapestry are due
CSS is one possibility.
Chenillekit button component could work also.
I ididn't try yet.
2009/8/25 Stephan Windmüller
> Otho wrote:
>
> >> But every time I select a button in this form (even when it is
> >> outside the grid) I get an IndexOutOfBoundsException. It seems to me
> >> that the gr
In the link I posted in my first reply, there are some T5.0.18 sites
that don't list WEB-INF, in some you can find the hibernate.cfg.xml
under /assets/, in some you don't.
Some also seem to implement the workaround, so there isn't any directory
listing.
But hey, the *default* is, everybody can
Otho wrote:
>> But every time I select a button in this form (even when it is
>> outside the grid) I get an IndexOutOfBoundsException. It seems to me
>> that the grid itself is being transmitted but the values changed. Why
>> does this happen and how do I prevent this?
> Use a button with an Actio
Use a button with an ActionLink/EventLink instead and pass the current item
(or its id for example) as a parameter.
2009/8/25 Stephan Windmüller
> Hello!
>
> We are using a Grid which contains a submit button in each row ("select
> this"). Of course this only works when I put the Grid in a form
Em Tue, 25 Aug 2009 10:25:21 -0300, Onno Scheffers
escreveu:
Apparently it does, since Christian also provided example-links.
I stand corrected.
I just checked and I can also publicly access resources like the web.xml
and hibernate.cfg.xml on a webapp that is already in production using
Em Tue, 25 Aug 2009 10:26:28 -0300, Sebastian Hennebrueder
escreveu:
Hello,
Hi!
I'm not the core committer, but providing tests for your patches will
improve its acceptabililty a lot.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.ars
Em Tue, 25 Aug 2009 10:26:16 -0300, Sebastian Hennebrueder
escreveu:
Hello,
Hi!
Instead of using @SessionState, I just use a single
@Persist(PersistenceConstants.FLASH) String field and pass it as a
parameter or through a setter to my component.
--
Thiago H. de Paula Figueiredo
Indep
Hello,
I suppose you don't read all threads in detail, so I post the question
directly.
I could provide a patch to the beaneditform component in order to easily
record errors for a field without the need to inject the Field component.
Usage pattern:
@Component
private BeaneditForm form;
void on
Hello,
I was missing a t:messages component as I want to show 'entry was
deleted' 'entry was saved ...' messages directly or after a redirect.
I wrote my own one but it is not very beautiful. It uses a application
state object stored into the session 'MessageStore'. I inject the
message store int
>
> AFAIK, this issue doesn't affect T5.0.18, as it happens only with versioned
> assets, something that was introduced in T5.1.
Apparently it does, since Christian also provided example-links.
I just checked and I can also publicly access resources like the web.xml and
hibernate.cfg.xml on a we
Apparently it is also affecting 5.0.18, since you can browse Dimitry's
assets and read the persistence.xml for example.
Thiago H. de Paula Figueiredo schrieb:
Em Tue, 25 Aug 2009 09:44:35 -0300, Christian Riedel
escreveu:
FYI you should (all) be aware of TAP-815*! Your assets** are readable
Em Tue, 25 Aug 2009 09:44:35 -0300, Christian Riedel
escreveu:
FYI you should (all) be aware of TAP-815*! Your assets** are readable
for everybody!
AFAIK, this issue doesn't affect T5.0.18, as it happens only with
versioned assets, something that was introduced in T5.1.
--
Thiago H. de
FYI you should (all) be aware of TAP-815*! Your assets** are readable
for everybody!
It is certainly not as critical as in some pages named in this thread***
but in general it could cause some bad reputation for T5.
Apart from that I just can say: nice work! ;)
*jira ticket:
https://issues.ap
Hello,
I used
foo
in a page to pass foo to the layout template which has parameter
Layout class
@Parameter
private Block notes;
public Object getNotes(){
return notes;
}
Layout template
Prajesh Kacha schrieb:
Hello,
In my web page I am us
See the bit about template inheritance here:
http://tapestry.apache.org/tapestry5/guide/templates.html
Prajesh Kacha wrote:
Hello,
In my web page I am using one tag, but I need multiple
tag to get replace.
To do that is there any mechanism like specifying Id or some name to the
components.
I
Hello,
In my web page I am using one tag, but I need multiple
tag to get replace.
To do that is there any mechanism like specifying Id or some name to the
components.
I search a lot but I didn't find.
I don't know what to do.
Please can any one help me.
Thank in advance.
--
Regards
FYI
Here is the running t5 app: http://ping-service.appspot.com/
It uses T5.0.18 + Spring 3.0.0M4/JPA + Google
Datastore/Mail/Cron/URLFetch/Google Accounts Security
Works pretty well.
I had to implement some hacks to develope with t5 on local dev server (t5
error page refuse to work properly th
The name 'App'Module is taken from the filter name as defined in the
web.xml.
Just deploy a modified web.xml using test as filter name.
--
Best Regards / Viele Grüße
Sebastian Hennebrueder
-
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de
Inge Solv
I think this is what you're looking for:
http://tapestry.formos.com/nightly/tapestry-testify/
On Tue, Aug 25, 2009 at 4:46 AM, Mark W. Shead wrote:
> I am doing testing using Selenium using classes that extend
> AbstractIntegrationTestSuite. When I bring up the testing environment I
> would lik
There is an advantage of the Filter over the Dispatcher.
The filter is a nested chain, delegating to the next chain from within
the code. It's like a normal servlet filter.
My security filter stores the user of the session into a thread local
and after the request, cleans up the thread local aga
Hello!
We are using a Grid which contains a submit button in each row ("select
this"). Of course this only works when I put the Grid in a form component.
But every time I select a button in this form (even when it is outside
the grid) I get an IndexOutOfBoundsException. It seems to me that the
gr
42 matches
Mail list logo