Re: [ANN] JumpStart 3.7: for Tapestry 5.0.13

2008-06-17 Thread maxthesecond
That's attitude man! I'm allways amazed by your readines and the quality of your guidance, you are a headlight for the poor average "let's try tapestry once more again" programmer. Best wishes and thanks! Well, you, and many others Geoff Callender-2 wrote: > > > As always, comments and s

Re: T5.0.13 Available

2008-06-17 Thread maxthesecond
It was not so hard I change the poum Tapestry version II change imports by adding a 5 before tapestry III change the log4j references of tapestry packages acordingly. IV--->latest but not list change the web.xml to contain tapestry5.TapestryFilter and thats it -- View this message in context:

T5.0.13 Available

2008-06-17 Thread maxthesecond
I expected the upgrade to be done merely by changing my version of tapestry in the pom.xml file. I'm I right or wrong? The pom generated when runing tutorial1 with maven I've noticed in the past that the source files get not downloaded So wich is the standard way to proceed? Thanks -- View this

T5 firefox IE7

2008-06-14 Thread maxthesecond
As my T5 application was evolving, I've noticed an important slow down in performance, but as you don't have time for everything I tributed to de debug mode or whatever...but few pages latter I begin to be very worried, looking at the console output the Request time kept ridiculously short, but fr

Re: T5 UTF8 encoding

2008-06-12 Thread maxthesecond
Sorry again I finally make it work, the problem was in the name parameter ,it's a little bit strange but in some cases you have to write: and in others Anyway now working! -- View this message in context: http://www.nabble.com/T5-UTF8-encoding-tp17806489p17808284.html Sent from the Tape

Re: T5 UTF8 encoding

2008-06-12 Thread maxthesecond
Thanks, one more time. What I did is to add the following parameter to my grid component Unfortunatelly with no succes. Things I've observed: 1) If I change the "namewDescriptionCell" to whatever I get the same result 2) If I change tha value=

T5 UTF8 encoding

2008-06-12 Thread maxthesecond
After some work I've achieved to be able to store and retrieve my foreign caracters, but know poor of me I've tried to add a link to a textbox, like: input text box content: Hello Box speciall caracters test ñáòú link test www.google.com click to search in google When this input box is sumb

T5 UTF8 encoding

2008-06-12 Thread maxthesecond
-- View this message in context: http://www.nabble.com/T5-UTF8-encoding-tp17804815p17804815.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: T5 Automatic class reloading

2008-06-11 Thread maxthesecond
Solved! Devil lives on details, In fact it was just an eclipse mess. 1) In my output source folder src/main/resources the excluded flag was set to ** thus the tml files where not placed to the target directories. 2) Sudendly my eclipse working directory started to complain about a: "The proj

Re: T5 Automatic class reloading

2008-06-11 Thread maxthesecond
After playing for hours I achieve to make my classes automatically reloaded with it a true joy. But now my templates are not up to date. I need to understand the following, both jetty plugin and jettyrun show in the console: launching Jetty webapp: /compramaestra on address: 0.0.0.0:80 usin

Re: T5 Automatic class reloading

2008-06-10 Thread maxthesecond
I have two targets /target and /target-eclipse I've run maven clear (within eclipse) and the /target folder disapeared My eclipse is setup to default output folder : compramaestra/target-eclipse/classes but the checkbox "allow output folders for source folders" is checked (which I notice

T5 Automatic class reloading

2008-06-10 Thread maxthesecond
I use tapestry 5.0.11 When I modify a template file *.tml it shows up instantly. But changes on page or component classes don't work, and I have to re-start server. My web.xml tapestry.app-package org.compramaestra app org.apache.tapestry.

Re: T5 UTF encoding

2008-06-09 Thread maxthesecond
point 1 and 2 did not work but point 3 I don't know if everybody can update the howtos on the tapestry wiki but someone has to add a short comment like "when using foreing languages ensure eclipse saves your documents using UTF-8 encoding." Bless you! Thanks -- View this message in co

Re: T5 UTF encoding

2008-06-09 Thread maxthesecond
Thanks for the answer, finally I noticed that I was using a FileUpload component, after changing the utf8encoding filter everything turned right. But still if in my template a label or any text contains an extra character tapestry will not render the page I will get "Invalid byte 2 of 4-byte UTF

T5 UTF encoding

2008-06-09 Thread maxthesecond
Dealing with special characters like ñ ó ç and so one i found out that I must install the following patch http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding wich I did with hope & pleasure For a while problems seamed solved but few days later working on another page I get the same troubles a

Re: T5 onActivate

2008-06-08 Thread maxthesecond
Thanks Fernando, I came up with the same conclusion regarding onActivate just for parameters and also just an array of objects in case i need more than one. As for loggin the request-filter option is very attractive, all that crap in just one place. And finally the beginrender and onprepareform I

Re: T5 onActivate

2008-06-07 Thread maxthesecond
Glad to know there is consensus about it ,I'll check the RequestFilter and let the onActivate for the page tasks (reloading objects.) Thanks -- View this message in context: http://www.nabble.com/T5-onActivate-tp17673637p17710792.html Sent from the Tapestry - User mailing list archive at Nab

Re: T5 onActivate

2008-06-07 Thread maxthesecond
That's a good point Filters...I'll think about it, unfortunatelly for me I've been influenced by many samples where onactivate is used for the purpose I do, in fact I begin the issue saying that I can't full understand the page cicle model. From the semantical point of view onActivate seems to imp

Re: T5 onActivate

2008-06-07 Thread maxthesecond
Well, in my case when I have two or more onActivate handlers I've seen all them called one after the other wich of course is not what I expect ,besides the fact of having just one onActivate frees you of having to check common isues like for example loggin , or administrative rights in many places

Re: T5 onActivate

2008-06-07 Thread maxthesecond
Renat Zubairov wrote: > > Why would you need to have multiple parameters in onActivate? Are you > considering using Encoder? > http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/PrimaryKeyEncoder.html > Well, it is simply an Update/Create page of a detail element belonging to a

Re: T5 onActivate

2008-06-06 Thread maxthesecond
At the moment my conclusion is that to deal with multiple onActivate parameters you should encompass them in an Object[], and then make your control in just one onActivate(Object[] o) method, the drawback is that it forces you to write metods for setting the parameters properties. Strangelly if y

T5 Grid question and BeanEdit question

2008-06-06 Thread maxthesecond
1) Is it possible to make your grid as if every row was a single link to a page, and when de mouse "hovers" the row it changes color? After all ,if you are gonna edit a let's say user, your gonna edit it full, not only it's lastname or whatever 2) Is it possible to manage FileUpload fields w

T5 onActivate

2008-06-05 Thread maxthesecond
I have a page with many components all them throwing events and actions. I started implementing the onActivate if not loged then go login pattern As events and actions where added I've noticed that I have to check if the user is loged in every event handler. I expected the onActivate method to

Re: T5 if component

2008-06-05 Thread maxthesecond
Thanks Filip for your answer I did as you said and worked OK. Though, relaying on the state of the property makes me feel less confident...(tipical I don't see where the value comes from paranoia) -- View this message in context: http://www.nabble.com/T5-if-component-tp17667375p17673104.html

T5 if component

2008-06-05 Thread maxthesecond
Is it possible to send parameters to the if component? I'm in a loop component and I would like to do something like this: ${node.name} ${node.name} And then in the java code: boolean Testj(int nod

Re: T5 OnActivate

2008-06-02 Thread maxthesecond
Solved The isue was that images where build up on the client side and where asigned the baseURI+imagedirectory, as the baseURI now contains many more items the result points far away where the images are . to solve it I just write String s=img.baseURI.substring(0,img.baseURI.indexOf("app")+4)+"

Re: T5 OnActivate

2008-06-01 Thread maxthesecond
Yes there was an image I use the tree component found in http://wiki.apache.org/tapestry/Tapestry5HowToCreateYourOwnComponents In it, there is a javascript in which two icons are used the tipical + and - icons to represent opened and closed folders, those icons are aded on the window.onlo

T5 OnActivate

2008-06-01 Thread maxthesecond
I have a page with (for the moment) three components a layout, a tree component and a tree navigator.The tree navigator displays the path to your current displayed categories ex categories/cars/pickups, the tree component shows as a list, the elements of the current category ex(nisan,ford,toyota)

Tapestry 5 FYI Page with no extension (tml) crashes

2008-05-29 Thread maxthesecond
It happened to me that I forgot to add the tml extension to a page , from that moment I could not launch the application and jetty ended by crashing due to a stack overflow Just adding the extension and everithing went Ok again. By the way , is it possible to have pages but not to use them? I

Re: T5 Services with diferent Implementation

2008-05-20 Thread maxthesecond
HugoPalma wrote: > > You should be using org.apache.tapestry.annotations.Service annotation. > > http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/annotations/Service.html > > maxthesecond wrote: >> Almost, but now compiler doesen't know what @Se

Re: T5 Services with diferent Implementation

2008-05-20 Thread maxthesecond
Almost, but now compiler doesen't know what @Service is. I've read the documents but they lack a sample of usage from the client side of the servicedon't know witch files I have to include (import) import org.apache.tapestry.ioc.annotations.?? thanks a lot just one step and I'm done!

Re: T5 Services with diferent Implementation

2008-05-20 Thread maxthesecond
) private CMSession _CMSession; @InjectService("MyService1") private IMyInterface _CMF; } Before I have @Inject private IMyInterface _CMF; Kheldar666 wrote: > > @InjectService("MyService1") > > > maxthesecond wrote: >&g

T5 Services with diferent Implementation

2008-05-20 Thread maxthesecond
I have an Interface with 2 different implementations lets say IMyInterface MyImplementation1 Myimplementation2 until now I only needed to use one of the implementations at once, so in my client code I just wrote @Inject private IMyInterface and everithing was ok, now I'm on the need to

Re: T5 troubles

2008-05-18 Thread maxthesecond
while... Filip S. Adamsen-2 wrote: > > Hi, > > It's what others are seeing. But you can do something about it: > > http://wiki.apache.org/tapestry/Tapestry5HowToXhtml > > -Filip > > On 2008-05-18 10:42, maxthesecond wrote: >> I forget t

Re: T5 troubles

2008-05-18 Thread maxthesecond
I forget to mention this third case component result The specifications about br in xhtm states that correct correct and correct and recomended for compatibility isues. Now :however I write the tags in a tapestry component in the output I get tag wich is as you know incorrect.

T5 troubles

2008-05-17 Thread maxthesecond
I might be wrong, and for sure it's not critical but I found out the following behavihour when including tags in my component: component output result parsers warn that is not properly closed none Tapestry wisdomely throws an exception "Tag neds end tag"

Re: T5 ASO & Service

2008-05-09 Thread maxthesecond
p S. Adamsen-2 wrote: > > What? It's not uncommon to have methods on an ASO. You can also inject > services into it when creating it if you use an ApplicationStateCreator. > The relevant docs on Application State has an example at the bottom. > > -Filip > > maxtheseco

Re: T5 ASO & Service

2008-05-08 Thread maxthesecond
oopss! I think I missed the point the ASO aplication state object is merely a container for sharing information across pages and time it shall not have metods, so I'll do as you say. thanks again -- View this message in context: http://www.nabble.com/T5-ASO---Services-tp17134860p17141903.html Se

Re: T5 ASO & Service

2008-05-08 Thread maxthesecond
7;ll have the went-to-null trouble even passing the bits > of data into your service as method args :) > > On Thu, May 8, 2008 at 2:38 PM, maxthesecond <[EMAIL PROTECTED]> wrote: >> >> How I'm suposed to get services inside an ASO? >> >> I placed my DAO objec

T5 ASO & Services

2008-05-08 Thread maxthesecond
How I'm suposed to get services inside an ASO? I placed my DAO objects in services I didn't need any sesion so far, but at a certain point I need an ASO the wich needs to make use of my DAO services. btw I've notice an old post in wich the willing was the oposit; how to acces the ASO from a Serv

Re: T5 Event bubling

2008-05-08 Thread maxthesecond
{ > _resource.triggerEvent("addToChart", new Object[]{values}, null); > } > > Then in Page A > > void onAddToChart() { > // Do your logic. > } > > > Hope that helps. > > Thanks! > > DH > > > - Original Message -

Re: T5 PopUp Windows & JavaScrip

2008-05-08 Thread maxthesecond
pache/tapestry/commons/components/Editor.html > > maxthesecond wrote: >> Thanks nicholas I'll give it a try...any way I'm not very disconforted >> with >> the script being in the parent after all parent and childs they form the >> whole component, but I'm glad

T5 Event bubling

2008-05-08 Thread maxthesecond
a page: A a wraper component: B a component: C inside wraper having an action link with id=addToChart At the page level by now I can only trap the events from C like @OnEvent(component="B") void whatevernamewilldothejob(String ID){ }

Re: T5 PopUp Windows & JavaScrip

2008-05-08 Thread maxthesecond
Thanks nicholas I'll give it a try...any way I'm not very disconforted with the script being in the parent after all parent and childs they form the whole component, but I'm glad to see there's a general solution. Thanks nicholas Krul wrote: > > Hi... Sorry it took so long, tonight is the firs

Re: T5 PopUp Windows & JavaScript

2008-05-06 Thread maxthesecond
I reply to myself for if someone needs to do the same > > 1) Is this pattern feasible? > 2) Shall I use the mixins aproach for doing this? > 3) where can I found information to build up my javascript functions to > embed the pagelink path? > 4) how can I avoid the replication of javascrip

Re: T5 Component question based on the Count component in documentation

2008-04-27 Thread maxthesecond
at of course will show up in my website; then the number of files > I have to modify should be the minimal. > > Thanks you again and 1) I read the docs 2) I not allways understand them > at first > Have a nice day > > > > > > maxthesecond wrote: >> Comp

Re: T5 Component question based on the Count component in documentation

2008-04-27 Thread maxthesecond
epresent a > myriad of things - literal text (literal:), a localized message > (message:), a page property (prop:), etc. > > hope that helps > > chris > > maxthesecond wrote: >> allegedly longs from >> http://tapestry.formos.com/nightly/tapestry5/tapestry-co

Re: T5 Component question based on the Count component in documentation

2008-04-26 Thread maxthesecond
strings as strings... Regards and thank's again (don't be fooled by the message just some humor) Sven Homburg wrote: > > tapestry can interprete numerics as integer (or long, im not sure) > > 2008/4/26 maxthesecond <[EMAIL PROTECTED]>: > >> >>

Re: T5 Component question based on the Count component in documentation

2008-04-26 Thread maxthesecond
> > you should use "literal:mytext" for parameter stext > without "literal" tapestry tries to interpret "mytext" > > 2008/4/26 maxthesecond <[EMAIL PROTECTED]>: > >> >> In the count sample component >> >> >> htt

T5 Component question based on the Count component in documentation

2008-04-26 Thread maxthesecond
In the count sample component http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/parameters.html public class Count { @Parameter private int _start = 1; @Parameter(required = true) private int _end; //added by me @Parameter(required = true) private