Using ajaxformloop to add a label and a textfield

2012-06-29 Thread sid
Hi ! I am a beginner with tapestry and I want to use the component ajaxformloop in a formular . I have to add 10 (maximum) textfields and labels. I read 2 examples http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/AjaxFormLoop.html example 1 http://jumpstart.dou

Re: Dynamic Assets

2009-02-05 Thread Sid Ferreira
5.0.18.jar tapestry-ioc-5.0.18.jar tapestry5-annotations-5.0.18.jar always trying to get the most up to date version On Thu, Feb 5, 2009 at 07:54, Massimo Lusetti wrote: > On Thu, Feb 5, 2009 at 10:52 AM, Massimo Lusetti > wrote: > > On Thu, Feb 5, 2009 at 10:32 AM, Sid Ferreira wrote

Re: Dynamic Assets

2009-02-05 Thread Sid Ferreira
Well, I got a long time with deploy errors when using CK (Core+Tapestry) and Cayenne. Just adding CK jars in my project was enough to fail the deploy On Thu, Feb 5, 2009 at 06:16, Massimo Lusetti wrote: > On Wed, Feb 4, 2009 at 5:24 PM, Sid Ferreira wrote: > > > Well, the first t

Re: Dynamic Assets

2009-02-04 Thread Sid Ferreira
Well, the first tries with CK were epic failures, but I'll try once more... seem that CK and Cayenne have a small problem to work together, gotta test it On Wed, Feb 4, 2009 at 12:12, Massimo Lusetti wrote: > On Wed, Feb 4, 2009 at 1:58 PM, Sid Ferreira wrote: > > > This p

Re: Dynamic Assets

2009-02-04 Thread Sid Ferreira
example in a _dynamic_ folder shared between some projects. On Wed, Feb 4, 2009 at 11:17, Sid Ferreira wrote: > No they are outside the webapp, I mean a custom asset wich is anywhere in > my server. For example in a folder shared between some projects. > > > On Wed, Feb 4, 2009 a

Re: Dynamic Assets

2009-02-04 Thread Sid Ferreira
No they are outside the webapp, I mean a custom asset wich is anywhere in my server. For example in a folder shared between some projects. On Wed, Feb 4, 2009 at 11:15, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, Feb 4, 2009 at 10:58 AM, Sid Ferreira wrote:

Re: Dynamic Assets

2009-02-04 Thread Sid Ferreira
n Wed, Feb 4, 2009 at 10:49, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, Feb 4, 2009 at 10:43 AM, Sid Ferreira wrote: > > Strange that there's almost no docs regarding Assets in wiki... > > But the documentation has a page on it: > htt

Re: Dynamic Assets

2009-02-04 Thread Sid Ferreira
. To get the behavior you want, change this to inject the > AssetSource service and provide a getLogoWeb() method that obtains the > asset via AssetSource.getAsset(null, "cliente:logoWeb.gif", locale); > > On Tue, Feb 3, 2009 at 5:19 AM, Sid Ferreira wrote: > > Hi guys!

Dynamic Assets

2009-02-03 Thread Sid Ferreira
Hi guys! Im working on a small component that has an image asset that is based on the url.Unfortunelly, after created by the first time, the asset is cached and then the component doesn't get updated. How to make a dynamic asset that is updated at each request? My current declaration is: @Suppress

Re: Doubts in Tapestry

2009-01-22 Thread Sid Ferreira
UsuariosClientes usuario; private boolean usuarioExists; This was needed to paste too... About the plural, it was a quick test with cayenne, not production. On Thu, Jan 22, 2009 at 4:03 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Thu, 22 Jan 2009 13:58:54 -0300, Sid Ferreira &

Re: Doubts in Tapestry

2009-01-22 Thread Sid Ferreira
Im sorry but, I readed twice today, more two or tree times before... I can't see a reason to not work. On Thu, Jan 22, 2009 at 12:19 PM, Thiago HP wrote: > Read http://tapestry.apache.org/tapestry5/guide/appstate.html and you > find out what's wrong. :) > > On Thu, Jan 22,

Re: Doubts in Tapestry

2009-01-22 Thread Sid Ferreira
operty private MyContext context; public Object onActivate() throws IOException { if(context.hasCliente()) return Pesquisa.class; return null; } On Wed, Jan 21, 2009 at 3:37 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Wed, 21 Jan 2009 10:59:41 -0300, Sid Ferreira >

Re: Weird error

2009-01-22 Thread Sid Ferreira
Done :D On Thu, Jan 22, 2009 at 8:56 AM, Ulrich Stärk wrote: > It's a wiki - go ahead... > > Sid Ferreira schrieb: > > Indeed... anyone should fix the docs... >> >> On Thu, Jan 22, 2009 at 12:46 AM, Thiago H. de Paula Figueiredo < >> thiag...@gmail.com

Re: Weird error

2009-01-22 Thread Sid Ferreira
Indeed... anyone should fix the docs... On Thu, Jan 22, 2009 at 12:46 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Wed, 21 Jan 2009 22:36:45 -0300, Sid Ferreira > escreveu: > > http://pastebin.com/m43c165fd >> didn't included database, c

Re: Weird error

2009-01-21 Thread Sid Ferreira
http://pastebin.com/m43c165fd didn't included database, components or pages, just what matters. If something else is needed, tell me :D On Wed, Jan 21, 2009 at 10:01 PM, Sid Ferreira wrote: > Ive copy pasted most of code.UserSession (interface) and UserSessionImpl > (class) are a

Re: Weird error

2009-01-21 Thread Sid Ferreira
copy-paste fails it's confusing. I'll post the sources in a moment... On Wed, Jan 21, 2009 at 9:45 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Wed, 21 Jan 2009 16:23:45 -0300, Sid Ferreira > escreveu: > > Based on http://wiki.apache.org/t

Weird error

2009-01-21 Thread Sid Ferreira
Based on http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess Im getting this error... Why? java.lang.RuntimeExceptionException constructing service 'MasterDispatcher': Error invoking service builder method org.apache.tapestry5.services.TapestryModule.buildMasterDispatcher(List) (at Tapest

Doubts in Tapestry

2009-01-21 Thread Sid Ferreira
Hi folks!After a while Im writting again, I hope this time with enough details. My mission was buid a small support screen where a user logs and has access to a list of users of the client. The details: 1) The url is used to define the client (a.t5.com is one and b.t5.com is another client) 2) The

1 week of Tapestry

2009-01-21 Thread Sid Ferreira
Hi everyone!Im writting to talk about my impressions after 1 week (6 work days) of Tapestry. I study and work with programming since 98, when I started with Turbo Pascal. In 2003 I've met PHP and seen that web programming was what I want to do. Since of it I've been working in bigger and bigger p

"Context Allert"

2009-01-20 Thread Sid Ferreira
Im running a T5 WAR in a Glassfish V2 server. With this "J2EE-Module" I have other two running, but they now give T5 exceptions once they have no index.tml file...What may it be? -- Sidney G B Ferreira Desenvolvedor Web - Tibox Innovations

Enhancing docs

2009-01-20 Thread Sid Ferreira
http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess Im following the docs, but many times the aren`t clear, like the @Private annotations and imports. Component class has 2 tapestry candidates, and another from java default... Also, the usersession... where it came from??? -- Sidney G B

Re: Complex Component Tutorial

2009-01-19 Thread Sid Ferreira
Well, I used them much more as an example... Also, I was looking for more detailed articles. On Mon, Jan 19, 2009 at 10:50 AM, Thiago HP wrote: > On Mon, Jan 19, 2009 at 7:48 AM, Sid Ferreira wrote: > > Didn't checked yet, but, I meant build a beanEdit... I mean, make m

Dynamic Assets

2009-01-19 Thread Sid Ferreira
I was reading http://tapestry.apache.org/tapestry5/guide/assets.html(including checking out the AssetFactory docs) but didn't found how to generate a dynamic asset. I need, for instance, that based on my client a different image is loaded, but the name will always be the same. Any tip about how to

Redirect and Forward

2009-01-19 Thread Sid Ferreira
Im trying to forward or redirect the page programatically, for instance: Opens Start.tml, if the ID is TRUE, it goes to List.tml, else it goes to Login.tml How to redirect? -- Sidney G B Ferreira Desenvolvedor Web - Tibox Innovations

Re: Complex Component Tutorial

2009-01-19 Thread Sid Ferreira
Didn't checked yet, but, I meant build a beanEdit... I mean, make my own grid... On Mon, Jan 19, 2009 at 7:33 AM, Ulrich Stärk wrote: > Sid Ferreira schrieb: > >> Is there any tutorial that, for example, teaches how to build a beanEdit >> or >> a Grid? >> &

Complex Component Tutorial

2009-01-19 Thread Sid Ferreira
Is there any tutorial that, for example, teaches how to build a beanEdit or a Grid? -- Sidney G B Ferreira Desenvolvedor Web - Tibox Innovations

Re: Forms

2009-01-16 Thread Sid Ferreira
I expected to see them inside the text fields On Fri, Jan 16, 2009 at 10:45 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Fri, 16 Jan 2009 08:35:54 -0300, Sid Ferreira > escreveu: > > I was losing the values anyway... >> > > Ooops. I forgot

Re: Forms

2009-01-16 Thread Sid Ferreira
I was losing the values anyway... On Fri, Jan 16, 2009 at 10:13 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Thu, 15 Jan 2009 16:58:10 -0300, Sid Ferreira > escreveu: > > Object onSuccess() { >> //new Exception("E..

Hiding the Index

2009-01-16 Thread Sid Ferreira
Guys, at this moment Im preparing a small page with a search form wich requires login.After few tests, Ive noticed that the way I did, when I submit the search the index class (Start or Index) appear in the url address. Is there a way to hide it? Forwarding instead of redirecting? Thanks in advanc

Re: Forms

2009-01-16 Thread Sid Ferreira
:09 AM, Kristian Marinkovic < kristian.marinko...@porsche.co.at> wrote: > hi sid, > > you need to use a Tapestry Submit component to submit the form. > otherwise the request wont be processed by Tapestry > > g, > kris > > > > > > Sid Ferreira > 1

Forms

2009-01-15 Thread Sid Ferreira
Guys, Im trying to make a small search engine, but It isn't working.follows the code: TML: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Tibox Test App Allert Fast Support .lista { width: 100%;

Re: What's the real version???

2009-01-15 Thread Sid Ferreira
So please, put a note with an updated app.war file in tapestry website... On Thu, Jan 15, 2009 at 3:15 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Thu, 15 Jan 2009 13:10:51 -0300, Sid Ferreira > escreveu: > > Guys, Im really getting confusing... what&

What's the real version???

2009-01-15 Thread Sid Ferreira
Guys, Im really getting confusing... what's the real version? So far I found 4 options: - Maven - app.war (tapestry5nonbelievers) - tapestry5nonbelievers (it is different from the above) - Jumpstart What's the real one? -- Sidney G B Ferreira Desenvolvedor Web - Tibox Innovations

Re: EJB questions about Jumpstart

2009-01-15 Thread Sid Ferreira
> > On 16/01/2009, at 12:39 AM, Sid Ferreira wrote: > > was within an ear >> >> On Thu, Jan 15, 2009 at 11:26 AM, Geoff Callender < >> geoff.callender.jumpst...@gmail.com> wrote: >> >> I haven't used Glassfish, but here goes my best guess... >

Re: EJB questions about Jumpstart

2009-01-15 Thread Sid Ferreira
then you might be able to get away with injecting the > bean into the web class with @EJB. See > https://glassfish.dev.java.net/javaee5/ejb/examples/Sless.html . > > Are you accessing remotely or from within an EAR? > > > On 16/01/2009, at 12:19 AM, Sid Ferreira wrote: > &

Re: EJB questions about Jumpstart

2009-01-15 Thread Sid Ferreira
ocal.class) > @Remote(IPersonServiceRemote.class) > public class PersonService implements IPersonServiceLocal, > IPersonServiceRemote { > > > > On 16/01/2009, at 12:11 AM, Sid Ferreira wrote: > > Glassfish V2, based on a friend's response. >> >> On Thu, Jan 15, 2009 at 11:07 AM

Re: EJB questions about Jumpstart

2009-01-15 Thread Sid Ferreira
roblem, > however, is how to look up a session bean from a client. What EJB container > are you using? JBoss 4.3? This is important because it will determine the > format of the names of the session beans registered in JNDI. > > > On 15/01/2009, at 12:30 AM, Sid Ferreira wrote: >

EJB questions about Jumpstart

2009-01-14 Thread Sid Ferreira
OBS: I was going to send just for Geoff, but maybe someone else could know the answer. Im studing the EJB example but Im failing to make mine work. Im trying to load ClientesUsuarioFacade or ClientesUsuarioFacadeLocal (Im newbie, got a challenge that can mean use T5 in my company and also my pers

Re: EJB Problem

2009-01-14 Thread Sid Ferreira
> http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/state/ejb3 > > HTH, > Geoff > > > On 14/01/2009, at 6:03 AM, Sid Ferreira wrote: > > Ok, I need to get used about mailing lists... too much years on irc. >> Im trying to, based on Tapestry 4 non bel

Re: EJB Problem

2009-01-13 Thread Sid Ferreira
web.xml. I really would like to see a 100% tapestry way, cause it means use better tool than faces-config and stuff. On Tue, Jan 13, 2009 at 4:39 PM, Sid Ferreira wrote: > Well, as Uli @ freenode said, that wasn't exactly a smart question.Anyway, > I would like some help cause it's

Re: EJB Problem

2009-01-13 Thread Sid Ferreira
my company. thanks in advance. On Tue, Jan 13, 2009 at 4:23 PM, Sid Ferreira wrote: > Guys, tried to use EJB 3 in my project and really it was a pain in the ass. > > After extending the FacadeLocal and the Facade to T5 services, it finally > stopped the exceptions, but now I got a boole

EJB Problem

2009-01-13 Thread Sid Ferreira
Guys, tried to use EJB 3 in my project and really it was a pain in the ass. After extending the FacadeLocal and the Facade to T5 services, it finally stopped the exceptions, but now I got a boolean thing: If I use bind, it returns no results. If I use lookup (EJB in the xml and an InicialContext

Tapestry for non believers

2009-01-12 Thread Sid Ferreira
http://www.infoq.com/articles/tapestry5-intro Does anyone did it without any error? Great tutorial, but, the file offered in the beginning is different than the one used. There's no file to the templates. The ajax, wich so far I did everything right, didn't worked and I had to kinda copy the sour

Keep It Sweet and Simple

2009-01-07 Thread Sid Ferreira
Hi all!Few days ago I've met Tapestry in wikipedia... After it, Ive joined the #tapestry @ freenode trying to know more about the technology. I've been talking with Fanf about how tapestry works and got really interested on it, but once Im coming from PHP/Symfony, I obviously found some things tha

Tapestry 5 Release Date (not beta)

2008-05-07 Thread jason sid
Hi All I am currently using Tapestry 4.x for one of my projects. There is a new project that I prefer to do in Tapestry 5. Can someone tell me when an official release would be available. If someone could tell me it could be the decision choice for Tapestry. Thank you Jason