Re: Single Page Application

2018-06-05 Thread Juan
some free time this week I > hope > > > to upload a simple example to http://tapestry5.dev-util.com/ < > > > http://tapestry5.dev-util.com/> > > > > > > Regards > > > > > > Carlos Montero > > > > > > > > > > El 3/

Re: Single Page Application

2018-05-31 Thread Juan
I haven't updated it since I came to the > > > >> conclusion there are easier ways to do SPAs. > > > >> > > > >> > > > >> https://killertilapia.blogspot.com/2013/06/resteasy- > > > tapestry-with-angularjs.html > > > >

Re: Single Page Application

2018-05-31 Thread Juan
; >> > >> > 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 < > &g

Single Page Application

2018-05-18 Thread Juan
Hello, are there any good example of doing a single page application using Tapestry ? Thank you.

Re: In which direction is Tapestry heading?

2018-03-26 Thread Juan Manuel Garrido de Paz
nents based web framework like tapestry for that. And you are not using the web components nor pages, etc. What's the point of it or which sre the benefits? It would be using tapestry just to offer a REST API? Maybe I didn't understand what you mean. Regards, Juan. El lun., 26 mar. 2018

Password strength ...

2016-10-01 Thread Juan M Garrido de Paz
Hello... does Tapestry have any kind of component or something to show password strength besides a password field in a form as you type? A progress bar with colours. I've been looking for it but didn't find much about it... doing it with bootstrap maybe. How do you do it? Bootstrap or are there a

Re: hide special pages ...

2016-08-30 Thread Juan M Garrido de Paz
It doesn't work for me though in some cases, for example when Spring Security sends a 403 response in its default behaviour, and the 403 page is a "hidden" one. I will have to see in detail. Thank you. 2016-08-30 13:21 GMT+02:00 Juan M Garrido de Paz < juanm.garrido@gma

Re: hide special pages ...

2016-08-30 Thread Juan M Garrido de Paz
sted is from one of our property block pages. The activate > ensures that the page cannot be accessed as a "normal page" > > -- > Chris > > On Tue, Aug 30, 2016 at 10:56 AM, Juan M Garrido de Paz < > [hidden email] <http:///user/SendEmail.jtp?type=node&no

Re: hide special pages ...

2016-08-30 Thread Juan M Garrido de Paz
Chris Poulsen" escribió: > Just return something from you activate, e.g: > > Object onActivate() > { > return new HttpError( 404, "Resource not found"); > } > > > On Tue, Aug 30, 2016 at 1:25 AM, Juan M Garrido de Paz < > juanm.garrido@gmail.co

hide special pages ...

2016-08-29 Thread Juan M Garrido de Paz
Hello, I'm using Tapestry with Spring Boot and embedded tomcat (jar packaging). Is it posible to hide certain pages like for example errors 403, 404, 500; or the pages for propertyblocks... so that the user can't type their url and get them? Thank you.

Re: Project Folder Structure ...

2016-08-18 Thread Juan M Garrido de Paz
On Thu, 18 Aug 2016 18:59:43 -0300, Juan M Garrido de Paz < > juanm.garrido@gmail.com> wrote: > > Thank you Thiago. >> > > De nada! :D > > I knew there were the posibility to have several root packages, but never >> looked into it to learn about it, and I d

Re: Project Folder Structure ...

2016-08-18 Thread Juan M Garrido de Paz
han using "component-libraries"? How do you organize your projects? Thank you. 2016-08-18 23:40 GMT+02:00 Thiago H de Paula Figueiredo : > On Thu, 18 Aug 2016 17:43:07 -0300, Juan M Garrido de Paz < > juanm.garrido@gmail.com> wrote: > > Hello... >> > >

Project Folder Structure ...

2016-08-18 Thread Juan M Garrido de Paz
Hello... how do you organize the packages/folders in your projects? (I mean other than pages, components, mixins, services). Due to tapestry force us to have separate pakages for pages, components, etc... I guess we cannot (or shouldn't) organize the whole root package by "features" of business l

Re: Tapestry vs Spring MVC + REST + Angular

2016-08-02 Thread Juan M Garrido de Paz
tying the requests in the html web app, and call the appropiate ws of the tapestry app, that will return json? On Tue, 02 Aug 2016 14:41:24 -0300, Juan M Garrido de Paz <[hidden email] <http:///user/SendEmail.jtp?type=node&node=5732810&i=0>> wrote: > How is the approach of us

Re: Tapestry vs Spring MVC + REST + Angular

2016-08-02 Thread Juan M Garrido de Paz
Hello I'm facing a new project from scratch where i have the desired look and feel of the clint pages, done with html 5, js, bootstrap and jquery. They work as a simple page webapp. Which is the best option... integration at the front end or at the backend? I began doing a web app as i always di

Re: live class reloading for custom package

2014-06-13 Thread Juan E. Maya
You could also try spring -loaded. https://github.com/spring-projects/spring-loaded Notice you don't need to be using spring to get advantage of it On Fri, Jun 13, 2014 at 7:39 AM, Ilya Obshadko wrote: > Thanks Lance! > > I was supposing something like this. > > JRebel looks very promising, but

Re: Tapestry 5.3 + java 8

2014-06-12 Thread Juan E. Maya
Thanks a lot thiago! Good luck on the match today, although i don't think you need any look ;) On Thu, Jun 12, 2014 at 2:14 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 12 Jun 2014 06:48:19 -0300, Juan E. Maya > wrote: > > Hello All, >&g

Re: Multi-Language Concept in Tapestry5

2014-06-12 Thread Juan E. Maya
servers) If indeed you want to externalize the message catalog this thread might be useful for you: http://markmail.org/thread/frvx2mbmq34wg4xu Juan On Thu, Jun 12, 2014 at 9:14 AM, Anbazhagan.G wrote: > Hi all, > > I am developing web application using Tapestry5. In my application I

Tapestry 5.3 + java 8

2014-06-12 Thread Juan E. Maya
Hello All, I have been following: https://issues.apache.org/jira/browse/TAP5-2321 https://issues.apache.org/jira/browse/TAP5-2214 do you know is there is any plan to release a new 5.3 version that would make it compatible with java8 ? Thanks for the help Juan

Re: PerThread Scope and Assets

2012-07-27 Thread Juan E. Maya
application to be regurlarily saturated. > Otherwise, keep your eyes on your database queries and let the rest > shake out. > > On Fri, Jul 27, 2012 at 1:13 PM, Juan E. Maya wrote: >> Hello, >> >> first of all i am very glad to go back to work with T5 :) I was >

PerThread Scope and Assets

2012-07-27 Thread Juan E. Maya
Hello, first of all i am very glad to go back to work with T5 :) I was missing the mailing list. :) I know the PerThread scope service are created per request, but i don't want the object to be created for every asset that is loaded, i only needed for the PageRender cycle. Is there a way to avoid

Re: Property is null onSuccess()

2012-05-28 Thread Juan Alba
ndwhen > > regards > Taha > > On May 28, 2012, at 10:31 PM, Juan Alba wrote: > > > Hi Taha, thanks for your help. > > > > I am using an onActivate() to receive the parameter, I have to use > > onPassivate() instead? > > I think, that I am not un

Re: Property is null onSuccess()

2012-05-28 Thread Juan Alba
@Persist. > > Your code is missing an onPassivate, so context will not persisted. > > regards > Taha > > > On May 28, 2012, at 8:59 PM, Juan Alba wrote: > > > Hi, > > > > I am having problems with my pages and I am not sure if what I am do

Property is null onSuccess()

2012-05-28 Thread Juan Alba
Hi, I am having problems with my pages and I am not sure if what I am doing to solve it is right. Page Class: ... @Property private Long myObjectId; @Inject private MyService myService; onActivate(Long objectId){ myObjectId = objectId; } void onSuccess(){ MyObject myObject = myServi

Re: Forms and JavaScriptSupport

2012-05-18 Thread Juan Alba
> On May 18, 2012, at 12:27 AM, Juan Alba wrote: > > > I *need* to redirect. > > > > The idea is the following: > > My page has a button to add xxx. Whe I click this, it opens the modal > with > > the form. > > When I fill in the form and submit, it is r

Re: Doubt about tapx expando

2012-05-17 Thread Juan Alba
tially, but leaves much of the output hidden. > > > On Thu, May 17, 2012 at 1:19 PM, Juan Alba > wrote: > > I am trying to use it in a loop: > > > > > > > > > > ${myObject.name} > > > > > > > > > > Th

Doubt about tapx expando

2012-05-17 Thread Juan Alba
I am trying to use it in a loop: ${myObject.name} The loop goes well, the title are also fine, but when I get in the div myObject is null. Anyone knows why? Regards!

Re: Forms and JavaScriptSupport

2012-05-17 Thread Juan Alba
ct then why to close the colorbox. > > Sent from my iPhone > > On May 18, 2012, at 12:09 AM, Juan Alba > wrote: > > > Taha, thanks Again but still can't make it work. > > > > I have this now: > > *tml:* > > > > > > > > >

Re: Forms and JavaScriptSupport

2012-05-17 Thread Juan Alba
er to work. > > Also, for an ajax request if you want to redirect return an instance of > Link from the event handler. > > return pageRenderLinkSource.createPageRenderLink(ShowRoutePlan.class); > > regards > Taha > > On May 17, 2012, at 11:25 PM, Juan Alba wrote: >

Re: Forms and JavaScriptSupport

2012-05-17 Thread Juan Alba
ponseRenderer.addCallback(new JavaScriptCallback() { >@Override >public void run(JavaScriptSupport javaScriptSupport) { >do_whatever_you_want_to_do_with_javaScriptSupport(); >} >}); > > > } > > > regards > Taha &g

Forms and JavaScriptSupport

2012-05-17 Thread Juan Alba
Hi, I am working with modals in my application, for this I have done my own mixin that uses *colorbox* for the modal. My problem, right now is that I have a form in one of those modals that has to redirect when is submited. I have two methods in the class: @Inject private JavaScriptSupport

Re: Registration and Login through FACEBOOK

2012-04-18 Thread Juan Alba
Nazakat, If you are using Spring 3 you will have no problem using spring-social. I have done the work by myself but with spring 2 so I had to workout all the filters and authentications (not recommended). I think I will upload the code somewhere soon. Also I recommend you to take a look to scribe

HTTP header modification for Cache-Control in Browser

2012-04-11 Thread Juan Germán Castañeda Echevarria
ic on this list. Thanks in advance -- Juan Germán Castañeda Echevarría

Pushing to environment without popping

2012-04-09 Thread Juan Germán Castañeda Echevarria
to pop it after the request has finished? Thanks in advance. -- Juan Germán Castañeda Echevarría

Re: Dynamic CSS depending on URL

2012-04-09 Thread Juan Alba
} > } > ... > } > > I already do this exact same trick to transform the request: > > private Request transform(Request request) { > ... > transformed = new RequestDelegate(request) { > public String getPath() { > return newPath; > } >

Re: Dynamic CSS depending on URL

2012-04-04 Thread Juan Alba
uld do exactly the same and create a LinkDelegate. After all, it's > just an interface > > :) > > On Tuesday, 3 April 2012, Juan Alba wrote: > > First of all thanks a lot for all your time and help Lance. I have used > > your example and worked perfect. I could use the mo

Re: Dynamic CSS depending on URL

2012-04-03 Thread Juan Alba
First of all thanks a lot for all your time and help Lance. I have used your example and worked perfect. I could use the mode to put the css dynamically as I wished. Thanks a lot. Now my problem is trying to use it in my web app. In tapestry 5.1.0.5 LinkImpl doesn't have getBasePath(), or copyWith

Re: Dynamic CSS depending on URL

2012-03-30 Thread Juan Alba
On Fri, Mar 30, 2012 at 5:23 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 30 Mar 2012 17:16:00 -0300, Juan Alba > wrote: > > URLRewriterRule rule = new URLRewriterRule() { >> @Override >> public Request process(Request requ

Re: Dynamic CSS depending on URL

2012-03-30 Thread Juan Alba
return RewriteRuleApplicability.BOTH; } }; configuration.add("rule1",rule); } just as a test and now is showing me the directories of my webapp in the browser... anyone can help me? Thanks in advance. On Fri, Mar 30, 2012 at 3:34 PM, Juan Alba wrote: > Ok, I think that I have no

Re: Dynamic CSS depending on URL

2012-03-30 Thread Juan Alba
sing the urlRewriter)... I will be loosing everything that I have added with the URLRewriterRule. Is there any other solution? Or I am missing something? Thanks in advance. On Fri, Mar 30, 2012 at 1:38 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 30 Mar 2

Re: Dynamic CSS depending on URL

2012-03-30 Thread Juan Alba
Thiago, where can I find some documentation on the URLRewriter (some examples or how tos)? Thanks! On Fri, Mar 30, 2012 at 10:02 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 30 Mar 2012 09:39:08 -0300, Lance Java > wrote: > > No, URLRewriters can decorate the result

Re: Dynamic CSS depending on URL

2012-03-29 Thread Juan Alba
ion and URL decoding so you are covering the whole flow. > > On Wednesday, 28 March 2012, Juan Alba > wrote: > > Thanks Again Lance. > > > > On Wed, Mar 28, 2012 at 12:10 PM, Lance Java >wrote: > > > >> I was assuming that all of your links were rendere

Re: Dynamic CSS depending on URL

2012-03-28 Thread Juan Alba
ng the getMode() somewhere in there... So it seems I am not understanding very well how to use the @Enviroment. Or this is what I have to do? Thanks. > On Wednesday, 28 March 2012, Juan Alba > wrote: > > First of all, thanks again Lance! > > > > > > > > On Wed, Ma

Re: Dynamic CSS depending on URL

2012-03-28 Thread Juan Alba
ss http://myapp/facebook/page > > My web app is using a lot of webLibs (almost one per section). If I do this, I will have to change all the web app, and all the web libs to build the links correctly? It seems to be a huge re-factoring. I am getting the idea right? Thanks. > On W

Re: Dynamic CSS depending on URL

2012-03-28 Thread Juan Alba
ly only know the "mode" > clientside in javascript. > > I get the feeling that you may need to re-think your design slightly so > that the "mode" is known on the serverside. This can be done by activation > context, request parameter, URL, cookie, session att

Re: Dynamic CSS depending on URL

2012-03-27 Thread Juan Alba
Thanks for your help guys, now I am realizing that my real problem is another one. It concerns more with the logic to know what style to load. My app can be used in the browser (regular way) or also as a Facebook App. This means an iframe where everything is smaller, and the backgrounds need to be

Problems migrating to spring-security 3.

2012-01-06 Thread Juan Alba
AppModule.java:142) is for service 'FilterSecurityInterceptor', which does not exist. 2012-01-06 11:58:58.343:WARN::Failed startup of context JettyWebAppContext@556ca3d5 @556ca3d5/,file:/home/juan/workspaces/login/pruebaLogin/src/main/webapp/,file:/home/juan/workspaces/login/pruebaLogin/src/m

Re: Spring-security can't add AuthenticationProvider

2011-11-22 Thread Juan Alba
It looks very similar :) Thank you very much for your time and your help! Cheers! On Tue, Nov 22, 2011 at 10:37 AM, Juan Alba wrote: > First of all thanks for the help Jonathan, but I think that I am not being > clear. > > I already have the two providers (Injecting the applicatio

Re: Spring-security can't add AuthenticationProvider

2011-11-22 Thread Juan Alba
nt > different dummy interfaces that extend AuthenticationProvider. Then, in > your contribute method, use your dummy interface instead of > AuthenticationProvider to avoid any confusion about which one you want. > > > On Mon, Nov 21, 2011 at 9:31 AM, Juan Alba >wrote: > > > Chris, t

Re: Spring-security can't add AuthenticationProvider

2011-11-21 Thread Juan Alba
Chris, thanks for the tip, What I am still missing is to assign more than one authenticationProvider to the ProviderManager. I can see there that it is a List of providers, but I don't know how to set this list with all my different authenticationProviders. Does anybody knows? Thanks in advan

Spring-security can't add AuthenticationProvider

2011-11-18 Thread Juan Alba
Hi, I am trying to add a facebook provider to my app. I added the config to the xml and I had created the Class FacebookDaoProvider just for testing if everything goes fine but when I start the server this message is shown: Construction of service ProviderManager failed: Error invoking service

Re: Jetty Restarts every time i save

2011-11-16 Thread Juan Alba
If you are using maven you can try something like this in the application pom: org.mortbay.jetty jetty-maven-plugin manual On Wed, Nov 16, 2011 at 3:29 PM, Josh Kamau wrote: > May be its because am using eclipse 3.7(Indigo). I can al

SimpleRequestWrapper

2011-09-19 Thread Juan Germán Castañeda Echevarria
. How can I modify the request path without using SimpleRequestWrapper? Thanks in advance Juan Germán Castañeda

Re: Special Character in attribute.

2011-07-07 Thread Juan Alba
Hi Nillehammer, *THANKS* for the help. It works like a charm Cheers! On Wed, Jul 6, 2011 at 6:13 PM, Nillehammer < tapestry.nilleham...@winfonet.eu> wrote: > Hi Juan, > > thanks for providing the code. I have implemented it (with some slight > changes to get it to compile)

Re: Special Character in attribute.

2011-07-06 Thread Juan Alba
sorry guys, de error shown is this one, not the one sent before: org.apache.tapestry5.internal.services.RenderQueueException Render queue error in AfterRenderBody[proxy/menu/EndPoint:showendpointlink]: Conversion = o, Flags = , On Wed, Jul 6, 2011 at 12:17 PM, Juan Alba wrote: >

Re: Special Character in attribute.

2011-07-06 Thread Juan Alba
Hi, Thanks for the help Nillehammer, here is the code: /*JAVA*/ public class ModalPage { @Parameter(value="null", defaultPrefix = BindingConstants.LITERAL) private String boxParams; @AfterRenderBody public void afterRenderTemplateLink() { String comando = String.format("n

Special Character in attribute.

2011-07-01 Thread Juan Alba
Hi I am working with a mixin that uses modals and I was trying to send % for the width and height of the modal. This is the example: Link When I try to access to the page that contains the actionLink, this is the error shown: org.apache.tapestry5.internal.services.Rend

Re: [ANN] Tapestry 5 in Action MEAP started

2011-03-24 Thread Juan E. Maya
Nice! Congratulations! Buying my copy right now! On Wed, Mar 23, 2011 at 8:10 PM, Igor Drobiazko wrote: > Dear all, > > I'm pleased to announce that the long awaited Tapestry 5 in Action book is > available through MEAP now. > > For more details read here: > > http://blog.tapestry5.de/index.php/2

Re: tapestry-upload and zones?

2011-03-11 Thread Juan E. Maya
Hi Rich, u might try this Project. https://github.com/valums/file-uploader Demo: http://valums.com/files/2010/file-uploader/demo.htm I have used it successfully in a few Tap5 projects and was not that hard to integrated. Sadly i haven't had the time to release it as a standalone tap module. It eve

Re: Differences between Tapestry IoC and J2EE 6 CDI

2011-03-07 Thread Juan E. Maya
Another great feature from Tapestry IOC is how easy is to write well designed applications using Design Patterns like Chains of responsibilities, Strategies or Pipelines. U will be able to write truly modular applications using them together with the Distributed Configuration mentioned by Thiago.

Re: Own persistence strategy

2011-02-15 Thread Juan E. Maya
Check this out Pablo: http://wiki.apache.org/tapestry/Tapestry5HowToUsePersistentFieldStrategy It might be a bit old so some things might be slightly different. I hope it helps On Tue, Feb 15, 2011 at 2:50 PM, Pablo dos Reis wrote: > Is there a way I create my own persistence strategy of the fie

Re: Adding a user-defined function to onclick of t:actionlink

2010-12-08 Thread Juan E. Maya
Richard, u could observe the Tapestry.ZONE_UPDATED_EVENT event that tapestry raises whenever a zone is updated as explained on http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html On Wed, Dec 8, 2010 at 3:30 PM, Richard Hill wrote: > Hi All,

Re: First Tapestry app with Hibernate

2010-12-02 Thread Juan E. Maya
Rob, the problem u have is because tomcat is not finding those classes in the classpath. How do u launch ur tomcat? if u want to work with tomcat u might want to follow Kalle's guide so u r sure that there r no problems in ur development environment. Here is the guide: http://tynamo.org/Developing+

Re: Displaying inline validation messages

2010-11-29 Thread Juan E. Maya
Hi Josh! :) Not sure in wicket but in tapestry is possible. ;) Checkout this example from Jumpstart: http://jumpstart.doublenegative.com.au/jumpstart/examples/input/novalidationbubbles1 On Mon, Nov 29, 2010 at 2:45 PM, Josh Kamau wrote: > Hi there; > > I would like to display the validation fee

Re: Tapestry Web Site Updated

2010-11-27 Thread Juan E. Maya
Katia, 'm a native spanish speaker and very interested in your idea. I would really like to give back something to the Tapestry Community. On Sat, Nov 27, 2010 at 12:54 AM, Katia Aresti wrote: > 2010/11/26 françois facon > >> Hi Katia, >> >> I would like to speak Spanish or English as well as yo

Re: Tapestry Web Site Updated

2010-11-20 Thread Juan E. Maya
Very nice ! Congratulations to the tapestry team and thank you for making java web development fun again! On 20 Nov 2010 10:51, "Joost Schouten (mailing lists)" < joost...@jsportal.com> wrote: > Quick comment: the link to wooki on the homepage is broken. The URL > should be http://wookicentral.com/

Re: Multiple tml files per page/component

2010-11-20 Thread Juan E. Maya
Timo, css should be used to modify the appearance of the content rendered by pages or components and because the nature of css you can always override parts defined in your component. Doesn't css fulfill your requirements ? On 20 Nov 2010 11:14, "Timo Nentwig" wrote: > > On Nov 19, 2010, at 18:24

Re: Multiple tml files per page/component

2010-11-20 Thread Juan E. Maya
Timo On 20 Nov 2010 11:14, "Timo Nentwig" wrote: > > On Nov 19, 2010, at 18:24, Thiago H. de Paula Figueiredo wrote: > >>> Btw, what's your scenario and why is the multiple templates per page a >>> requirement for you? Maybe you could achieve what you need with >>> Components... >> >> I'm also cur

Re: setupRender not called for components

2010-11-17 Thread Juan E. Maya
:) great ! :) On Wed, Nov 17, 2010 at 1:50 PM, Stephan Windmüller wrote: > On 17.11.2010 13:29, Juan E. Maya wrote: > >> Does ur component extend another one? > > Finally, this was the hint I needed. My component had an (obsolete) > inheritance from BeanDisplay which alre

Re: Re: setupRender not called for components

2010-11-17 Thread Juan E. Maya
i guess we r missing something in ur code. Does ur component extend another one? do u have more than one setupRender in ur component (or parent classes)? could u post the component code? (please not pieces, it's hard to see the big picture) On Wed, Nov 17, 2010 at 1:01 PM, Stephan Windmüller wro

Re: setupRender not called for components

2010-11-17 Thread Juan E. Maya
Stephan, r u sure the component is being render at all? could please post the code where u use the component? On Wed, Nov 17, 2010 at 10:34 AM, Stephan Windmüller wrote: > On 17.11.2010 10:29, niksami wrote: > >> That's strange... > > Yep. :) > >> TML code inside t:container, > > Container is a d

Re: form submit doesnt work when using an encoder

2010-11-10 Thread Juan E. Maya
The PREPARE event is executed when the form is render and when is submitted as explained here: http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/EventConstants.html#PREPARE On Wed, Nov 10, 2010 at 4:59 PM, Juan E. Maya wrote: > SetupRender is only executed when the page is be

Re: form submit doesnt work when using an encoder

2010-11-10 Thread Juan E. Maya
SetupRender is only executed when the page is being render. Encoders are used during render and during submit so you should use the PREPARE event of your form. On Wed, Nov 10, 2010 at 4:49 PM, hese <1024h...@gmail.com> wrote: > > > sorry, not sure I understand what you mean ... but I am initiali

Re: Redirecting to page on load

2010-11-08 Thread Juan E. Maya
Yes :) I am aware of it :) I thought he wanted to do it outside a page :) Thanks! :) On Mon, Nov 8, 2010 at 1:32 PM, Thiago H. de Paula Figueiredo wrote: > On Mon, 08 Nov 2010 09:57:47 -0200, Juan E. Maya > wrote: > >> Hi Hugo, > > Hi, Juan! > >> what u could d

Re: Redirecting to page on load

2010-11-08 Thread Juan E. Maya
Hi Hugo, what u could do is to create the Link to the page u want to send redirect and then use the response. It would be something like: Link redirectTo = pageRenderLinkSource.createPageRenderLinkWithContext(pageClass, context); response.sendRedirect(link); I hope it helps! :) On Mon, Nov 8, 20

Re: Page Links showing path in brackets

2010-11-07 Thread Juan E. Maya
Well josh, it's hard to say. If u say it's a CSS problem then there's not much tapestry could do. U might include a new CSS asset that overrides the css causing the problem. On Mon, Nov 8, 2010 at 8:45 AM, Josh Kamau wrote: > I realized this is being caused by css. I am using blueprint CSS for la

Re: [Tapestry Central] Tapestry 5.2.2

2010-11-01 Thread Juan E. Maya
This is the link: http://people.apache.org/~uli/tapestry-site/release-notes-522.html On Mon, Nov 1, 2010 at 10:19 PM, Muhammad Mohsen wrote: > That's great ! > > But where should I find the link for the release notes ? it's not on > tapestry.apache.com isn't it ? > > On Mon, Nov 1, 2010 at 10:01

Re: [T5.2] Grid component manipulation

2010-11-01 Thread Juan E. Maya
Muhammad, as the article points out, tableless design is: "...a philosophy eschewing the use of HTML tables for page layout control purposes." Tables have a very good purpose in HTML they should be used to display tabular data (A grid is exactly that). The problem is that 10 years ago tables were

Re: Overriding BeanBlockSource

2010-11-01 Thread Juan E. Maya
Hello Taha, what you can do is to contribute a new DataTypeAnalyzer and then contribute its bean block source. The DataTypeAnalyzer is a orderedlist so you can control their order. For example if you would like to override the date selector used by tapestry u should have something like this in yo

Re: Trigger a client-side event AFTER Zone update?

2010-10-20 Thread Juan E. Maya
Hi Stefan, The zone rises an Event when it's updated. You can check it on the documentation: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html You just have to listen for the JS Tapestry.ZONE_UPDATED_EVENT and add any JS you want. This is p

Re: [T5.2] What security framework do you recommend ?

2010-10-18 Thread Juan E. Maya
I agree with Mark. I have tried both Spring Security and Shiro and I have found the integration with Tapestry is more transparent with Shiro using tynamo. It might be because a Tynamo commiter is also is part of the Shiro team! :) One big disadvantage of Spring-security is that u r force Spring al

Re: GSOC 2010 project is finishing

2010-08-17 Thread Juan E. Maya
Nice :) Thank you Pablo On Tue, Aug 17, 2010 at 5:32 AM, Pablo dos Reis wrote: > Hi everyone, > > My GSOC 2010 project is finishing > Then I uploaded the code example in my tapestry wiki page [0] > There are a link called "App Example"[1] to code > > In this project I created > >   - Drag and Dr

Re: Unable to load an Asset which contains a folder destination in Tapestry 5.1.0.5 using PageTester

2010-08-02 Thread Juan E. Maya
Sorry, but do u really think this is the right why to ask for help? On Mon, Aug 2, 2010 at 4:50 PM, Smita wrote: > > java.lang.RuntimeException: Exception assembling root component of page > ExceptionReport: Exception assembling embedded > > component 'pagelayoutbasic' (of type > com.proquest.ap

Re: Obtain values from the ValidationTracker

2010-07-27 Thread Juan E. Maya
your help On 27 Jul 2010 03:03, "Thiago H. de Paula Figueiredo" wrote: On Mon, 26 Jul 2010 21:20:42 -0300, Juan E. Maya wrote: Hi, :) > Hi! > is there any way to obtain values from the ValidationTracker when a > form is submitted? We... AFAIK, unless you use an onValidat

Obtain values from the ValidationTracker

2010-07-26 Thread Juan E. Maya
haven been able to find a way to get them. Thanks a lot for your help! Juan - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Where do I get Tapestry 5.2 from?

2010-07-15 Thread Juan E. Maya
Hi, the snapshots are available in the maven repository: http://repository.apache.org/snapshots You can get everything there. On Thu, Jul 15, 2010 at 4:25 PM, Christian Edward Gruber wrote: > An alpha has not yet been released.  I believe Howard has said that an alpha > or beta is close, but no

Re: Upgrading from Tapestry5.0.18 to 5.1.0.5

2010-07-14 Thread Juan E. Maya
Hi, It seems to me like you are missing the tapestry-spring integration jar or you have the old one still somewhere. On Wed, Jul 14, 2010 at 11:36 AM, Sha Aith wrote: > > Hi, > > I'm trying to upgrade from Tapestry 5.0.18 to 5.1.0.5. My projects works > fine with 5.0.18, but when I use 5.1.0.5, I

Re: Page component tree model

2010-07-09 Thread Juan Isern
se :( I'm sure that info must be hiding in other place in the code... Greetings! Thiago H. de Paula Figueiredo wrote: > > On Thu, 08 Jul 2010 00:04:55 -0300, Juan Isern > wrote: > >> I think that I'm needing something more powerful than that, because I'd >&g

Re: Page component tree model

2010-07-07 Thread Juan Isern
on is good. Regards! Christophe Cordenier wrote: > > Hi > > Actually, ComponentResources gives you access to the ComponentModel. > Simply > inject ComponentResources and you will get access to the model. > > > 2010/7/6 Juan Isern > >> >> Hi guys, >

Re: [T5] How to "skin" .properties files? Localization almost good...

2010-07-07 Thread Juan E. Maya
we had to do something similar and at the end we decided to create a new binder prefix "branding" and use the brand associated to the request to retrieve a label from a property file, appending the property label to the key. So for example: if we want to print the title in english for client 1. w

Re: own BindingFactory value with tags

2010-07-07 Thread Juan E. Maya
Hi Chris, you could use the OutputRaw componente (http://goo.gl/K4Bo) similarly than when u use message that contain html tags. It would be something like: On Wed, Jul 7, 2010 at 12:10 PM, Christian Koller wrote: > Hi guys I have written an own BindingFactory with the newBinding method like

Page component tree model

2010-07-06 Thread Juan Isern
Hi guys, I was wondering: is there any good way to get the component model of a page? (more precisely, the parent-child structure of components, their names and some properties marked with an annotation, if possible) I read somewhere in the forum that such information wasn't meant to be directl

Re: [T5] Best practices for customer-specific code in pages

2010-07-06 Thread Juan E. Maya
I recommend you to check the way the BeanEditForm Works. U might dynamically use a strategy to create the beanModels for a specific form. Even if this doesn't apply directly u can get very good ideas from the source code of the BeanEditForm On Tue, Jul 6, 2010 at 11:27 AM, t5_lothar wrote: > > Hi

Re: [ANN] JumpStart 4.12 released

2010-06-26 Thread Juan E. Maya
Thanks a lot Geoff! On Sat, Jun 26, 2010 at 6:36 AM, Geoff Callender wrote: > Hi all, > > JumpStart 4.12 is up and running. The big feature in this release is AJAX > Validators - they have the outward appearance of client-side validators but > the validation is done by the server asynchronously

Re: How to run JS function after zone update?

2010-06-22 Thread Juan E. Maya
This is described in the component's documentation: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html On Tue, Jun 22, 2010 at 2:26 PM, matt22 wrote: > > i have this solution: > $('formZone').observe("tapestry:zoneupdated", function(){alert('

Re: Problem Securing Multiple Pages

2010-06-15 Thread Juan E. Maya
ing at the annotation and not the defaults... Josh On Mon, Jun 14, 2010 at 10:37 AM, Juan E. Maya wrote: > Hi Josh, > > Josh, wh...

Re: Problem Securing Multiple Pages

2010-06-14 Thread Juan E. Maya
osh Canfield wrote: > Can you give more detail about what you are doing? What did you put in > your AppModule, what are the paths that you are trying to secure? > > Thanks. > > On Mon, Jun 14, 2010 at 10:18 AM, Juan E. Maya wrote: >> Hi, >> i am trying to secure multiple

Problem Securing Multiple Pages

2010-06-14 Thread Juan E. Maya
Hi, i am trying to secure multiple pages by contributing to the MetaDataLocator as explained here: http://tapestry.apache.org/tapestry5.1/guide/secure.html but the app always uses the default value. Checking the source code of MetaDataLocatorImpl it seems that the value would always use the defaul

Re: comet implementation issue

2010-05-15 Thread Juan Isern
Hi Rajesh, Maybe Tapestry is not meant to do Comet for the reasons that Thiago stated. I'm implementing Comet as well but with a different approach: The Comet thing is totally handled by another tool (DWR) that's used only to notify clients that some data is available. When a notification ("da

Re: AJAX version of setupRender()

2010-05-15 Thread Juan Isern
Thanks guys! Thiago H. de Paula Figueiredo wrote: > > On Fri, 14 May 2010 13:04:42 -0300, Geoff Callender > wrote: > >> Thanks Thiago, that is such a great observation about setupRender() >> being invoked in components in a Zone that I will be putting it to use >> in the next release of

  1   2   3   4   >