Re: Classloader issues under JBoss 6.X - 7.X - Patch Included

2017-12-03 Thread Christian Riedel
Nice job! I think the general path to get things patched is to open a Jira issue and attach a proper patch file, possibly including a test. The committers can’t use your code otherwise for apache license reasons IIRC… Cheers Christian > Am 01.12.2017 um 17:38 schrieb Luca Arzeni

Re: Contribution to ApplicationStateManager not called on ApplicationModule

2017-05-07 Thread Christian Riedel
Hi, may we have a look at your web.xml? Maybe your app isn’t called 'application‘. > Am 07.05.2017 um 06:46 schrieb yazmin georgina quintal > : > > I have this code con ApplicationModule (T.5.4.3), but I do not see my > contribution method being called: >

Re: Prototype Constants replacement in v5.4`

2017-04-03 Thread Christian Riedel
for the events: require t5/core/events like so: define(['t5/core/events'], function(events) { }); see the documentation of the events here: http://tapestry.apache.org/current/coffeescript/events.html >

Re: Unable to get custom attributes value in Mixin from Select control

2017-03-30 Thread Christian Riedel
hi ankit, 1. no need to post your questions to both, dev and users lists. this is a user-list topic. 2. don’t mix parameters and expansions ($-notation). try: @Parameter // leave the defaultPrefix as is private String varid; t:model="dropDownDateValues" >

Re: Finding out when actionLink action is completed on the user side

2017-03-28 Thread Christian Riedel
abled)? > > 2017-03-27 11:19 GMT+02:00 Christian Riedel <cr.ml...@googlemail.com>: > >> you could use t:async="true“ instead and return the pdf along with some >> custom script that re-activates your button. >> the binary of the pdf could be passed int

Re: Finding out when actionLink action is completed on the user side

2017-03-27 Thread Christian Riedel
you could use t:async="true“ instead and return the pdf along with some custom script that re-activates your button. the binary of the pdf could be passed into FileSaver[0] to create the save-file-dialog of the browser. while all this happens you could show a progress indicator to the user. if

Re: NPE in dispatchComponentEvent of a page class (which doesn't have such method)

2017-03-23 Thread Christian Riedel
our code was erroneously setting as the event context. > > Thanks a lot for your help. > > -Original Message- > From: Christian Riedel [mailto:cr.ml...@googlemail.com] > Sent: Wednesday, March 22, 2017 19:32 > To: Tapestry users <users@tapestry.apache.org> &g

Re: NPE in dispatchComponentEvent of a page class (which doesn't have such method)

2017-03-22 Thread Christian Riedel
Just a wild guess without seeing your template: your method is called with a null value. Assigning null to a primitive variable results in a nullpointer. Try *Long* sysRowId instead and you probably won’t get that exception. The root cause might be that the context of your event link does not

Re: Location of assets

2017-02-24 Thread Christian Riedel
Hi Jarda, you just use the path relative to your servlet context. > background-image: url('/images/myimage.png'); this could work. If your app is not deployed under the root context but under /foo-bar/ then I guess this should work: background-image: url('/foo-bar/images/myimage.png‘); If

Re: RadioGroup client side validation

2017-02-22 Thread Christian Riedel
Hm, I guess so. Someone should write a patch to fix this issue! :) If I find some elegant solution I let you know! > Am 22.02.2017 um 03:37 schrieb Bob Harner : > > Christian, > > I think you're hitting https://issues.apache.org/jira/browse/TAP5-2156 > > There is very

Re: Zone update and inactive timeout

2016-11-10 Thread Christian Riedel
Hi Vavricka, every time you poll the server the session timeout is reset. You could track real user activity on your own in the browser using some js and issue a logout request after 30 minutes or so... Cheers Christian > Am 10.11.2016 um 09:26 schrieb .. ... : > >

Re: Integrating Tapstry IOC only

2016-04-22 Thread Christian Riedel
You would only need Tapestry IoC for the builders. Many moons ago I replaced Spring with Tapestry IoC in a Wicket project: https://github.com/criedel/WicketTap5IOC I bet you can find the appropriate hooks in your project to do something similar! APIs have changed since 5.2 though. With what

Re: problem with jquery.DialogAjaxLink

2014-12-02 Thread Christian Riedel
Yes, all versions 3.4.1-SNAPSHOT Am 02.12.2014 um 09:03 schrieb Ivano Luberti lube...@archicoop.it: Does this affect also version 3.3.8? Il 02/12/2014 08:38, Christian Riedel ha scritto: Yes, there’s a bug in the version you use, which got fixed in 3.4.1-SNAPSHOT (3.4.1

Re: problem with jquery.DialogAjaxLink

2014-12-02 Thread Christian Riedel
Luberti lube...@archicoop.it: Does this affect also version 3.3.8? Il 02/12/2014 08:38, Christian Riedel ha scritto: Yes, there’s a bug in the version you use, which got fixed in 3.4.1-SNAPSHOT (3.4.1 will be released soon, I guess). Use the SNAPSHOT version or a custom release based on its

Re: problem with jquery.DialogAjaxLink

2014-12-01 Thread Christian Riedel
Yes, there’s a bug in the version you use, which got fixed in 3.4.1-SNAPSHOT (3.4.1 will be released soon, I guess). Use the SNAPSHOT version or a custom release based on its code. Check out the master-5.3 branch: https://github.com/got5/tapestry5-jquery/tree/master-5.3 Am 02.12.2014 um 01:59

Re: JQuery upload issue

2014-11-27 Thread Christian Riedel
The cause might be everything from bugs in your code, browser specific bugs to server configuration. You must give us some more details about your setup, code and what you’ve tried so far as well as possible exceptions on server- and client-side. Am 27.11.2014 um 08:44 schrieb Name Surname

Re: JQuery upload issue

2014-11-27 Thread Christian Riedel
…and the exception on the server, i.e. the Internal Server Error? Am 27.11.2014 um 14:56 schrieb Name Surname wintertime0...@outlook.com: NetworkError: 500 Internal Server Error I keep getting this error from console once I press Submit. Subject: Re: JQuery upload issue From:

Re: [T5.4 Alpha-15] constructAssetPath() changes

2014-06-05 Thread Christian Riedel
I’m just started the migration to T5.4. TAP5-2170 is still open and I wondered if there’s any non-internal interface that I could use to migrate to the new API. Am 07.09.2013 um 20:23 schrieb Lenny Primak lpri...@hope.nyc.ny.us: It worked... Also, I may have found an easier way, just use

Re: How to pass a javascript function in tapestry mixin

2014-02-15 Thread Christian Riedel
Hi Boris, passing the whole function code as JSONLiteral could work, I guess: params.put(onSubmit, new JSONLiteral(function () { showUploadProgress(); })); But Thiago has a point. Passing more complex code around like this is not a good idea. Instead you can alter the fileuploader’s

Re: [T 5.3] Everything annotated with @Startup called twice

2013-06-18 Thread Christian Riedel
I just created one: https://issues.apache.org/jira/browse/TAP5-2130 Am 17.06.2013 um 14:04 schrieb Muhammad Gelbana: Thanks a lot, this helped :) And it looks a lot like a bug ! Have you started a jira issue ? On Fri, Jun 14, 2013 at 10:53 AM, Christian Riedel cr.ml

Re: [T 5.3] Everything annotated with @Startup called twice

2013-06-14 Thread Christian Riedel
/mod_mbox/tapestry-users/201211.mbox/%3c4186f80b-5a27-4f69-b22f-444093fc2...@googlemail.com%3E Am 13.06.2013 um 16:33 schrieb Muhammad Gelbana: Have you resolved this ? I'm facing the same situation. On Mon, Sep 3, 2012 at 1:04 AM, Christian Riedel cr.ml...@googlemail.comwrote: Hello

Re: [t5.3.6] HTML encode text

2013-02-06 Thread Christian Riedel
Hi Kevin, the component you're looking for is OutputRaw: http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/OutputRaw.html If you prefer to code your own component with MarkupWriter you'd do it like that: public class PlainOutput { @Parameter private String

Re: [5.4-alpha-2] core_**.properties got wrong encoding?

2013-01-31 Thread Christian Riedel
back. I checked the corresponding (original) files in the 5.3 branch and they look right there, in contrast. On Wed, Jan 30, 2013 at 6:34 PM, Christian Riedel cr.ml...@googlemail.com wrote: Hi, I'm currently testing alpha-2 and it seems that the encoding of the translations in a few

Re: [5.4-alpha-2] core_**.properties got wrong encoding?

2013-01-31 Thread Christian Riedel
Done: TAP5-2061 https://issues.apache.org/jira/browse/TAP5-2061 Thanks Bob! Am 31.01.2013 um 19:12 schrieb Bob Harner: Yes to both, although it may take me a day or two to get to it. On Thu, Jan 31, 2013 at 11:01 AM, Christian Riedel cr.ml...@googlemail.com wrote: Hi Bob, would you

[5.4-alpha-2] core_**.properties got wrong encoding?

2013-01-30 Thread Christian Riedel
Hi, I'm currently testing alpha-2 and it seems that the encoding of the translations in a few properties files got mixed up. The file says it's UTF-8, my editor uses UTF-8 (and in 5.3 they were all ok!) and I'm reading things this: core-palette-up-label=Aufwärts

Re: Tapestry 5 book is here

2013-01-25 Thread Christian Riedel
Thank you, Igor! 100 pages more than the early access version, good job! :-) Am 25.01.2013 um 10:20 schrieb Igor Drobiazko: Dear Tapestry community, I'm glad to announce that the long awaited Tapestry 5 book is now available for purchase as paperback:

@Scope PerThread may cause PermGen errors?

2012-11-30 Thread Christian Riedel
Hi everone, today I found the reason for a recent memory leak and I thought I'd ask what you think of it: Rather by accident I annotated one of the EnvironmentalShadowBuilder-methods with @Scope(PERTHREAD) @Scope(ScopeConstants.PERTHREAD) public UserCacheSupport

Re: @Scope PerThread may cause PermGen errors?

2012-11-30 Thread Christian Riedel
. There is no need to make UserCacheSupport per-thread, since everything in the Environment is already per-thread. On Fri, Nov 30, 2012 at 9:48 AM, Christian Riedel cr.ml...@googlemail.comwrote: Hi everone, today I found the reason for a recent memory leak and I thought I'd ask what you

[Bug] [T5.3.6] @Startup service contributions executed more than once

2012-11-27 Thread Christian Riedel
Hi everyone, I wrote about this bug a while ago already, but can't find the original post. After lots of debugging I found the reason for a bug in our app. The symptoms were that all contributions annotated with @Startup (also the ones from Tapestry internal modules) were executed a second time

Re: [Bug] [T5.3.6] @Startup service contributions executed more than once

2012-11-27 Thread Christian Riedel
interface AnyService extends Runnable { void anything(); } Am 27.11.2012 um 17:30 schrieb Christian Riedel: Hi everyone, I wrote about this bug a while ago already, but can't find the original post. After lots of debugging I found the reason for a bug in our app. The symptoms were that all

Re: Tapestry URLs inside iFrame (Facebook canvas)

2012-10-30 Thread Christian Riedel
Just contribute a symbol called tapestry.hostname. BaseURLSource is using it. See http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/SymbolConstants.html Am 30.10.2012 um 11:19 schrieb jellevangompel: Here's the image I wanted to include:

[T 5.3] Everything annotated with @Startup called twice

2012-09-02 Thread Christian Riedel
Hello, I'm currently looking at a strange problem. Every module method annotated with @Startup (from all available modules, for example also JpaModule#startupEarly) are being executed twice under certain circumstances. After some decent debugging I found this out: The app is started, registry

Re: [Documentation Errata] EventLink page

2012-09-01 Thread Christian Riedel
No, that's ok, since they are tied with the component using @Component. You can configure components completely in your component class if you wish and only use t:id in the template… Am 01.09.2012 um 16:50 schrieb Muhammad Gelbana: On this page:

Re: if/else if component

2012-08-31 Thread Christian Riedel
t:if t:test=prop1 p:else t:if t:test=prop2 you mean this??? /t:if /p:else /t:if Am 31.08.2012 um 13:06 schrieb karthi: Hi everyone, I have used if/else in tapestry, but can anyone tell me how to achieve if/else if/else if/else Thanks in advance -- View

Re: Tapestry 5.3.5

2012-08-30 Thread Christian Riedel
Yay, that would make 2 more releases before christmas! Am 30.08.2012 um 19:47 schrieb Howard Lewis Ship: Catch it while it's hot! Yet another bug fix release for 5.3: Apache Tapestry 5.3.5 http://tapestry.apache.org/2012/08/30/announcing-tapestry-535.html There may be an issue with

Re: Trouble with update of the tapestry(5.1.0.5 = 5.3.4)

2012-08-22 Thread Christian Riedel
Try this: dependency groupIdorg.hibernate/groupId artifactIdhibernate-entitymanager/artifactId version3.6.8.Final/version exclusions exclusion

Re: Trouble with update of the tapestry(5.1.0.5 = 5.3.4)

2012-08-22 Thread Christian Riedel
already had searched for many hours and nothing, was paste your code and worked fine. 2012/8/22 Christian Riedel cr.ml...@googlemail.com Try this: dependency groupIdorg.hibernate/groupId artifactIdhibernate-entitymanager

Re: GridDataSource has been transformed and may not be directly instantiated

2012-08-22 Thread Christian Riedel
move br.cnt.aas.material.components.MaterialGridDataSource into another package since it's obviously not a component class! Am 23.08.2012 um 02:03 schrieb William Lopes: Thanks. So, what do you advise? 2012/8/22 Christian Riedel cr.ml...@googlemail.com Before Tapestry 5.3 it was just

Re: GridDataSource has been transformed and may not be directly instantiated

2012-08-22 Thread Christian Riedel
That's up to your personal taste ;-) Am 23.08.2012 um 02:18 schrieb William Lopes: Thank you so much again, it is solved. I put in util package, is a good practice? 2012/8/22 Christian Riedel cr.ml...@googlemail.com move br.cnt.aas.material.components.MaterialGridDataSource

Re: tweet buttons?

2012-08-16 Thread Christian Riedel
with great pleasure: https://gist.github.com/3373589 Am 31.07.2012 um 01:57 schrieb Angelo C.: cool, care to share? Christian Riedel-4 wrote Yep, I've got one! Am 31.07.2012 um 00:54 schrieb Angelo C.: anybody got one ? say, tweet / then expand to : a href=https://twitter.com

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread Christian Riedel
Hi George, ProgressiveDisplay's initial block may be used to display a loading message / spinning icon. But I wouldn't recommend this component to be used just as a feedback mechanism. Build your own component that may listen to certain events and show/hide itself as needed.

Re: macbook retina support

2012-08-15 Thread Christian Riedel
Having all @media switches in one css file might make your mobile clients download a lot of useless rules. You can split the files up and include just those files that are applicable for the device that is loading your pages. Check out this project:

Re: macbook retina support

2012-08-13 Thread Christian Riedel
A few days ago I made a little tapestry-add-on to support a json-binding. Just have a look at the sources and you'll know how to implement the equivalent for your use-case! https://github.com/criedel/tapestry-json-binding Best Christian Am 13.08.2012 um 18:09 schrieb sommeralex: Hello!

Re: Why should we specify t:id and id for the zone

2012-08-11 Thread Christian Riedel
Let me try… The t:id parameter defines the component id, i.e. the name of the component in your template, which you can use for injecting the component to your component class: tml: t:zone t:id=myzone/t:zone class: @InjectComponent private Zone myzone; Mostly it's enough for you to

Re: Lightweight TapestryTools update site

2012-08-07 Thread Christian Riedel
Hi Gavin, I've been using the jump-to-file function of your plugin for a while now and I also noticed something that might be quite easy to fix: When you have multiple Index pages the plugin always jumps to the first index page it finds, which is in my case the root Index page.

Re: restrict button refresh When i click

2012-08-07 Thread Christian Riedel
So basically what you're trying to do is a zone-refresh instead of a page refresh? If your button is an actionlink or eventlink just add this property: t:zone=yourzoneId Use AjaxResponseRenderer (e.g. #addRender(ClientBodyElement zone)) in your corresponding eventhandler to

Re: tweet buttons?

2012-07-30 Thread Christian Riedel
Yep, I've got one! Am 31.07.2012 um 00:54 schrieb Angelo C.: anybody got one ? say, tweet / then expand to : a href=https://twitter.com/share; class=twitter-share-button data-url=https://dev.twitter.com; data-via=your_screen_name data-lang=enTweet /a script!func .. /script --

Re: Rendering cache

2012-07-28 Thread Christian Riedel
Hi, I think theres no easy way to intercept the rendered result of a single component (that contains a lot of other components). But you could put this component inside some kind of dummy-page, asynchronously call its url from an internal caching-service and store the output using simple I/O

Re: json support in template

2012-07-28 Thread Christian Riedel
json objects? Thanks, Christian Riedel-4 wrote This might be solved using a custom PropertyBinding and should look like ${json:property.name}… Challenge accepted! https://gist.github.com/3187796 Am 27.07.2012 um 02:16 schrieb Angelo C.: Hi, you have this in the code

Re: json support in template

2012-07-27 Thread Christian Riedel
This might be solved using a custom PropertyBinding and should look like ${json:property.name}… Challenge accepted! https://gist.github.com/3187796 Am 27.07.2012 um 02:16 schrieb Angelo C.: Hi, you have this in the code, public JSONObject getJS() { JSONObject js = new

Re: json support in template

2012-07-27 Thread Christian Riedel
such as MongoDB and CouchDB (or, perhaps, even Datomic). On Fri, Jul 27, 2012 at 5:57 AM, Christian Riedel cr.ml...@googlemail.com wrote: This might be solved using a custom PropertyBinding and should look like ${json:property.name}… Challenge accepted! https://gist.github.com/3187796 Am

Re: json support in template

2012-07-27 Thread Christian Riedel
, 2012 at 11:13 AM, Christian Riedel cr.ml...@googlemail.com wrote: So what do you think? Should something like that go into tapestry-core or into some 3rd party library? Am 27.07.2012 um 19:35 schrieb Howard Lewis Ship: Some form of json: binding prefix will be invaluable as we move

Re: Is it possible to obtain page instances programmatically by name?

2012-07-26 Thread Christian Riedel
You could inject the ComponentResources into your component and call getPage(): /** * Returns the page that contains this component. Technically, the page itself is an internal object in Tapestry and * this returns the root component of the actual page, but from an application

Re: Shared @SessionState???

2012-07-26 Thread Christian Riedel
Hi, A service is a singleton by default. If you store a session-state object as a singleton service's member, every user will see the session state of the user who triggered your service for the first time. Either change your service to PerThread scope [1] or better yet inject your session

Re: Test if production or test mode..

2012-07-23 Thread Christian Riedel
…and if you worry about having too many annotations in the constructor, you can also omit the @Inject annoation for symbols in recent Tapestry versions (I think 5.2). @Symbol(SymbolConstants.PRODUCTION_MODE) boolean productionMode Am 22.07.2012 um 15:34 schrieb Lance Java: You can use

Re: Tapestry 5.3.4-rc-7

2012-06-28 Thread Christian Riedel
Everything's stable with rc-7! I'd +1 a vote on this release. Am 25.06.2012 um 19:44 schrieb Howard Lewis Ship: I've just uploaded Tapestry 5.3.4-rc-7. Key improvements: * More (minor) speed improvements * TAP5-1873: JavaScript execution exception is not logged * Fixes the Hibernate

Re: Tapestry 5.3.4-rc-7

2012-06-28 Thread Christian Riedel
Ok, one thing could also be quickly done: upgrading the yuicompressor lib to 2.4.7 like suggested in TAP5-1729. Minification/Resource combination with tapestry-yuicompressor is really broken without that and it's quite easy to fix. https://issues.apache.org/jira/browse/TAP5-1729 Am 28.06.2012

Re: Tapestry 5.3.4-rc-7

2012-06-28 Thread Christian Riedel
having problems with even with YUICompressor 2.4.7 in a production app. On Thu, Jun 28, 2012 at 10:05 AM, Jochen Frey joc...@jochenfrey.com wrote: +1 for the YUI compressor. It really looks broken in production environments, and it's an easy fix. On Jun 28, 2012, at 7:51 AM, Christian

Re: Howto render a block and put it into a JSON reply?

2012-06-11 Thread Christian Riedel
Hi Nourredine, well we gave up on jQuery's datatable and built our own searchable datatable solution. It's based on MongoDB, Tapestry's Grid, a GridDataSource similar to JpaGridDataSource and mongo-jackson-mapper[1]. It works fine in our backoffice but I think it doesn't scale well, if you plan

Re: Struggling to get mixin to work.

2012-06-11 Thread Christian Riedel
Hi, you need to attach a mixin to the component that you'd like to manipulate. Read this: http://tapestry.apache.org/component-mixins.html And have a look at other mixin implementations, like the Autocomplete-Mixin: Autcomplete.java

Re: Tapestry 5.3.4-rc-5

2012-06-11 Thread Christian Riedel
Testing Tapestry 5.3.4-rc-5 and now Tapestry 5.3.4-rc-6 without any problems! Site looks good, page response times dropped a bit but we don't have thousands of concurrent users… yet! ;-) Am 06.06.2012 um 19:32 schrieb Howard Lewis Ship: For those that are interested, I just committed some

Re: How do you feel about requiring JRE 1.6 for Tapestry 5.4?

2012-05-02 Thread Christian Riedel
+1 Am 02.05.2012 um 10:21 schrieb Lance Java: +1 -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-do-you-feel-about-requiring-JRE-1-6-for-Tapestry-5-4-tp5679713p5679911.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: how to call some js AS SOON AS tapestry is finished initialising

2012-03-16 Thread Christian Riedel
...maybe not the 100% sure thing but you could add a last init script like this: javaScriptSupport.addInitializerCall(InitializationPriority.LATE, lastInit, parameters); Wouldn't be after the init() but at least after all the other inits... Cheers Christian Am 16.03.2012 um 10:34 schrieb

Re: How to get a page url?

2012-03-09 Thread Christian Riedel
Maybe it's appropriate to point to the excellent user guide for page navigation at this point? :-) http://tapestry.apache.org/page-navigation.html Am 09.03.2012 um 16:17 schrieb Thiago H. de Paula Figueiredo: On Fri, 09 Mar 2012 11:26:31 -0300, Az Madu azm...@gmail.com wrote: Hi Thiago,

Re: Dynamic mixins

2012-03-09 Thread Christian Riedel
Hi, thinking of the #1 mantra in tapestry static structure, dynamic behavior, I guess you need to look for another approach. Try adding the mixin to your component, not to the component inside of the component. Maybe you need to change your implementation a bit (passing some parameters) but

Re: [Tapestry5-jquery ajaxupload] How to change Drop files here to upload with button ?

2012-03-07 Thread Christian Riedel
Can you say what 'it' is that is not working? Have you trouble getting a positive response when use the example on this page, too? http://tapestry5-jquery.com/components/docsajaxupload Maybe it's related to your code. You should paste some of it here. Am 07.03.2012 um 04:24 schrieb ayok03:

Re: How to display special characters in tml page

2012-03-01 Thread Christian Riedel
or like this... .properties: market=Börse .tml ${message:market} Am 01.03.2012 um 11:04 schrieb Shing Hing Man: One solution is to use the outputraw component. In .properties file : erdos=Erdouml In .tml : t:outputraw value=message:erdos/ Shing

Re: How to display special characters in tml page

2012-03-01 Thread Christian Riedel
...then something is misspelled. your project name doesn't matter - it must be the page name that has to be equal to the properties (and .tml) name. don't forget to check out the user guide: http://tapestry.apache.org/user-guide.html http://tapestry.apache.org/localization.html Am

Re: First mixin attempt question

2012-02-29 Thread Christian Riedel
Hi Andrew, try mixins=venses/EventBind you need to specify the namespace if the mixin is coming from another library Cheers Christian Am 29.02.2012 um 09:48 schrieb Andrew Dahl: I am getting an error for which I can't find any documentation. Exception assembling root component of page

Re: java.lang.ClassFormatError: Illegal field modifiers in class lxyz/web2/components/codebook/controls/Button: 0x12

2012-02-21 Thread Christian Riedel
I don't think it's a bug. Can't find the place in the docs that describes this but I'm sure it's somewhere written that you shall not store anything but page classes in the page package. Am 20.02.2012 um 04:05 schrieb Paul Stanton: Thanks Steve, I ran into this too upgrading from t5.1 to

Re: Issue with Maven + Eclipse + Tapestry (slightly off-topic)

2012-02-16 Thread Christian Riedel
...but watch out if you enable maven's resource-filtering for src/main/resources. e.g. ${user.name} in your .tml will be replaced by your system user name :-) Am 16.02.2012 um 12:05 schrieb Julien Martin: Thanks Lance, Le 16 février 2012 11:15, Lance Java lance.j...@googlemail.com a écrit

Howto render a block and put it into a JSON reply?

2012-02-15 Thread Christian Riedel
Hi there, I'm trying to improve the tapestry5-jquery DataTable component, which is able to respond paged results in JSON. Unfortunately the component is a bit limited in terms of what can be returned. I want to add support for the Grid-style p:propertyCell block-parameter-notation. I'm

Re: Implement .pdf preview

2012-02-02 Thread Christian Riedel
Hi, you should have a look at this project: http://wookicentral.com/ They implemented a PDF preview and it's open source! Cheers, Christian Am 02.02.2012 um 09:13 schrieb Jose A. Lopez: Hello everybody, I am rookie in tapestry and in programming in general. I don't know how to start

Re: T5.3.1 mongodb?

2011-12-30 Thread Christian Riedel
I used morphia for some smaller projects over a year now. Since a few weeks we're developing larger app that's dealing with really a lot more data and we quickly reached the point where morphia wasn't able to do certain things and we ended up writing code directly against the driver API. I

Re: T5.3.1 mongodb?

2011-12-29 Thread Christian Riedel
Hi Igor, what mapper are you planning to integrate? There are several mappers out there. After using morphia[1] for some time I'm now with mongo-jackson-mapper[2] from vz.net. Cheers Christian [1] http://code.google.com/p/morphia/ [2] http://github.com/vznet/mongo-jackson-mapper Am

Re: How to get Html Source of a Page

2011-12-22 Thread Christian Riedel
what do you want to do with the source? whatever it is, I think it's going to be very inefficient. except you want to use it for testing. for that case I recommend the PageTester. Am 22.12.2011 um 11:21 schrieb Bo Gao: I have a page, how can I get the page's HTML source as a String in another

Re: [ANN] Tapestry5-jQuery 3.0.0 Available !!

2011-12-13 Thread Christian Riedel
Good news :-) I think you forgot the links that everyone should find useful: If this project interests you, here are 3 websites that may be of interest to you : - The demo site, where you will find examples of all components and all the documentation. http://tapestry5-jquery.com/ - Our

Re: Prototype and jQuery question

2011-12-05 Thread Christian Riedel
do you have tapestry-upload in your classpath? Am 05.12.2011 um 23:26 schrieb Chris Collins: So when I actually include tapestry-jquery things blow up when the servlet container is initialized (I use an embedded jetty). This is with Tapestry 5.3 and using the mvn dependency described on

Re: Show your Tapestry support!

2011-12-04 Thread Christian Riedel
congratulations... seems the announcement made it to #1 in dzone's top links! hope you're satisfied with that result ;-) Am 02.12.2011 um 01:16 schrieb Howard Lewis Ship: On additional note ... there's several links along the left edge of the page for voting up the announcement. Please do

Re: fault found

2011-11-28 Thread Christian Riedel
then it is caused by some portion of the code that you did not show. I tried it out and the onSubmit method is only called once, as expected. jsp won't help you here. Am 28.11.2011 um 12:18 schrieb csckid: I tried with smaller project that has only hibernate and spring integrated and no

Re: fault found

2011-11-27 Thread Christian Riedel
Show us your code and we can tell you what's wrong! Am 27.11.2011 um 08:41 schrieb csckid: I tried the following example to generate pdf file and return to user browser. http://wiki.apache.org/tapestry/Tapestry5HowToCreateADynamicPDF The problem I found is method public StreamResponse

Re: fault found

2011-11-27 Thread Christian Riedel
Should be called only once if you have this code in a fresh project. Are you sure there are no such things like custom filters that might process things more than once? Am 27.11.2011 um 12:53 schrieb csckid: Smaller sample: *Contact.tml* html t:type=layout title=Contact com.kids.crm

Re: TAP5-1425

2011-11-24 Thread Christian Riedel
..my fix for this was to type-coerce the path into a resource and call .exists() on it. the runtime exception was thrown from the assetSource.getExpandedAsset method in this case. Am 24.11.2011 um 09:04 schrieb Ville: Hi, https://issues.apache.org/jira/browse/TAP5-1425 was fixed, but it

Re: tld tapestry 5.3

2011-11-23 Thread Christian Riedel
Look, someone generated one for 5.3 already: http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse Am 23.11.2011 um 18:03 schrieb Pablo Borges: how to generate the 5.3 tld tapestry? I'm using the maven plugin: tapestry-tldgen with eclipse 3.7 follows the settings of my pom.xml

Re: Updating a zone on any event

2011-11-18 Thread Christian Riedel
Is the ZoneManager an officially public API? Just curious whether this class is still supported in 5.4, when the JS API gets cleaned up? Am 18.11.2011 um 18:30 schrieb Josh Kamau: Thanks Thiago, I will check it out. Just wondering, is there any documentation of Tapestry Javascript API

Re: Setup methods are called twice while requesting a page.

2011-11-08 Thread Christian Riedel
Hi, you could add log statements to your code that print out the request url. That way you'll probably find out where the second request comes from. I suspect a broken img-src attribute to be the cause. Some typo like this: img src={asset:something} / Cheers Christian Am 08.11.2011 um 23:27

[T5.3-rc-3] zone inside a form with generated ids not working

2011-11-06 Thread Christian Riedel
Hi, I'm currently trying to fix some missing functionality about some cases of zone-updates in tapestry5-jquery. It seems the missing feature does also not work in a pure T5-app! The feature I'm talking about is this: 1. There's a link/button/whatever that can trigger a zone-update. 2. Before

Re: [T5.3-rc-3] zone inside a form with generated ids not working

2011-11-06 Thread Christian Riedel
schrieb Lenny Primak: Are you doing form submit via JavaScript onsubmit()? If yes, you need to call setSubmittingElement beforehand. On Nov 6, 2011, at 11:11 AM, Christian Riedel cr.ml...@googlemail.com wrote: Hi, I'm currently trying to fix some missing functionality about some cases

Re: [T5.3-rc-3] zone inside a form with generated ids not working

2011-11-06 Thread Christian Riedel
https://issues.apache.org/jira/browse/TAP5-1746 Am 06.11.2011 um 18:04 schrieb Lenny Primak: Are you doing form submit via JavaScript onsubmit()? If yes, you need to call setSubmittingElement beforehand. On Nov 6, 2011, at 11:11 AM, Christian Riedel cr.ml...@googlemail.com wrote

[T5.3-rc-2] incompatible with artefacts built against prior versions e.g. 5.1

2011-11-02 Thread Christian Riedel
Hi We're using some shared libs from one project that is currently built with Tapestry 5.1 in a project that uses the most recent version of 5.3, i.e. 5.3-rc-2. Since today we encontered the following exception: java.lang.NoSuchMethodError:

Re: [T5.3-rc-2] incompatible with artefacts built against prior versions e.g. 5.1

2011-11-02 Thread Christian Riedel
and there's no custom implementation of ObjectLocator. It's just a simple class incompatibility, not a compile one. Am 02.11.2011 um 17:22 schrieb Thiago H. de Paula Figueiredo: On Wed, 02 Nov 2011 14:18:12 -0200, Christian Riedel cr.ml...@googlemail.com wrote: Hi Hi! Can't you support

Re: [T5.3-rc-2] incompatible with artefacts built against prior versions e.g. 5.1

2011-11-02 Thread Christian Riedel
The last version we can work with is beta-26 btw. See https://issues.apache.org/jira/browse/TAP5-546 Am 02.11.2011 um 17:22 schrieb Thiago H. de Paula Figueiredo: On Wed, 02 Nov 2011 14:18:12 -0200, Christian Riedel cr.ml...@googlemail.com wrote: Hi Hi! Can't you support both

[Solved] [T5.3-rc-2] incompatible with artefacts built against prior versions e.g. 5.1

2011-11-02 Thread Christian Riedel
getService(Class,Class[]) (give or take). I think this is serious enough to justify another RC. On Wed, Nov 2, 2011 at 9:22 AM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Wed, 02 Nov 2011 14:18:12 -0200, Christian Riedel cr.ml...@googlemail.com wrote: Hi Hi! Can't

Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.

2011-10-28 Thread Christian Riedel
I see the same exception in log files for years now. Last thing I remember is that it happened in T5.1 apps already. It's definitely something that tapestry does not always ignore. I'd say, Leon, you should create a JIRA for this! Am 28.10.2011 um 04:49 schrieb Steve Eynon: jsessionid's are

Re: @SetupRender not called

2011-10-15 Thread Christian Riedel
at this and improve Tapestry in a way that this may not happen so easily again! Cheers Christian Am 03.10.2011 um 15:27 schrieb Christian Riedel: Hi there, my application behaves not as expected. All @SetupRender methods seem to be ignored, they aren't getting executed, which leads

Re: Tap-5.3-beta-16 tapestry-core v. tapestry-hibernate

2011-10-14 Thread Christian Riedel
...So that was the cause for my random problems in the other post: http://tapestry-users.832.n2.nabble.com/SetupRender-not-called-td6854976.html I had this error for Palette, too! Haven't seen the exception for a few days now, so I guess your change made it into my branch :-) Am 04.10.2011

Re: An Appeal To Use the Latest Betas

2011-10-14 Thread Christian Riedel
...using beta-20 and I can't blame you for the bugs in my apps :-) Am 14.10.2011 um 01:16 schrieb Howard Lewis Ship: If you've been following the discussions here and elsewhere, you may be aware that Tapestry 5.3 is nearly done, with big improvements to every aspect of Tapestry, including

@SetupRender not called

2011-10-03 Thread Christian Riedel
Hi there, my application behaves not as expected. All @SetupRender methods seem to be ignored, they aren't getting executed, which leads to numerous exceptions within all components. In the last couple of days this issue randomly occurred. When I restart the server a couple of time the

Re: RE : Trying out 5.3.0

2011-06-19 Thread Christian Riedel
There's no archetype for 5.3.0, yet! You have to wait for the next alpha release, I think. Use the 5.2.5 archetype and change the version in the pom. Am 19.06.2011 um 12:33 schrieb Chris Poulsen: Hi, I guess the archetype is kind of in between versions. I guess the deprecated

Re: Swf asset in jar root directory

2011-06-09 Thread Christian Riedel
It's right there: http://tapestry.apache.org/assets.html Assets in Templates Assets can also be referenced directly in templates. Two binding prefixes[1] exist for this: asset: and context:. The asset: prefix can obtain assets from the classpath (the default) or from the web context (by

  1   2   >