Attribute Usages Within Grid Implementation

2024-04-22 Thread Michael Helbig
vailable Components using Core Grid classes could not be mixed. Is there a Reason for having the Values final ? Could this be improved by using protected ? Would be interested in hear your ideas on that ? Michael - To

Reason for PlasticClassLoader Problems

2024-01-16 Thread Michael Helbig
de. is in unnamed module of loader org.apache.tapestry5.internal.plastic.PlasticClassLoader @1e0785a0) No change on the Application or anything else. Any idea for that ?? After clearing again the Temp / Work Directory the app starts without any problem again. Thanks in advance

Migration planned From Java EE8 to Jakarta EE9

2023-03-21 Thread Michael Helbig
. Michael

Problem with Ajax Form Submit and invalid Response Status

2023-02-21 Thread Michael Helbig
information on the Feedback. _Template:_     _Java Class:_ public onSuccessFromDummy() {  task, but not executed due to failed communications... } How i am able to recognized from the Tapestry Pages the failed communication ? Michael OpenPGP_0xFA876F05718C5875.asc Description: OpenPGP

Re: QuickStart

2018-11-26 Thread Michael Capper
⁣Sent from BlueMail ​ On Nov 26, 2018, 09:21, at 09:21, Juicy Cocktail wrote: >Here is something I throw at you: 🥗🍕 > >Best Regards, >Rafael > >P.S. Don’t feed the trolls. > > >> On Nov 26, 2018, at 9:17 AM, Emmanuel Sowah wrote: >> >> But is web application framework not an overkill for this

Re: Single Page Application

2018-05-30 Thread Michael Gentry
re easier ways to do SPAs. > > > https://killertilapia.blogspot.com/2013/06/resteasy-tapestry-with-angularjs.html > > On Wed, May 30, 2018 at 1:31 AM, Michael Gentry > wrote: > > > Tapestry RESTEasy is also quite nice: > > > > http://www.tynamo.org/tapestry-rest

Re: Single Page Application

2018-05-29 Thread Michael Gentry
Tapestry RESTEasy is also quite nice: http://www.tynamo.org/tapestry-resteasy+guide/ On Fri, May 18, 2018 at 5:40 PM Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, May 18, 2018 at 6:36 PM, Juan wrote: > > > Hello, are there any good example of doing a single page applica

Session-Based HMAC

2017-07-20 Thread Michael Gentry
Has anyone modified Tapestry's built-in HMAC support to include support for session-based HMAC? There was a mailing list thread a while back talking about it (ending with please file a Jira), but I couldn't find anything else about it: http://mail-archives.apache.org/mod_mbox/tapestry-users/20131

T5 + Tynamo RESTEasy + UriInfo

2017-02-08 Thread Michael Gentry
This is an FYI in case it helps others. Converting a non-T5 REST-based application into a T5 + Tynamo RESTEasy version. The original application used: @Context private UriInfo uriinfo; to inject UriInfo to construct URLs to other REST services. but this didin't work with Tynamo's RESTEasy.

Re: AMP pages with Tapestry

2016-11-30 Thread Michael Gentry
Hi Carlos, I've never used AMP, but see if the following markup will work with it: mrg On Tue, Nov 29, 2016 at 3:36 PM, Carlos Montero Canabal < carlosmonterocana...@gmail.com> wrote: > Hello Tapestry users, > > I would like to create an amp version of my pages into a tapestry5.4 > webapp. A

Re: Activation event handler regression after upgrading from 5.4-beta-22 to 5.4-beta-31

2015-04-22 Thread Michael Gentry
I wonder if it might have something to do with the superclass signature being: void activate(EventContext) and the subclass signature being: Object activate(EventContext) I know I've used similar patterns in 5.3, but haven't tried in 5.4 yet. mrg On Wed, Apr 22, 2015 at 6:56 AM, Chris Poulse

Re: SymbolConstants.SECURE_PAGE missing?

2015-04-09 Thread Michael Gentry
l-SSL for testing/production.) Thanks, mrg On Wed, Apr 8, 2015 at 3:33 PM, Dimitris Zenios wrote: > Hi > > SECURE_PAGE is part of MetaDataConstants not SymbolConstants > > What exactly are you trying to achieve? > > Thanks > > On Wed, Apr 8, 2015 at 10:22 PM, Mich

SymbolConstants.SECURE_PAGE missing?

2015-04-08 Thread Michael Gentry
Hello, I was trying to inject this symbol value into one of our pages, but it appears to not be present in SymbolConstants. Is this an oversight or is this symbol not intended to be visible? Thanks, mrg PS. If it matters, I'm on 5.4b26.

Re: Two fundamental questions.

2015-01-21 Thread Michael Gentry
Hi Charles, We generally don't use any kind of special integration with our Tapestry+Cayenne applications here. A couple general scenarios are: 1. Your application is session-heavy (ours are). In this case you store your Cayenne objects in your session objects (page/component-based or global) a

Re: Facebook Federate 400 error with session id.

2014-11-23 Thread Michael
If you're using tomcat attribute disableUrlRewriting="true" to . Michael Gagauz 23.11.2014 21:38 пользователь "George Christman" написал: > So the first time a user attempts to authenticate my app using facebook, > they always experience a 400 error. This g

Re: Tapestry 5.3.8 Maven repository

2014-10-18 Thread Michael Leuthold
out of the door. Regards, Michael On Fri, Oct 17, 2014 at 5:39 PM, Kalle Korhonen wrote: > Has not been released yet. > > Kalle > On Oct 17, 2014 8:25 AM, "Semen Vishniakov" wrote: > >> Hi, >> >> I would like to know whether tapestry 5.3.8 with java

Re: 5.4 Upload / Long Response Issue?

2014-09-04 Thread Michael Gentry
FWIW, I just tested in Tomcat and it works fine. I'm going to assume it is something with the Maven Jetty plugin and not a Tapestry 5.4 issue. Thanks! mrg On Fri, Aug 29, 2014 at 8:40 AM, Michael Gentry wrote: > H Lance, > > There were no exceptions and I was using VisualVM

Re: 5.4 Upload / Long Response Issue?

2014-08-29 Thread Michael Gentry
H Lance, There were no exceptions and I was using VisualVM to monitor the heap/GCs/etc and there was plenty of memory available, even when processing both threads. (About 150-200MB used out of 1GB allocated.) mrg On Fri, Aug 29, 2014 at 3:17 AM, Lance Java wrote: > Put a > try {...} catch (

How to get current element in mixin

2014-08-29 Thread Michael
I need a mixin which can be attached to different elements (with and without body). The mixin wraps original element with another and adds some classes to the original. How I can get current element while render? I'd use writer.getElement() in render body but its not triggered in components with em

Re: 5.4 Upload / Long Response Issue?

2014-08-28 Thread Michael Gentry
Could be the Maven plugin, perhaps. On Thu, Aug 28, 2014 at 4:17 PM, Michael Gentry wrote: > I can try Tomcat, but i'll be a day or two or so before I can get to that. > > mrg > > > > On Thu, Aug 28, 2014 at 3:35 PM, Lance Java > wrote: > >> Totally weir

Re: 5.4 Upload / Long Response Issue?

2014-08-28 Thread Michael Gentry
I can try Tomcat, but i'll be a day or two or so before I can get to that. mrg On Thu, Aug 28, 2014 at 3:35 PM, Lance Java wrote: > Totally weird, can you try deploying to tomcat? It's worth a try to see if > an issue with jetty. > On 28 Aug 2014 19:36, "Michael

Re: 5.4 Upload / Long Response Issue?

2014-08-28 Thread Michael Gentry
Hi again Lance, 1) No proxy. Directly connecting to Jetty @ http://localhost:6789/ 2) No other filters. I'm using Tapestry's IOC for services and trying to keep things lean. FWIW, when I dropped the file in as a unit test, it would import just fine using the T5 service without spawning ext

Re: 5.4 Upload / Long Response Issue?

2014-08-28 Thread Michael Gentry
Hi Lance, All 3 browsers issue a single request. The second thread and onValidate/onSuccess occur 30 seconds after the original upload using all 3 browsers (and repost/redeliver the original payload it seems, since the complete XML file is available to the new thread(s)). Thanks, mrg On Thu,

5.4 Upload / Long Response Issue?

2014-08-28 Thread Michael Gentry
Hi everyone, I'm currently using 5.4B6 and we are doing uploads of XML data (using the standard Tapestry Upload/UploadFile mechanism -- no multi-file AJAX/etc extensions). When we upload a small file, it processes just fine, but on a larger file (which takes several minutes to process), multiple

Re: Provide application version in jetty pom definition

2014-08-21 Thread Michael Gentry
* > > catalogue.online > false > > > > > > but sadly it

Re: Provide application version in jetty pom definition

2014-08-21 Thread Michael Gentry
Hi Boris, Perhaps it didn't get e-mailed out very well, but you appear to have one too many "tapestry." strings in your name and your name is missing a bracket. Try: tapestry.application-version mrg On Thu, Aug 21, 2014 at 5:01 PM, Boris Horvat wrote: > Hi all, > > I have tried to provide a

Re: Browser Detection

2014-08-12 Thread Michael Gentry
Here is what I currently use (which may not be the best approach, but works for my present needs). UserAgent Service: https://gist.github.com/mrg/b814a42d86597440c9d9 I primarily use it in this IEWarning component, which I have in my Layout: https://gist.github.com/mrg/ba7395fa89a48a4c423d mrg

Re: JSONobject as return value of event handler

2014-08-05 Thread Michael Gentry
Hi Charlouze, I've not used d3.json before, but the fact you are getting "Return type org.apache.tapestry5.json.JSONObject can not be handled" indicates that d3.json isn't setting the XMLHttpRequest flag (see Tapestry Request's isXHR() method), so Tapestry is trying to convert the return type into

Re: Tracking ajax requests with T5.4

2014-07-24 Thread Michael Wyraz
() {...}) On 24 Jul 2014 11:15, "Lance Java" wrote: $(document).bind(Tapestry.ZONE_UPDATED_EVENT, function() {...}) On 24 Jul 2014 10:22, "Michael Wyraz" wrote: Hi, unfortunately it works not completely as expected. The reason is that that jQuery event if fired when the

Re: Tracking ajax requests with T5.4

2014-07-24 Thread Michael Wyraz
a special "WebDriverWait"-Condition that checks this flag. On Wed, 23 Jul 2014 10:46:24 -0300, Michael Wyraz wrote: Hi, Hi! I'd like to track ajax requests (when do they start, when they are finished) for some purposes: Both Prototype and jQuery provide callbacks for this

Re: Tracking ajax requests with T5.4

2014-07-24 Thread Michael Wyraz
jax requests: "+ajaxCount); document.ajaxRunning=ajaxCount>0; }); }); Plus a special "WebDriverWait"-Condition that checks this flag. On Wed, 23 Jul 2014 10:46:24 -0300, Michael Wyraz wrote: Hi, Hi! I'd like to track ajax requests (when do they start, when they are finis

Tracking ajax requests with T5.4

2014-07-23 Thread Michael Wyraz
orted and it is decreased before the request is processed - so not an ideal solution. What would be the best way to hook into dom.ajaxRequest or alternatively in ajax.js? Or should we change it in tapestry to expose this information via dom events? Kind r

Re: tapestry5-d3 - d3 integration

2014-07-08 Thread Michael Gentry
(from database queries) for the CoffeeScript success handler to process. mrg On Tue, Jul 8, 2014 at 4:17 AM, Régis Legrand wrote: > Hello Michael, > > Yes it seems to be interesting. Do you have a repo in order to compare with > our implementation in order to get the best of both

Re: tapestry5-d3 - d3 integration

2014-07-07 Thread Michael Gentry
Hi Régis (and others), We just did a simple D3 integration into our Tapestry 5.4 Beta 6 application and with RequireJS/jQuery/etc being provided by Tapestry now it seems a pretty simple integration. For our Java class (with stuff removed to just show invoking the module): @Import(stylesheet = {

Re: IoC / Multiple Implementations

2014-06-17 Thread Michael Leuthold
plays out best. However, with the given options it's a little more overhead to "hand-craft" the implementations to build the configuration but this should be do-able. Though think it would be more intuitive to just have the List<> injected from whatever is registered with the

Re: Multi file upload

2014-06-17 Thread Michael Leuthold
We integrated jQuery-File-Upload as well but the Request to upload files is posted to a EventLink-URL that is provided upon initialization of the File-Upload-Plugin. The event is then handled by the component and files are extracted using org.apache.commons.fileupload.servlet.ServletFileUpload fro

IoC / Multiple Implementations

2014-06-17 Thread Michael Leuthold
oes anyone have a hint where to look here? Maybe I need to register that list explicitly. Thanks, Michael - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: autocomplete data source

2014-05-16 Thread Michael Gentry
Hi Ilya, onActivate() gets called for both normal page render requests and AJAX/XHR requests (used by the autocomplete). Have you tried: @Inject private Request request; and calling the isXHR() method in request in your onActivate() to determine if the request is normal or AJAX? onActivate() {

Re: Invalidating a session

2014-05-16 Thread Michael Gentry
Hi Thiago, I wasn't aware there could be additional consequences, so thanks for the information. mrg On Wed, May 14, 2014 at 3:37 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 14 May 2014 11:02:24 -0300, Michael Gentry > wrote: > > Genera

Re: Invalidating a session

2014-05-14 Thread Michael Gentry
Generally, yes, but sometimes you need access to methods not available in Request. On Tue, May 13, 2014 at 8:09 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 12 May 2014 11:04:40 -0300, Michael Gentry > wrote: > > Hi Sanket, >> >

Re: WebSocket for tapestry

2014-05-13 Thread Michael Dukaczewski
Is tapestry-atmosphere compatible with Tapestry 5.4? Am 13.05.14 10:27, schrieb Lance Java: In particular, you'll be interested in the usage of HttpServletHttpServletRequestFilter. https://github.com/uklance/tapestry-atmosphere/blob/master/tapestry-atmosphere/src/main/java/org/lazan/t5/atmosp

Re: Invalidating a session

2014-05-12 Thread Michael Gentry
Hi Sanket, We use: @Inject private HttpServletRequest request; ... if (request.getSession(false) != null) request.getSession(false).invalidate(); However, since we also use an SSO, we have to remove all cookies associated with the SSO, etc. mrg On Wed, May 7, 2014 at 3:31

Using an Interceptor with Tapestry Resteasy

2014-05-12 Thread Michael Goode
/23562514/using-an-interceptor-with-tapestry-resteasy) also. Any help is very much appreciated ! Regards, Michael

Re: Asset placement t5.4

2014-05-11 Thread Michael Gentry
Hi George, You can put your CSS/Less files in: src/main/resources/META-INF/assets/css and then import them with: @Import(stylesheet="css/filename.css") (or .less) mrg On Wed, May 7, 2014 at 1:48 PM, George Christman wrote: > Hi everyone, I'm getting the following error, > > (AssetSourceIm

Re: StylesheetOptions().withCondition("IE") not working in 5.4

2014-04-28 Thread Michael Gentry
Hi George, I created a UserAgent service to query some basic browser information. Since this is done entirely in Java, the approach could work for you, I think. Here is what the interface looks like: public interface UserAgent { public String getUserAgent(); public boolean isIE();

Re: form submit on pressing Enter inside a TextField

2014-04-17 Thread Michael Gentry
Hi Ilya, As far as I know, this is standard browser/form behavior, regardless of the web framework you are using (Tapestry, PHP, etc). You can use JavaScript to change the behavior or CSS to do tricky things, like move the positions of the submit buttons when they render so that the one you want

Re: tapestry-wro4j errors

2014-03-28 Thread Michael Gentry
A quick Google search found this, which might help: https://groups.google.com/forum/#!msg/wro4j/LYmnDGEgyLI/5ibuL33Scp0J On Fri, Mar 28, 2014 at 11:24 AM, Nathan Quirynen < nat...@pensionarchitects.be> wrote: > Thanks for the hint > > Apparently another dependency was pulling in commons-io:com

[5.4B3] File Upload Error

2014-03-24 Thread Michael Gentry
Hi everyone, I was trying to add a file upload component to a page. After adding the tapestry-upload dependency to my POM, I kept getting exceptions trying to convert CoffeeScript Files to JavaScript files: [ERROR] TapestryModule.RequestExceptionHandler Processing of request failed with uncaught

Re: [5.4B1] StyleSheet/Stack Bug?

2014-03-20 Thread Michael Gentry
> > ... > > public List getStylesheets() > { > List stylesheetLinks = new > ArrayList(); > > stylesheetLinks.add( new StylesheetLink( fontAwesomeStylesheet ) ); > ... > > HTH > > -- > Chris > > > > On Thu, Mar 20, 2014 at

Re: [5.4B1] StyleSheet/Stack Bug?

2014-03-20 Thread Michael Gentry
I tried with getClasspathAsset() and 5.4B3, neither of which found the CSS under src/main/resources. Is this a bug or should I just move the CSS to src/main/webapp? Thanks, mrg On Wed, Mar 19, 2014 at 6:49 PM, Michael Gentry wrote: > On Wed, Mar 19, 2014 at 5:56 PM, Thiago H de Pa

Re: [5.4B1] StyleSheet/Stack Bug?

2014-03-19 Thread Michael Gentry
On Wed, Mar 19, 2014 at 5:56 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 19 Mar 2014 18:23:48 -0300, Michael Gentry > wrote: > > Hi! > > Have you tried 5.4-beta-3? If not, please do it. > Hi Thiago! I haven't tried 5.4B3 yet because

[5.4B1] StyleSheet/Stack Bug?

2014-03-19 Thread Michael Gentry
Hi everyone, It may be that I did something wrong, but I think there is an issue with JS Stacks in 5.4 (CSS handling). I decided to create a Stack for the DataTables component we use instead of specifying the CSS/etc on each page. I originally had * @Import(stylesheet="datatables/css/dataTab

Tapestry IOC: Multiple bindings for same interface

2014-02-21 Thread Michael Gagauz
Is it possible in T5 to inject multiple services which implemented same interface into array field? I.e: @Inject private SomeService[] services; - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional com

Re: Loving the eclipse-tapestry5-plugin

2014-01-13 Thread Michael Dukaczewski
Maybe a special configuration for the plugin is not necessary. It would probably be enough to read the .classpath file to use the classpath of the eclipse project? Am 16.12.13 10:45, schrieb Michael Dukaczewski: It depends on the project I'm working on. I have projects in maven layo

Re: Loving the eclipse-tapestry5-plugin

2013-12-16 Thread Michael Dukaczewski
think this is the default Eclipse WTP project layout. Regards, Michael Am 03.12.13 18:30, schrieb Dmitry Gusev: What is the directory structure you use? Are you using multi-project structure? Do you think it would be enough to configure default locations on the Eclipse workspace level? Or sh

Re: Loving the eclipse-tapestry5-plugin

2013-12-03 Thread Michael Dukaczewski
I love the plugin also. But a way to configure the file locations would be great. We use a different project layout from Maven. Regards, Michael Am 02.12.13 20:37, schrieb Lance Java: I've just started using the new(ish) eclipse-tapestry5-plugin and I must say it's great!!

Re: Forms require that the request method be POST and that the t:formdata query parameter have values.

2013-12-02 Thread Michael Gagauz
I'm sure there are GET requests from search bots. Make sure you exclude action/event links and form actions in robots.txt (like Disallow: /*?t:ac=*, Disallow: */pagename.component:action* 02.12.2013 17:41, Ben Titmarsh пишет: Hi Guys, I'm getting quite a lot of these exceptions in my logs.

Re: conditional expression

2013-11-17 Thread Michael
@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- Best regards, Michael Gagauz - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: How do you turn off prototype in 5.4

2013-11-08 Thread Michael Gentry
> > /** > * Support for Tapestry 5.3 style initializers (the client-side {@code > T5.initializers} namespace). > */ > INITIALIZERS; > } > > Cheers, > Dragan Sahpaski > > > On Fri, Nov 8, 2013 at 6:42 PM, Michael Gentry >wrote: > > &

Re: How do you turn off prototype in 5.4

2013-11-08 Thread Michael Gentry
Hi George, I did it this way in AppModule.java: public static void contributeApplicationDefaults(MappedConfiguration configuration) { ... configuration.add(SymbolConstants.JAVASCRIPT_INFRASTRUCTURE_PROVIDER, "jquery"); } @Contribute(Compatibility.class) publi

Re: [Ann] tapestry-rss

2013-10-06 Thread Michael Gentry
BTW, I hope I didn't sound negative. I was just pointing out a similar project (which hasn't been updated in a while) and maybe there are good ideas in it, etc. mrg On Sun, Oct 6, 2013 at 8:41 AM, Michael Gentry wrote: > Hi Thiago, > > I have no idea the differences, but

Re: [Ann] tapestry-rss

2013-10-06 Thread Michael Gentry
Hi Thiago, I have no idea the differences, but I had this Tapestry RSS project starred from a while back: https://github.com/spreadthesource/tapestry5-rome mrg On Sat, Oct 5, 2013 at 3:13 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > Hi! > > I'm releasing yet another packag

Re: Dynamic templates vs > (and other special characters)

2013-09-27 Thread Michael
;>'. I end up with'>' which is not what I want. I know the suggestion for tml files is to use outputRaw but that does not work in a dynamic template. Thanks Barry -- Best regards, Michael Gagauz - To

Re: loop inside loop

2013-09-21 Thread Michael Gentry
Hello Jan, There was recently a discussion about t:context (and other things) not working as you would expect in a t:ajaxformloop compared to a t:loop. You may want to read through that discussion thread here: http://mail-archives.apache.org/mod_mbox/tapestry-users/201308.mbox/%3CCAAT_KPKFj561y3

Re: Renaming options in select menu using .properties

2013-09-19 Thread Michael
ing 5.4.22 with blankOption="literal:NEVER" added as a parameter to my select component. On Thu, Sep 19, 2013 at 10:14 AM, Michael Gagauz wrote: No idea. Which version of tapestry do you use? Try to add blankOption="never" param to select. 19.09.2013 18:07, George Christman п

Re: Renaming options in select menu using .properties

2013-09-19 Thread Michael Gagauz
No idea. Which version of tapestry do you use? Try to add blankOption="never" param to select. 19.09.2013 18:07, George Christman пишет: Michael, Thanks that worked perfectly, however for some strange reason, I still need the value encoder. Without it, I get the following error.

Re: Renaming options in select menu using .properties

2013-09-19 Thread Michael Gagauz
You can't do it using SelectModelFactory unless you'll create some kind of wrapper for Boolean. Try to create SelectModel manually: List tardies = new ArrayList(); tardies.add(new OptionModelImpl("Y", true)); tardies.add(new OptionModelImpl("N", false)); new Sel

Re: Redirection afer ajax call when session timeout.

2013-09-18 Thread Michael Gagauz
It's hard to tell why... Try to debug js code - is it called or not. But this sample is real one, I use it in several projects. 18.09.2013 17:23, ANDRE Christophe пишет: I tryed with this: $(document).ajaxComplete(function(event, xhr, options){ if (xhr&& xhr.getResponseHeader("Locati

Re: Redirection afer ajax call when session timeout.

2013-09-18 Thread Michael Gagauz
Another options to return from page/component event: 1. Link object 2. String with page url 3. JSON containing {redirectURL:"/desired/location"} 18.09.2013 16:22, ANDRE Christophe пишет: Hi, I have an application that use a lot of Ajax. When my session has expired, my server redirect me on my d

Re: Redirection afer ajax call when session timeout.

2013-09-18 Thread Michael Gagauz
If you're using jquery add following code to the page: $j(document).ajaxComplete(function(event, xhr, options){ if (xhr && xhr.getResponseHeader("Location")) { window.location = xhr.getResponseHeader("Location"); } }); 18.09.2013 16:22, ANDRE Christophe пишет: Hi, I have an app

Re: how to configure jquery/autocomplete for ssl?

2013-09-17 Thread Michael Gagauz
Hi. Make sure you added SymbolConstants.SECURE_ENABLED to your app configuration. In AppModule there should be method: protected static void contributeApplicationDefaults(final MappedConfiguration configuration) { configuration.add(SymbolConstants.SECURE_ENABLED, "true"); 17.09.20

Tapestry 5.3.6 JSONObject No null checking leads to NPE in Palette component

2013-09-16 Thread Michael
)) { session.print(NULL.toString()); return; } solves the problem. -- Best regards, Michael Gagauz

Re: t:submit with context inside a loop

2013-08-27 Thread Michael Gentry
Default value of LinkSubmit's "defer" parameter is true. > http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/LinkSubmit.html > > > On 27 August 2013 01:27, Michael Gentry wrote: > >> Hi Ilya, >> >> I just used the stan

Re: t:submit with context inside a loop

2013-08-26 Thread Michael Gentry
t:submit source code. >> >> >> On Sun, Aug 25, 2013 at 10:07 AM, Ilya Obshadko >> wrote: >> >>> Thank you. Original LinkSubmit has exactly the same issue. >>> >>> >>> On Sunday, August 25, 2013, Michael Gentry wrote: >>> >&

Re: t:submit with context inside a loop

2013-08-24 Thread Michael Gentry
Hi Ilya, I was struggling with the same exact problem yesterday. Apparently the AjaxFormLoop doesn't work like a regular Loop and the submit handler always receives the last iteration value/context. Even using t:defer on the Submit didn't help. I ended up using a LinkSubmit* with some CSS to ma

Re: Liquibase for Tapestry5

2013-08-14 Thread Michael Gentry
f > them may include db migrations. > > The same with Jelastic, I don't have SSH access to remote instances, but I > may buy public IP to have db access. But for the same reason of often > deploys I prefer to run migrations from within the cloud during application > start. And i

Re: Liquibase for Tapestry5

2013-08-14 Thread Michael Gentry
Hi Dmitry, Like Borut, we have many Maven profiles set up to do Flyway migrations in all of our environments and have set up our DBAs with Maven/etc in order for them to do our production migrations. On the Tapestry side, our AppModule has an @Startup method that does a Flyway validate() to ensur

Re: Tapestry 5.4 url paths in css

2013-07-24 Thread Michael Gentry
Hi Thiago and Peter, I believe this re-opened JIRA already covers it: https://issues.apache.org/jira/browse/TAP5-2106 Howard fixed some of the CSS URL rewriting a while back (we are using it in a production-deployed application now), but perhaps more issues still remain. Thanks, mrg On Wed,

Re: Sessions getting mixed up

2013-06-17 Thread Michael Gentry
Could Tapestry throw an exception if you use @SessionState in a service? Thanks, mrg On Mon, Jun 17, 2013 at 9:25 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, Jun 17, 2013 at 8:36 AM, Nathan Quirynen < > nat...@pensionarchitects.be> wrote: > > > Hi, > > > > Hello!

Re: Adding tapestry project to Cpanel

2013-06-15 Thread Michael Prescott
A search of this list will turn up some options, people were talking about this within the last couple of months. I have an app running within Jetty as a custom app on Webfaction. On 15 June 2013 11:00, Nomen Nomanum wrote: > Hi. > I have finished my first app, I am s happy and now I am in

Re: Tapestry IoC: @Startup with ordering constraint

2013-05-28 Thread Michael Gentry
Hi Eli, This would be clever, but you can always have a single @Startup method that then calls all of your other startup methods in the order you want. In some ways, I think this is easier to read/understand. The startup order is clearly defined in a single spot instead of having to go decipher

Re: Stopping/Removing a job from PeriodicExecutor

2013-05-22 Thread Michael Gentry
Hi Chris, PeriodicExecutor returns a PeriodicJob which you can cancel if you hang onto the return value. See: http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/services/cron/PeriodicJob.html mrg On Wed, May 22, 2013 at 1:21 PM, Chris Cureau wrote: > Hi there! > > I curren

Re: Merits of Tapestry-IOC

2013-05-16 Thread Michael Gentry
On Wed, May 15, 2013 at 10:23 PM, hantsy wrote: > Tapestry should embrace the existed and mature specs, such JSR330, Bean > Validation, Managed Bean, etc, Spring has supported them in 3.0 natively. > I don't really agree with this logic. It leaves no room for innovation. Everyone would just us

Re: Strategy for dealing with stale sessions?

2013-05-13 Thread Michael Prescott
I think this is an application-specific question. When the application server's underlying session expires, all your @Persisted fields become null, as you say. If the user continues, it's just as if a random, unknown user arrived and attempted to start interacting with your application somewhere

Re: Tapestry-Hibernate configure to work with both Tomcat and Jetty

2013-04-29 Thread Michael Prescott
You could also (if you're using Eclipse) use Ctrl-Shift-T to see what jar(s) might be containing the org.apache.catalina.deploy.WebXml class (which seems to be the offending duplicate). On 29 April 2013 14:10, George Christman wrote: > Here's my mvn dependency tree, thanks for your help. > > [W

Re: cant do if clause within a div - help

2013-04-29 Thread Michael Prescott
The template has to be valid XML, so the component won't really help you here. One thing to do would be to assemble the style in the backing Java class: public String getComputedStyle() { // ... } On 29 April 2013 11:32, nhhockeyplayer nashua wrote: > Hi Folks, > > I am doing an if clause

Re: Minimum Heap Size to run basic Tapestry 5 archetype example smoothly

2013-04-26 Thread Michael Prescott
et it started. Also JDK 1.6. Michael On 26 April 2013 18:08, Jon Williams wrote: > Weill I went from $9/mo all the way up to $30/mo. Tapestry is now costing > me $21 a month. Ok, so if I make $30 a month off tapestry work, my work > terrarium will thrive! > > Thanks Howard > &

Re: @BeginRender equivalent for component AJAX events

2013-04-24 Thread Michael Prescott
Okay! I've filed it as https://issues.apache.org/jira/browse/TAP5-2111 On 24 April 2013 09:07, Lance Java wrote: > Far from being a gory detail, it's part of the public API for the mixin, > very similar to AutoComplete's "provideCompletions" event. > > The mixin should ideally declare the event

Re: @BeginRender equivalent for component AJAX events

2013-04-24 Thread Michael Prescott
Thanks, Lance, that looks like it will do the trick nicely. Do you think that the 'refresh' event should be added to the ZoneRefresh mixin's documentation? Is this public/won't change, or a gory internal detail? On 24 April 2013 04:47, Lance Java wrote: > The ZoneRefresh mixin fires the "refr

@BeginRender equivalent for component AJAX events

2013-04-23 Thread Michael Prescott
n the zone re-renders via ajax. The only event I've found that gets called is @PageAttached, but of course this is deprecated. Any tips would be appreciated! Gratefully, Michael

Helpfulness of errors for missing @Symbols

2013-04-20 Thread Michael Prescott
s when the symbol is undefined? Gratefully, Michael

Re: Is it possible somehow to get tapestry5 service from within integration test?

2013-04-16 Thread Michael Prescott
You can use the RegistryBuilder to instantiate your tapestry services via Tapestry IOC, I'm finding that very handy. That's described here: http://tapestry.apache.org/starting-the-ioc-registry.html On 16 April 2013 10:38, Dmitry Gusev wrote: > I'm writing integration tests (using SeleniumTest

Re: fckeditor for Tapestry 5.3

2013-04-15 Thread Michael Prescott
+1 for Tynamo's CKeditor, I'm using it on my current project. Michael On 15 April 2013 13:24, Dragan Sahpaski wrote: > Probably there are javascript errors in the console. I haven't used the > fckeditor plugin for tapestry but take a look at tynamo's fully fu

Re: T5.4 + #default#VML URLs

2013-04-15 Thread Michael Gentry
Mon, Apr 15, 2013 at 1:54 PM, Michael Gentry >wrote: > > > Hello, > > > > I'm using T5.4 (Alpha 3) and just tried adding Leaflet to the > application, > > but the Leaflet IE-specific CSS specifies: > > > > behavior: url(#default#VML); &

T5.4 + #default#VML URLs

2013-04-15 Thread Michael Gentry
Hello, I'm using T5.4 (Alpha 3) and just tried adding Leaflet to the application, but the Leaflet IE-specific CSS specifies: behavior: url(#default#VML); This causes T5.4 to blow up with: Render queue error in AfterRender[Index:layout.iequirks]: Unable to locate asset 'context:3rdParty/leaf

Re: Registry will shutdown listener not invoked

2013-04-03 Thread Michael Prescott
What is 'log', is it an injected logger service? Once shutdown has started, other services may already have been deactivated, so those calls may fail. On 3 April 2013 16:27, Muhammad Gelbana wrote: > I use tapestry to develop windows services so this should be similar to a > desktop applicatio

Re: RegistryShutdownHub replacement?

2013-04-02 Thread Michael Prescott
.org/current/apidocs/org/apache/tapestry5/ioc/services/RegistryShutdownHub.html#addRegistryShutdownListener(java.lang.Runnable) > > > On Tue, Apr 2, 2013 at 4:00 PM, Michael Prescott < > michael.r.presc...@gmail.com> wrote: > > > Now that RegistryShutdownHub has been depr

RegistryShutdownHub replacement?

2013-04-02 Thread Michael Prescott
Now that RegistryShutdownHub has been deprecated in 5.3, is there a preferred way for services to be notified that the application is shutting down? Gratefully, Michael

Service Advisors recursive problem

2013-04-01 Thread Michael Prescott
I'm having trouble applying service advisor according to the instructions here: My TapestryModule contains only this, as per the example on http://tapestry.apache.org/service-advisors.html : @Match("*") public static void adviseLogging(LoggingAdvisor loggingAdvisor, Logger logger, MethodAdvice

Re: Tapestry-Hibernate outside of web requests

2013-04-01 Thread Michael Prescott
} Having said that, despite the fact that I have put @CommitAfter on the service method AND on the service interface method, the transactions aren't being committed. Q: Is there any way to tell what advisors or decorators are in place around a service method? On 1 April 201

  1   2   3   4   5   6   7   8   9   >