Missing output with global layouts (T5)

2008-07-24 Thread Udo Abel
I'm posting this for future searches on similiar problems: After renaming the package of my app I had strage effects in the output: Part of the pages where missing, depending on the follow-up tags, e.g., in the tml PrintOrNor the PrintOrNot paragraph only got printed, when the form was d

BeanInfo FAIL onLoad

2008-07-24 Thread Udo Abel
Hi, since I've renamed my application package I get error messages for all BeanInfo classes, e.g.: FAIL onLoad org.apache.tapestry5.corelib.components.FormBeanInfo I've recompiled all sources and cannot see where there should be a problem. Its the same with both, jetty 6.1.11 and tomcat 5.5.26.

Re: server hangs with parallel requests

2008-07-17 Thread Udo Abel
el requests > i had a similar problem > > after updating my environment to linux/java-1.6.0_6/jetty-6.1.11 > it works for me > > 2008/7/4 Udo Abel <[EMAIL PROTECTED]>: > > > Hi, > > > > I have a page with 4 iframes loading 4 different pages from a tapes

Re: TapestryFilter subclassing problem

2008-07-15 Thread Udo Abel
to my.package.structure.services whereas > web.xml points to my.package.structure > > > g, > kris > > > > > "Udo Abel" <[EMAIL PROTECTED]> > 14.07.2008 16:05 > Bitte antworten an > "Tapestry users" > > > An > &q

Re: Antwort: Re: TapestryFilter subclassing problem

2008-07-14 Thread Udo Abel
exactly as you > described it. and everything works fine for me. > > can you post more of your stackstrace? > > g, > kris > > > > > "Udo Abel" <[EMAIL PROTECTED]> > 14.07.2008 13:59 > Bitte antworten an > "Tapestry users" >

Re: TapestryFilter subclassing problem

2008-07-14 Thread Udo Abel
org.apache.tapestry5.TapestryFilter.java > > btw. you cannot override init() because it is marked final. > > g, > kris > > > > > "Udo Abel" <[EMAIL PROTECTED]> > 14.07.2008 08:55 > Bitte antworten an > "Tapestry users" &g

TapestryFilter subclassing problem

2008-07-13 Thread Udo Abel
Hi, when I try to subclass TapestryFilter to do some initialization in the overridden init(), I get a runtime exception during filter start: ERROR main org.mortbay.log - failed TapTest java.lang.RuntimeException: Error building service proxy for service 'ServletApplicationInitializer' (at org.

Localization in business objects

2008-07-09 Thread Udo Abel
Hi, is it possible to use the Tapestry Localization (message catalog) outside of pages and components, e.g. in business objects creating reports? A simple @Inject private Messages messages; doesn't work. Of course Tapestry could supply messages from the main application catalog only, bu

Re: Form event order issues

2008-07-06 Thread Udo Abel
ttonpage > > . > > > > By the way, onSuccess() is a dangerous place to put validation. See > https://issues.apache.org/jira/browse/TAPESTRY-1972 > > . > > > > Cheers, > > Geoff > > > > On 04/07/2008, at 8:40 PM, Udo Abel wrote: > >

Form event order issues

2008-07-04 Thread Udo Abel
Hi, I think the order of events during form submission should be described in a state diagram or so, otherwise you cannot know when to do what. I found out that the onValidate event is fired before any button select event. That means, in onValidateForm you don't know whether the user pressed "

form validation recorderror problem

2008-07-04 Thread Udo Abel
Hi, when I call the method form.recordError(field, message) in onValidateForm(), the field is highlighted but the message is not displayed (and not in the html anywhere). Anything else that need to be done here? Thanks, Udo. -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Intere

server hangs with parallel requests

2008-07-04 Thread Udo Abel
Hi, I have a page with 4 iframes loading 4 different pages from a tapestry 5 application. In 2 of 3 cases, th server hangs and does not return any page. When I first load 1 page, subsequent loading of the 4-page frame succeeds. Is there a possible synchronization problem? The stacks of the for

T5 method naming problems

2008-07-03 Thread Udo Abel
Hi, I want to report that you might get an javassist.bytecode.DuplicateMemberException during page load if you happen to name a getter method for injected ComponentResources variable on your page "getComponentResources". I think thats because the eclipse IDE does not know about additional memb

T5 date localization

2008-07-03 Thread Udo Abel
Hi - thanks for your inputs, yet here's another question: the localization in T5 is very nice - but it does not apply to dates (and numbers?). When I change the Locale, I expected that date formatting will also change, but it does not. The DateField component also ingores Locale (and t.format,

T5 actionlink id uniqueness

2008-07-03 Thread Udo Abel
Hi, there are often situations where you may want to put the same actionlink (same event handler) on several places of a page (e.g. navigation buttons on top and bottom of a page). Yet T5 does not allow two actionlinks to have the same id so they target the same event handler. How can that be

Re: T5 service injection outside pages

2008-07-03 Thread Udo Abel
mater and Tapestry will do > the rest for you. > > Uli > > Am Do, 3.07.2008, 09:40, schrieb Udo Abel: > > Hi, > > > > in my app, I have a service which works OK in pages and component > classes, > > but of course a lot of business logic is outside of tho

T5 service injection outside pages

2008-07-03 Thread Udo Abel
Hi, in my app, I have a service which works OK in pages and component classes, but of course a lot of business logic is outside of those classes in separate packages, where I need that service, too. But if I simple @Inject it as in page classes, it does not work (i.e. is null). Is the injectio

Re: T5 howto manually add a service module?

2008-07-02 Thread Udo Abel
trol over what modules are > loaded. > > However, the easier way is to figure out why your AppModule is not > being loaded; once that is loaded, you can place a @SubModule > annotation on it to expressly load whatever modules you want. > > On Wed, Jul 2, 2008 at 5:41 AM, Udo Abe

T5 howto manually add a service module?

2008-07-02 Thread Udo Abel
Hi, I want to add some services to the T5 IoC resgistry and have read a number of pages on how to write such a service, but I havn't found instructions on how to add the module class with service definitions to the registry, besides the hint that T5 autoloads module classes found in the manifes

Re: Creating new components on the fly in T5 using AJAX/JSON

2008-06-30 Thread Udo Abel
Hi Denis, that's a similiar problem I had (and partly still have): to render a component based on current application data. The suggested solution was to either - use the "if" - component to include the rendering of a component based on a test-condition. The test-condition is an application pr

grid pager replacement

2008-06-26 Thread Udo Abel
Hi, I want to replace them pager of the grid component with some individual design. On nabblem I found the hint "You could use pagerposition="none" and supply your own component to perform the paging. " from Howard. I tried that by copying the GridPager into an own modified component and place

empty block in grid - how?

2008-06-25 Thread Udo Abel
Hi, I wanted to define a message as a replacement of the default empty-message in the Grid component, but I could not find any hint on how to define such a block. Casting the parameter to "message" or "literal" does not work. Btw., I think the documentations lacks some essential information. E.

Re: BeanModel and complex types?

2008-06-25 Thread Udo Abel
take a look https://issues.apache.org/jira/browse/TAPESTRY-2460 > it has two examples how to display a complex child property with another > block (containing another BeanEditor) > > g, > kris > > > > > "Udo Abel" <[EMAIL PROTECTED]> >

BeanModel and complex types?

2008-06-25 Thread Udo Abel
Hi, in many situations I have objects containing other objects as fields, resulting from a 1:1 reference in a database. E.g., an employee has a refrence to the subsidiary where he is working. In those cases I want to display the name of the subsidiary in a Grid component. The property can be acc

Re: programmatic component rendering

2008-06-25 Thread Udo Abel
e to do is to define the > > rules > > ( fine granular: uses the beantype, propertytype, the current page, and > a > > state) and pass in my bean to my pimped BeanEditor component. The > > contributed rules have a reference to the current bean and therefore can > > exc

programmatic component rendering

2008-06-23 Thread Udo Abel
Hi, we're planning a highly dynamic web app, where it is necessary to display certain components depending of the application state. E.g., in an address detail view there should be a paragraph which contains different details for a "customer" and a "supplier". Or if the balance of an account is

grid component exclude/inlcude has no effect (t5.0.10)

2008-06-23 Thread Udo Abel
Hi I have a grid component like this: which should have the same output as "reorder" but omit any further columns. I'm currently using t5.0.10 (due to tomcat startup problems with t5.0.13). Is that a known problem or am I doing something wrong? Thanks, Udo. -- Der GMX

t5.0.13 with tomcat again

2008-06-22 Thread Udo Abel
Hi, meanwhile I have tested a completely new installtion with the latest tomcat 6.0.16 and Java 1.6.0_06 on a windows machine (instead of ubuntu linux) as a plain tomcat installtion without any connection to eclipse. Tomcat is startet from the command line with all standard parameters. But stil

Re: t5.0.13 with tomcat start problem

2008-06-20 Thread Udo Abel
n: "Sven Homburg" <[EMAIL PROTECTED]> > An: "Tapestry users" > Betreff: Re: t5.0.13 with tomcat start problem > i am not sure, but i readed sometimes about problems between > javassist and java 1.6. > > have you tried java 1.5? > > 2008/6/20 U

t5.0.13 with tomcat start problem

2008-06-20 Thread Udo Abel
Hi, I hope someone has expierience with Tapestry 5.0.13 and tomcat. Version 5.0.10 worked fine, since 5.0.11 I got an error during tomcat startup: 20.06.2008 08:36:32 org.apache.catalina.core.StandardContext start SCHWERWIEGEND: Error filterStart 20.06.2008 08:36:32 org.apache.catalina.core.Stand