Re: Tapestry w Scala

2016-12-19 Thread Alex Kotchnev
e's an > explanation with examples here: > https://tapestry.apache.org/type-coercion.html. > > On Mon, Dec 19, 2016 at 11:59 AM, Alex Kotchnev wrote: > >> John - I've been running Tapestry and Scala for a few years now (e.g. >> www.zadachite.com on AppEngine,

Re: Tapestry w Scala

2016-12-19 Thread Alex Kotchnev
John - I've been running Tapestry and Scala for a few years now (e.g. www.zadachite.com on AppEngine, and a few internal apps), and it's been working pretty well. About the specific issue of the collection conversions - it bugged me for a little while, and I'm pretty sure I have a project somewher

Re: New release of Eclipse Tapestry Plugin available for download

2016-01-24 Thread Alex Kotchnev
Dmitry - nice work, what a pleasure to see this ! Cheers - Alex K On Sat, Jan 23, 2016 at 7:33 PM, Dmitry Gusev wrote: > Hi Tapestry users, > > Two major features in new 2.13.x release: > > - Customizable templates >https://github.com/anjlab/eclipse-tapestry5-plugin#edit-templates > > - Fil

Re: Where does Tapestry fit today

2015-12-26 Thread Alex Kotchnev
users on this list still building their apps in Tapestry (beyond, well, it was already built that way), and what brings new users to build their apps with Tapestry (when they're starting from scratch) ? Cheers - Alex K On Sat, Dec 26, 2015 at 7:30 PM, Kalle Korhonen wrote: > On Fri, Dec 25

Where does Tapestry fit today

2015-12-25 Thread Alex Kotchnev
A few years ago, when I first started using Tapestry (sometime in the 4.x days), having a well thought out component based server-side framework was a major improvement to how web apps were developed. When RoR hit, Tapestry rose up the challenge, released Tapestry 5 that used the state of the art a

Re: [ANNOUNCE] Apache Tapestry 5.4

2015-12-24 Thread Alex Kotchnev
JT - why do you say that ? Did you have concerns with the release that were not addressed ? Is it the features in the release ? In any case, it would be useful to have some further details. Cheers - Alex K On Thu, Dec 24, 2015 at 1:43 PM, JT wrote: > Worst release ever. > On Dec 23, 2015 2:48

Re: [ANNOUNCE] Apache Tapestry 5.4

2015-12-24 Thread Alex Kotchnev
Pretty epic, congrats to all who contributed and participated ! Most notably, this seems like the first Tapestry release that was not headed by Howard (of course, I don't have any stats to back that up). Cheers - Alex K On Tue, Dec 22, 2015 at 8:48 PM, Bob Harner wrote: > The Apache Tapestry de

Re: Strange behavior using DataNucleus JDO, always getting same results

2015-08-24 Thread Alex Kotchnev
Yazmin - sounds like some kind of DataNucleus behavior. In general, depending on how you have declared the relationships between your data objects, or some of your JDO configuration options, JDO/DataNucleus might be caching some of the results in the "related" collection of objects. Chances are th

Re: Sticky Sessions

2014-12-04 Thread Alex Kotchnev
George - sounds like those components might be using session persistence for some of their data (e.g. in the case of Grid it uses @Persist , which defaults to session persistence, to store the GridPaginationModel - e.g. https://github.com/apache/tapestry-5/blob/master/tapestry-core/src/main/java/or

Re: GAE & 5.4-beta22 - access denied for "modifyThreadGroup"

2014-11-14 Thread Alex Kotchnev
The simple answer > is that you probably don't want to show the development exception page on > production anyway. Beyond that, you might need to override > ExceptionReport.getThreads() to return perhaps just the current thread. I > don't think the default behavior

Re: GAE & 5.4-beta22 - access denied for "modifyThreadGroup"

2014-11-14 Thread Alex Kotchnev
might want to have a different exception page (than this default), yet I wonder if there is anything that can still be done about this before 5.4 goes out (if it's considered important enough for a 5.4 release). Cheers - Alex K On Fri, Nov 14, 2014 at 6:08 PM, Alex Kotchnev wrote: > I

GAE & 5.4-beta22 - access denied for "modifyThreadGroup"

2014-11-14 Thread Alex Kotchnev
I took 5.4-beta-22 out for a spin yesterday and I ran into the following exception when trying to run the AppEngine local dev server and there is an error on the page and Tapestry attempts to display the exception page. I'm not yet sure if this is going to work when deployed to AppEngine proper, bu

Re: How to override property files in tapestry

2014-11-10 Thread Alex Kotchnev
Boris - not sure how helpful this would be, but here's my 2c. I'm not entirely sure how you might accomplish the hierarchy of symbols that you're looking for, but I think I've had an alternative approach that might accomplish the same. In the past, I've primarily accomplished this using Maven buil

Re: "Parallel" component rendering

2014-11-05 Thread Alex Kotchnev
Nov 2014 16:51, "Thiago H de Paula Figueiredo" > wrote: > > > Hello, Alex! > > > > On Tue, 04 Nov 2014 21:23:10 -0200, Alex Kotchnev > > wrote: > > > > I'm a bit puzzled by the negative vibe that I'm getting. Just to be > cle

Re: "Parallel" component rendering

2014-11-04 Thread Alex Kotchnev
uction > > by multi threading. > > > > I'd actually wager a bet that the overhead of managing the threads > > actually increases the rendering time. > > > > If it's the data retrieval that's taking the time, a cache or > > multi-threaded data ret

Re: "Parallel" component rendering

2014-11-04 Thread Alex Kotchnev
st thread for instance. Also each > thread will have a separate hibernate session if using tapestry-hibernate > which will need to be cleaned up and won't share a level1 cache. > On 4 Nov 2014 19:57, "Alex Kotchnev" wrote: > > > I've been poking around Lift

"Parallel" component rendering

2014-11-04 Thread Alex Kotchnev
I've been poking around Lift for the last few months and one of the interesting approaches it has is that it can mark "snippets" (roughly the equivalent of tapestry compoents) as "parallel" - what Lift does w/ snippets that are marked in parallel is that it fires up new threads for rendering those

Page instance variables and threads

2014-09-30 Thread Alex Kotchnev
I'm putting together a pretty simple application that needs to launch a bunch of background threads to do some work, and the page waits for all of them to complete, and then returns the aggregated results. Now, that sounds pretty straightforward (e.g. sample scala code). Now, the interesting part

Template encoding fix for 5.4 - TAP5-2219

2014-04-16 Thread Alex Kotchnev
Any chance that a committer can apply the patch from https://issues.apache.org/jira/browse/TAP5-1778 somewhere in the upcoming 5.4 release. The issue has the patch, it addresses the problem at hand and in the worst case scenario has no effect on users who don't care about this. Cheers - Alex K

Re: Tapestry template encoding and GAE

2013-07-19 Thread Alex Kotchnev
n who deploys to GAE and beats his head against the wall long enough just to find this posting. Cheers - On Wed, May 22, 2013 at 7:57 AM, Alex Kotchnev wrote: > Alejandro, >unfortunately, adding the XML declaration doesn't help. . > >This obviously wouldn't be an iss

Re: Tapestry template encoding and GAE

2013-05-22 Thread Alex Kotchnev
Alejandro, unfortunately, adding the XML declaration doesn't help. . This obviously wouldn't be an issue if a) I was running my own JVM, which in most situations where one hosts an application is the case (unfortunately, not the case in PAAS like GAE) or b) Tapestry didn't use the default pl

Tapestry template encoding and GAE

2013-05-21 Thread Alex Kotchnev
I have an application on Tapestry 5.3.6 that is deployed to GAE 1.8.0. The problem I have seems to be appengine specific (and not necessarily tapestry specific) as I have older versions of this application running on GAE and rendering the locale specific templates normally (whereas now the older ve

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 modu

Re: T5 and AppEngine 1.7.3 dev server IllegalStateException

2013-05-17 Thread Alex Kotchnev
Just out of curiosity - this exception is thrown by Tapestry itself; however, since it's just a "sanity check" and it only happens on the Dev server , is there a way to disable this filter using Tapestry IoC ? org.apache.tapestry5.internal.services.ImmediateActionRenderResponseF ilter.handle(Immed

Re: Conditional service override

2013-02-28 Thread Alex Kotchnev
ex > > How about instantiating the service inside the override contribution > method. > > configuration.add(FooService.class, > objectLocator.autobuild(MyOtherImplementation.class)); > > regards > Taha > > On Mar 1, 2013, at 4:04 AM, Alex Kotchnev wrote: > > &

Re: Appropriate/recommended usage for @Persist in components

2013-01-03 Thread Alex Kotchnev
> have a service using ApplicationState underneath. > > @Persist("session") serializes the value into the session where as > @Persist("entity") only serializes a key(entity_id, entity_type) and > retrieves it for each request from the database. > > Hope

Re: protecting text field components from SQL injection

2013-01-02 Thread Alex Kotchnev
John - trying to protect against SQL injection by black listing possible SQL reserved words is not a good approach for preventing sql injection. The proper way to deal with that is to not use string concatenation (using the content of your text field) for your queries, and use prepared statements t

Re: Tapestry-TestNG with selenium reusable helper methods.

2012-12-06 Thread Alex Kotchnev
George, you should be extending SeleniumTestCase and just using plan object-oriented principles to manage your code (e.g you could have some utility clases with utility methods, possibly classes to encapsulate page specific contents, etc). Trying to put your functional test related code into ser

Re: Disabling HMAC check

2012-11-21 Thread Alex Kotchnev
This was discussed previously on the list, but having a random string would be a bad idea, especially if you do some kind of load balancing between servers (e.g. server1 would get a different passphrase from server2, and server 2 will not want to process form submissions from server 1). I don't th

Re: java.lang.IllegalStateException: Sanity check - neither a stream response nor a redirect response was generated for this action request.

2012-11-12 Thread Alex Kotchnev
Sorry, I didn't dig into what's causing the issue, I was only able to return it to a working state. Have you tested if this is a problem only in the dev server or does it occur if you deploy to production as well ? I'd love to know if you find anything out - certainly would be useful to post the

Re: java.lang.IllegalStateException: Sanity check - neither a stream response nor a redirect response was generated for this action request.

2012-11-11 Thread Alex Kotchnev
I ran into this issue after I upgraded to GAE 1.7.2 or 1.7.3. Switching to 1.7.1.1 resolved the issue. Cheers - Alex K On Sun, Nov 11, 2012 at 9:57 PM, Muhammad Gelbana wrote: > Any more info about the error message(s) ? What about the stacktrace ? > Could this be more about GAE and not Tapestry

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 wrote: > I was migrating an older applicat

Re: ajaxResponseRenderer in event

2012-11-05 Thread Alex Kotchnev
There was a bug in tapestry-jquery not too long ago that wasn't processing the scripts on ajax events - make sure that you're on the latest tapestry-jquery version. Cheers - Alex K On Mon, Nov 5, 2012 at 9:28 AM, nquirynen wrote: > I think I found it: > > *$.tapestry.utils.loadScriptsInReply(r);

Re: injecting the currently logged in user

2012-11-01 Thread Alex Kotchnev
Ulrich - I'll be curious to see what you come up with. I also use Shiro and have the user stored in the database, and have been thinking that I need to have a better way of having access to the current user (e.g. using some annotation). I'm not entirely sure how this FieldConduit would work (what L

Re: Image lazy loading using tapestry without jquery.

2012-10-25 Thread Alex Kotchnev
I don't think you'll find an existing component that does this in Tapestry - it sounds like a general dynamic HTML kind of problem (and more specifically, how you can handle that problem on the phone browsers you are working with), for which you will most likely will need to write some javascript o

Re: [T5.3]Zone parameter of a form null after ajax rendering?

2012-10-24 Thread Alex Kotchnev
Thomas - indeed, the issue w/ tap5-jquery not evaluating the init was a pretty gnarly one. I ran into it myself, albeit in a somewhat different context (and unfortunately it didn't ring a bell when I looked at your questions). Just as a side note, seeing the flurry of your own responses, sometimes

Re: chenillekit velocity template injectable service not working.

2012-10-23 Thread Alex Kotchnev
George, I haven't worked with the velocity service configuration (and I haven't looked at the source for that specifically). My assumption is that if you don't contribute anything to the velocity service configuration, that would be equivalent to having a null configuration, but doing it the w

Re: chenillekit velocity template injectable service not working.

2012-10-23 Thread Alex Kotchnev
I do see the Velocity annotation in the jar ( inside the org.chenillekit.template.services package). I assume that you have an import statement (e.g. import org.chenillekit.template.services.Velocity) at the top of your VelocityTemplateServiceImpl ? The other difference in my case is that for ser

Re: chenillekit velocity template injectable service not working.

2012-10-23 Thread Alex Kotchnev
George, what is the error ? Does it not find the dependency when you build ? I do use chenillekit-template (1.3.3) w/ Tapestry 5.3.4 and have no issues with it.. Cheers, Alex K On Tue, Oct 23, 2012 at 10:02 AM, George Christman wrote: > Hello, I'm trying to get the Tapestry Chenillekit v

Re: Using Spock Mocks with PageTester

2012-10-22 Thread Alex Kotchnev
Tony, I use Testify to accomplish what you describe ( http://tapestrytestify.sourceforge.net/junit4.html) . I used it w/ EasyMock mocks, but I assume it should be very similar to that. Cheers - Alex K On Mon, Oct 22, 2012 at 10:27 AM, Tony Nelson wrote: > Does anyone have an example of using

Re: Tynamo tapestry-security Instance-Level Access Control?

2012-10-11 Thread Alex Kotchnev
I also struggled with something similar and came up with a somewhat different solution from instance level access control, specifically for pages (which doesn't seem to fit your need, but I'll mention it anyway). On a previous project in Grails, we used the Grails Shiro plugin ( http://grails.org/p

Re: Greenfield development: Tapestry or Grails for Groovy dev?

2012-10-10 Thread Alex Kotchnev
Sean, I missed this in my original post, but Szemere's post reminded me of another issue w/ Grails. Although I agree that at times, there is quite a bit of 'magic' that happens under the covers in Tapestry, it's nothing to the amount of magic that happens in Grails. For a seasoned java developer

Re: Greenfield development: Tapestry or Grails for Groovy dev?

2012-10-09 Thread Alex Kotchnev
In the past five years, I worked on a number of greenfield projects. In three out of four, we ended up choosing Grails - it is very hard to deny the market & mindshare , the expansive documentation, the big name company behind the project, the large community, a massive number of plugins (for prett

Re: Generating link/url without RequestGlobals

2012-09-29 Thread Alex Kotchnev
d make tapestry output what it would have otherwise output to the http response (but obviously, it's not easy, since nobody has been able to crack this problem, and even tapx-templating needs a separate context). Cheers, Alex K On Sat, Sep 29, 2012 at 3:55 PM, Thiago H de Paula Figueiredo &l

Re: Generating link/url without RequestGlobals

2012-09-29 Thread Alex Kotchnev
would have been nice not to have to use freemarker for the mail templates) Cheers, Alex K On Fri, Sep 28, 2012 at 2:59 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 28 Sep 2012 15:41:50 -0300, Alex Kotchnev > wrote: > > In my application, I send ht

Re: Tapestry-Security : Filter settings

2012-09-24 Thread Alex Kotchnev
The problem w/ the wildcard statement is that when Shiro tries to redirect it to the login page, the login page ends up requiring authentication (because it matches the /* wildcard pattern), etc. In order to make it do what you want, you'll need to allow the login page to be accessed w/o authentica

Re: No 404 error is raised

2012-09-05 Thread Alex Kotchnev
This is quite a pesky problem. I tried going w/ the Start page approach mentioned in https://issues.apache.org/jira/browse/TAP5-879?attachmentOrder=desc ; however, as it appears the approach w/ Start pages no longer works (and they're deprecated anyway). It certainly is a surprise when the app nev

Injecting tapestry5.ioc.Messages ino service

2012-08-31 Thread Alex Kotchnev
I have a service that needs access to the global message catalog. In a previous email ( http://tapestry.1045711.n5.nabble.com/component-scope-service-with-injected-messages-td4724993.html), Howard indicated that Messages can now be injected into the service layer. However, when I add an ioc.Messag

Re: Named translators

2012-08-23 Thread Alex Kotchnev
Lance, this approach definitely works; however, I was looking for a way to declare this field translator somewhere globally as I use it in a few different places. Cheers, Alex K On Thu, Aug 23, 2012 at 11:20 AM, Lance Java wrote: > This might work: > > TML: > > > JAVA: > @InjectComponent >

Named translators

2012-08-23 Thread Alex Kotchnev
I would like to contribute a Translator for Long values that would allow me to translate between byte counts and human readable file sizes (e.g. 5000bytes ~ 5MB). Since around 5.2 , the Translator configuration switched to a Mapped configuration where each translator is contributed for a given type

Re: [Sharing] How to setup a Global XSS Filter in Tapestry 5

2012-08-17 Thread Alex Kotchnev
Martin, out of curiosity - why was it necessary to add all of the additional regexes in addition to using ESAPI ? Didn't ESAPI contain the needed APIs to perform the filtering only with it ? Cheers, Alex K On Fri, Aug 17, 2012 at 3:16 AM, kheldar666 wrote: > Hi all, > > I post this as I had

Re: Tapestry Testing with Javascript off

2012-08-16 Thread Alex Kotchnev
You can change the Selenium test to use a different "browser", e.g. for example HtmlUnit and set up HtmlUnit to not run Javascript. E.g. https://fisheye.codehaus.org/browse/~br=tag%3Atapestry-jdo-module-0.0.1/tynamo/tags/tapestry-jdo-module-0.0.1/tapestry-jdo/src/test/java/org/tynamo/jdo/integrati

Re: Library binder and IDE helper

2012-08-15 Thread Alex Kotchnev
I don't quite get it. If , as a user, I know that I need a ValueEncoderFactory, why is it helpful to inject T5, and call valueEncoderFactory() instead of declaring a field of type ValueEncoderFactory and marking it up w/ @Inject ? Cheers, Alex K On Tue, Aug 14, 2012 at 7:30 PM, Lenny Primak wrot

Re: Conditionally (IE) including javascript

2012-08-13 Thread Alex Kotchnev
${asset:context:/javascript/html5shiv-rc1.js}"> > > > ... > > -- > Steve Eynon > --- > "If at first you don't succeed, >so much for skydiving!" > > > > On 19 July 2012 09:10, Alex Kotchnev wrote: >

Re: Import/export in tapestry

2012-08-09 Thread Alex Kotchnev
p87 wrote: > Thanks. > > Sorry but I dont understand that meaning of this phrase > > > Alex Kotchnev-2 wrote > > > > *If you have multiple files that > > you need to download, you can always zip them up (on the fly) to download > > all at the same

Re: Import/export in tapestry

2012-08-09 Thread Alex Kotchnev
No way to do it from Tapestry (or any other web app for that matter) - where the file will be stored on your client machine when you click on a link to download it is a browser feature. If you have multiple files that you need to download, you can always zip them up (on the fly) to download all at

Re: Changing default session behavior.

2012-08-08 Thread Alex Kotchnev
> > > thanks, I'll look into it. > > > > Regards, > > Martin > > > > > > Alex Kotchnev-2 wrote > >> > >> Martin, > >> it sounds like you might need to crack open the Tapestry source, but it > >> seems doable. Alth

Re: Changing default session behavior.

2012-08-08 Thread Alex Kotchnev
It seems that you could override the session persistence strategy and replace the usage of http session with Shiro's session -e.g. the implementation seems to be pretty straightforward e.g. inside of Tapestry , look at SessionApplicationStatePersistenceStrategy ( http://www.koders.com/java/fidD25B0

Re: Changing default session behavior.

2012-08-08 Thread Alex Kotchnev
ter session data with EhCache. > What I need is a way to substitute the HttpSession tapestry is using with > shiros' Session implementation. If I can do that, then I hope I can use the > servlet API in the application instead of the shiro-specific calls. Ideally > annotations would also wo

Re: Changing default session behavior.

2012-08-08 Thread Alex Kotchnev
Martin, you really should be able to continue using @Persist and @SessionState. Both Shiro's subject.getSession() and the @Persist annotation store their values in the same http session. Is that not working for you ? Cheers, Alex K On Wed, Aug 8, 2012 at 7:20 AM, kata wrote: > Hi all, > > I

Re: Intercept component event actions?

2012-08-06 Thread Alex Kotchnev
Dmitry, there is the import org.apache.tapestry5.services.ComponentRequestFilter, which gets called on page and component events. For example, Tynamo's tapestry-security module (e.g. org.tynamo.security.SecurityComponentRequestFilter) uses these to check if the user has the correct permissions.

Re: How to override a component message

2012-08-02 Thread Alex Kotchnev
Matias, the validation page has a snippet of info ( http://tapestry.apache.org/forms-and-validation.html ) on the validation message selection from the message catalog. So, specifically on overriding the tynamo login form error message, I have the following in app.properties: tynamoLoginForm-ty

Re: Tapestry 5 Book EAP Launched

2012-08-01 Thread Alex Kotchnev
So, if the cards are already charged, is there any way of getting the books out before the campaign ends ? Cheers, Alex K On Wed, Aug 1, 2012 at 1:50 PM, Chris Cureau wrote: > If someone would want to withdraw their contribution, I'd be happy to pay > them instead...a buy out, if you will. :)

Re: Applet in Tapestry

2012-07-30 Thread Alex Kotchnev
There is nothing Tapestry specific that you need to do - you would just use the plain HTML examples for using an applet on a page. You will need to put the applet jar somewhere inside your web context (e.g. outside of your java packages directory structure), where it would be accessible from the pa

Re: relative page links in components

2012-07-26 Thread Alex Kotchnev
Ozkan - just an idea - it seems that you might be able to do something like this : @Inject private ComponentResources compResources @Property String editPath page = compResources.getPage() editPath = page.getComponentResources().getBaseResource().forPath("edit").getPath() then, in your componen

Re: Missing 11 Build Path Entries

2012-07-25 Thread Alex Kotchnev
I think that the command line version of the tutorial is still very valuable as it provides a process that "always works" w/o having to depend on IDE features. So, I'd say, maybe have something in the tutorial on Eclipse or NetBeans instructions but the baseline, in my opinion, should remain on the

Re: Tapestry-Hibernate Configuration Woes - The user must supply a JDBC connection

2012-07-23 Thread Alex Kotchnev
It seems that you might be setting the wrong hibernate configuration property - at least this thread ( http://stackoverflow.com/questions/5303671/configure-hibernate-to-connect-to-database-via-jndi-datasource ) on stack overflow indicates that the datasource property is "hibernate.connection.dataso

Re: Displaying non-field specific errors

2012-07-20 Thread Alex Kotchnev
thod (but you have to know all fields of your > > form). > > > > That's the only solution i see right now. > > > > 2012/7/18 Alex Kotchnev > > > >> Is there a way to display the non-field specific errors ? t:errors shows > >> all errors (field and n

Re: tapestry-beanvalidation and tapestry-jquery js error

2012-07-20 Thread Alex Kotchnev
Nevermind - it looks like a version conflict/omission on my end. I was using tapestry-jquery 3.2.0 together w/ tapestry 5.3 . When I updated tapestry5-jquery to 3.3.0, the error went away. Cheers, Alex K On Thu, Jul 19, 2012 at 5:51 PM, Alex Kotchnev wrote: > I use tapestry-beanvalidation

tapestry-beanvalidation and tapestry-jquery js error

2012-07-19 Thread Alex Kotchnev
I use tapestry-beanvalidation and tapestry-jquery. As a result, when I open up a page, I get a javascript error in tapestry-beanvalidator.js:15: Cannot set property 'notnull' of undefined The offending line is : Tapestry.Validator.notnull = function(field, message, spec) Uncaught TypeError: Can

Re: Tapestry 5.3.4

2012-07-19 Thread Alex Kotchnev
Stephan / George, did you figure out what the issue was with the missing bizarre missing dependency problem ? I switched the version in my POM and I see the same problem. Cheers, Alex K On Wed, Jul 18, 2012 at 6:37 PM, Angelo C. wrote: > congrats! any breaking feature from 5.3.3 to 5.3.4?

Re: Tapestry-Security / Javascript auto logout

2012-07-19 Thread Alex Kotchnev
It doesn't necessarily have to be a completely separate page - you can generate a URL for a "logout" event and give that URL to the jquery plugin. Cheers - Alex K On Thu, Jul 19, 2012 at 12:50 PM, George Christman wrote: > Hello I'm using tapestry security and a jQuery session timeout plugin. Th

Re: partially update with another page or component

2012-07-19 Thread Alex Kotchnev
You can probably use Blocks to return the partial page updates, e.g. in your template Some content here In your page class @Inject private Block fooBlock Object onSomeEvent() { return fooBlock } Technically, it's the easiest if your blocks are defined on the same page (as described above).

Re: Conditionally (IE) including javascript

2012-07-18 Thread Alex Kotchnev
I'll give George's suggestion a go tomorrow. It seems like I should be able to do this from the layout components that pages use, so that I don't have to add the code to each page. Cheers, Alex K On Wed, Jul 18, 2012 at 4:51 PM, trsvax wrote: > For this particular case I suspect you just want t

Re: Conditionally (IE) including javascript

2012-07-18 Thread Alex Kotchnev
George, yep, I had seen this example on conditionally including stylesheets. However, I was wondering how to do the same w/ javascript... Cheers, Alex K On Wed, Jul 18, 2012 at 12:23 PM, George Christman wrote: > You could do something like this, > > @Inject > @Path("context:css/ie-o

Re: Adding a class to a div based on field validation status

2012-07-18 Thread Alex Kotchnev
Lance, thanks for the sample mixin code : I hadn't created any mixins previously and this was a great start. It works like a charm. Thiago, I did think of using the Validation decorator; however, at least for now it looked a bit of an overkill as I'm not 100% sure if this is going to be the

Re: Adding a class to a div based on field validation status

2012-07-17 Thread Alex Kotchnev
nal Element element) { final String error = tracker.getError(inputField); if (error == null) { element.attribute("class", "control-group"); } else { element.attribute("class", "control-group " + this.errorClas

Adding a class to a div based on field validation status

2012-07-17 Thread Alex Kotchnev
I have a very simple form and I'm trying to add a special class to a div inside the form which would indicate if the field that's contained inside the div has an error. It seems that it should be simple to do so, but I can't seem to do it. I'm trying to style the form using the Bootstrap form styl

Re: Beaneditform Troubles

2012-07-17 Thread Alex Kotchnev
I haven't tested it but I'd guess that it's doing this because it doesn't have an editor registered for the Autor and Jezik entities. You have two options : 1. Create property editors for the entities as described in http://jumpstart.doublenegative.com.au/jumpstart/examples/lang/propertyeditors .

Re: Beaneditform Troubles

2012-07-17 Thread Alex Kotchnev
Milos, I don't seem to have a problem w/ this functionality: [ display the user related information here ], e.g. My "foo" entity already has a "getUsers" method. Cheers, Alex K On Tue, Jul 17, 2012 at 11:44 AM, loshmeey wrote: > Hello, i have problems with

Re: Invisible instrumentation and library namespaces

2012-07-09 Thread Alex Kotchnev
hiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 09 Jul 2012 17:13:53 -0300, Alex Kotchnev > wrote: > > Does the "invisible instrumentation" approach work w/ library namespaces >> short names inside of the t:type attribute value ? That is, if

Invisible instrumentation and library namespaces

2012-07-09 Thread Alex Kotchnev
Does the "invisible instrumentation" approach work w/ library namespaces short names inside of the t:type attribute value ? That is, if I specify a library namespace, can I expect to use the t:type="libNs/componentName" to work, where the libNs is the short name for "libraryNamespace" , e.g. http:

Re: [Announce] Tapestry-Bootstrap 2.0 early Alpha

2012-07-09 Thread Alex Kotchnev
Barry - this is pretty cool. I hadn't seen your module and just ended up adding the bootstrap related assets into the layout, but I see that you've added a whole lot of useful components and stuff. Does it seem like the project is stable enough to produce a stable release soon (e.g. in the next fe

Re: Tapestry jodatime module (based on jumpstart) ?

2012-07-06 Thread Alex Kotchnev
if you need > the source code. > > Regards > Dimitris Zenios > > On Fri, Jul 6, 2012 at 1:37 PM, Alex Kotchnev wrote: > > Geoff, > >thanks for allowing this. Jumpstart is such an invaluable resource for > > good examples, I would be very happy to add a small c

Re: Tapestry jodatime module (based on jumpstart) ?

2012-07-06 Thread Alex Kotchnev
will probably need to talk again sometime next week when it's time to go through the release process. Cheers, Alex K On Thu, Jul 5, 2012 at 9:41 PM, Geoff Callender < geoff.callender.jumpst...@gmail.com> wrote: > On 6 July 2012 10:59, Kalle Korhonen wrote: > > > > On Th

Re: Progress on Tapestry 5 Book

2012-07-05 Thread Alex Kotchnev
Igor - it's awesome to see this come to fruition, I've been looking forward to it since the Manning MEAP days of this book. I can't wait to get my hands on the book - it's a huge contribution to the English speaking T5 community, I hope that it works out well for you as an author ! Cheers, Alex K

Re: Tapestry app live console

2012-06-28 Thread Alex Kotchnev
Right - exposing the configurable values via JMX could work for the "configuration" aspect of such a console. I haven't worked w/ JMX enough, but it sounds like a lot of complication to add on top of the existing configuration system via symbols (e.g. it seems that I would need to add a jmx propert

Tapestry app live console

2012-06-28 Thread Alex Kotchnev
I was wondering how people in the Tapestry community approach this and if you have any tips on how to deal with this. In the last couple of years, I've worked on a couple of Grails projects. One very useful aspect of running a Grails app has been the Console plugin ( http://grails.org/plugin/cons

Re: QaModule / DevelopmentModule intended usage

2012-06-20 Thread Alex Kotchnev
19, 2012 at 9:12 PM, Alex Kotchnev wrote: > > > Ah, I forgot to add the more important question - if I wanted to have > other > > "custom" environments, how would I go about defining one ? I understand > > that I'd need to add a new module for the given envi

Re: QaModule / DevelopmentModule intended usage

2012-06-19 Thread Alex Kotchnev
grails, adding a new environment is just a matter of adding a new closure in the config files ( http://grails.org/doc/latest/guide/conf.html#environments) . Cheers, Alex K On Tue, Jun 19, 2012 at 11:51 PM, Alex Kotchnev wrote: > Not having used Tapestry for a while, I ran into the addition of

QaModule / DevelopmentModule intended usage

2012-06-19 Thread Alex Kotchnev
Not having used Tapestry for a while, I ran into the addition of the QaModule and Development module. I've been looking at the new Tapestry project setup and I noticed the new (at least 'new for me') QaModule and DevelopmentModule . Is there a special relationship between the regular "AppModule" an

Re: Tynamo's tapestry-jdo and JDOEntityValueEncoder not getting registered

2012-04-30 Thread Alex Kotchnev
JDO objects, everything is > fine. > > > > For now I'm attaching the two boot sequences: boot1.txt fails, boot2.txt > succeeds. I'll see if I can send you a project that reproduces this. > > > > Regards > > Paulo Andrade > > > > On Apr 27,

Re: Tynamo's tapestry-jdo and JDOEntityValueEncoder not getting registered

2012-04-26 Thread Alex Kotchnev
Paulo, would you be able to put together a sample project that does this ? I'll have another look at the jdo sample project but I'm pretty sure this worked OK there (although it wasn't tested w/ T5.3.x). Cheers, Alex K On Thu, Apr 26, 2012 at 5:45 PM, Paulo Andrade wrote: > > On Apr 26, 2012

Re: tynamo resteasy and JDO objects

2012-04-23 Thread Alex Kotchnev
Paulo, I'm not sure what the significance of using tapestry-jdo has in this context. It seems that the issues you're having are related to resteasy (e.g. not serializing to xml would be a problem even if they were not JDOs. Can you try your problem and see if you can serialize non-JDO objects ?

Re: Tapestry Forums

2012-03-06 Thread Alex Kotchnev
Technicium, I'm just curious - how did you conclude that the tapestry community is growing very rapidly ? Cheers, Alex K On Tue, Mar 6, 2012 at 3:20 PM, Chris Mylonas wrote: > > there's an irc channel - freenode #tapestry > > > On 07/03/2012, at 6:36 AM, Thiago H. de Paula Figueiredo wrote:

Re: Is tapestry trying to narrow down its users?

2012-02-08 Thread Alex Kotchnev
A big +1 on having binaries with dependencies distributed/available. Having to build a maven project w/ tapestry just to get the dependencies is a massive PITA. Cheers, Alex K On Wed, Feb 8, 2012 at 5:09 PM, Lenny Primak wrote: > As a maven user myself I don't personally have the problem but i

Tynamo new module : tapestry-jdo

2012-01-16 Thread Alex Kotchnev
I am excited to announce the release of the new addition to Tynamo's beautiful set of modules : tapestry-jdo . It brings the idioms that many Tapestry developers have come to enjoy w/ Hibernate and JPA to JDO users. Read more on the Tapestry JDO Guide

Re: What is your tapestry project setup like (build tool/ide)

2012-01-16 Thread Alex Kotchnev
Thanks everyone for the feedback. It's roughly in line with what I expected. Being a Java framework , Tapestry benefits a lot from the strong infrastructure (e.g. IDE support, build tools, etc). Yet, I recall that when I started, I spent quite a bit of time arriving with a workable setup for myself

What is your tapestry project setup like (build tool/ide)

2012-01-15 Thread Alex Kotchnev
I was wondering if folks would be willing to share how in general their tapestry projects are set up in terms of build setup and IDE usage ? With T5 it seems that most tutorials point to starting up w/ a Maven project and going from there. After you initially set up your project - did you keep goin

How to export maven poms from gradle for tapestry

2012-01-02 Thread Alex Kotchnev
I use NetBeans and I wanted to look something up in the Tapestry source tree. NetBeans has pretty decent Maven support, so in the past, I was able to just check out the source tree and then open the projects. Now, w/ the build moved to Gradle, there are no more pom files that I can open. I have a

  1   2   3   >