How to Localize persistent Objects

2008-05-28 Thread Bastian Voigt
it to the server. We have come to the point where this is becoming unacceptable. Is there a simple way to have tapestry reload these resource bundles maybe from an external file without redeploying the application? Or from a database table? - -- Bastian Voigt J2EE Developer Hamburg, Germany

Re: How to Localize persistent Objects

2008-05-29 Thread Bastian Voigt
ities, etc. - From the Wiki page: [LutzHuehnken] asks: If I understand correctly, this will affect *all* components. Is there a way to achieve this behaviour just for my own, custom components? Cheers Bastian - -- Bastian Voigt Hamburg -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.7 (GNU/Li

Re: How to Localize persistent Objects

2008-05-29 Thread Bastian Voigt
the current tapestry user's locale in the persistence layer, and how would you do that. Cheers Bastian > http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/i18n/i18n5.html > > We do quite the same with just one table for all texts. > > Cheers, >

Problem with Script and Border

2006-08-22 Thread Bastian Voigt
, only that it is inside the Border!! How to circumvent this error? Thanks for your time!! kind regards Bastian Voigt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with Script and Border

2006-08-22 Thread Bastian Voigt
Andy, thanks for your reply. Replace with Yeah of course, That was just a typo in the e-mail :) The problem is still there ... my Tapestry 4.0.2 application uses a border component: -- ... blah ... ... blah ... -- The page

Problem with Script and Border

2006-08-24 Thread Bastian Voigt
plate. [context:/Googlemaps_lite.html, line 26] at org.apache.coyote.tomcat5.CoyoteResponseFacade.reset(CoyoteResponseFacade.java:264) -- But I *have* a body component, only that it is inside the Border!! How to circumvent this error? Thanks for your time!! kind regard

Re: Loading Javascript from external asset

2006-08-30 Thread Bastian Voigt
andyhot schrieb: i would add the normal html

contrib:Table sorting and links

2006-09-12 Thread Bastian Voigt
Hello List, currently I'm trying to make a sortable table based on an O/R Mapper backend. Until now I was using my own "IBasicTableModel" implementation which allowed to get results fast. However, it does not allow to sort columns (sorting has no effect) and it also does not allow to display

Re: contrib:Table sorting and links

2006-09-13 Thread Bastian Voigt
Thanks four your reply, it works now! Must have been blind when reading the docs... Perhaps you could add a headline like "Customized Cell Rendering" Regards Bastian Voigt - To unsubscribe, e-mail: [EMAIL PROT

contrib:Table and FriendlyURL / S.E.O.

2006-09-23 Thread Bastian Voigt
ny ideas or "best practice" would be very much appreciated. Kind regards Bastian Voigt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Some Redirect after Post issues

2006-12-12 Thread Bastian Voigt
redirect. Second, I also noticed that form validation with delegates does not work with redirect-after-post. So for all forms that need to be validated, I cannot use this pattern which is not so nice. Has this been changed in newer tapestry versions? Regards Bastian Voigt -- Bastian Voigt

Re: Some Redirect after Post issues

2006-12-12 Thread Bastian Voigt
Additionally, it seems that even pageBeginRender is called when using redirect after post. Now this really makes no sense does it? On Tuesday 12 December 2006 10:50, Bastian Voigt wrote: > Hi *, > > In my project (tap 4.02) I make heavy use of the redirect-after-post > pattern wi

Re: Some Redirect after Post issues

2006-12-12 Thread Bastian Voigt
uot;session") annotation. Adding validators to the form text fields simply has no effect. The values are always accepted. > That's where the tapestry-flash can help - so that you get minimum > session usage. Yes, I

Re: Some Redirect after Post issues

2006-12-12 Thread Bastian Voigt
Andreas Andreou schrieb: Since the form is in an 'area page' and tapestry's submits trigger the same page (i.e. the listeners are found on the current page) it's only normal that the validation listener will complain... Can't you include the current area as a hidden form field, so that it get

Re: Inject EJB 3 into Tapestry 4 page

2006-12-20 Thread Bastian Voigt
Hi, did you find out anything? I am having the same problem. Regards Bastian Voigt On Monday 18 December 2006 21:44, Denis Souza wrote: > That's just about what I need, but for EJB 3. This service seems to assume > EJB 2.x since it requires a hom

Tap 4.1.2 Bug found ???

2007-07-10 Thread Bastian Voigt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, before I report a bug on this, I would like to hear some opinions since the bug is maybe difficult to describe and/or reproduce. I have written an AJAX component which makes use of the new EventListener api. This component is called VesselSuggest

Re: T4.1.2: problems with async EventListener

2007-07-10 Thread Bastian Voigt
>> java.lang.Thread.run(Thread.java:595) >> >> I didnt set any *Source or *Path statements in my Shell component. >> >> The EventListeners look like this one: >> >> @EventListener(elements = { "fittedArticleSelection_0", >> "f

Re: Tap 4.1.2 Bug found ???

2007-07-11 Thread Bastian Voigt
I will try if I find the time. - -- Bastian Voigt Neumünstersche Straße 4 20251 Hamburg telefon +49 - 40 - 67957171 mobil +49 - 179 - 4826359 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.m

Re: Tap 4.1.2 Bug found ???

2007-07-11 Thread Bastian Voigt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As I see in JIRA, this bug should be fixed in 4.1.3 As it is quite a critical bug to us, what can we do to fix it? Would it make sense to patch against 4.1.2? How can I make such a patch? Regards Bastian Voigt Bastian Voigt wrote: > [EM

Re: Tap 4.1.2 Bug found ???

2007-07-11 Thread Bastian Voigt
uot;); } > - is the form to be submitted asynchronously contained in the vesselSelect > component or does it contain the component? The form is contained in the component. Hope this helps!! Regards Bastian - -- Bastian Voigt Neumünstersche Straße 4 20251 Hamburg telefon +49 - 40

Re: Tap 4.1.2 Bug found ???

2007-07-11 Thread Bastian Voigt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry, I have to correct my last post: The for loop is _NOT_ nested in the form! Component HTML: - --- - input field <-- iterate over ajax search results - -- Bastian Voigt Neumünstersche Straß

T4.1: Submit and Informal Parameters

2007-08-29 Thread Bastian Voigt
html output. Is this maybe a bug? - -- Bastian Voigt Neumünstersche Straße 4 20251 Hamburg telefon +49 - 40 - 67957171 mobil +49 - 179 - 4826359 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG1XWq9

OGNL or expression problem - here it is again

2007-11-15 Thread Bastian Voigt
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(Standard|#] - -- Bastian Voigt Neumünstersche Straße 4 20251 Hamburg telefon +49 - 40 - 67957171 mobil +49 - 179 - 4826359 -BEGIN PGP

Warning: classpath resource does not exist !?!?

2007-01-24 Thread Bastian Voigt
at org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:60) at $WebRequestServicer_1104a38fd76.service($WebRequestServicer_1104a38fd76.java) at $WebRequestServicer_1104a38fd72.service($WebRequestServicer_1104a38fd72.java) -- Bas

Passing Array to JavaScript ?

2007-01-26 Thread Bastian Voigt
map. Thanks for your time! -- Bastian Voigt Neumünstersche Straße 4 20251 Hamburg telefon 040/67957171 mobil 0179/4826359 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Accessing EJB3s via annotations?

2007-03-08 Thread Bastian Voigt
Hi *, in Suns EJB tutorials all EJB calls are made via annotations like so: @EJB private MyBeanInterface myBean; . . void someMethod() { myBean.callEJBMethod(); } . . In Tapestry (4.0.2) Page and Component classes this annotation does not seem to work (NullPointerException) although it giv

Re: Accessing EJB3s via annotations?

2007-03-08 Thread Bastian Voigt
Justin Walsh schrieb: Well tapestry and EJB3 are two very different animals. The @EJB annotation works /_within/_ an EJB component (EJB stateless/stateful session bean) because the EJB3 container is in control of your EJB components (you probably annotated it with @Stateless of @Stateful) and th

How to compress/pack javascript in T4.0

2007-04-12 Thread Bastian Voigt
Hi *, is it possible to have Tapestry deliver javascript in obfuscated / compressed / packed form, with the possiblity to switch this feature of for easier debugging? sth similar to what I mean can be found here: http://sourceforge.net/projects/packtag/ thanks -- Bastian Voigt

Re: How to compress/pack javascript in T4.0

2007-04-13 Thread Bastian Voigt
variables to have single-character names (a,b,c,d...) - etc. This is compression and obfuscation in one ;) Example: http://maps.live.com/veapi.ashx?v=1.3.1115150037.31 Is it possible to modify the asset service such that it does these things? Regards Bastian Voigt On Thursday 12 April 2007 15

Tapestry Bug 961: Large XTile responses cut off after 4096 bytes

2007-04-17 Thread Bastian Voigt
pi. Rather, the XTile component itself needs to be modified to use this XHR api, if I'm not completely mistaken. So how can I get around this bug? Thanks Bastian -- Bastian Voigt Neumünstersche Straße 4 20251 Hamburg telefon 040/67957171

Using Read-only properties in forms

2007-04-17 Thread Bastian Voigt
setSomeOtherProperty(Object o); // my form submit listener public void listener() { Object o = getSomeOtherProperty(); // allright, here is my value again } OK, it works, but IMO it is quite confusing and does not look so nice... Question: Are there better solutions for this problem? -- Bastian

Re: Using Read-only properties in forms

2007-04-17 Thread Bastian Voigt
Jacob, thanks for your quick reply! I have also used this pageBeginRender approch in some of my components. Unfortunately, pageBeginRender is not always the right place to read properties. In the example from my initial post I used a @For loop to render a block which includes a form. The sourc

Please read this: Tapestry Bug 961 Large XTile responses cut off

2007-04-18 Thread Bastian Voigt
Hi *, please someone have a look into this. The JIRA Bugreport is here: http://issues.apache.org/jira/browse/TAPESTRY-961 On Tuesday 17 April 2007 18:58, Bastian Voigt wrote: > Hi, > I have a question regarding bug #961. Jesse said the bug won't be fixed in > tapestry because th

How to call @EventListener every 60 seconds

2007-05-02 Thread Bastian Voigt
Hi *, for my application, which just migrated to Tap 4.1 I need an AJAX request to be made every 60 seconds to refresh some of my components with new data. In Tap 4.0 I used XTile for this, but I wonder if this can be made simpler with Tap 4.1's EventListener. Is it possible to call an event l

[Tap 4.1.2] More OGNL problems

2007-06-28 Thread Bastian Voigt
T called, so no exception) 2. We also tried: You do not have the permission for this! -> same exception 3. And then we tried: You do not have the permission for this! -> same exception Is this a bug in OGNL, or in Tapestry? How can I find this out? -- Bastian Voigt Neumünster

Re: [Tap 4.1.2] More OGNL problems

2007-06-28 Thread Bastian Voigt
Oh I forgot to say that all this was working with Tap 4.1.1 Bastian Voigt wrote: Hi *, we have the following problem with both OGNL 2.7.0 and OGNL 2.7.1-20070625 on Tap 4.1.2 with a construct like this: html-- You do not have the permission for this