RE: AW: Splitting a tapestry web app into modules

2015-04-22 Thread Wechsung, Wulf
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

RE: Tapestry Classes Logging with Application Loggers

2014-10-27 Thread Wechsung, Wulf
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

Tapestry Classes Logging with Application Loggers

2014-10-24 Thread Wechsung, Wulf
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

Problem with reinitializing a registry

2014-04-28 Thread Wechsung, Wulf
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

RE: Interface "Request"

2013-11-18 Thread Wechsung, Wulf
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, >

Interface "Request"

2013-11-18 Thread Wechsung, Wulf
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

RE: Suppressing t5 translations

2012-10-30 Thread Wechsung, Wulf
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

Suppressing t5 translations

2012-10-30 Thread Wechsung, Wulf
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

moving the Application Message Catalog

2012-10-26 Thread Wechsung, Wulf
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

RE: Tapestry & hibernate session - without tapestry-hibernate module

2012-10-12 Thread Wechsung, 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.

RE: Tapestry & hibernate session - without tapestry-hibernate module

2012-10-12 Thread Wechsung, Wulf
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

RE: pages and components

2012-10-11 Thread Wechsung, Wulf
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

T5 and JS UI Frameworks

2012-10-08 Thread Wechsung, Wulf
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

RE: tapestry.apache.org down / slow

2012-04-11 Thread Wechsung, Wulf
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.

tapestry.apache.org down / slow

2012-04-10 Thread Wechsung, Wulf
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

RE: Generating HTML email content with Tapestry?

2011-12-23 Thread Wechsung, Wulf
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

RE: tapestry, hibernate and timeout

2011-11-28 Thread Wechsung, Wulf
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

RE: Beaneditform with two submit buttons?

2011-11-07 Thread Wechsung, Wulf
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

RE: Beaneditform with two submit buttons?

2011-11-07 Thread Wechsung, Wulf
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

Add attribute to form element

2011-11-03 Thread Wechsung, Wulf
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

RE: Enum Value display

2011-10-24 Thread Wechsung, Wulf
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

Enum Value display

2011-10-24 Thread Wechsung, Wulf
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

RE: Error Page

2011-10-22 Thread Wechsung, 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

RE: ComponentResources.getInformalParameterNames()

2011-10-22 Thread Wechsung, Wulf
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

FW: Error Page

2011-10-22 Thread Wechsung, Wulf
: 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

RE: ComponentResources.getInformalParameterNames()

2011-10-22 Thread Wechsung, Wulf
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

RE: ComponentResources.getInformalParameterNames()

2011-10-22 Thread Wechsung, Wulf
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

RE: ComponentResources.getInformalParameterNames()

2011-10-22 Thread Wechsung, Wulf
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 >

RE: ComponentResources.getInformalParameterNames()

2011-10-22 Thread Wechsung, Wulf
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

RE: progressive display

2011-10-21 Thread Wechsung, Wulf
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

Error Page

2011-10-21 Thread Wechsung, Wulf
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

ComponentResources.getInformalParameterNames()

2011-10-21 Thread Wechsung, Wulf
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 ...

progressive display

2011-10-19 Thread Wechsung, Wulf
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.

RE: Practical jQuery Integration

2011-10-17 Thread Wechsung, Wulf
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

RE: [ANN] JumpStart drops @Persist from Grid, Loop, and AjaxFormLoop examples!

2011-10-17 Thread Wechsung, Wulf
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

RE: Practical jQuery Integration

2011-10-17 Thread Wechsung, Wulf
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

RE: Page is getting cached in Tapestry 5.0.18

2011-10-15 Thread Wechsung, Wulf
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.

RE: An Appeal To Use the Latest Betas

2011-10-14 Thread Wechsung, Wulf
. 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

RE: T5.3 date picker - no way to change/remove yellow highlight?

2011-10-14 Thread Wechsung, Wulf
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

RE: An Appeal To Use the Latest Betas

2011-10-14 Thread Wechsung, Wulf
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

RE: T5.3 date picker - no way to change/remove yellow highlight?

2011-10-14 Thread Wechsung, Wulf
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

BeanEditor & Bugs

2011-10-11 Thread Wechsung, Wulf
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

RE: Block parameter

2011-10-05 Thread Wechsung, Wulf
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

RE: Block parameter

2011-10-05 Thread Wechsung, Wulf
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

Block parameter

2011-10-05 Thread Wechsung, Wulf
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

RE: CSS for all pages

2011-09-28 Thread Wechsung, Wulf
; > @Import(stylesheet="context:myApp.css") > public class CssMixin { > } > > in your module, add > > public static void > contributeComponentClassTransformWorker(OrderedConfiguration > configuration) { >        configuration.addInstance("CssMixin&

CSS for all pages

2011-09-28 Thread Wechsung, Wulf
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

Jetty lock on JS-file [Redux]

2011-09-14 Thread Wechsung, Wulf
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)

RE: tapestry ready for production?

2011-09-11 Thread Wechsung, Wulf
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? >

RE: tapestry ready for production?

2011-09-11 Thread Wechsung, Wulf
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'

RE: tapestry ready for production?

2011-09-11 Thread Wechsung, Wulf
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

RE: 5.3-beta-5

2011-09-09 Thread Wechsung, Wulf
> 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

Tapestry IOC

2011-09-08 Thread Wechsung, Wulf
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

RE: Formsupport store

2011-08-30 Thread Wechsung, Wulf
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

Formsupport store

2011-08-29 Thread Wechsung, Wulf
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

Possible bug in if evaluation (T5.2)

2011-08-24 Thread Wechsung, Wulf
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

Filter and Component sharing a SessionStateObject

2011-02-09 Thread Wechsung, Wulf
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

RE: t5: adding http header

2011-02-03 Thread Wechsung, Wulf
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

RE: t5: 5.2.4 and IE8

2011-01-25 Thread Wechsung, Wulf
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

RE: Grid and clientId

2011-01-20 Thread Wechsung, Wulf
, 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

RE: Grid onAction Problem IEM6

2011-01-20 Thread Wechsung, Wulf
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

RE: Grid and clientId

2011-01-20 Thread Wechsung, Wulf
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

Grid and clientId

2011-01-17 Thread Wechsung, Wulf
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

AW: Discussion

2010-12-21 Thread Wechsung, Wulf
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

AW: Advanced Grid

2010-12-15 Thread Wechsung, Wulf
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

Advanced Grid

2010-12-15 Thread Wechsung, Wulf
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