Number Formatting in TextField (T5)

2010-01-04 Thread Benny Law
This was my first day of work after a long holiday break, and I finally got something reasonably clean that I can share. To recap, my goal was to create a generic solution for allowing precise control of the number format used in a TextField that can be customized per field instance. The approach I

Re: SEO and duplicate content due to language prefix

2010-01-04 Thread Stephan Schwab
Thiago H. de Paula Figueiredo wrote: > >> According to SEO people that are involved in this project that behavior >> creates an issue. They say search engines will detect duplicate content >> and punish that. Their suggestion is: > > If all content is translated, would your pages still be con

Re: demo aplication

2010-01-04 Thread Alex Kotchnev
Geoff, very cool ! I've known about jumpstart for a while ( admittedly, I never downloaded the source) but I didn't realize there was the "application" aspect to it. Awesome ! Regards, Alex K On Mon, Jan 4, 2010 at 7:07 PM, Geoff Callender < geoff.callender.jumpst...@gmail.com> wrote: > Hi A

Re: SEO and duplicate content due to language prefix

2010-01-04 Thread Christian Riedel
yes, of course! the default language is available under '/' and '/en' (assuming it defaults to 'en'). google is checking every language, so I'd rather use the canonical tag. Am 05.01.10 01:11, schrieb Thiago H. de Paula Figueiredo: Em Mon, 04 Jan 2010 19:15:49 -0200, Stephan Schwab escreveu:

Re: SEO and duplicate content due to language prefix

2010-01-04 Thread Thiago H. de Paula Figueiredo
Em Mon, 04 Jan 2010 19:15:49 -0200, Stephan Schwab escreveu: According to SEO people that are involved in this project that behavior creates an issue. They say search engines will detect duplicate content and punish that. Their suggestion is: If all content is translated, would your pages

Re: demo aplication

2010-01-04 Thread Geoff Callender
Hi Alfonso, You say that jumpstart is not an app. Maybe you haven't logged in to the app part? http://jumpstart.doublenegative.com.au:8080/jumpstart/theapp/login Or maybe you did and you found it lacking? Cheers, Geoff On 31/12/2009, at 4:54 AM, Alfonso Quiroga wrote: > I know about

Installing easyfckeditor

2010-01-04 Thread oskar_a
Hi, I'm really new in Tapestry and try to install the easyfckeditor component http://code.google.com/p/easyfckeditor/ (I don't used maven to create my project and also don't have the maven eclipse plugin.) I downloaded the jar-file (Tapestry5EasyFckEditor-1.0-Beta-2.jar) and added it to the buil

SEO and duplicate content due to language prefix

2010-01-04 Thread Stephan Schwab
The webapp I'm currently working on supports two languages and the user can choose the preferred language from a menu. By default Tapestry shows pages based on browser language settings. If the user selects a different language, then URLs become prefixed with /en/ or /es/. According to SEO people

Re: [T5.0.18] @InjectedPage does not have access to it's own layout

2010-01-04 Thread Howard Lewis Ship
When an event bubbles up, the origin of the event changes. Initially, the success event occurs from the form inside the layout component. If the event is not handled there, it becomes a success event *from the layout component* (at the page). On Mon, Jan 4, 2010 at 12:11 PM, Igor Drobiazko wrot

Re: [T5.0.18] @InjectedPage does not have access to it's own layout

2010-01-04 Thread Igor Drobiazko
Your explanation is unclear. This way you never get an answer. Please be more precise and post more of your code. On Mon, Jan 4, 2010 at 11:07 AM, lebenski wrote: > > I have a layout component that contains a login form: > > > height="30"/> > > > > > Page Class: > > Obj

Re: [T416] Javascript and html templates questions

2010-01-04 Thread Ivano Luberti
Sorry the ml server has cut the attachments (I should have known) Andreas, if you don't mind I can send you them to your personal address. Ivano Luberti ha scritto: > Andreas, thanks. About my HTML template here it is (not sure what you > mean with border). > The homelogged user include a barCode

Re: [T416] Javascript and html templates questions

2010-01-04 Thread Ivano Luberti
Andreas, thanks. About my HTML template here it is (not sure what you mean with border). The homelogged user include a barCode component, that has its own html. Andreas Andreou ha scritto: > Last, i'm not sure how you've managed to get 2 tags in the same > page! Perhaps if you can show a minima

Re: [T416] Javascript and html templates questions

2010-01-04 Thread Andreas Andreou
For the first question, there's a focus parameter in @Form http://tapestry.apache.org/tapestry4.1/components/form/form.html Just set it to false For the js problems, perhaps that example is obsolete? Something tells me it only works in IE... Anyway, there's a tapestry.form.focusField() method in

Re: Workflow Engine for tapestry

2010-01-04 Thread Toby Hobson
Yeah jBPM is both appserver and web agnostic. It uses hibernate for ORM so if you're already using hibernate in your app you can use the same session factory and take advantage of caching, transaction management etc. Unlike the commercial workflow products (Oracle etc) its very lightweight so integ

[T416] Javascript and html templates questions

2010-01-04 Thread Ivano Luberti
Hi all. I'm trying to use javascript with Tapestry 4.1.6 and I'm stumbling at the very first steps. First of all I see that whenever a form component is specified in the template Tapestry put a script at the end of the generated html that set the focus on the first control of the form. If I try t

Re: Workflow Engine for tapestry

2010-01-04 Thread abangkis
Hi juan, thanks a lot for the Info :) cheers, Abangkis On Mon, Jan 4, 2010 at 11:21 PM, Juan E. Maya wrote: > I have used Jboss on tomcat and jetty without any problems. It should > run fine with any other app server. U just need to put the jar inside > ur classpath and start playing with it.

Re: Workflow Engine for tapestry

2010-01-04 Thread Juan E. Maya
I have used Jboss on tomcat and jetty without any problems. It should run fine with any other app server. U just need to put the jar inside ur classpath and start playing with it. To integrate with tapestry i guess u could have a tapestry service to control the movement of the token between the wo

Re: Workflow Engine for tapestry

2010-01-04 Thread abangkis
Hi toby, thanks for the info. jBPM is very popular, its a jboss product right. Are you deploying under jboss ? Can it be deployed in a different app server like Glassfish or Weblogic ? Can you give me some hint how you integrate it with tapestry. I'm still in the inception process between using a

Re: Workflow Engine for tapestry

2010-01-04 Thread Toby Hobson
If it's pure workflow (as opposed to SOA orchestration) I would recommend jBPM, I have used it alongside T5 with great success. Toby 2010/1/4 abangkis > Dear all, i have a questions. > > Is there any recommendation for a workflow engine that would work well > with tapestry. Or is it using the T

RE: Spring Security with T5RESTful Services

2010-01-04 Thread Jim O'Callaghan
Bent - apologies - seems to be some issue - even with new mail I seem to be unintentionally posting under the same thread. Regards, Jim. -Original Message- From: Jim O'Callaghan [mailto:jc1000...@yahoo.co.uk] Sent: 04 January 2010 10:42 To: users@tapestry.apache.org Subject: Spring Securi

Spring Security with T5RESTful Services

2010-01-04 Thread Jim O'Callaghan
Has anyone got Spring Security annotations (@Secured("ROLE_XYZ") etc.) working with the restful web services implementation http://code.google.com/p/t5-restful-webservices - I'd rather not alter the source if someone already has a workaround (ordering filters?) would love to hear from you - thanks.

Re: Spring Security with T5RESTful Services

2010-01-04 Thread lebenski
Think you might've put this in the wrong place Jim! I assume you mean't to start a new thread? jc1001 wrote: > > Has anyone got Spring Security annotations (@Secured("ROLE_XYZ") etc.) > working with the restful web services implementation > http://code.google.com/p/t5-restful-webservices - I'd

Spring Security with T5RESTful Services

2010-01-04 Thread Jim O'Callaghan
Has anyone got Spring Security annotations (@Secured("ROLE_XYZ") etc.) working with the restful web services implementation http://code.google.com/p/t5-restful-webservices - I'd rather not alter the source if someone already has a workaround (ordering filters?) would love to hear from you - thanks.

[T5.0.18] @InjectedPage does not have access to it's own layout

2010-01-04 Thread lebenski
I have a layout component that contains a login form: Page Class: Object onSuccessFromLoginForm() { try{ loggedInMember = loginManager.logUserIn(new Login(memberName, password)); } catch(LoginException e) { //Login Error Proce

Workflow Engine for tapestry

2010-01-04 Thread abangkis
Dear all, i have a questions. Is there any recommendation for a workflow engine that would work well with tapestry. Or is it using the Tapestry IOC is enough ? TIA Abangkis - To unsubscribe, e-mail: users-unsubscr...@tapestry.

Re: Number Formatting in TextField (T5)

2010-01-04 Thread Ville Virtanen
Hi, we actually made it the hard way and currently we have our own BigDecimalFieldTranslatorImpl, which takes care of the actual validation, as seen here: public class BigDecimalFieldTranslatorImpl extends FieldTranslatorImpl { private final Locale locale; private final int numberOfDeci