Re: dwr java chat demo in t5

2013-05-24 Thread Lance Java
You would do this by the topic (eg: /chat/user1). You can add custom Authorizers for topic security.

Re: dwr java chat demo in t5

2013-05-23 Thread D.R.
browsers support websockets? Especially the older versions? But i think that all the major browsers support that in their latest versions? I did read that the t5 team want to integrate push, but did not see how this is scheduled. So i want to go with your project. Thanks again, Lance! Kind regards

Re: dwr java chat demo in t5

2013-05-23 Thread Lance Java
org.cometd.websocket.server.WebSocketTransport but this can be configured in your AppModule ( https://github.com/uklance/tapestry-cometd/blob/master/src/main/java/org/lazan/t5/cometd/services/CometdModule.java#L54 ) The supported servers and browsers are listed here: https://github.com/Atmosphere/atmosphere/wiki

Re: dwr java chat demo in t5

2013-05-23 Thread Lance Java
The supported browsers section on the atmosphere page can be ignored as this refers to atmosphere.js which is not used by the cometd integration. Only the supported servers section is relevant. Best to check the cometd docs for supported browsers at www.cometd.org

dwr java chat demo in t5

2013-05-22 Thread D.R.
Hi @all, i was suprised that t5 does not support reverse ajax ;-( googleing around, the only thing mentioned often enough is dwr and i ended here: http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Implement-chat-function-td5606481.html Actually, i want to do the same thing

Re: dwr java chat demo in t5

2013-05-22 Thread Lance Java
Hi, as a previous dwr committer myself, I was keen to provide dwr reverse ajax / tapestry integration. After speaking to the dwr team, I found that the push mechanism in dwr was not considered bulletproof and was directed towards cometd For this reason, I have created tapestry-cometd, a push

Re: dwr java chat demo in t5

2013-05-22 Thread Jon Williams
Hi Lance, This email thread caught my eye so I went and got your example app. It seems to be running, in a fashion. However, I'm seeing NPE's at runtime... 1 caveat, maybe pertinent. I had to add a dependency to the pom to get a good build... dependency

Re: dwr java chat demo in t5

2013-05-22 Thread Jon Williams
Never mind Lance, Seems I have an error in my configuration. I think I'll be able to figure it out myself. thanks anyhow Jon On Wed, May 22, 2013 at 6:10 PM, Jon Williams williams.jonat...@gmail.comwrote: Hi Lance, This email thread caught my eye so I went and got your example app. It

Re: T5 and AppEngine 1.7.3 dev server IllegalStateException

2013-05-17 Thread Alex Kotchnev
: This is caused by this issue: http://code.google.com/p/googleappengine/issues/detail?id=8201 -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-and-AppEngine-1-7-3-dev-server-IllegalStateException-tp5717683p5719841.html Sent from the Tapestry - User mailing list

Re: T5 and AppEngine 1.7.3 dev server IllegalStateException

2013-05-17 Thread Lance Java
A much better option is to fix the bug with a RequestFilter. Wrap the response in a custom implementation that sets a flag to true when redirect() is called and returns the correct value in isComitted()

Re: T5 and AppEngine 1.7.3 dev server IllegalStateException

2013-05-17 Thread Alex Kotchnev
Alright - I'm not entirely sure if anyone will find any use for this, but I implemented the approach suggested by Lance (thank you Lance!) and pushed the code into BitBucket : https://bitbucket.org/akochnev/tap5-gae-utils The project wiki explains how to use it, but in short, just include the

Re: Problem in starting up T5 registry (not web app)

2013-05-14 Thread Alessio Gambi
Hi again, this is just for curiosity but maybe some T5Guru has a clear explanation: Do PerThread scoped services needs an interface + implementation ? I am curios because I noticed these different behaviors: I setup a registry using t5 - 3.6, define my Module Class with one service

Re: Problem in starting up T5 registry (not web app)

2013-05-14 Thread Thiago H de Paula Figueiredo
On Tue, 14 May 2013 11:02:24 -0300, Alessio Gambi alessioga...@gmail.com wrote: Hi again, Hi! this is just for curiosity but maybe some T5Guru has a clear explanation: Do PerThread scoped services needs an interface + implementation ? I think so. Look at the error message:

Problem in starting up T5 registry (not web app)

2013-05-11 Thread Alessio Gambi
Hi all, maybe I have overlook something but I cannot figure out why the registry fails at startup. The funny thing is that it worked yesterday and this morning, then it stopped... I am using eclispe, m2eclips, and mvn, but also mvn directly from the command line (I need to run mvn through a

Re: Problem in starting up T5 registry (not web app)

2013-05-11 Thread Alessio Gambi
Hi, I ended up in creating a brand new file called IOCStrings.properties and put it in the org/apache/tapestry5/ioc/internal. I filled the file with the content of the same file but taken from the version number 5.3.5... Apparently in the version 5.3.6 that I downloaded the file is

Re: loop pagination - T5 Bootstrap

2013-05-11 Thread Jan Fryblik
Still i thank you for inspiration with your gallery component and other components in library. Thanks! Sorry for my previous answer… I didn't realise that this tapestry-bootstrap mixin existed. After looking at the source here:

Re: loop pagination - T5 Bootstrap

2013-05-07 Thread Lance Java
Sorry for my previous answer… I didn't realise that this tapestry-bootstrap mixin existed. After looking at the source here: https://github.com/trsvax/tapestry-bootstrap/blob/master/src/main/java/com/trsvax/bootstrap/mixins/Pager.java It seems to me that this mixin does not do 'true' paging

Re: loop pagination - T5 Bootstrap

2013-05-07 Thread Barry Books
It's true the mixin does not support GridDataSource, probably should but it works OK for most things as is. To support really large collections the pagination component would also need to be rewritten since it displays a link per page and that would not work well for thousands of pages. The other

Re: loop pagination - T5 Bootstrap

2013-05-06 Thread Jan Fryblik
Great, you saved my day! Thank you, guys!If you are using the tapestry-bootstrap module your tml will be somethinglike thist:any t:mixins="tb/pager" pager.source="works" pager.rowsPerPage="12"t:tb.pagination /ul class="thumbnails"t:loop source="works" value="work" li

loop pagination - T5 Bootstrap

2013-05-05 Thread Jan Fryblik
Hi guys,I using Tapestry 5 and Tapestry Bootstrap and i tried to apply pagination on loop component. I`m using it like that...t:loop source="list" value="company" t:mixin="tb/LoopEnvironmentMixin".../t:loopbut it doesn't render any pagination, just complete list. Probably i need to connect it

Re: loop pagination - T5 Bootstrap

2013-05-05 Thread Lance Java
The only core tapestry component which supports paging is the grid. If you're rendering a table, then use a grid http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Grid.html If you'd an example of a custom paging, take a look at my gallery component in

Re: loop pagination - T5 Bootstrap

2013-05-05 Thread Barry Books
If you are using the tapestry-bootstrap module your tml will be something like this t:any t:mixins=tb/pager pager.source=works pager.rowsPerPage=12 t:tb.pagination / ul class=thumbnails t:loop source=works value=work li class=span3 t:pagelink page=work/view context=work

Re: basic auth in T5

2013-05-02 Thread Taha Hafeez Siddiqi
Oops! Didn't get that (Not used Basic Authentication since a long long time). Http Basic auth is implemented at the container level. http://docs.oracle.com/cd/E19798-01/821-1841/bncck/index.html Once you are authenticated you can use the details (principal, roles) with the annotation

Re: basic auth in T5

2013-05-02 Thread Kalle Korhonen
Come on people - basic authentication is not that old... You can of course you the standard servlet container managed authentication whether you use form or basic authentication but it's not a requirement for basic. You can also use tapestry-security exactly the same way as you otherwise would and

Re: basic auth in T5

2013-05-02 Thread Angelo Chen
Hi, Thanks for the tip, it is in the servlet level, it will be nice if we can have a simply way to mark a certain route in tapestry5 with http basic authentication, the use case is, an app might have a very rich javascript client, and accessing pages with restful api, if those api can be

basic auth in T5

2013-05-01 Thread Angelo Chen
Hi, I'd like to put http basic authentication in some of page classes, not all, is there a simple way to do this? probably an annotation approach? Thanks Angelo

Re: basic auth in T5

2013-05-01 Thread Taha Hafeez Siddiqi
Did you try this. http://tapestryjava.blogspot.in/2009/12/securing-tapestry-pages-with.html regards Taha On 02-May-2013, at 9:59 AM, Angelo Chen angelochen...@gmail.com wrote: Hi, I'd like to put http basic authentication in some of page classes, not all, is there a simple way to do this?

Re: basic auth in T5

2013-05-01 Thread Angelo Chen
Not yet, but that seems not the http basic auth. On Thu, May 2, 2013 at 12:31 PM, Taha Hafeez Siddiqi tawus.tapes...@gmail.com wrote: Did you try this. http://tapestryjava.blogspot.in/2009/12/securing-tapestry-pages-with.html regards Taha On 02-May-2013, at 9:59 AM, Angelo Chen

Re: basic auth in T5

2013-05-01 Thread Dmitry Gusev
Isn't HTTP Basic Auth is all done in web.xml? It is not related to Tapestry (or any other web framework) at all. On Thu, May 2, 2013 at 9:25 AM, Angelo Chen angelochen...@gmail.com wrote: Not yet, but that seems not the http basic auth. On Thu, May 2, 2013 at 12:31 PM, Taha Hafeez Siddiqi

Re: [T5 5.3.6] Dead Lock while initializing tapestry

2013-04-20 Thread mailingl...@j-b-s.de
Sorry I do not understand your response. From the stacktrace T5 is building your service. In the constructor of the service currently created you are spawning a new thread which again needs services from the T5 app in the run method, right? Can't you defer thread creation to a method in your

[T5 5.3.6] Dead Lock while initializing tapestry

2013-04-18 Thread Arunas F
Hi, We are using T5 version 5.3.6. I found that Tapestry runs into a dead lock while building registry (initializing) if I start a new Thread what uses some T5 services. Right now we have disabled multi threading while initializing app. But I would like to know, is it a T5 bug and I should

Re: [T5 5.3.6] Dead Lock while initializing tapestry

2013-04-18 Thread mailingl...@j-b-s.de
Are you spawning a new thread in your MongoDBImpl.java:30 which makes use of T5 services, too? From the Stacktrace you are (well T5 IOC is) building the mongodb service right now. What happens in the ctor of your class? Can you paste some code?? Jens Sent from my iPhone On 18.04.2013, at 17

Re: [T5 5.3.6] Dead Lock while initializing tapestry

2013-04-18 Thread Arunas F
No, not at all. New Thread is spawned at some moment while initializing T5 app. And there is nothing special about a code: new Thread(new Runnable() { @Override public void run() { if (logger.isDebugEnabled()) logger.debug(etlName + initializing

Re: [T5] Avoid logs in error for wrong urls and missing components ?

2013-04-09 Thread Ivan Khalopik
What about configuring robots.txt? On Sat, Apr 6, 2013 at 1:50 PM, Nicolas Bouillon nico...@bouillon.netwrote: Thanks for your thoughts, and that leads me to the following suggestion to resolve my problem: I've already contributed a custom RequestExceptionHandler using

Re: [T5] Avoid logs in error for wrong urls and missing components ?

2013-04-06 Thread Muhammad Gelbana
When you create a tapestry project using maven's archtype, it creates the below request filter (slightly modified) to log how much time each request consumed. // Service building public RequestFilter buildTimingFilter(final Logger log) { return new RequestFilter() { @Override

Re: [T5] Avoid logs in error for wrong urls and missing components ?

2013-04-06 Thread Nicolas Bouillon
Thanks for your thoughts, and that leads me to the following suggestion to resolve my problem: I've already contributed a custom RequestExceptionHandler using binder.bind(RequestExceptionHandler.class, CustomRequestExceptionHandler.class) .withId(CustomRequestExceptionHandler);

[T5] Avoid logs in error for wrong urls and missing components ?

2013-04-05 Thread Nicolas Bouillon
Dear all, I'm working on a e-commerce website in Tapestry 5 since a couple of years and we are making our website evolving constantly, adding some features and changing stuff here and there. I'm closely monitoring application logs but i'm very annoyed by robots who reminds some URLs that are not

Re: T5 and AppEngine 1.7.3 dev server IllegalStateException

2013-02-07 Thread arnold.mi...@gmail.com
This is caused by this issue: http://code.google.com/p/googleappengine/issues/detail?id=8201 -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-and-AppEngine-1-7-3-dev-server-IllegalStateException-tp5717683p5719841.html Sent from the Tapestry - User mailing list archive

Re: T5 Varargs in service methods

2013-01-28 Thread llama-king
.n5.nabble.com/T5-Varargs-in-service-methods-tp2426400p5719600.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail

Re: T5 Varargs in service methods

2013-01-28 Thread Thiago H de Paula Figueiredo
On Mon, 28 Jan 2013 07:53:52 -0200, llama-king p.hv...@albourne.com wrote: Sorry to dig up an old thread but seems I'm experiencing precisely the same issue. Running on 5.3.6, injecting a service, calling method in service that takes varargs. Any ideas what might be the cause? This

RE: new javascript support for T5

2013-01-04 Thread nhhockeyplayer nashua
: nhhockeypla...@hotmail.com To: users@tapestry.apache.org Subject: new javascript support for T5 Date: Wed, 2 Jan 2013 15:06:25 -0500 Folks, Any idea when the new javascript support will be available for T5? Can wait to try it out. Best regards and thanks... KEN

Re: new javascript support for T5

2013-01-04 Thread Howard Lewis Ship
Subject: new javascript support for T5 Date: Wed, 2 Jan 2013 15:06:25 -0500 Folks, Any idea when the new javascript support will be available for T5? Can wait to try it out. Best regards and thanks... KEN -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry

new javascript support for T5

2013-01-02 Thread nhhockeyplayer nashua
Folks, Any idea when the new javascript support will be available for T5? Can wait to try it out. Best regards and thanks... KEN

RE: what javascript does T5 use

2012-12-19 Thread Lance Java
party library tapestry-jquery which removes prototype from a tapestry application and uses jquery instead. It comes with some jquery-ui based components built in. http://tapestry5-jquery.com/ -- View this message in context: http://tapestry.1045711.n5.nabble.com/what-javascript-does-T5-use

what javascript does T5 use

2012-12-18 Thread nhhockeyplayer nashua
Sorry folks, i been scoping out T5 javascript and still confused. i have been operating T5.3 http://tapestry.apache.org/release-notes-532.html http://tapestry.apache.org/2012/02/07/announcing-tapestry-532.html Still wondering if T5 goes with some javascript framework. Scriptaculous

RE: what javascript does T5 use

2012-12-18 Thread nhhockeyplayer nashua
Ok found it http://tapestry.apache.org/javascript.html So is the Javascript portion of T5 going to anew framework in future releases ? Thanks for your patience Best regards and thanks... KEN From: nhhockeypla...@hotmail.com To: users@tapestry.apache.org Subject: what javascript does T5 use

T5 Embedded Components

2012-12-07 Thread captain_rhino
this message in context: http://tapestry.1045711.n5.nabble.com/T5-Embedded-Components-tp5718541.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Re: T5 Embedded Components

2012-12-07 Thread Kristian Marinkovic
/cao/pages/partner/Welcome.tml). How can I pass the Text field component to the SimpleTextField Component to avoid the above error or is there a different approach I should be taking? Thanks in advance. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Embedded

Re: T5 Embedded Components

2012-12-07 Thread Thiago H de Paula Figueiredo
On Fri, 07 Dec 2012 10:51:44 -0200, captain_rhino graeme.kitc...@axa-travel-insurance.com wrote: Embedded components It's a little weird to talk in Tapestry about embedded components because all components can be used inside another component and pages are 99% the same as components.

T5 jQuery - how to integrate?

2012-11-06 Thread membersound
.1045711.n5.nabble.com/T5-jQuery-how-to-integrate-tp5717696.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

Re: T5 jQuery - how to integrate?

2012-11-06 Thread Emmanuel DEMEY
by: org.apache.tapestry5.ioc.internal.util.TapestryException: Unable to resolve 'jquery/autocomplete' to a component class name. Did I miss something? -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-jQuery-how-to-integrate-tp5717696.html Sent from the Tapestry - User mailing list

Re: T5 and AppEngine 1.7.3 dev server IllegalStateException

2012-11-05 Thread Alex Kotchnev
Correction, this issue seems to have shown up w/ GAE 1.7.2 instead of 1.7.3 . Reverting the appengine sdk to version 1.7.1.1 resolves the issue whereas staying w/ 1.7.2 does not. Cheers - Alex K On Mon, Nov 5, 2012 at 11:35 PM, Alex Kotchnev akoch...@gmail.com wrote: I was migrating an older

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

Re: Suppressing t5 translations

2012-10-30 Thread Howard Lewis Ship
You can contribute an override message catalog, with overrides of the affected message keys, to the ComponentMessagesSource service. On Tue, Oct 30, 2012 at 10:25 AM, Wechsung, Wulf wulf.wechs...@sap.com wrote: Hello Guys, Today I found issue: https://issues.apache.org/jira/browse/TAP5-2023

RE: Suppressing t5 translations

2012-10-30 Thread Wechsung, Wulf
Wow, that was quick. Thanks :) -Original Message- From: Howard Lewis Ship [mailto:hls...@gmail.com] Sent: Dienstag, 30. Oktober 2012 18:34 To: Tapestry users Subject: Re: Suppressing t5 translations You can contribute an override message catalog, with overrides of the affected message

Re: t5: clear cookie when browser closes

2012-10-26 Thread sub
in context: http://tapestry.1045711.n5.nabble.com/t5-clear-cookie-when-browser-closes-tp3380592p5717271.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Re: t5: clear cookie when browser closes

2012-10-26 Thread Thiago H de Paula Figueiredo
On Fri, 26 Oct 2012 06:30:05 -0200, sub b4679...@nwldx.com wrote: Well I ended up injecting the HttpServletResponse and use HttpServletResponse.addCookie directly. I really would liked to use the methods provided by Tapestry to keep the code clean of any workarounds, but I don't think this is

Re: t5: clear cookie when browser closes

2012-10-26 Thread sub
Thiago, there already is a ticket: https://issues.apache.org/jira/browse/TAP5-1394 I voted for it. -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-clear-cookie-when-browser-closes-tp3380592p5717292.html Sent from the Tapestry - User mailing list archive

Re: t5: clear cookie when browser closes

2012-10-26 Thread Thiago H de Paula Figueiredo
On Fri, 26 Oct 2012 11:22:06 -0200, sub b4679...@nwldx.com wrote: Thiago, Hi! there already is a ticket: https://issues.apache.org/jira/browse/TAP5-1394 I voted for it. Ah, OK, I overlooked that. Thanks! -- Thiago H. de Paula Figueiredo

Re: t5: clear cookie when browser closes

2012-10-25 Thread sub
.ioc.util.TimeInterval) failed: Unexpected string '-' (in time interval '-1'). What other options do I have? Thx Tim -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-clear-cookie-when-browser-closes-tp3380592p5717232.html Sent from the Tapestry - User mailing list archive at Nabble.com

T5 checkbox and validate

2012-10-23 Thread ferengra
reasons. There was a related topic in 2008: http://tapestry.1045711.n5.nabble.com/T5-checkbox-component-and-validation-td2420125.html In T5 the fields RadioGroup and Palette were extended with this parameter: https://issues.apache.org/jira/browse/TAP5-166 https://issues.apache.org/jira/browse/TAP5-868

Re: New article re: T5-Flash integration

2012-10-18 Thread ael
Ioko-Tapestry-Commons 1.11.0 is compatible with T5.3.6 :) https://github.com/ioko-tapestry-commons/ioko-tapestry-commons Just build the source to have a jar file. -- View this message in context: http://tapestry.1045711.n5.nabble.com/New-article-re-T5-Flash-integration-tp2422860p5717048.html

Re: New article re: T5-Flash integration

2012-10-17 Thread ael
Any new link for this? http://knol.google.com/k/toby-hobson/tapestry5-flash-integration/ Dead link... -- View this message in context: http://tapestry.1045711.n5.nabble.com/New-article-re-T5-Flash-integration-tp2422860p5717028.html Sent from the Tapestry - User mailing list archive

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

Re: T5 and JS UI Frameworks

2012-10-08 Thread Lance Java
Many UI frameworks work best with restful web services that return json responses. You might find tapestry-resteasy a good fit (http://tynamo.org/tapestry-resteasy+guide) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-and-JS-UI-Frameworks-tp5716703p5716704.html Sent

Re: T5 and JS UI Frameworks

2012-10-08 Thread Lenny Primak
Sounds like vaadin. We use smartgwt in our apps within tapestry. It works great along with an integration layer in the FlowLogix library. On Oct 8, 2012, at 6:38 AM, Wechsung, Wulf wulf.wechs...@sap.com wrote: Hi Everyone, I'm currently evaluating a proprietary JavaScript UI Framework for

Re: calling java native functions in T5

2012-09-29 Thread Muhammad Gelbana
I highly doubt it but T5 is always updating so you might have to read the docs thoroughly to make sure. Yet it's not hard at all to call java functions from templates. http://tapestry.apache.org/property-expressions.html On Sat, Sep 29, 2012 at 12:10 AM, Ken in Nashua kcola...@live.com wrote

Re: T4 javascript code snippet upgrade to T5 ?

2012-09-27 Thread Thiago H de Paula Figueiredo
On Thu, 27 Sep 2012 10:57:40 -0300, Ken in Nashua kcola...@live.com wrote: Folks, Hi! i have a T4 snippet HOME.TML span jwcid=@Script script=/org/trails/demo/components/Gallery.script component = ognl:components.galleryWidget itemsPerPage =

RE: T4 to T5 select component usage

2012-09-27 Thread Ken in Nashua
Ivan, Preeviette !!! Thanks for the generous contribution and good faith. I am excited. I will give that a shot over the weekend. Your tech support for tapestry 5 looks good. I will be as generous to post my widget when I get it QA'd... going to be some weeks though... each month I think i

Re: [T5] Select, palette, multiselect

2012-09-24 Thread nkv1
to implement multiselect with T5: http://www.nabble.com/T5%3A-select-component-with-support-for-attribute-%22multiple%22-tf3880056.html#a10996038 Cheers, Martin Thiago - To unsubscribe, e-mail: users-unsubscribe

RE: t5: adding http header

2012-09-23 Thread netdawg
1941 07:55:00 GMT Transfer-Encoding chunked ServerJetty(6.1.26) Content-Type text/html; charset=utf-8 Cache-Control no-cache, no-store, must-revalidate -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-adding

Re: t5: adding http header

2012-09-23 Thread Bob Harner
(6.1.26) Content-Type text/html; charset=utf-8 Cache-Control no-cache, no-store, must-revalidate -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-adding-http-header-tp3369097p5716459.html Sent from the Tapestry - User mailing list archive

Re: t5: adding http header

2012-09-23 Thread Bob Harner
.nabble.com/t5-adding-http-header-tp3369097p5716459.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

Re: t5: adding http header

2012-09-23 Thread Chris Mylonas
=utf-8 Cache-Controlno-cache, no-store, must-revalidate -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-adding-http-header-tp3369097p5716459.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: t5: adding http header

2012-09-23 Thread netdawg
/t5-adding-http-header-tp3369097p5716463.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

Re: T4 to T5 select component usage

2012-09-21 Thread Ivan Khalopik
... nothing personal. kcola...@live.com From: kcola...@live.com To: users@tapestry.apache.org Subject: RE: T4 to T5 select component usage Date: Thu, 20 Sep 2012 23:06:27 -0400 Apologies for post... I uncovered some additional configurations that I failed to migrate to my T5 code base

T4 to T5 select component usage

2012-09-20 Thread Ken in Nashua
Guys/Gals (if any), I am upgrading some T4 code to T5 I have a T4 select component configuration/usage as follows: --- TML snippet --- tr td width=25% align=left nowrap=NOWRAP t:LabelItems Per Page/t:Label select t:type=Select

RE: T4 to T5 select component usage

2012-09-20 Thread Ken in Nashua
Apologies for post... I uncovered some additional configurations that I failed to migrate to my T5 code base. The actual definitions of the components usage I am attempting to use... inside my Home.tml h1 div id=page.title span jwcid=@Insert value=Listings

RE: T4 to T5 select component usage

2012-09-20 Thread Ken in Nashua
Referring to syntax... nothing personal. kcola...@live.com From: kcola...@live.com To: users@tapestry.apache.org Subject: RE: T4 to T5 select component usage Date: Thu, 20 Sep 2012 23:06:27 -0400 Apologies for post... I uncovered some additional configurations that I failed to migrate

Re: T5 Auto Binding of DAOs

2012-08-30 Thread Dmitry Gusev
There's a typo in the code snippet, should be: String className = interfacesPackage.getName() + .impl. + intf.getSimpleName() + Impl; We need just package name, not its toString() presentation which is package com.x.y.z On Thu, Aug 16, 2012 at 11:34 AM, Dmitry Gusev dmitry.gu...@gmail.comwrote:

T5: how to catch the exceptions thrown by the event handler?

2012-08-20 Thread Yunhua Sang
); form.recordError(e.getMessage()); } But seems that the catch parts never get executed, T5 just redirects the request to the exception page. Thanks, Yunhua

Re: T5: how to catch the exceptions thrown by the event handler?

2012-08-20 Thread Thiago H de Paula Figueiredo
(Exception e) { logger.error(Error occurred., e); form.recordError(e.getMessage()); } triggerEvent() just triggers the event, it doesn't handle it. But seems that the catch parts never get executed, T5 just redirects the request to the exception page

Re: T5: how to catch the exceptions thrown by the event handler?

2012-08-20 Thread Yunhua Sang
executed, T5 just redirects the request to the exception page. You can use a global exception page. -- Thiago H. de Paula Figueiredo --**--**- To unsubscribe, e-mail: users-unsubscribe@tapestry.**apache.orgusers-unsubscr

Re: T5: how to catch the exceptions thrown by the event handler?

2012-08-20 Thread Thiago H de Paula Figueiredo
On Mon, 20 Aug 2012 15:13:04 -0300, Yunhua Sang yunhua.s...@gmail.com wrote: Thanks Thiago. I am a bit confused from the API, it said: * @throws org.apache.tapestry5.runtime.ComponentEventException * if an event handler method throws a checked or unchecked exception

Re: T5: how to catch the exceptions thrown by the event handler?

2012-08-20 Thread Lenny Primak
{ resources.triggerEvent(anEvent, new Object[]{}, null); } catch (Exception e) { logger.error(Error occurred., e); form.recordError(e.getMessage()); } But seems that the catch parts never get executed, T5 just redirects the request

Re: T5: how to catch the exceptions thrown by the event handler?

2012-08-20 Thread Yunhua Sang
., e); form.recordError(e.getMessage()); } But seems that the catch parts never get executed, T5 just redirects the request to the exception page. Thanks, Yunhua - To unsubscribe, e-mail

Re: T5 Auto Binding of DAOs

2012-08-16 Thread Dmitry Gusev
Hi, correct me if I wrong, but you can't get instance of ClassNameLocator in module's bind method, right? Since the registry is not started yet. On Thu, Aug 16, 2012 at 2:43 AM, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Wed, 15 Aug 2012 19:33:24 -0300, Norman Franke

Re: T5 Auto Binding of DAOs

2012-08-16 Thread Dmitry Gusev
Thanks for sharing, Norman! Here's mine implementation: public static void bind(ServiceBinder binder) throwsClassNotFoundException { autobindServices(binder, ProjectDAO.class.getPackage()); autobindServices(binder, ProjectManager.class.getPackage()); ...

Re: T5 Auto Binding of DAOs

2012-08-16 Thread Thiago H de Paula Figueiredo
On Thu, 16 Aug 2012 03:48:17 -0300, Dmitry Gusev dmitry.gu...@gmail.com wrote: Hi, Hi! correct me if I wrong, but you can't get instance of ClassNameLocator in module's bind method, right? Since the registry is not started yet. Nope, but maybe Tapestry-IoC could provide it anyway. JIRA

Re: T5 Auto Binding of DAOs

2012-08-16 Thread Muhammad Gelbana
I remember tapestry that by searching for implementation classes in the same package by the same name but suffixed by Impl. Like MySvc as in interface and MySvcImpl as the implementation. 1. When I wan'ted to extract that piece of info from the docs I couldn't find it ! Is it deprecated ?! 2. The

Re: T5 Auto Binding of DAOs

2012-08-16 Thread Michael Prescott
I might.. yes. I don't necessarily need a lot of content, but a paragraph and a few code snippets for each service would be a fantastic jump-off point. One side effect of all Tapestry's injection, reflection-based config and event binding, and literate APIs, is that the explorability suffers a

Re: T5: override numeric validator message for specific field

2012-08-15 Thread Thiago H de Paula Figueiredo
On Wed, 15 Aug 2012 09:16:58 -0300, Dmitriy Vsekhvalnov dvsekhval...@gmail.com wrote: Hello, Hi! I have BigDecimal property named: hourlyRate, default validator message is: 'You must provide numeric value for Hourly Rate' how i can override it with page.properties? Neither

T5 Auto Binding of DAOs

2012-08-15 Thread Norman Franke
Something similar was asked in another thread, but I figured others may find this helpful. I wanted to automatically bind my interfaces and implementations of my numerous DAOs in my AppModule. It's pretty easy, so here is what I idd. This is called from the bind static method. Obviously you'd

Re: T5 Auto Binding of DAOs

2012-08-15 Thread Thiago H de Paula Figueiredo
On Wed, 15 Aug 2012 19:33:24 -0300, Norman Franke nor...@myasd.com wrote: Helper method borrowed from who-knows-where: public static ListClass? getClassesForPackage(String packageName) throws ClassNotFoundException { Have you taken a look at Tapestry's ClassNameLocator and

Re: T5 Auto Binding of DAOs

2012-08-15 Thread Michael Prescott
That's very nifty, Norman. This is a simultaneously inspiring and depressing reminder that despite having used Tapestry since version 3, I still feel like a total noob. :-) I'd love to see a blog series on Services you never knew about and fun things to do with them! Michael On 15 August 2012

Re: T5 Auto Binding of DAOs

2012-08-15 Thread Norman Franke
It was an internal class when I first started, and I generally won't use classes in internal packages. I see it's been moved, so that may very well be a better idea. Norman Franke Answering Service for Directors, Inc. www.myasd.com On Aug 15, 2012, at 6:43 PM, Thiago H de Paula Figueiredo

Re: T5 Auto Binding of DAOs

2012-08-15 Thread Thiago H de Paula Figueiredo
On Wed, 15 Aug 2012 19:47:50 -0300, Michael Prescott michael.r.presc...@gmail.com wrote: That's very nifty, Norman. This is a simultaneously inspiring and depressing reminder that despite having used Tapestry since version 3, I still feel like a total noob. :-) I'd love to see a blog series

Re: T5: standard validator for decimal numbers with 2 digits?

2012-08-14 Thread Ray Nicholus
Either contribute a Validator and/or write some javascript. On Tue, Aug 14, 2012 at 12:50 PM, Dmitriy Vsekhvalnov dvsekhval...@gmail.com wrote: Hi everybody, stupidly, but can't find it: Can i have input field for double values, which restricts up to 2 digits after point? Thanks.

Re: T5: How to custome the GridPager ?

2012-08-13 Thread Bob.Sky
://tapestry.1045711.n5.nabble.com/T5-How-to-custome-the-GridPager-tp5715219p5715376.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional

Re: T5: How to custome the GridPager ?

2012-08-10 Thread antalk
Hi, Depends on what you want to change ? 1. Layout - colors - change the CSS 2. Structure and or behaviour - override the GridPager class -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-How-to-custome-the-GridPager-tp5715219p5715220.html Sent from the Tapestry

<    1   2   3   4   5   6   7   8   9   10   >