Re: Integrating Agrest in Tapestry app

2021-08-16 Thread Alejandro Scandroli
Hi all In case you want to follow the topic I posted some comments on the issue that Tim reported on GitHub. https://github.com/tynamo/tapestry-resteasy/issues/19 Cheers! Alejandro. On Sat, Aug 7, 2021 at 2:57 AM D Tim Cummings wrote: > > Thanks for your help Ben. I guess I don't need to use

Re: tapestry-security 0.7.1 and tapestry-resteasy 0.5.0 released!

2018-07-16 Thread Alejandro Scandroli
👏 On Mon, Jul 2, 2018 at 8:26 PM Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > This is wonderful! Thank you very much! > > On Mon, Jul 2, 2018 at 3:01 PM Kalle Korhonen > wrote: > > > It's that time of the year again. Actually, the community has been asking > > these to be relea

Re: tapestry-security 0.7.0 released!

2017-09-20 Thread Alejandro Scandroli
Thanks Kalle!! Alejandro. On Fri, Sep 15, 2017 at 3:25 PM, Peter Hvass wrote: > Thank you very much indeed!! > > Kind regards, > Peter Anders Hvass > CTO, James Innes Group > > > On 15 September 2017 at 16:24, Thiago H. de Pau

Re: bad secure links

2014-08-25 Thread Alejandro Scandroli
Hey John Do you have SymbolConstants.HOSTPORT and SymbolConstants.HOSTPORT_SECURE properly set? If not, configure them and try again. I think this could be a manifestation of TAP5-1973. https://issues.apache.org/jira/browse/TAP5-1973 Cheers. Alejandro. On Mon, Aug 25, 2014 at 2:16 PM, John wr

Re: Tapestry 5.4-beta-2 quickstart app

2014-01-23 Thread Alejandro Scandroli
Hey Jon Massimo introduced a couple of changes into the 5.4 archetype, if you want to get the 5.4 version of the quickstart app you can do: $ mvn archetype:generate -DarchetypeCatalog=https://repository.apache.org/content/repositories/staging The Tapestry5 quickstart app is the archetype Nº 2 C

Re: RESTEasy XML byte order marker

2014-01-20 Thread Alejandro Scandroli
Hi Gregor Are you using resteasy on the server side too? in that case: are you using the tapestry-resteasy module or are you integrating resteasy yourself? Can you show the code for the service that’s giving you the error? What’s the servers response in plain text? can you capture it? The "Conten

Re: [ANNOUNCEMENT] tynamo-federatedaccounts 0.4.3 released!

2013-11-21 Thread Alejandro Scandroli
Hi Borut The FacebookOauthSignIn has a new parameter "returnPageName". If the parameter is not specified the component will use the value of the FederatedAccountSymbols.DEFAULT_RETURNPAGE symbol. Alejandro. On Thu, Nov 21, 2013 at 12:17 PM, Borut Bolčina wrote: > And indeed in 0.4.3 there is a

Re: T5 Tynamo RestEasy, discovering all rest resources and paths

2013-10-31 Thread Alejandro Scandroli
Hi Daniel Take a look at RESTEasy's JSAPIWriter [1] and how it was integrated with tapestry-resteasy [2] I think you will find everything you need in there. If you need even more discoverability than that I'd recommend to use something like Swagger [3] 1: https://svn.code.sf.net/p/resteasy/svn/

Re: Best way to communicate with JS using Tapestry as BackEnd

2013-08-16 Thread Alejandro Scandroli
Hi Martin Are you restricted to a Java application server? can you use things like NodeJS or Redis? A couple of years ago, I used Tapestry+NodeJS+Redis to push location information to a mobile webapp. As a starting point I used this example by Robin Komiwes: http://spreadthesource.com/2010/11/brin

[ANNOUNCEMENT] tapestry-resteasy 0.3.2 & tapestry-routing 0.0.6 released!

2013-07-26 Thread Alejandro Scandroli
This two little but useful libraries have new versions available. * tapestry-resteasy 0.3.2 is mostly a maintenance release updating the JAX-RS dependency to JBoss' resteasy 3.0.1.Final. * tapestry-routing 0.0.6 introduces: * a cleaner and more flexible API design. * support for live reload

Re: Tapestry links not https

2013-06-03 Thread Alejandro Scandroli
es? Have you got a code snippet pls? > > John > - Original Message - > From: Alejandro Scandroli > To: Tapestry users > Sent: Friday, May 31, 2013 9:29 PM > Subject: Re: Tapestry links not https > > > John, make sure you set both SymbolConstants.

Re: Tapestry links not https

2013-05-31 Thread Alejandro Scandroli
John, make sure you set both SymbolConstants.HOSTPORT and SymbolConstants.HOSTPORT_SECURE. There is a tiny issue with this if you don't do it, see my comments here: https://issues.apache.org/jira/browse/TAP5-1973 Alejandro. On Fri, May 31, 2013 at 10:20 PM, John wrote: > Yes, I see that. > > I a

Re: Page Url rewriting in tapestry

2013-05-27 Thread Alejandro Scandroli
Hi Boris, Have you consider using tapestry.application-folder? http://tapestry.apache.org/configuration.html#Configuration-tapestry.applicationfolder If you are using two instances of the same application using tapestry.application-folder would be your best option. Is that the case? or you want t

Re: Tapestry template encoding and GAE

2013-05-22 Thread Alejandro Scandroli
Josh Canfield 've asked a very good question in TAP5-1778. does Tapestry respect the XML declaration for changing charset? Have you tried adding an xml header to your templates?, like: Alejandro. On Wed, May 22, 2013 at 9:49 AM, Lance Java wrote: > I think you've hit the nail on the head and

Re: How do you remove link Parameters generically?

2013-05-13 Thread Alejandro Scandroli
Hi Barry I've been using a different workaround for this and maybe it could help you. You can listen for the DECORATE_PAGE_RENDER_LINK and then "decorate" the link as you want. Add something like this to your page. @OnEvent(EventConstants.DECORATE_PAGE_RENDER_LINK) void decoratePageRenderLink(Lin

tapestry-resteasy 0.3.1 released

2013-05-06 Thread Alejandro Scandroli
A new version of tapestry-resteasy has been released. It's a small update with just two little but important improvements. Improvements: [TYNAMO-204] - Support defining resources by interfaces in autodiscovery package [TYNAMO-205] - Support for resteasy-3.x We are getting ready for JAX-RS 2.0 (JS

Re: Jetbrains Idea editor doesn't like tag

2013-04-18 Thread Alejandro Scandroli
Hi Jon You are seeing that warning because Idea is treating the .tml file as plain xhtml. Are you sure you have a proper Tapestry facet configured for project/module? more info: http://www.jetbrains.com/idea/webhelp/tapestry-facet-page.html Cheers. Alejandro. On Tue, Apr 16, 2013 at 10:31 PM, J

Re: Configuring pages to be "invisible"

2013-04-03 Thread Alejandro Scandroli
I'm glad you figured it out. > (…) > > I have a form in the allowed page and it works as expected. What did you > mean by additional rules for forms and eventlinks? > Take a look at the form and evenlinks URLs, they have dots and colons. So if you have a very strict rule like configuration.add(f

Re: Configuring pages to be "invisible"

2013-04-02 Thread Alejandro Scandroli
the hidden pages. > > If I remove the first line (with /index), then I get 404 as expected for > the hidden folders, but the index page is visible. > > I am running the app locally with Jetty > (jetty-maven-plugin:8.1.9.v20130131). > > -borut > > > > > > > &

Re: Configuring pages to be "invisible"

2013-03-29 Thread Alejandro Scandroli
Hi Borut Using tapestry-security you have a couple of options. If you have all the protected/hidden pages in the same folder you could do something like this: configuration.add(factory.createChain("/yourfolder/**").add(factory.notfound()).build()); If they are not in the same folder you can cre

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: form method="GET"

2013-01-23 Thread Alejandro Scandroli
Hi Lance Can you tell us more about what are you trying to achieve with using the GET method? If you are after bookmarkability and persistence after refresh then I think that @ActivationRequestParameter is a good option, as Barry said. My approach is to do the filtering during the setupRender an

Re: How to remove query parmeter from url string

2012-10-17 Thread Alejandro Scandroli
Hi George I have a similar scenario, but the main difference is that I don't know before hand the names of the query parameters. I only have one page with this particular requirement so I do all the URL query parameters encoding directly in the same page using the events: DECORATE_PAGE_RENDER_LINK

Re: No 404 error is raised

2012-09-07 Thread Alejandro Scandroli
Alex, as a workaround for almost the same issue I wrote this module: https://gist.github.com/3360101 It accomplishes three things: *) The default PageRenderDispatcher will skip Index pages. *) There is a new Dispatcher that will deal with the Index pages but it's configured after all the other dis

Re: How to override a component message

2012-08-07 Thread Alejandro Scandroli
Hola Matías The issue is that the LoginForm.properties file is resolving the message and not allowing the call chain to get to the global (application-wide) message catalog. I think you could get away with it if you add the LoginForm_es.properties file in the right place, that is: src/main/resourc

Re: Tapestry Tynamo Rest and security integration questions

2012-07-18 Thread Alejandro Scandroli
I also think Taha has the right answer. I don't think just adding ResteasyRequestFilter after StoreIntoGlobals is going to solve the issue. If both SecurityConfiguration and ResteasyRequestFilter are configured as "after:StoreIntoGlobals" how does Tapestry knows which one should be first. I think y

Re: resteasy and subresources

2012-06-07 Thread Alejandro Scandroli
Hi Paulo I think you could inject the ObjectLocator into the FooResource and then ask for the BarResource. You could get away with it, although it doesn't seem very practical. Is the ObjectLocator enough for your scenario or you were expecting some kind of injection into entities like the one in t

Re: AssetProtectionDispatcher for 5.3.3?

2012-06-01 Thread Alejandro Scandroli
Robert > > On May 28, 2012, at 5/2810:29 AM , Alejandro Scandroli wrote: > >> Hi All >> >> Even for 5.2.6 I needed to change the RegexAuthorizer contributions. >> This is how my configuration looks like: >> &

Re: AssetProtectionDispatcher for 5.3.3?

2012-05-28 Thread Alejandro Scandroli
Hi All Even for 5.2.6 I needed to change the RegexAuthorizer contributions. This is how my configuration looks like: public void contributeRegexAuthorizer(Configuration regex, ClasspathAssetAliasManager classpathAssetAliasManager, @Symbol(SymbolConstants.APP

Re: tynamo resteasy and JDO objects

2012-04-25 Thread Alejandro Scandroli
Hi Paulo You weren't completely mistaken, you can use @Xml* annotations to influence the JSON output, but you need to use the jettison provider. I overlooked this fact when I updated the documentation with the switch from the jettison to the jackson provider. Thanks for the heads up. Alejandro.

Re: Tynamo Resteasy / JPA Integration

2012-04-11 Thread Alejandro Scandroli
Hi Thilo There is three different things here: 1) To use the @CommitAfter annotation you are *always* going to need a separate interface. 2) Even tough you do need an interface the @CommitAfter annotation could be in the implementation. This is the issue Thiago is talking about. 3) The JAX-RS ann

Re: Tynamo Resteasy / JPA Integration

2012-04-06 Thread Alejandro Scandroli
Hey Thilo You don't have to use the autobuild feature if you don't want to. Declare your resteasy resources as normal Tapestry IoC services and then contribute them to the javax.ws.rs.core.Application. Here is an example from then tapestry-resteasy guide: @Contribute(javax.ws.rs.core.Application.

[ANNOUNCEMENT] Introducing tapestry-activiti

2012-03-26 Thread Alejandro Scandroli
The Tynamo team doesn't rest and is at it again, bringing you a new Tapestry module: tapestry-activiti. This module allows you to integrate Activiti into your Tapestry application. Activiti is a workflow and Business Process Management (BPM) platform. Its core is a super-fast and rock-solid BPMN

Re: [ANNOUNCEMENT] Tapestry-security 0.4.1 released!

2012-02-23 Thread Alejandro Scandroli
Hi AndrejKr It's easy, you don't need to register the filter anywhere, just use it in contributeSecurityConfiguration. for example: public static void contributeSecurityConfiguration(Configuration configuration, SecurityFilterChainFactory factory, WebSecurityManager secur

Re: Current Bean in Environment

2012-02-14 Thread Alejandro Scandroli
I do something similar using a mixin. Take a look at Tynamos's BeanModelAdvisor [1] TynamoBeanContext.getObject always returns the current iterated item based on the container's iterator property name (in this case: "row"). I hope it helps. Alejandro. [1] http://svn.codehaus.org/tynamo/trunk/ta

Re: [ANNOUNCEMENT] tapestry-resteasy 0.2.1 released!

2012-02-03 Thread Alejandro Scandroli
Hi antalk You should be able to use only one @Path annotation in your class. As long as you provide one default @GET or @POST method you should be fine See: http://svn.codehaus.org/tynamo/trunk/tapestry-resteasy/src/test/java/org/tynamo/resteasy/rest/EchoResource.java Saludos. Alejandro. On Fri,

Re: tapestry-resteasy 0.3.0 snapshot stable enough?

2012-01-16 Thread Alejandro Scandroli
Hi Yohan > > When does tapestry-resteasy 0.3.0 will be released? > It will be released in a couple of weeks. I just want to add a new Symbol to avoid scanning the ".rest" package if you don't need to. > Is it stable enough to use it? > I think it is but I just recently started to test it i

Re: shiro

2011-12-19 Thread Alejandro Scandroli
Hi 1) I think the first issue could be that the "/index" URL is almost never used. All the links to the Index.java page will be pointed to "/". You can try 2 things: a) rewrite your rule like this: configuration.add(factory.createChain("/").add(factory.authc()).build()); b) Add @RequiresAuthentic

Re: Exception Report must not contain a form

2011-12-05 Thread Alejandro Scandroli
I have seen this "Form components may not be placed inside other Form components." error way too many times. The problem is that your ExceptionReport page has a form that is trying to add a new FormSupport to the environment but there is one already there. The FormSupport that is already on the en

Re: [TYNAMO] Exception Handling

2011-11-24 Thread Alejandro Scandroli
Hi Nicolás > > - Am I obliged to make a custom page in order to catch up that exception > and show the user a friendly message? (something like "hey!, you can't > delete this locality as it's referenced by other persons") > No really, you can catch the exception in your own Show.java page over

Re: URL handling ..

2011-11-04 Thread Alejandro Scandroli
Hi Gunnar You can also take a look at how tapestry-rounting is implemented. http://tynamo.org/tapestry-routing+guide http://svn.codehaus.org/tynamo/trunk/tapestry-routing/ It may not be exactly what you need and may not have a good performance in a site with lots of pages, but I think it can give

Re: Tapestry 5.25 with Tynamo 0.4.0 onActionFromLogout not redirecting to index page.

2011-06-30 Thread Alejandro Scandroli
That's what I thought. If you wan't to handle the logout yourself you need to manually create the logout link in the same component. Add this to your Layout.tml custom-logout Cheers. Alejandro. On Thu, Jun 30, 2011 at 7:56 AM, cablepuff wrote: > >            

Re: Tapestry 5.25 with Tynamo 0.4.0 onActionFromLogout not redirecting to index page.

2011-06-29 Thread Alejandro Scandroli
Which class contains the onActionFromLogout method? Can you show me how are you coding the link (both .tml and .java code)? On Mon, Jun 27, 2011 at 3:07 PM, cablepuff wrote: > Hi actually after looking at the log. onActionFromLogout doesn't seem to get > called either. > > -- > View this messag

Re: Tapestry 5.25 with Tynamo 0.4.0 onActionFromLogout not redirecting to index page.

2011-06-27 Thread Alejandro Scandroli
The logout is working but the redirect isn't? is that the issue? Are you sure onActionFromLogout method is getting called? You code seems OK, although I prefer to use PageRenderLinkSource. In your case the return would be something like: return linkSource.createPageRenderLink(Index.class)

Re: Maven Checksum Failure with Tynamo JPA / Security

2011-06-22 Thread Alejandro Scandroli
Hi Lenny This was a very common error in the pre Nexus era. The process in charge of copying the binaries from Codehaus to Central was somehow changing the checksum. I'm not completely sure but I bet these artifacts were released before we have the Nexus in place. Saludos. Alejandro. PD:- I'l ch

Re: site renders CSS or javascript instead of HTML

2011-05-01 Thread Alejandro Scandroli
Hi Are you using any security framework? Do you know if this happen always after login? Alejandro. On Sat, Apr 30, 2011 at 11:35 PM, watarimono wrote: > Hi there, > > Every once in a while (but it seems to be increasing) our site shows one of > the CSS or javascript files instead of the actual

Re: How to use a BeanEditForm with a bean without knowing the bean class

2011-04-07 Thread Alejandro Scandroli
Hi Have a look at this recent thread: http://tapestry.1045711.n5.nabble.com/Generic-beaneditorform-td4267477.html Alejandro. On Thu, Apr 7, 2011 at 9:30 AM, selenar wrote: > Hi, > > Thanks for the answer. > > In the Fetch.java file, I have a function getFetch that returns the object > given in

Re: [tapestry-security] Redirecting to original page after login

2011-04-05 Thread Alejandro Scandroli
Hi Wiktor This is the default behavior in the LoginForm component, are you using or did you write your own login form too? If that's the case, you could be missing these lines: SavedRequest savedRequest = WebUtils.getAndClearSavedRequest(requestGlobals.getHTTPServletRequest()); response.sendRedi

Re: [ANNOUNCEMENT] tapestry-routing 0.0.1 released!

2011-04-04 Thread Alejandro Scandroli
Hi Howard, Thiago > How well does it handle a change to the @At annotation once the > application is loaded?  Or the addition of new pages with @At > annotations? This first version doesn't handle either. But these features are next in line. http://jira.codehaus.org/browse/TYNAMO-88 My first idea

Re: [ANNOUNCEMENT] tapestry-routing 0.0.1 released!

2011-03-29 Thread Alejandro Scandroli
t; because a Tapestry application might have hundreds of pages, and I > don't want to pay that startup cost).  Is that the case?  If not, in a > cluster, how to you recognize the routing for a page that has not yet > been loaded? > > On Tue, Mar 29, 2011 at 12:38 AM, Alejandro

[ANNOUNCEMENT] tapestry-routing 0.0.1 released!

2011-03-29 Thread Alejandro Scandroli
>From the same guys that brought you tapestry-exceptionpage, tapestry-model, tapestry-resteasy, tapestry-security, tynamo-federatedaccounts and other beautiful little modules, here comes yet another beautiful little module called tapestry-routing. In a nutshell, tapestry-routing allows you to prov

Re: Generic beaneditorform

2011-03-28 Thread Alejandro Scandroli
On Mon, Mar 28, 2011 at 4:40 PM, Thiago H. de Paula Figueiredo wrote: > On Mon, 28 Mar 2011 11:30:29 -0300, Alejandro Scandroli > wrote: > >> Hi >> >> * The first (and simpler) options is to provide the beanModel via the >> model parameter. >> bean

Re: Generic beaneditorform

2011-03-28 Thread Alejandro Scandroli
Hi * The first (and simpler) options is to provide the beanModel via the model parameter. beanModel = beanModelSource.createEditModel(entityType, messages); With this option you can't use the "add", "exclude" or "include" parameters in the template, if you need to change something you will have t

Re: [ANN] Tapestry Facebook components

2011-03-01 Thread Alejandro Scandroli
Excellent Barry, Thank you! I'm working with facebook and having the code packaged as a library is great. I'm already using it. If you don't mind I will send you a couple of pull requests (I see some room for improvements). Thanks! Alejandro. On Mon, Feb 28, 2011 at 1:50 PM, Barry Books wrote:

Re: can't get tynamo's tapestry-resteasy to work

2011-02-12 Thread Alejandro Scandroli
Hi Ronald That's very weird. That class "should" be provided by org.jboss.resteasy:jaxrs-api:jar:2.0.1.GA Anyway! I'm really glad it worked. Cheers. Alejandro. On Sat, Feb 12, 2011 at 2:26 PM, Ronald Luke wrote: > it's working after adding to pom.xml the following: >         >            javax.

Re: can't get tynamo's tapestry-resteasy to work

2011-02-10 Thread Alejandro Scandroli
Hi Ronald That's really weird. I've tried to reproduce your error with no luck. I used tapestry 5.2.4 quickstart to create a new project, I added the tapestry-resteasy-0.2.1 dependency to the pom, I created the package ".rest" and finally coded a simple test service. Everything went fine. Are you

Re: Tapestry 5.2.1 upgrade woes

2011-02-10 Thread Alejandro Scandroli
Hi Petros You should upgrade to chenillekit 1.3.0. Chenillekit 1.3.0 depends on tapestry 5.2.2 so you still need to exclude some dependencies. This is my conf: org.chenillekit chenillekit-tapestry 1.3.0 org.apache.tapestry

Re: T5: url rewriting

2011-01-18 Thread Alejandro Scandroli
Hi Angelo LinkTransformer is ready to use. Here is more info: http://blog.tapestry5.de/index.php/2010/09/06/new-url-rewriting-api/ I followed that post to write: http://svn.tynamo.codehaus.org/browse/tynamo/trunk/tapestry-routing/src/main/java/org/tynamo/routing/services/RouterLinkTransformer.java

Re: tynamo tapestry-security / shiro help

2010-11-22 Thread Alejandro Scandroli
Hi Paul The AuthorizingRealm constructor can take a CacheManager as a parameter. In our case we use the EhCacheManager. That's all you need! Cheers. Alejandro On Fri, Nov 19, 2010 at 12:58 AM, Paul Stanton wrote: > Kalle, > > I'm think I'm making progress however I haven't found a good guide

Re: Tapestry 5.2.4 issue

2010-11-22 Thread Alejandro Scandroli
Hi Zubair Is this your error: http://www.slf4j.org/faq.html#IllegalAccessError ? > This error is caused by the static initilizer of the LoggerFactory class > attempting to directly access the SINGLETON field of > org.slf4j.impl.StaticLoggerBinder. While this was allowed in SLF4J 1.5.5 and > ea

Re: tapestry-resteasy next release

2010-11-15 Thread Alejandro Scandroli
14, 2010 at 8:51 PM, Alejandro Scandroli wrote: > Hi Borut > > I've fixed TYNAMO-64 but I've hit: TAP5-1349 > It looks like we are going to need to wait until the Tapestry 5.2.4 release. > > Cheers. > Alejandro. > > On Tue, Nov 9, 2010 at 5:30 PM, Alejandro Sca

Re: tapestry-resteasy next release

2010-11-14 Thread Alejandro Scandroli
Hi Borut I've fixed TYNAMO-64 but I've hit: TAP5-1349 It looks like we are going to need to wait until the Tapestry 5.2.4 release. Cheers. Alejandro. On Tue, Nov 9, 2010 at 5:30 PM, Alejandro Scandroli wrote: > Hi Borut > > Hi have upgraded the trunk to 2.0.1-GA. > I want

Re: slf4j conflicting versions

2010-11-09 Thread Alejandro Scandroli
Thanks Borut for the heads-up I excluded all the slf4j libraries from the resteasy dependency. http://fisheye.codehaus.org/changelog/tynamo/?cs=1672 Please, remember to send a coy o these messages to the Tynamo list. Saludos. Alejandro. On Tue, Nov 9, 2010 at 2:59 PM, Borut Bolčina wrote: > Hi

Re: tapestry-resteasy next release

2010-11-09 Thread Alejandro Scandroli
Hi Borut Hi have upgraded the trunk to 2.0.1-GA. I want to fix the live class reloading of the REST services (TYNAMO-64) before releasing the new version. I've been working on it, but I still don't have a good enough solution. Cheers. Alejandro. On Fri, Nov 5, 2010 at 10:55 AM, Borut Bolčina w

Re: Live-Class reloading for rest services.

2010-10-27 Thread Alejandro Scandroli
ervletRequestFilter) and push it further down the request queue. GZIP is > disabled in our application. But I don't know if this solution still works > with the GZIP filter enabled. > > Moritz > > Am 27.10.2010 um 01:03 schrieb Alejandro Scandroli: > >> Hi

Re: Live-Class reloading for rest services.

2010-10-26 Thread Alejandro Scandroli
Hi Moritz Again the issue is that the RESTEasy filter is an HttpServletRequestFilter not a RequestFilter, so the CheckForUpdatesFilter (RequestFilter) it's never called and the loader never knows that it needs to reload the services. I could make the RESTEasy filter work as a RequestFilter but th

Re: tapestry-resteasy NPE when trying to access session

2010-10-26 Thread Alejandro Scandroli
You are right, the Request is not yet available. The RESTEasy filter is a HttpServletRequestFilter not a RequestFilter, so you need to inject the HttpServletRequest to make it work. Try this: @Inject private HttpServletRequest request; BTW, remember that sessions should be irrelev

Re: Fwd: [Announce] Tapestry 5.2 Demo application

2010-10-22 Thread Alejandro Scandroli
Is there a tynamo branch?? excellent!! :) On Fri, Oct 22, 2010 at 8:32 AM, Katia Aresti Gonzalez wrote: > There is no security framework > just tapestry following Howard's tutorial > in the tynamo branch we use tynamo security, but this branch is not finished > yet. We will use tynamo conversati

Tynamo and Tapestry in the Vodafone Mobile Clicks 2010 finals

2010-09-19 Thread Alejandro Scandroli
vote). Tynamo's tapestry-resteasy and the first version of tapestry-security came as a result of the work done in MALCOM, so your vote will help me to keep working on them in the future :) Thanks in advance. Cheers. Alejandro

Re: Resteasy and security (again)

2010-09-13 Thread Alejandro Scandroli
easy with: "before:ResteasyRequestFilter". I hope it helps. Saludos. Alejandro Scandroli. On Mon, Sep 13, 2010 at 5:22 PM, Christophe Cordenier wrote: > Hi ! > > See how IgnoredPaths filter is contributed in TapestryModule class, then use > > before:IgnoredPaths > &g

Re: tapestry-jersey

2010-08-13 Thread Alejandro Scandroli
Hi Borut Do you know http://wiki.github.com/yunglin/tapestry-jersey/ ? I haven't tried it, but it sure looks like what you are looking for. Cheers. Alejandro. On Thu, Aug 12, 2010 at 7:05 PM, Kalle Korhonen wrote: > On Thu, Aug 12, 2010 at 9:15 AM, Borut Bolčina > wrote: >> perhaps this shoul

Re: Replacing Date Selector

2010-07-06 Thread Alejandro Scandroli
Hi Jim I'm using ChenilleKit's DateTimeField component as a replacement for the Tapestry's default date component. To use it as the default editor for all your date properties you just need to: Create your Editor page: public class EditBlocks { @Environmental @Property(write = f

Re: T5: develop t5 app in Snow Leopard

2010-04-13 Thread Alejandro Scandroli
I did have "heap out of memory" issues with SL. To workaround them we use this system properties. For embedded jetty (mvn jetty:run): export MAVEN_OPTS="-Xms256m -Xmx1024m -XX:PermSize=1024m -XX:MaxPermSize=1024m" For tomcat: export JAVA_OPTS="-Xms1024m -Xmx1024m -XX:MaxPermSize=256m -XX:+CMSClass

Re: using other namespaces

2010-04-09 Thread Alejandro Scandroli
That's very much what I have, and it works for me. eg: Layout.tml: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.facebook.com/2008/fbml"; xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"; xmlns:p="tapestry:parameter"> Index.tml http://tapestry.apac

Re: [ANNOUNCEMENT] Tapestry-resteasy 0.0.1 released!

2010-03-28 Thread Alejandro Scandroli
It's done! The (yet to be released) tapestry-resteasy 0.2.0 is "droppinable", just drop it in and run. It doesn't need any web.xml configuration at all. Cheers! Alejandro. On Fri, Jan 22, 2010 at 8:07 PM, Kalle Korhonen wrote: > On Fri, Jan 22, 2010 at 10:49 AM, Howard Lewis Ship wrote: >> Look

Re: [ANNOUNCEMENT] Introducing Tynamo!

2010-01-10 Thread Alejandro Scandroli
Thank you Igor for your inputs, we will fix that. http://jira.codehaus.org/browse/TYNAMO-20 http://jira.codehaus.org/browse/TYNAMO-21 Alejandro. On Sun, Jan 10, 2010 at 8:28 PM, Igor Drobiazko wrote: > Well, I run the archetype and imported the maven project into Eclipse. Then > I started the a

Re: Tapestry5 and envers (2)

2009-12-20 Thread Alejandro Scandroli
ng out my changes and replacing them with yours, in case > there was some subtle difference I was missing, but got the same result. > Thanks. > > Regards, > Jim. > > -Original Message- > From: Alejandro Scandroli [mailto:alejandroscandr...@gmail.com] > Sent: 19 Dec

Re: Tapestry5 and envers (2)

2009-12-19 Thread Alejandro Scandroli
quot;); } } I planned to release this code to open source in January, but if you are willing to try untested code I can check it in sooner. I hope it helps. Saludos. Alejandro Scandroli. On Sat, Dec 19, 2009 at 1:32 AM, Howard Lewis Ship wrote: > I'm afraid I'm not familiar en

SeleneseTestNgHelper and AbstractIntegrationTestSuite

2009-09-26 Thread Alejandro Scandroli
Hi all Does anyone know how to integrate the code generated by the Selenium IDE with Tapestry's AbstractIntegrationTestSuite ? I'm interested in both java (SeleneseTestNgHelper) and html generated code. Saludos. Alejandro. - T

Re: About regexps on Tapestry

2009-09-20 Thread Alejandro Scandroli
Hi Madtyn Your pattern looks OK to me, it should work, just be sure the file where you are writing the pattern is encoded in UTF-8. This is the pattern I use: [a-zA-ZáéíóúñçÁÉÍÓÚÑÇ]+ Again, be sure your file is correctly encoded in UTF-8 and it should work. Saludos. -- Alejandro Scandroli

Re: is there a PropertyUtils in T5?

2009-09-20 Thread Alejandro Scandroli
p 19, 2009 at 3:44 PM, Alejandro Scandroli < > ascandr...@codehaus.org> wrote: > >> Hi All >> >> Is there a replacement for T4 PropertyUtils? Does T5 have any >> alternative to PropertyUtils? >> >> >> Thanks in advance. >> Alejandro. >&g

is there a PropertyUtils in T5?

2009-09-19 Thread Alejandro Scandroli
Hi All Is there a replacement for T4 PropertyUtils? Does T5 have any alternative to PropertyUtils? Thanks in advance. Alejandro. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: u

Re: [ANNOUNCE] New ChenlleKit home a the Haus

2009-09-15 Thread Alejandro Scandroli
Ciao Massimo Welcome to the Haus!! Here is your welcome gift: http://jira.codehaus.org/browse/CHEN-1 ;-) Saluti! -- Alejandro Scandroli - http://weblog.amneris.es/ Amneris: We build process-driven web applications. http://www.amneris.es On Tue, Sep 15, 2009 at 12:35 PM, Massimo Lusetti wrote

Re: Hibernate relations in BeanEditForm

2009-01-19 Thread Alejandro Scandroli
I think this would be quite difficult to implement in tapestry-hibernate without parsing hibernate's metadata and storing it in some kind of metadata container, which is what Trails is doing. Alejandro. On Tue, Jan 20, 2009 at 12:33 AM, Thiago H. de Paula Figueiredo wrote: > Em Mon, 19 Jan 2009

Re: "Global" app.properties for a component-module

2008-12-29 Thread Alejandro Scandroli
Hi This would be very handy for Trails. On Mon, Dec 29, 2008 at 2:31 AM, Joakim Olsson wrote: > Great, issue created (https://issues.apache.org/jira/browse/TAP5-424). > > Could I work around it in any way by contributing something to > ComponentResources or something like that in my module-clas

Re: Beaneditform example with ManyToMany ManyToOne

2008-12-09 Thread Alejandro Scandroli
ed to process it on bootstrap time and save the processed info in custom "holders" to query them later. Does it sounds familiar? > Thanks! > > Toby > Saludos. Alejandro. -- Alejandro Scandroli - http://weblog.amneris.es/ Amneris: We build process-driven web applications. h

Re: Problems with 4.1.6 ExternalPages and back/forward button

2008-10-30 Thread Alejandro Scandroli
webResponse.setHeader("Expires", "Mon, 06 Jan 1990 00:00:01 GMT"); . } I hope it helps. Cheers. Alejandro. -- Alejandro Scandroli - http://weblog.amneris.es/ Amneris: We build process-driven web applications. http://www.amneris.es On Thu, Oct 30, 2008 at 12:

Re: T4.1.5 Dojo Asset Issues

2008-09-05 Thread Alejandro Scandroli
Hi Paul Any chance are you using acegi or any other security framework that is preventing you from accessing that url? Alejandro. On Fri, Sep 5, 2008 at 7:38 PM, Paul Croarkin <[EMAIL PROTECTED]> wrote: > We've upgraded recently from T4.0 to T4.1.5. > > When trying to use a DatePicker, the text

Re: Contributing to BeanBlockSource and HibernateEntityValueEncoder

2008-08-02 Thread Alejandro Scandroli
perty() { return valueEncoderSource.getValueEncoder(context.getPropertyType()); } It works beautifully now! Saludos. Alejandro. On Mon, Jun 9, 2008 at 9:44 AM, Massimo Lusetti <[EMAIL PROTECTED]> wrote: > On Fri, Jun 6, 2008 at 10:58 PM, Alejandro Scandroli > <[EMA

Re: What if "Page" was removed from page names?

2008-06-25 Thread Alejandro Scandroli
Hi Howard I'm experimenting with this, I'm trying to get it to work for what it could be Trails 2, and it was actually pretty easy to do. I just needed to create a coercion for classes, and then provide default pages: ListPage, EditPage and ViewPage. Way easier than what I needed to do to make it

Re: Contributing to BeanBlockSource and HibernateEntityValueEncoder

2008-06-06 Thread Alejandro Scandroli
Hi Massimo I'm experiencing the same thing. I'm trying to create an editor for properties annotated with "@ManyToOne" The BeanBlockContribution renders ok, but when I submit the form I get an exception: org.apache.tapestry5.runtime.ComponentEventException Failure writing parameter 'value' of comp

Re: T4: Issue with Hibernate Session closes on Custom 404 page render

2008-04-11 Thread Alejandro Scandroli
Hi Mike How are you openning your sessions? OSIV Filter perhaps? If yes, does the filter pattern match your 404 url? -- Alejandro Scandroli - http://weblog.amneris.es/ Amneris: We build process-driven web applications. http://www.amneris.es On Thu, Apr 10, 2008 at 5:42 PM, Mike Leonardo

Re: .class coercion

2008-04-06 Thread Alejandro Scandroli
rcionTuple(String.class, Class.class, stringToClass)); } -- Alejandro Scandroli - http://weblog.amneris.es/ Amneris: We build process-driven web applications. http://www.amneris.es On Mon, Feb 25, 2008 at 4:04 PM, Gabriel Landais <[EMAIL PROTECTED]> wrote: > Hello, > I've a be

Re: Migration of Tapestry 4.0.2 to 4.1.5. Please help!!!

2008-03-24 Thread Alejandro Scandroli
statusList" accesors in the AppointmentList component. Based on the "statusList" ognl expression the accesor should be something like: @Parameter public abstract List getStatusList(); Check to see if you're explicitly using the ArrayList class instead of the List interface.

Re: Tap 4.1.5 is really really slow with caching disabled. Am i missing something?

2008-03-23 Thread Alejandro Scandroli
2006/09/23/Implementing-a-Firefox-Plugin-for-Tapestrys-Reset-Service.html+Implementing-a-Firefox-Plugin-for-Tapestrys-Reset-Service.html&strip=1 Saludos. -- Alejandro Scandroli - http://weblog.amneris.es/ Amneris: We build process-driven web applications. http://www.amneris.es On Fri, Mar 21

Re: T4: Rewind of Form nested within a For loop

2008-03-17 Thread Alejandro Scandroli
Hi all I'm also interested in a good solution to this. I've encountered this problem several times and I couldn't find a proper solution, my lame workaround was (always) to try to avoid this situation. -- Alejandro Scandroli - http://weblog.amneris.es/ Amneris: We build pro

Re: Tapestry 4.1, Problems when adding Service implementing IEngineService to hivemind.xml, Element service not allowed here

2008-02-19 Thread Alejandro Scandroli
Hi Andreas, I think you should use "service-point" instead of "service" (I'm not sure if this has changed between Tapestry versions) Try something like this: Saludos. Alejandro. -- A

Re: T4.0.2: Shell component, and what is $content$ ?

2008-01-25 Thread Alejandro Scandroli
ad the whole page. Alejandro. -- Alejandro Scandroli - http://weblog.amneris.es/ Amneris: We build process-driven web applications. http://www.amneris.es On Jan 25, 2008 5:51 PM, Gayard, Leonel <[EMAIL PROTECTED]> wrote: > Hi. > > [Newbie here]. In the quick-start guide, howard pre

Re: [T4.1.3] Javascript is shown after login

2008-01-16 Thread Alejandro Scandroli
r security framework configurations to make sure you allow anonymous access to all the js files. Saludos. -- Alejandro Scandroli Amneris: We build process-driven web applications. http://www.amneris.es On Jan 16, 2008 11:42 PM, Henrik Schlanbusch <[EMAIL PROTECTED]> wrote: > Hi again, I hav

Re: Tapestry & IDEA

2008-01-16 Thread Alejandro Scandroli
I'm using the excelent JavaRebel for live class reloading when working with T4 on Idea Cheers. -- Alejandro Scandroli Amneris: We build process-driven web applications. http://www.amneris.es On Jan 16, 2008 11:34 PM, Kevin Menard <[EMAIL PROTECTED]> wrote: > Hi Michael, > > Th

  1   2   >