Tapestry-Spring: Abstract spring bean produce NPE

2013-02-05 Thread lukaszkaleta
Hi, I am having following spring bean in mine context For this bean I am getting following exception: Maybe someone know solution for that problem and will give me hint how to solve it ? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Spring-Abstract-sp

Re: Pages from Other module not available

2013-02-05 Thread lukaszkaleta
Thanks it works -- View this message in context: http://tapestry.1045711.n5.nabble.com/Pages-from-Other-module-not-available-tp5719756p5719792.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubsc

Re: project template and page changes don't get picked up by maven jetty plugin?

2013-02-05 Thread Bob Harner
Take a look at the troubleshooting section at the bottom of http://tapestry.apache.org/class-reloading.html -- the problem is usually one of the things listed there. On Tue, Feb 5, 2013 at 9:58 AM, John wrote: > Usually any changes I make to my page sources are built and deployed right > away, s

Re: Keeping the session alive pattern?

2013-02-05 Thread sommeralex
lance, ipramak, thank you for the answers / helpful! 2013/2/5 lprimak [via Tapestry] > The FlowLogix library ( http://code.google.com/p/flowlogix/ ) has > components to deal with the session timeout issues and Ajax. > > Take a look at these in particular: > > http://code.google.com/p/flowlogi

Re: Keeping the session alive pattern?

2013-02-05 Thread Lenny Primak
The FlowLogix library ( http://code.google.com/p/flowlogix/ ) has components to deal with the session timeout issues and Ajax. Take a look at these in particular: http://code.google.com/p/flowlogix/wiki/TLAJAXAnnotation http://code.google.com/p/flowlogix/wiki/TLSessionMonitor On Feb 5, 2013, a

Re: Keeping the session alive pattern?

2013-02-05 Thread Lance Java
You could develop a new page annotation (@RequiresSession) that you could mark your pages with. Then you could contribute a ComponentRequestFilter which makes sure that a valid session is available for all pages marked with @RequiresSession. For normal (non-ajax) requests, the filter causes a redir

localizationSetter.setLocaleFromLocaleName(...) doesn't work correctly

2013-02-05 Thread René Bernhardsgrütter
Hi everybody, I have a problem with cookie stored locales, switched by the user with T5.3.6. The code snippets are below, commented. Tapestry loads the LocaleRequestFilter and invokes the service method on each request. I get the correct language value out of the cookie. The problem is, that this

Re: Tapestry HTTPS redirect to port 80

2013-02-05 Thread gaweL
Hi, Thanks a lot, never used this constants before 5.3.6. Anyway, it works ! Thanks again :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-HTTPS-redirect-to-port-80-tp5719759p5719782.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Tapestry HTTPS redirect to port 80

2013-02-05 Thread Alejandro Scandroli
Hi Gael Make sure you have contributed values for SymbolConstants.HOSTPORT and SymbolConstants.HOSTPORT_SECURE in your applicationDefaults. The issue you are seeing is due most likely to a missing SymbolConstants.HOSTPORT_SECURE. It should work without SymbolConstants.HOSTPORT_SECURE, but I think

Re: Tapestry-Jquery Datatable Configuration

2013-02-05 Thread Emmanuel DEMEY
You're welcome ;) Manu 2013/2/5 George Christman > Manu, your good, Thanks man. Issue resolved. > > Solution, > > Java. > > public JSONObject getOptions() { > JSONObject json = new JSONObject(); > json.put("bJQueryUI", "true"); > json.put("bStateSave", true); >

Re: Tapestry-Jquery Datatable Configuration

2013-02-05 Thread George Christman
Manu, your good, Thanks man. Issue resolved. Solution, Java. public JSONObject getOptions() { JSONObject json = new JSONObject(); json.put("bJQueryUI", "true"); json.put("bStateSave", true); json.put("sDom", "RH<\"clear\"><\"ui-toolbar ui-widget-header ui-corner

Re: jquery.dialog not showing

2013-02-05 Thread John
This is the rendered link: Edit The dialog div Edit Timetable Entry Tapestry init in the page Tapestry.init({ "activate" : [ "name" ], "button" : [ { "id" : "submit_0", "params" : { "type" : "button" }, "type

Re: Tapestry Slider Component

2013-02-05 Thread sommeralex
thank you -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Slider-Component-tp5719736p5719773.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user

Re: Tapestry Slider Component

2013-02-05 Thread sommeralex
thank you! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Slider-Component-tp5719736p5719772.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: use

Keeping the session alive pattern?

2013-02-05 Thread sommeralex
Hello! Is there a good "best practise" in tapestry/ (or webframeworks at all) for keeping a session for a page alive OR handling session timeouts? Is keeping a session alive an anti-pattern? I have two pages where some errors occur, if the user wants to do something but the session is over. Both

Re: Tapestry Slider Component

2013-02-05 Thread Geoff Callender
HTML5 slider is demonstrated here: http://jumpstart.doublenegative.com.au/jumpstart/examples/component/html5inputtypes Geoff On 05/02/2013, at 9:58 PM, Thiago H de Paula Figueiredo wrote: > On Tue, 05 Feb 2013 08:37:50 -0200, sommeralex > wrote: > >> Thx for the answer / the point i

jquery.dialog not showing

2013-02-05 Thread John
Hi, This jquery.dialog component used to pop up on my page when Edit was clicked but now it won't show. Any ideas? The associated event onActionFromTimetableEntryLink(Integer timetableId, Integer daynum) is fired fine. No associaed js console log output.

Re: Tapestry Slider Component

2013-02-05 Thread Lance Java
There are now 3 ways to use jquery with tapestry. 1. tapestry-jquery: This 3rd party library completely removes prototype from tapestry and replaces the core tapestry javascript with custom jquery logic. http://tapestry5-jquery.com/ 2. JQuery and Prototype side by side: This involves including a

Re: Tapestry Slider Component

2013-02-05 Thread Thiago H de Paula Figueiredo
On Tue, 05 Feb 2013 08:37:50 -0200, sommeralex wrote: Thx for the answer / the point is, tapestry uses prototype, and i cant find much tapestry docs about how to handle different js implementations like jQuery, There are many threads about this in the user mailing list archives. There

getting the actual tapestry locale

2013-02-05 Thread sommeralex
Hi! I need to get the (supported) tapestry locale of my page in my page java class. So first, i have set the locales in my AppModule: configuration.add("tapestry.supported-locales", "en, de"); then, i give the user the opportunity to switch void onActionFromDe(){ persistentLocale.set(Locale.GER

Re: Tapestry > 5.3 makes it impossible to load symbols from DB (TAP5-1823)

2013-02-05 Thread Lance Java
As suggested in the Jira, your SettingsService could @Inject ObjectLocator instead of the hibernate session. It could then lazily call ObjectLocator.getService(Session.class) to get the hibernate session. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-makes-

Re: Tapestry > 5.3 makes it impossible to load symbols from DB (TAP5-1823)

2013-02-05 Thread Steve Eynon
Assuming the SettingsService resides in the same module, try this: public static void contributeApplicationDefaults(MappedConfiguration configuration, @Local SettingsService settings) { settings.getString(UISymbolConstants.SUPPORTED_LOCALES, "de,en")); } the @Local annotation tells T5 not to

Re: Tapestry Slider Component

2013-02-05 Thread sommeralex
Hi Rnicholus, Thx for the answer / the point is, tapestry uses prototype, and i cant find much tapestry docs about how to handle different js implementations like jQuery, while prototype is in the "background" of Tapestry. In my opinion, it is a tapestry question. -- View this message in cont

Re: Pages from Other module not available

2013-02-05 Thread Thiago H de Paula Figueiredo
Hi! You're missing steps 3 and 4 in http://tapestry.apache.org/component-libraries.html. -- Thiago H. de Paula Figueiredo - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users

Tapestry HTTPS redirect to port 80

2013-02-05 Thread gaweL
Hi, Since tapestry 5.3.6 (previous 5.2.x) our https redirect is not working anymore. In our AppModule : public void contributeMetaDataLocator(MappedConfiguration configuration){ configuration.add(MetaDataConstants.SECURE_PAGE, "true"); } Our tomcat is listenning two different port : 80