Hi Daniel,
not quite sure what exactly you mean by Controller but it sounds like what you
would do in a Tapestry Page or Component class. If so, I'd pack that with the
webui stuff. @CommitAfter will work on Tapestry Page and Component Methods.
The last project I set up had the following division
for tests you have to set it as default JVM argument in
the list of you installed JREs.
Kind Regards,
Wulf
-----Original Message-
From: Wechsung, Wulf [mailto:wulf.wechs...@sap.com]
Sent: Freitag, 24. Oktober 2014 13:32
To: Tapestry users (users@tapestry.apache.org)
Subject: Tapestry Clas
Hi Tapestry-users,
Tapestry's AbstractReloadableObjectCreator, LoggingInvokableWrapper,
ModuleImpl, RegistryImpl and others log a lot of really boring stuff. For some
of our tests it's actually the majority of the log output making it difficult
to visually parse what's going on in the applicati
Hello T5-Users,
I'm very much stuck on this issue and hoping someone here can maybe help me.
So our project does extensive Unit Tests with Page Tester and essentially all
services substituted or mocked out (for example in-memory database). We've had
a few issues with test stability as we used
users
Subject: Re: Interface "Request"
Hi,
RequestGlobals.getRequest() should return null I think:
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/RequestGlobals.html#getRequest()
On Mon, Nov 18, 2013 at 4:40 PM, Wechsung, Wulf wrote:
> Hi everyone,
>
Hi everyone,
I want to build a service that works transparently for web request threads and
system threads. If called in a web request it should utilize session storage
via ASM and if called from a background thread it should just return the value
of a ThreadLocal.
What I can't find out is: is
keys, to the ComponentMessagesSource service.
On Tue, Oct 30, 2012 at 10:25 AM, Wechsung, Wulf wrote:
> Hello Guys,
>
> Today I found issue: https://issues.apache.org/jira/browse/TAP5-2023
> Short version is that a specific locale (zh_CN) produces an exception in
> conjunc
Hello Guys,
Today I found issue: https://issues.apache.org/jira/browse/TAP5-2023
Short version is that a specific locale (zh_CN) produces an exception in
conjunction with field validators because some messages don't use indexed
format parameters.
The work-around we thought of until this is fixe
Hi Guys,
we have two scenarios that require that the app.properties files (plus
translation) lives somewhere not below /WEB-INF. Is there a parameter /
configuration contribution or similar for that?
Thanks and kind Regards,
Wulf
> Mr. Wulf (shit this sounds cool!)
:)
Well, the available T5 session scopes are singleton and per-thread.
Singleton means that the service will be built only once and then shared for
all threads and therefore requests.
Per-thread means that the service will be built for every single request.
Hi,
The awesome thing is that everything in Tapestry can be a service! All you need
is a service builder method and the @Inject annotation in your Services, Pages
and Components.
So for a hibernate session you could (not saying this is a good solution, but
it's a start) a service builder meth
Hi Ken,
Maybe I can help you out:
1. I would not :)
Pages and Components both have Properties. It's nothing special really. Think
Bean Properties with automatic getter/setters.
Components have Parameters, Pages have PageActivationContext. Both can be
Properties as well (because a property i
Hi Everyone,
I'm currently evaluating a proprietary JavaScript UI Framework for use with
Tapestry5. This framework works like ExtJS in that "rich" components are
instantiated and placed via JavaScript (basically how you'd do UI programming
in Swing). Does anyone here have and experience with us
at
happens.
On Tue, Apr 10, 2012 at 5:34 AM, Wechsung, Wulf wrote:
> Hi Everyone,
>
> is it just a problem from my end or has tapestry.apache.org often been
> unavailable or very slow these past few weeks? I've got no problems accessing
> any other websites, besides tapestry.
Hi Everyone,
is it just a problem from my end or has tapestry.apache.org often been
unavailable or very slow these past few weeks? I've got no problems accessing
any other websites, besides tapestry.apache.org.
Is there an offline version of the site available to download so that we could
host
Hi Lenny,
I did something similar and it works quite well although the emails do not show
any styling. I've documented this approach here:
http://wiki.apache.org/tapestry/Tapestry5HowToSendErrorPageAsEmail
Kind Regards,
Wulf
-Original Message-
From: Lenny Primak [mailto:lpri...@hope
Hi Bdm,
I guess you should use connection pooling but if you want to manage your own
connection I would do it like this:
Manage the JDBC connection as thread with per-request scope. I think the
Connection is already an interface so you can do the following in APP Module:
@Scope(ScopeConsta
Done. As it turns out, the submitting component does need to be inside the
form. I guess I wanted it to be able to submit any form but couldn't quite
figure out how to ...
In a few weeks I'll clean it up and post it to the wiki.
-Original Message-
From: TG [mailto:tapestry...@hotmail.co
Hi Tapestry Guy,
maybe you can go in the same direction as I went:
I made a generic "Event Submit" mixin. Basically it takes a form id
(client-side id that is) and a list of events. It observes these events thru
prototype and when that event happens it will submit the form. This has the
advanta
Hello T5-Users!
I would like to (programmatically) add an attribute to elements on a form. The
attribute is "title" and I would like the value according to metadata in my
data model in order to realize a poor man's tooltip.
An example of what the result should look like:
This will yield a br
g, 24. Oktober 2011 22:44
To: Tapestry users; Wechsung, Wulf
Subject: Re: Enum Value display
On Mon, 24 Oct 2011 18:33:30 -0200, Wechsung, Wulf
wrote:
> Hello T5-Users,
Hi!
> what would be the easiest way to get Tapestry components like Beaneditor
> and Grid to display Enum values b
Hello T5-Users,
what would be the easiest way to get Tapestry components like Beaneditor and
Grid to display Enum values by their actual (not friendly-fied) names? Would
that be a Bleanblock contribution for the specific type?
Thanks and best Regards,
Wulf
e the Tapestry wiki. It's trivial to do.
On Oct 22, 2011, at 3:23 PM, Wechsung, Wulf wrote:
>
> Hi Thiago,
>
> thanks for the great tip! I managed to accomplish exactly what I set out to
> do :)
> If anyone is doing a cookbook, I would be willing to share how I did it
200, Wechsung, Wulf
> wrote:
>
>> Besides the issue of what the spec really means by "not significant" (I
>> strongly suspect it means for validity only), I really don't understand
>> what's behind that statement. I mean, every XML parser simply parses text
: Samstag, 22. Oktober 2011 13:25
To: Tapestry users; Wechsung, Wulf
Subject: Re: Error Page
On Fri, 21 Oct 2011 21:01:23 -0200, Wechsung, Wulf
wrote:
> Hello all,
Hi!
> I will open up my t5 intranet application for "public" testing next week
> and was planning on havin
w should end countless years of debate!
Steve.
On 22 October 2011 20:59, Wechsung, Wulf wrote:
> Hi Robert,
>
> thanks for your response!
>
> I see. I understand that the attribute order (even element order ...) in the
> document is supposed to be insignificant but does that really
ds,
Wulf
-Original Message-
From: Robert Zeigler [mailto:robert.zeig...@roxanemy.com]
Sent: Samstag, 22. Oktober 2011 19:07
To: Tapestry users
Subject: Re: ComponentResources.getInformalParameterNames()
On Oct 22, 2011, at 10/227:59 AM , Wechsung, Wulf wrote:
> Hi Robert,
>
&g
the tab names, and use the ordering from your tab model to
determine the ordering to use.
Robert
On Oct 22, 2011, at 10/226:32 AM , Wechsung, Wulf wrote:
> Hi Steve,
>
> Thanks for your reply.
>
> LinkedHashMap serves for those cases, I would think ;). Is this bug-worthy
>
order of
informal parameters anyway? Bearing in mind XML doesn't enforce
ordering on attributes.
Steve.
On 22 October 2011 07:00, Wechsung, Wulf wrote:
> Hi all,
>
> I just noticed the API Doc for ComponentResources.getInformalParameterNames()
> says that it returns the param
ng to do with this (now fixed) Jira :
> https://issues.apache.org/jira/browse/TAP5-1706
>
> Try munky patching your tapestry.js page with the suggestion in the
> Jira and see if it makes any difference.
>
> Steve.
>
>
>
>
> On 20 October 2011 05:07, Wechsung, Wulf wro
Hello all,
I will open up my t5 intranet application for "public" testing next week and
was planning on having slf4j send me all exception stack traces that occur per
email. I was wondering if it's possible to do the same for the glorious
tapestry error page. Even more awesome would be to be ab
Hi all,
I just noticed the API Doc for ComponentResources.getInformalParameterNames()
says that it returns the parameter names in alphabetical order. I'm stunned, to
be honest because I would not have expected this at all and I really need them
to be in the order as defined in the template ...
Hello T-User,
I would like to start using the progressive display component to create the
illusion of responsitivity (:) ) but I'm facing the problem that if anything
goes wrong
during the rendering of the P-D's body it will not show an error page and
instead keeps showing the load animation.
Hi Janko,
1) there should be a line where jquery assigns to $ (not _$) or window.$. This
one needs uncommenting.
2) it should be possible to set break points in the JS via firebugs. If it's
still not working, try setting breakpoints to see if the
right stuff is called and everything has the valu
Thanks Geoff! The jumpstart is a terrific resource and has been a life saver on
occasion. Thanks for all your efforts!
-Original Message-
From: Geoff Callender [mailto:geoff.callender.jumpst...@gmail.com]
Sent: Montag, 17. Oktober 2011 11:19
To: Tapestry users
Subject: [ANN] JumpStart dr
Hello Janko,
I think it's possible that noConflict doesn’t work. To make sure, simply delete
the lines in jQuery.js that assign to $ or window.$.
Regarding the rest of your example, it's really hard to diagnose but I would
just bet that if you open your example with firebugs or
the Chrome javas
Hi Manu,
It helps to set the following meta tags:
Kind Regards,
Wulf
-Original Message-
From: ManuPK [mailto:manupk.t...@gmail.com]
Sent: Samstag, 15. Oktober 2011 12:54
To: users@tapestry.apache.org
Subject: Page is getting cached in Tapestry 5.0.18
I am using tapestry version 5.
.
e.g. http://localhost:8080/PageCatalog
There's a button there to load all pages.
Steve.
On 14 October 2011 19:47, Wechsung, Wulf wrote:
> I've taken 5 minutes to try out the beta with my integration test project and
> besides noticing that chenillekit doesn't declare its d
Sent: Freitag, 14. Oktober 2011 13:51
To: Tapestry users
Subject: Re: T5.3 date picker - no way to change/remove yellow highlight?
You could monkey-patch Effect.Highlight to be a no-op... :)
Robert
On Oct 14, 2011, at 10/145:45 AM , Wechsung, Wulf wrote:
> Hi Lenny,
>
> one way would
I've taken 5 minutes to try out the beta with my integration test project and
besides noticing that chenillekit doesn't declare its dependency on tapestry as
"provided" which leads to an IncompatibleClassChangeError I found the beta-21
to be much stricter about the location of non-managed classe
Hi Lenny,
one way would be to copy the complete datefield component, comment out line 121
in datefield js and make a beanblocksource contribution so that the beaneditor
used your datefield instead of the built-in one.
(Can't promise that this is the easiest solution but if you need further
adv
Hello fellow Tapestrians,
so, I noticed that BeanEditors don't work very well a loops. Seems to just not
render anything. Should I file that as a bug or is this a D'oh kind of thing
that should be obvious?
Also, what's the etiquette on raising issues in general? Should one announce an
issue on
Hi Thiago,
that's awesome information! Thanks!
Kind Regards,
Wulf
-Original Message-
From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com]
Sent: Mittwoch, 5. Oktober 2011 19:38
To: Tapestry users; Ulrich Stärk
Subject: Re: Block parameter
On Wed, 05 Oct 2011 14:19:31 -0300, U
lockImpl's
render() method to push the child elements to the queue and afterwards call the
RenderQueueImpl's
run method. No guarantees though.)
Uli
On 05.10.2011 14:57, Wechsung, Wulf wrote:
> Hello guys!
>
> Is the following at all possible and if so, where in the framework sourc
Hello guys!
Is the following at all possible and if so, where in the framework sources
might I be able to find an example of how it works?
My component has to render html directly ie:
beginRender(MarkupWriter mw) {
mw.element(...)
etc ...
}
I now want the compon
;
> @Import(stylesheet="context:myApp.css")
> public class CssMixin {
> }
>
> in your module, add
>
> public static void
> contributeComponentClassTransformWorker(OrderedConfiguration
> configuration) {
> configuration.addInstance("CssMixin&
Hello Guys,
I was wondering if it is at all possible to add a global (ie included in all
pages) CSS from a module. Basically just like the tapestry framework adds the
default.css to any page in your tapestry web app I would like to have a webapp
that loads a module that includes a CSS in all t
Hi Guys,
today I ran into the ole Jetty locking resource again because I started doing
some Javascript. Howard had responded two years ago:
> I've hit this problem too, on a client's project using RunJettyRun.
> The solution is to move classpath resources from src/main/java (or
> equivalent)
or is that within the loop it's only
one instance of the component.
My apologies!
Kind Regards,
Wulf
-Original Message-----
From: Wechsung, Wulf [mailto:wulf.wechs...@sap.com]
Sent: Sonntag, 11. September 2011 17:18
To: Tapestry users
Subject: RE: tapestry ready for production?
>
e request.
-Original Message-
From: Bob Harner [mailto:bobhar...@gmail.com]
Sent: Sonntag, 11. September 2011 16:29
To: Tapestry users
Subject: Re: tapestry ready for production?
On Sun, Sep 11, 2011 at 9:25 AM, Wechsung, Wulf wrote:
> Hello Alfonso,
>
> Disclaimer: I'
Hello Alfonso,
Disclaimer: I'm not very familiar with struts and faces because I refuse to use
anything that relies on XML for more than initial configuration.
So, t5. I will focus on things that I personally find less than ideal. I don't
do this because I dislike tapestry ( I like it!) but I t
> Oh, are you still using Maven? My condolences;
You mean, mean man! :)
Thanks for your response to my IOC Problem, turns out I can't get to the
ServletContext so for now I'll strategically lower the priority of this
validator :)
-Original Message-
From: Howard Lewis Ship [mailto:hl
Hello Guys,
I'm wondering, in a Tapestry Webapp scenario, how is it possible to obtain a
reference to the IOC Registry for a (or all) currently loaded module(s). I know
about RegistryBuilder but build() says to only call it once. Looking at the
source code, it does not seem to be caching the Re
30. August 2011 13:22
To: Tapestry users
Subject: Re: Formsupport store
On Tue, 30 Aug 2011 06:40:39 -0300, Wechsung, Wulf
wrote:
> Hello Thiago,
Hi!
> thanks for your reply.
:)
> I understand that store could be used to hook any code into form
> submission. I was trying to say
Hello Guys,
having a small problem with custom components with forms in zones and while
looking at the build-in components it occurs to me that quite a few of them use
the Formsupport.store to restore some state to the component, presumably when
the form submits. Unfortunately, I haven't quite
Hello Guys,
I think I found a bug in the if components evaluation of the test property
expression with regards to zone updates. Specifically I can reproduce that an
in a like the following:
1) test on not nullness of some reference (let's call it object) ie does
not display the appro
Hi Users@tapestry,
I'm trying to implement a generic "bread crumb" component in t5 (5.2.4). The
component should render out a list of previously accessed page links like this:
Index > Page1 > Page2
For this I need the active page name (many sources for that, RequestGlobals
i.e) and the the Even
Hello Angelo,
best use a request Filter. For example:
public class IEStandardModeHeader implements RequestFilter {
private static final String HEADER_KEY = "X-UA-Compatible";
@Override
public boolean service(Request request, Response response,
RequestHandler
Hello Donny, Hello Angelo,
today I faced exactly the same issue and wasted hours on google before finding
and implementing your fix. Thanks for sharing!
IE8 really is a piece of work ... wasted hours yesterday trying to force it to
not display my intranet site in compatibility mode because the
, Jan 20, 2011 at 11:47 AM, Wechsung, Wulf wrote:
>
> Thanks the response! Since I wanted the mixin to work seamless I went with
> copying the Grid, extending it to implement ClientElement and delegating the
> new getClientId() to the "Any table" component. Hopefully Howar
Hello Tobi,
Without knowing the specifics of the problem you face:
- using the the firefox plugin "firebug" it's possible to debug (and view) any
JavaScript file on the current page. You can set breakpoints and everything.
- when using m2eclipse it's possible to tell it to download sources. Go
nd Regards, Wulf
-Original Message-
From: Igor Drobiazko [mailto:igor.drobia...@gmail.com]
Sent: Mittwoch, 19. Januar 2011 17:35
To: Tapestry users
Subject: Re: Grid and clientId
Just provide a value for the informal parameter id.
On Mon, Jan 17, 2011 at 5:53 PM, Wechsung, Wulf wrote
Hello fellow tapestriants,
I'm trying to do a mixin for grids. As usual, the mixin does some javascript
which I output in the @AfterRender of the mixin. Naturally, in the javascript I
would like to reference the client-side representation of the element that is
being "mixed into" (the grid's ta
I agree with Tom. I think the linked comment thread is more like what you would
expect from kiddy console flame war. If you don't like something why put effort
into writing about how you don't like it? I would never get anything done ...
If someone was seriously concerned about people sinking t
at 8:43 AM, Wechsung, Wulf wrote:
> Hello Tapestry Users,
>
> I'm writing to you because I would like to add a filter functionality to
> the Grid component. In short, this filter consists of a text field per
> column in the header row. Text entered there should filter out al
Hello Tapestry Users,
I'm writing to you because I would like to add a filter functionality to the
Grid component. In short, this filter consists of a text field per column in
the header row. Text entered there should filter out all rows that don't match
the text. To make clearer what I mean, I
66 matches
Mail list logo