Tacos or equivalent for T5

2008-02-21 Thread Pablo Ruggia
Hi! Are there any development efforts to create an library of ajax widgets/components for T5 ? It doesn't matter on which library (dojo, yui, extjs, jquery, etc). Thanks !

Re: Multiple Tapestry Applications

2007-11-15 Thread Pablo Ruggia
would take an > overwhelming argument to change. > > On Nov 13, 2007 11:02 AM, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > I think it's possible yes. Can't say as I know what runtime issues > > you may have but do think I've seen it done. > > > >

Re: Multiple Tapestry Applications

2007-11-13 Thread Pablo Ruggia
eers, > ovm > > On Nov 12, 2007 12:06 PM, Pablo Ruggia <[EMAIL PROTECTED]> wrote: > > > Hi ! > > Is it possible to run multiple Tapestry Applications in the same Web > > Application (same war). > > Are there any known issues doing so, like Hivemind Registry c

Multiple Tapestry Applications

2007-11-12 Thread Pablo Ruggia
Hi ! Is it possible to run multiple Tapestry Applications in the same Web Application (same war). Are there any known issues doing so, like Hivemind Registry clashes or some singletons that the applications will have to share, etc ... Thanks in advance.

T4: Multiple Tapestry Applications

2007-11-12 Thread Pablo Ruggia
Hi ! Is it possible to run multiple Tapestry Applications in the same Web Application (same war). Are there any known issues doing so, like Hivemind Registry clashes or some singletons that the applications will have to share, etc ... Thanks in advance.

Re: [T5]onSessionClose?

2007-07-13 Thread Pablo Ruggia
I would use an HttpSessionListener configured in your web.xml. Take a look to http://www.stardeveloper.com/articles/display.html?article=2001112001&page=1 On 7/13/07, Michael Bernagou <[EMAIL PROTECTED]> wrote: hi, I'm looking for catching the "event" onSessionClose. In fact, I would like to c

Re: Layout Component

2007-03-30 Thread Pablo Ruggia
Mmm, i think you have an old version of tap5. The use of the t:type attribute was removed in favor of using the element name. Perhaps you don't have tap 5.0.3 version. On 3/30/07, Olivier Jacquet <[EMAIL PROTECTED]> wrote: I changed the to and that did the trick! You need to keep the xmnls p

Re: Why submit again when click refresh button in IE ?

2007-03-26 Thread Pablo Ruggia
26 Mar 2007 08:35:04 -0300, Pablo Ruggia <[EMAIL PROTECTED]> wrote: > You have to implement redirect after post pattern. > http://www.theserverside.com/tt/articles/article.tss?l=RedirectAfterPost Nice reading, but it is already implemented by Howard in tapestry-flash: http://howardlewi

Re: Why submit again when click refresh button in IE ?

2007-03-26 Thread Pablo Ruggia
You have to implement redirect after post pattern. http://www.theserverside.com/tt/articles/article.tss?l=RedirectAfterPost On 3/26/07, Stony Zhang <[EMAIL PROTECTED]> wrote: Hi everyone, I have a question in T4, that is, After I submit a form (have sent something

Re: T5 - Cancelling a form

2007-03-24 Thread Pablo Ruggia
There was a discussion last week on the same topic. Howard said that the best way was to keep a flag like "cancelSelected" and turn it on on the "selected" event. Then in the form "submit" event look to it and do what it needs to do. I think that it is very incovenient, it's a common use case havi

Re: T5 submit

2007-03-16 Thread Pablo Ruggia
wSummary"; } On 3/16/07, Anjana Gopinath <[EMAIL PROTECTED]> wrote: Pablo i have attached a simple html and page class. Thanks a lot for looking into this. Anjana Gopinath True North Technology 11465 John's Creek Parkway, Suite 300 Duluth, GA 30079 [EMAIL PROTECTED] On

Re: T5 submit

2007-03-16 Thread Pablo Ruggia
w the list of event types forms have on the javadoc page: > http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/ > apache/tapestry/corelib/components/Form.html > > > On 3/16/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote: >> >> You have two choices: >>

Re: T5 submit

2007-03-16 Thread Pablo Ruggia
You have two choices: 1) Using naming convention: public String onSubmitFromMyForm(){ return "AnotherPage"; } Where "Submit" is the event name and "MyForm" is the component id. 2) Using annotations: @OnEvent(value="SUBMIT", component="myForm") public String onSubmitFromMyFo

Re: T5 javascript

2007-03-16 Thread Pablo Ruggia
Shoudn't you copy dojo source to src/main/webapp/ instead of src/main/webapp/WEB-INF. Sorry if i'm totally wrong, never used dojo, but it's just a guess. On 3/16/07, Anjana Gopinath <[EMAIL PROTECTED]> wrote: Jesse It could be unrelated to tapestry 5. I was trying to create a dojo widget, so a

Re: Can Tapestry 5 be used for production?

2007-03-15 Thread Pablo Ruggia
The code quality is very good, and what is done is very stable. But a think you will have two problems: - No upload component yet. - No javascript support for components is bundled into de framework yet. On 3/15/07, Celia Mou <[EMAIL PROTECTED]> wrote: Greeting, everyone! I know Tapestry 5 onl

Re: T5 - Context parameters and style sheets links

2007-03-14 Thread Pablo Ruggia
Will be a Shell component that makes possible to add css as assets ? On 3/14/07, Todd Orr <[EMAIL PROTECTED]> wrote: Realistically, the context is not always known during development. Business folk could easily come back after the entire QA cycle and say that it needs to be changed for marketin

Re: T5 Upload component?

2007-03-14 Thread Pablo Ruggia
t is the best way to reproduce this behaviour in tap5. On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote: I have a problem building the upload component. Form doesn't have support for setting the enctype, so i have to pass enctype='multipart/form-data' as an informal parameter

Re: T5 Upload component?

2007-03-14 Thread Pablo Ruggia
with the values. How should I implement this logic in tap5 ? On 3/12/07, D&J Gredler < [EMAIL PROTECTED]> wrote: I'm going to need it soon as well, but haven't looked into it at all. Go for it! On 3/12/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote: > > Does anyone

Re: T5 Upload component?

2007-03-12 Thread Pablo Ruggia
Does anyone implemented this Upload component ? I need it, so if nobody has gone there yet, i'll give it a try. On 3/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: Yep, not yet implemented. On 3/9/07, Hugo Palma <[EMAIL PROTECTED]> wrote: > I can't see any upload component here > http://ta

Re: t5 - snapshot inside project

2007-03-09 Thread Pablo Ruggia
gt; > > the same rror happens when running the mnv install from > > tapestry-project > > > > > > :( > > Davor Hrg > > > > On 3/9/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote: > > > > > > suiteXmlFiles is declared in the parent

Re: T5 - Changing Locale

2007-03-09 Thread Pablo Ruggia
http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html "Tapestry does not yet support changing the locale, but that will be available shortly. The intent is to mimic Tapestry 4 behavior: store a cookie on the client to provide the default for the locale on the next visit, and

Re: t5 - snapshot inside project

2007-03-09 Thread Pablo Ruggia
: 8M/14M [INFO] ---- On 3/9/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote: > > You have to get the source from svn. Create a directory and chekout every > single module (not all at the same time) > Then get into the tapestry-project directory and t

Re: [T5]persist="client" ?

2007-03-09 Thread Pablo Ruggia
http://tapestry.apache.org/tapestry5/tapestry-core/guide/persist.html "Currently, only the default value, "session", is supported. Other implementations, that store the value on the client, are forthcoming." On 3/9/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote: I thin

Re: [T5]persist="client" ?

2007-03-09 Thread Pablo Ruggia
I think it's not implemented yet. On 3/9/07, Jun Tsai <[EMAIL PROTECTED]> wrote: hi How to persist data on client? Thanks Jun Tsai -- Welcome to China Java Users Group(CNJUG). http://cnjug.dev.java.net

Re: t5 - snapshot inside project

2007-03-09 Thread Pablo Ruggia
You have to get the source from svn. Create a directory and chekout every single module (not all at the same time) Then get into the tapestry-project directory and type "mvn install" (you have to intall maven first). This will create all .jar now with version 5.0.3-SNAPHOT. Make your project use t

Re: JFly edit table online: Jesse, Justin and all interested

2007-03-08 Thread Pablo Ruggia
I get this on Firefox 2.0 - Gentoo Linux dojo.require("dojo.event.common"); //]]> Error : Could not load ' dojo.widget.Select'; last tried '__package__.js' : http://www.wingstech.com/JFlyDemo/asset.svc?path=%2Fdojo%2Fdojo.js.uncompressed.js: line 19 Also I can only add one row (it does not allow

Spaces in PropertySelection

2007-01-05 Thread Pablo Ruggia
Hi !! I have a series of items in a PropertySelection that have to have some spaces at the beginning. I need something like    Item Label. Tapestry does not replace spaces with nbsp's and PropertySelection doesn't have a raw parameter. Thanks !

Add javascript to Form onSubmit event

2007-01-05 Thread Pablo Ruggia
Hi ! I want to execute a javascript function before my form is submited. All i've found is using is to use something like this: f.addEventHandler(FormEventType.SUBMIT, "myjsfunction") But this is deprecated, what is the recommended way of doing this ? I'm using Tapestry 4.0.2 Thanks !

Re: ITemplateSourceDelegate

2006-10-27 Thread Pablo Ruggia
Thank you very much, you save me many hours of work. I've modified your class so it try to find templates in the packages you define in "org.apache.tapestry.page-class-packages" configuration, and look it into classpath, so it has not have to be only in WEB-INF/classes. Here is the code and the hi

ITemplateSourceDelegate

2006-10-26 Thread Pablo Ruggia
Has someone a working example of an ITemplateSourceDelegate or or a PageSpecificationResolverImpl ? I can't find any. I only want to have a .class for each page and in the same package the html template. All .page configuration will be set using annotations. Thanks !!

Re: $template Asset

2006-10-25 Thread Pablo Ruggia
nted my own ISpecificationResolverDelegate. btw I'm using tap 4.0 so, not sure about tap4.1 Regards, Andrei Chiritescu Pablo Ruggia wrote: > Hi !! > > I'm trying to determine the page template using an asset named $template. > I've tryied adding this to my pages: > > @Asset

$template Asset

2006-10-12 Thread Pablo Ruggia
Hi !! I'm trying to determine the page template using an asset named $template. I've tryied adding this to my pages: @Asset("context:/pages/LoginResult.html") public abstract IAsset get$template(); But I'm getting that the page doesn't exist. If I put the page in my context dir, all works right

Redirecting problem

2006-08-30 Thread Pablo Ruggia
Hi !! I've configured tomcat through an apache server, using ajp workers. The thing is that if I do getPageService().getLink(false, getPageName()) and return it in my listener (redirect after post) i get redirected to the internal address of the server, not the internet domain. Is this a tomca

Re: IllegalStateException when trying to render a component

2006-07-25 Thread Pablo Ruggia
I don't think that render component is the best place to change property's. Can't you implement PageRenderListener and change your properties there ? On 7/25/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: Hi all While trying to render my component, I decided to implement renderComponent, handle my

Re: The best way/component to do this...

2006-07-20 Thread Pablo Ruggia
I think the best way to do it is creating your own component. Table component is flexible, but not tht flexible. You can create this component in less than a day. Really understanding how table internals work will take you much more time. On 7/19/06, Blackwings <[EMAIL PROTECTED]> wrote: Hi