Re: https://issues.apache.org/jira/browse/TAP5-2630

2023-08-01 Thread Jens Breitenstein
it would be to implement it in the PlasticClass transformation. The change in final handling is most likely related to an older ticket of mine https://issues.apache.org/jira/browse/TAP5-2630 Cheers Ben On Tue, Aug 1, 2023 at 2:57 PM Jens Breitenstein wrote: HI! I noticed due to JDK 11 there is a sub

https://issues.apache.org/jira/browse/TAP5-2630

2023-08-01 Thread Jens Breitenstein
HI! I noticed due to JDK 11 there is a subtile change in handling of final fields and initialization. On rare cases we used final fields including @Property(write = false), which is no longer working. Example:     @Property(write="false") private final String[] _keys = new String[] {   

T5.8.3 upgrade of old webapp

2023-08-01 Thread Jens Breitenstein
Hi! we are currently trying to upgrade our webapp from T5.4 to T5.8.3 The migrator did his job, entire applications builds and starts, well, partly. It looks like our migration is incomplete because we use two external libs "federated-accounts" and "json-bindinding". We made a fork of both,

Re: T5.8.3 upgrade T5.4 webapp

2023-08-01 Thread Jens Breitenstein
d out that the new Module organization could lead to missing one if you don't use the TapestryFilter directly, like via web.xml: https://lists.apache.org/thread/ocy882q8tgdyq6j3mjs50mjx4y7l7yod You could try to import the TapestryModule in your AppModule explicitly. Cheers Ben On Mon

Fwd: T5.8.3 upgrade T5.4 webapp

2023-07-31 Thread Jens Breitenstein
Hi! we are currently trying to upgrade our webapp from T5.4 to T5.8.3 The migrator did his job, entire applications builds and starts, well, partly. It looks like our migration is incomplete because we use two external libs "federated-accounts" and "json-bindinding". We made a fork of both,

Re: Apache FOP integration

2022-01-27 Thread Jens Breitenstein
Hi Volker! The only interaction with Tapestry is the StreamResponse from an EventHandler to the client. So are you asking for this part or is it more general „how do I create pdfs using fob“ which is honestly not related to tapestry? Von meinem iPhone gesendet > Am 27.01.2022 um 08:19 schrieb

Re: Tapestry 5.5 progress (Glyphicons not showing)

2020-01-15 Thread Jens Breitenstein
Hi Chris, We never had issues with glyphicons locally but we do have issues (sometimes) in production when IT Admin people disallow loading of fonts and the firewall drops these files. That's the reason we use png's instead, which is a real pain. If this is your problem and anyone has a solut

Re: Re: Open Discussion: remove Bootstrap from T5 core

2019-02-15 Thread Jens Breitenstein
it is right now. Eventually we will release it as open-source, but having an integration into Tapestry (as a new tapestry-*) would be even nicer :-) Best regards Ben On Thu, Feb 14, 2019 at 10:14 AM Jens Breitenstein wrote: Hi Tapestry guys! I want to hear/read your opinion about getting ri

Open Discussion: remove Bootstrap from T5 core

2019-02-14 Thread Jens Breitenstein
Hi Tapestry guys! I want to hear/read your opinion about getting rid of the Bootstrap Library from T5 core. I would like to move all BS related code (css/js) to a seperate module like "tapestry-bootstrap3" and decouple the hardcoded BS from T5. Furthermore I would like to see a second module "t

Re: How to disable the tapestry default loading on refresh page

2018-12-12 Thread Jens Breitenstein
Hi! What does "freezes my application" mean? Maybe your business logic creates a deadlock? Maybe a thread dump will give some insights why it is hanging? Jens Am 12.12.18 um 12:00 schrieb Rbsn Lbk: Hi, I am having some issues with the default Tapestry loading on refresh the page. I will

Re: data-icon for option within t:select

2018-11-15 Thread Jens Breitenstein
Hi David/Ben The SelectModelRender makes use of attributes by     ...     writeAttributes(optionModel.getAttributes());     ... And this method is implemented first in "AbstractOptionModel" and returns "null". So as Ben stated just adding the entry     "data-icon" -> "glyphicon glyphicon-eye

Re: create EventLink without onPassivate

2018-08-22 Thread Jens Breitenstein
s with an activation context different from the current one? This doesn't look good at first look, to be honest. On Thu, Aug 16, 2018 at 10:35 AM Jens Breitenstein wrote: Hi all! I use ComponentResources to create my EventLinks. As the page context (in this example "id") is added

create EventLink without onPassivate

2018-08-16 Thread Jens Breitenstein
Hi all! I use ComponentResources to create my EventLinks. As the page context (in this example "id") is added to the link onPassivate gets called. This results in a link like     /mypage:mycomponent?t:ac=id Each component context "cc1", "cc2" passed to the createEventLink method results in

Re: Override tapestry5 datefield default format

2018-04-11 Thread Jens Breitenstein
Hi! Maybe this helps: We wrote our own component, modify as you like public class DateFormatter { @Inject private Messages_messages; @Parameter(required =true, defaultPrefix ="prop")private Date_date; @Parameter(required =false, defaultPrefix ="literal")private String_format;

Re: how to define a new asset domain

2016-05-10 Thread Jens Breitenstein
Hi David! If I look at the classes implementing AssetFactory there is ExternalUrlAssetFactory, maybe this is what you want (file:///your-dir/your-asset.png)? AssetModule.java configures all context asset factories so you have to contribute configuration.add("file", new ExternalAssetFacto

Re: Page redirect in tapestry5

2016-03-04 Thread Jens Breitenstein
Hi Barry, Am 04/03/16 um 13:00 schrieb Barry Books: Using data directly from the client is never a good idea. While in this case it's probably fine it's a bad habit to fail into. Agreed I would make a enum with the Cookie string and the page class. Use enum.valueOf(cookie) to convert from Stri

Re: T5.4 and OLD Hibernate 3x

2016-01-13 Thread Jens Breitenstein
4.x. I know, it always sucks upgrade several libs at once. Kalle On Mon, Jan 11, 2016 at 4:47 PM, Jens Breitenstein wrote: Hi Thiago, thanks for your answer! After some "more" dependency exclusions, the following (hibernate related) libs are left: * org.apache.tapestry

Re: T5.4 and OLD Hibernate 3x

2016-01-11 Thread Jens Breitenstein
.loadClass(WebappClassLoaderBase.java:1293) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1145) ... 68 more Any other idea? Jens Am 11.01.16 um 17:08 schrieb Thiago H de Paula Figueiredo: On Mon, 11 Jan 2016 14:06:15 -0200, Jens Breitenstein wrote: Hi All

T5.4 and OLD Hibernate 3x

2016-01-11 Thread Jens Breitenstein
Hi All, I am migrating an application from T5.3.8 to T5.4. In the past the application was based one Hibernate 3x but T5.4 seems to make use of Hibernate 4 explicitly (correct me if I am wrong). So currently I am facing the following exception: Caused by: java.lang.NoSuchMethodError: org.hi

Re: Is tapestry plastic incompatible with JEE specs?

2015-12-17 Thread Jens Breitenstein
Hi Luca a) via Graddle I built the ear which is located below build/libs/. b) I created a JBoss (Wildfly 9) Project, added the ear as external dependency because Intellij did not notice it as project artifact (why ever) and started it. c) opened a webbrowser pointing to http://localhost:8080/w

Re: AssetSource T5.4 rc 1

2015-12-17 Thread Jens Breitenstein
setSource.getClasspathAsset( "/META-INF/assets/images/congratulations.png", currentLocale); return asset.toClientURL(); } Geoff On 16 Dec 2015, at 10:38 pm, Jens Breitenstein wrote: Hi all! I am struggling with the new asset behaviou

AssetSource T5.4 rc 1

2015-12-16 Thread Jens Breitenstein
Hi all! I am struggling with the new asset behaviour in T5.4 and maybe one of you can point me in the right direction When using an asset directly from a TML the image is correctly located and shown. The URL has been replaced to: url(/new/assets/meta/595abbf1/img/my.png) as described in th

Re: Is tapestry plastic incompatible with JEE specs? SADLY YES, BUT HERE IS A WORKAROUND

2015-12-15 Thread Jens Breitenstein
Hi Larzeni, The project you provided as download only builds a WAR not EAR. As the WAR declares all dependencies as "provided" it won't run anyway. Can you provide the EAR gradle project? I downloaded Wildfly, Graddle but I need your full "environment" to test it. Can you update it, please? I

Re: formatting attributes

2014-05-15 Thread Jens Breitenstein
What about a component like this: public class DateFormatter { @Inject private Messages _messages; @Parameter(required = true, defaultPrefix = "prop") private Date _date; @Parameter(required = false, defaultPrefix = "literal") private String _format; boolean beginRender(final

Fwd: QName::=(NCName':')?NCName error when tml is parsed

2014-05-11 Thread Jens Breitenstein
;Illegal libray mapping name" exception. What do you think? Jens Von meinem iPhone gesendet Am 06.05.2014 um 00:42 schrieb Jens Breitenstein mailto:mailingl...@j-b-s.de>>: Hi T5 Users! I am struggling with an strange error in T5.3.7 and hopefully one of you can give me a hint how

QName::=(NCName':')?NCName error when tml is parsed

2014-05-05 Thread Jens Breitenstein
Hi T5 Users! I am struggling with an strange error in T5.3.7 and hopefully one of you can give me a hint how to track it down.. I wrote a "Icon" component to show bootstrap glyphicons: public class Icon { @Parameter(required = true, defaultPrefix = BindingConstants.LITERAL) @Property

Re: object based security (owner)

2014-03-15 Thread Jens Breitenstein
Hi Ken! this sounds more like a "persistence" question, to be honest. How do you store / persist the user data? Jens Am 15.03.14 06:44, schrieb Ken in Nashua: Hi Folks, I want to create a web site data model whereby... whatever a user creates... they own. And when they come back to the

Re: IndieGogo campaign: a month of Apache Tapestry 5

2013-12-09 Thread Jens Breitenstein
done! Am 09.12.13 23:53, schrieb Chris Mylonas: $3880 / $4500 $620 to go On Tue, Dec 10, 2013 at 7:21 AM, Joachim Van der Auwera wrote: Great initiative, twelve hours and 740$ to go. Let's make it happen! May I remind you that Thiago will not receive any money (donations are refunded) whe

Re: Web frameworks

2013-11-20 Thread Jens Breitenstein
Emmanuel, please stop your spam. This is a mailing list for developers even stupid ones like us using tapestry. Create your little Facebook page name it "Tapestry sucks" add a "I dislike it too" button or something else and we all can continue with more serious stuff. Jens Am 20.11.13 22:1

Re: Loop / Zone / Form-submit broken(?)

2013-11-05 Thread Jens Breitenstein
} final XValue xValue = (XValue) o; if (!_pk.equals(xValue._pk)) { return false; } return true; } @Override public int hashCode() { return _pk.hashCode(); } @Override public String toString() { final StringBuilder

Loop / Zone / Form-submit broken(?)

2013-11-03 Thread Jens Breitenstein
Hi All! I am struggling since days with a Tapestry Bug(?) and maybe one of you have an idea whats wrong or what my mistake may be... Scenario: I use a loop to display multiple rows in a table. Each row allows inline editing if the user presses a link. Due to link pressing the particular row'

Re: [5.4] Is preview-able TML dead?

2013-10-30 Thread Jens Breitenstein
I believe it strongly depends what you want and use from Tapestry. For example: The BeanEditor is a great component to display something quickly but at the very end I never used it, because you can not (or at least I am to stupid to) control exactly the look and feel / positioning of all field

onActivate not called / Ajax / Shiro

2013-10-27 Thread Jens Breitenstein
Hi all! I have a strange problem and maybe one of you can give me a hint... Basically I have a table and each individual forms it's own zone and can be replaced independently from each other by an eventlink (works perfectly). Next I added @RequiresPermissions("MyPermission:modify") on the ev

Re: How to make login to database virtual mutually exclusive per user

2013-10-23 Thread Jens Breitenstein
Hi Ken, how is this related to Tapestry? Am 23.10.13 22:30, schrieb Ken in Nashua: Hi Folks, I have a database. And I want all users to login... But I want all my code to cater to each user, regardless of how many are logged in SAME CODE BASE... UNLIMITED USERS... CONCURRENCY... CONTEN

Re: ClassCastEx / LinkageError

2013-06-21 Thread Jens Breitenstein
Yes, Lance this did the trick. Stupid me, a closer look at the Zone class should have told me it's not an interface... Thanks Jens Am 21.06.13 12:39, schrieb Lance Java: You can't reference a transformed class (component /page / mixin classes) directly from a service as the classloaders a

ClassCastEx / LinkageError

2013-06-21 Thread Jens Breitenstein
Hi All! I have a strange problem with Zone and maybe you have an idea... This works as expected in a page (injecting the required services and return a zone or body/block from an event handler): @Inject private AjaxResponseRenderer _arr; @Inject private Request _request; @InjectC

Re: bootstrap popover, tooltip

2013-06-03 Thread Jens Breitenstein
s/Tooltip.java It seems to be woking ^^ On 3 Jun 2013, at 22:23, Jens Breitenstein wrote: Hi Mischa, hi Jan! You mean this: http://tapestry5-jquery.com/mixins/docstooltip ? There is an example on the same page, too including code. Or can you please describe what particular information y

Re: bootstrap popover, tooltip

2013-06-03 Thread Jens Breitenstein
Hi Mischa, hi Jan! You mean this: http://tapestry5-jquery.com/mixins/docstooltip ? There is an example on the same page, too including code. Or can you please describe what particular information you need? Jens Am 03.06.13 23:09, schrieb Mischa Tuffield: Hey Jan, I am currently looking a

Re: npe on simple type usage

2013-05-31 Thread Jens Breitenstein
Ken, I am glad you figured it out. But next time can you please examine the stacktrace more carefully? Let me show you what I mean: at org.apache.tapestry5.ioc.internal.util.ConstructorInvoker.invoke(ConstructorInvoker.java:48) at org.apache.tapestry5.ioc.internal.util.LoggingInvokab

Re: property bindings

2013-05-28 Thread Jens Breitenstein
Hi Ken, somethings I get the feeling you use this mailinglist like a chat system providing much info in many many small chunks. Can't you just gather all information first and afterwards throw it to the mailinglist? And for this particular topic, I miss the stacktrace maybe I did not see it. C

Re: jQuery/bind mixin does not submit field value onChange

2013-05-28 Thread Jens Breitenstein
Hi Ben! Any particular reason why you need bind for capturing the change event of a select? This works for me (honestly not tried in a AjaxFormLoop, so don't kill me): t:validate="required" blankOption="Always" value="schoolFinderSearchOptionValue" zone="schoolFinderZon

AjaxFormLoop + multiple Zones

2013-05-28 Thread Jens Breitenstein
Hi All! I use the AjaxFormLoop to render a table with multiple columns and provide inplace-editing capabilities by replacing a particular row with a different block content. Now I added a Button "SAVE" outside the AjaxFormLoop component to save all changes made in "one transaction", but I onl

Re: Tapestry Jquery Bind

2013-05-22 Thread Jens Breitenstein
Hi All! I struggeld with something similar for some days maybe it helps you to see how I solved my problem and maybe you can reuse something...Basically I tried to find a work around for the autocomplete mixin limitations, which just accepts string as return type, thus rendering complex value

Re: how to use HibernateEntityValueEncoder

2013-05-13 Thread Jens Breitenstein
Hi Ken, please paste the whole Bean class, too. I got an NPE in the past due to an leading underscore in my pk member name. "_pk" --> NPE "pk" --> works fine. Guess this is a bug, because Tapestry in general is happy with "_" when accessing properties. Jens Am 13.05.13 23:26, schrieb Ken

HibernateValueEncoder NPE

2013-05-04 Thread Jens Breitenstein
Hi All! I detected a bug(?) in the HibernateEntityValueEncoder. When the hibernate entity's primary key contains an underscore in the primary key member name e.g. private Long _pk; than the HibernateValueEncoder fails with: Caused by: java.lang.NullPointerException at org.apache.t

HibernateEntityValueEncoder NPE

2013-05-04 Thread Jens Breitenstein
Hi All! I detected a bug(?) in the HibernateEntityValueEncoder. When the hibernate entity's primary key contains an underscore in the primary key member name like private Long _pk; than the HibernateValueEncoder fails with: Caused by: java.lang.NullPointerException at org.apache.ta

HibernateValueEncoder NPE

2013-05-04 Thread Jens Breitenstein
Hi All! I detected a bug(?) in the HibernateEntityValueEncoder. When the hibernate entity's primary key contains an underscore in the primary key member name like private Long _pk; than the HibernateValueEncoder fails with: Caused by: java.lang.NullPointerException at org.apache.ta

onActivate UnknownValueException

2013-05-04 Thread Jens Breitenstein
Hi All! I use an enum as activation context parameter. Unfortunately in case the enum changes or more likely the user has a typo in the url Tapestry is unable to coerce the url param to enum and fails by throwing an exception (fair enough). Instead of using onActivate parameters I switched to

HibernateValueEncoder NPE

2013-05-04 Thread Jens Breitenstein
Hi All! I detected a bug(?) in the HibernateEntityValueEncoder. When the hibernate entity's primary key contains an underscore in the primary key member name like private Long _pk; than the HibernateValueEncoder fails with: Caused by: java.lang.NullPointerException at org.apache.ta

Autocomplete gotT5

2013-05-04 Thread Jens Breitenstein
Hi All! I have two questions concerning jquery/autocomplete and hopefully one of you can point me to the right direction. Part 1: Basically everything is working fine: onProvideCompletions is called and the list is displayed. Unfortunately I need to render a different href and text in the

tapestry hibernate integration NPE

2013-05-04 Thread Jens Breitenstein
Hi All! I detected a bug(?) in the HibernateEntityValueEncoder. When the hibernate entity's primary key contains an underscore in the primary key member name like private Long _pk; than the HibernateValueEncoder fails with: Caused by: java.lang.NullPointerException at org.apache.ta

Re: Handling onEvent change from a Select component

2013-04-23 Thread Jens Breitenstein
Hi Ben! I am using the tapestry-jquery mixin for this: tml: t:validate="required" value="yourValue" t:mixins="jquery/bind" bind.context="${yourValue.pk}" bind.event="yourSelectionChanged" bind.eventType="change"/> page: public Object onYourSelectionChanged(final long pk) { Syste

Re: Sevice State / Stateless

2012-09-15 Thread Jens Breitenstein
we use DOA's as singletons since 3 years in prod, without any issue. Again, a DOA will never have a state, why? A DOA should have methods like "List getPersonsBornInYear(final int year)" and every selection criteria gets passed as parameter. If you consider a method like "Order getOrder(fi

Re: Rendering cache

2012-07-29 Thread Jens Breitenstein
Hi Magnus, many thanks for the detailed cookbook. I will give it a try and let you know and have a nice holiday. Jens Am 30.07.12 00:03, schrieb Bård Magnus Kvalheim: Hi Jens, As it happens I too was thinking about this a while back. I didn't make any research, but I would probably look i

Re: Rendering cache

2012-07-28 Thread Jens Breitenstein
uery/ Keep the rendering as light as possible! Best, Christian Am 28.07.2012 um 13:11 schrieb Jens Breitenstein: Hi T5'ers we have some performance issues and started thinking about caching our pages (lets say parts of them to be precise). Due to the fact we are showing user related inf

Rendering cache

2012-07-28 Thread Jens Breitenstein
Hi T5'ers we have some performance issues and started thinking about caching our pages (lets say parts of them to be precise). Due to the fact we are showing user related information along with "public information" on a page, we can not make use of a simple web proxy caching. Therefore we ar

Re: Tapestry 5.3.4-rc-5

2012-06-15 Thread Jens Breitenstein TOC
Hi Howard, In the past we had severe problems with T5 when a tomcat was started under heavy load. It deadlocked reproduceble in the classloader / bytecode instrumentation area. Thus we workaround this issue but clicking the index page manually ones before adding the tomcat to the loadbalancer (

Re: why does tapestry force variables to be private?

2011-10-21 Thread Jens Breitenstein
that's an interesting OO discussion... :-) I would only use protected variables as long they are "final" to reduce the boring "getXY()" code. But "final" is not possible in our case as the variable's value is injected and not set via a constructor call. Therefore Thiago is right to my personal

Re: T5: how do i style variable of string and show it in tml?

2011-10-06 Thread Jens Breitenstein
hi wesley try to handle strings containing text and html styles jens Am 06.10.11 13:43, schrieb wesleywj2: hello, i would like to know how to style the variable in tml page. for eg. in my java class has a private String myMessage, normally i would just show ${myMessage} in my tml file.

Re: Intellij & jetty

2011-09-30 Thread Jens Breitenstein
Hi Taha! I'll use a) new project | maven b) edit configurations | add jetty server | local edit your newly created configuration and make sure "perform on update action" --> "hot swap classes" is selected afterwards if you build a class or module intellij prompts you for hot-swapping. the

Re: DEAD LOCK in VirtualAssetStreamer

2011-09-28 Thread Jens Breitenstein
us time to allow proper migration from 5.1.0.5? Any hint is highly appreciated Jens Am 22.09.11 17:52, schrieb Howard Lewis Ship: This is known and fixed in 5.2. On Thu, Sep 22, 2011 at 3:36 AM, Jens Breitenstein wrote: Hi All! It seems we encountered a serious concurrency bug in Tapestry 5.

DEAD LOCK in VirtualAssetStreamer

2011-09-22 Thread Jens Breitenstein
Hi All! It seems we encountered a serious concurrency bug in Tapestry 5.1> under high load. In our special case one thread was blocked and unable to respond and write an asset output stream. As virtual assets are shared and the same ByteArrayOutputStream is reused for the same asset accross mu

Re: [5.2.6] Advising the PageLoader Service

2011-09-05 Thread Jens Breitenstein
Hi Jack! I wonder what kind of page data you want to cache which is not provideable by a service? a) why not using a spring singleton or a plain java static? b) You can bind a service implementation (without interface) in your app module and inject it to your page if you're not using a spri

Re: Formsupport store

2011-08-30 Thread Jens Breitenstein
Hi Geoff, hi Wulf, hi All! Am 30.08.11 14:52, schrieb Geoff Callender: Hi all, The whole business of writing and storing ComponentActions does my head in - it's plumbing, and for the most part Tapestry is very good at hiding plumbing, but not when it comes to input components. I agree...it's

Re: @Property and @Parameter

2011-08-29 Thread Jens Breitenstein
at you can wire to get called all the time for property-bound parameters. Just my $.02 Thanks, Les Baker On Mon, Aug 29, 2011 at 10:52 AM, Taha Hafeez wrote: Yes, please On Mon, Aug 29, 2011 at 8:20 PM, Jens Breitenstein wrote: Hi Taha, hi Josh! well, that's what my gut feeling told

Re: @Property and @Parameter

2011-08-29 Thread Jens Breitenstein
On Mon, Aug 29, 2011 at 6:16 PM, Jens Breitenstein wrote: Hi All! I tried to use a combination of @Property and @Parameter. @Property(read = true, write = false) @Parameter(required = true) private String _myParam; unfortunately it seems to be impossible to "intercept" a set in suc

Re: @Property and @Parameter

2011-08-29 Thread Jens Breitenstein
meterWorker for details you can always use setupRender to setup things On Mon, Aug 29, 2011 at 6:16 PM, Jens Breitenstein wrote: Hi All! I tried to use a combination of @Property and @Parameter. @Property(read = true, write = false) @Parameter(required = true) private String _myParam; u

@Property and @Parameter

2011-08-29 Thread Jens Breitenstein
Hi All! I tried to use a combination of @Property and @Parameter. @Property(read = true, write = false) @Parameter(required = true) private String _myParam; unfortunately it seems to be impossible to "intercept" a set in such a case // >> NEVER CALLED public void String setMyParam(final

Re: components and events + ComponentAction + FormSupport

2011-08-23 Thread Jens Breitenstein
He Josh!! Am 23.08.11 19:50, schrieb Josh Canfield: Hmm.. every response from Jens is starting a new thread. Very hard to follow. On Tue, Aug 23, 2011 at 1:43 AM, Robert Zeigler wrote: That's not fair!! :-) I changed the "subject" field as the thread got a new direction (towards one out

Re: components and events + ComponentAction + FormSupport (SOLVED)

2011-08-23 Thread Jens Breitenstein
ok Robert! you are a genious, that did the trick. for all T5'ers interested in Robert's solution see below both possible versions. BUT: Incidentally, you mentioned validate in your previous e-mail... each form component fires its own validate event, so the validate event you mentioned befor

RE: components and events + ComponentAction + FormSupport

2011-08-23 Thread Jens Breitenstein
Hi Robert (and all others), sorry to bother you, but I implemented a ComponentAction and use FormSupport as you suggested it. And it's near to what I need :-) Unfortunately the "execute" method is called before tapestry updates the property thus I see the orginal value not the new one? Any id

Re: components and events

2011-08-22 Thread Jens Breitenstein
Hi Robert! again, many thanks for you input, I really appreciate this discussion and time you spent If you're using tapestry's form components inside your component, and binding the values, then all of the values should be updated automatically. The main thing is to make sure that the prop

Re: components and events

2011-08-22 Thread Jens Breitenstein
s become part of formSupport and let you know the results Many thanks Robert for the quick help On Aug 22, 2011, at 8/223:26 PM , Jens Breitenstein wrote: Hi Robert! I have a hugh and complex form and tried to create components and cut down the page code. Each component gets access to the mo

Re: components and events

2011-08-22 Thread Jens Breitenstein
n't see the form's event. What are you trying to accomplish? Robert On Aug 22, 2011, at 8/223:04 PM , Jens Breitenstein wrote: Hi all! is it possible for a component to listen to the "success" event from the enclosing form? I tried various onEvent combinations but m

components and events

2011-08-22 Thread Jens Breitenstein
Hi all! is it possible for a component to listen to the "success" event from the enclosing form? I tried various onEvent combinations but my annotated component method is never called... Jens - To unsubscribe, e-mail: users

Re: component inheritance T5.2.5 (SOLVED!)

2011-08-15 Thread Jens Breitenstein
Hi Thiago!! I found a workaround!!! Definitely ComponentInstantiatorSource is your friend. Decorating this one allows me exactly to replace the componts I want to change. code: I saw you pasted it but did not see a difference. I'll stick it in SmartSync later :-), maybe I am near to blindn

Re: component inheritance T5.2.5

2011-08-15 Thread Jens Breitenstein
Thiago, do you use multiple modules? - we are building running T5 apps per layer - each layer is build by mvn thus containing a root pom. - all layers may depend on jars from "upper" layers to assemble a new T5 app (just by jar dependencies). - we have a module per layer and annotate it by @SubM

Re: component inheritance T5.2.5

2011-08-15 Thread Jens Breitenstein
lready had write access replaced". Jens Am 15.08.11 13:00, schrieb Thiago H. de Paula Figueiredo: On Sun, 14 Aug 2011 19:06:25 -0300, Jens Breitenstein wrote: ok, next step... Hi! this code below shows me all components from my current module/layer, but the classes I want to &quo

T5.2.5 component inheritance / ComponentClassResolver

2011-08-15 Thread Jens Breitenstein
Hi all! I am still trying to replace an existing compont class by a derived version. As @Advise did not work I tried to decorate the CCR (see module code below). Unfortunately its not working too but the result is consice between the advised and decorated version. The service gets created but

Re: component inheritance T5.2.5

2011-08-14 Thread Jens Breitenstein
ame]"); } } Am 14.08.11 15:28, schrieb Thiago H. de Paula Figueiredo: On Sun, 14 Aug 2011 10:03:37 -0300, Jens Breitenstein wrote: Hi Thiago! Hi! Thanks for your response but I do not get you. What do you mean by "checking the generated xml"? HTML, not XML. O

Re: component inheritance T5.2.5

2011-08-14 Thread Jens Breitenstein
e the compent "A" by "B". But intercepting a service would allow me (and all of us) to transparently inject derivded components without the need of touching tml's. Jens Am 14.08.11 14:07, schrieb Thiago H. de Paula Figueiredo: On Sat, 13 Aug 2011 09:26:27 -0300, Jens B

component inheritance T5.2.5

2011-08-13 Thread Jens Breitenstein
hi All! I have some trouble concerning component inheritance. My scenario is something like: A.tml http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; xmlns:p="tapestry:parameter" class="mini-basket-items"> A.class -- public class A { public String getValueForA()

Re: link transformation T5.2.5 (SOLVED)

2011-08-13 Thread Jens Breitenstein
return _request.getMethod(); } public int getLocalPort() { return _request.getLocalPort(); } public int getServerPort() { return _request.getServerPort(); } } } Am 11.08.11 12:28, schrieb Jens Breitenstein: Hi All!

Re: merging global message catalogs T5.2.5 (SOLVED)

2011-08-10 Thread Jens Breitenstein
Hi Thiago! thanks, it's solved (see my mail based on Igor's sample) Jens Am 10.08.11 21:07, schrieb Thiago H. de Paula Figueiredo: On Wed, 10 Aug 2011 13:09:38 -0300, Jens Breitenstein wrote: Hi Thiago! Hi! puh, this is more a less a real time chat not a mailinglist :-

Re: merging global message catalogs T5.2.5

2011-08-10 Thread Jens Breitenstein
Wished I found that in your book (or I missed it?) Many thanks Igor, it works.. for all of you having the same problem. This is the contrib section based on Igor's solution: @Contribute(ComponentMessagesSource.class) public static void provideMessages(final @Value("/de/domain/client/x

merging global message catalogs T5.2.5

2011-08-10 Thread Jens Breitenstein
Hi all! We have a WebApp and are currently developing a more or less similar App with extended / slightly changed functionality (yes a customized versision). Instead of C&P we use inheritance through all technical layers (starting from Hibernate-DB over Spring-Services to T5-classes) to imple

Tapestry5 IOC Spring-Alias

2010-05-02 Thread Jens Breitenstein
Hi all! I use a spring alias which causes me some headache, because I get Caused by: org.apache.tapestry5.ioc.internal.OperationException: Spring context contains 2 beans assignable to type mypackage.IService: myPackage.IServiceAlias, mypackage.IService. at org.apache.tapestry5.ioc.intern

Re: Using javax.servlet and tomcat (TapestryFilter cannot be cast to javax.servlet.Filter)

2010-03-02 Thread Jens Breitenstein
use provided in the mvn dependency section when including the javax.servlet thing... javax.servlet servlet-api 2.5 provided Jens Am 02.03.10 19:18, schrieb Thiago H. de Paula Figueiredo: On Tue, 02 Mar 2010 15:09:52 -0300, oskar_a wrote: Hi, Hi! I have an Problem using T5 and javax.

Re: T5 retrieve page / classes

2009-10-13 Thread Jens Breitenstein
. thanks Thiago H. de Paula Figueiredo schrieb: Em Tue, 13 Oct 2009 14:29:34 -0300, Jens Breitenstein escreveu: Hi all! Hello! I know that all pages live below the "pages" directory but this information is not enough to get the page-classes by the Classloader. Due to the fa

T5 retrieve page / classes

2009-10-13 Thread Jens Breitenstein
Hi all! I know that all pages live below the "pages" directory but this information is not enough to get the page-classes by the Classloader. Due to the fact tapestry needs to know the available pages anyway, can I access some internal voodoo magic :-) to get a List or iterator to my pages?