Unsubscribe

2006-09-22 Thread Rui Pacheco
Hi all I tried to unsubscribe following whats described here ( http://tapestry.apache.org/unsubscribe.html) but I received a permanent error from the server saying it wasn't possible. Is it possible for one of the admins to remove me from the mailing list? -- Cumprimentos, Rui Pacheco

Very strange performance problem - II

2006-09-20 Thread Rui Pacheco
site slows down to a crawl. Here they are: Has anyone had a problem like this before? -- Cumprimentos, Rui Pacheco

Re: Very strange performance problem

2006-09-19 Thread Rui Pacheco
have caching disabled? On 9/19/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > I'm replying again because I received a virus warning from the mailing > list: > > Java doesn't even show on top. My pages are pretty simple: I call a stored > procedure, I retrieve values a

Re: Very strange performance problem

2006-09-19 Thread Rui Pacheco
pplication? On 9/19/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: Java doesn't even show on top. My pages are pretty simple: I call a stored procedure, I retrieve values and set them on a model and then I display the model on the template. Is there a way to profile this application? O

Very strange performance problem

2006-09-19 Thread Rui Pacheco
the only thing stopping us. -- Cumprimentos, Rui Pacheco

Re: Opening several database connections on the same registry

2006-09-19 Thread Rui Pacheco
x27;t have to specify it :) g, kris "Rui Pacheco" <[EMAIL PROTECTED] l.com> An "Tapestry users" 15.09.2006 16:31

Which radio buttons where selected?

2006-09-18 Thread Rui Pacheco
Hi all I iterate through a ResultSet to create several RadioGroups on my page, but I don't know before hand how many there will be. So, how can I pick their values once the form has been submitted? -- Cumprimentos, Rui Pacheco

Opening several database connections on the same registry

2006-09-15 Thread Rui Pacheco
entos, Rui Pacheco

Re: should/is Tagestry getting rid of ognl?

2006-08-29 Thread Rui Pacheco
e-mail: [EMAIL PROTECTED] -- Cumprimentos, Rui Pacheco

Re: [OT] tomcat not letting my app serve up templates

2006-08-10 Thread Rui Pacheco
17.235.5857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cumprimentos, Rui Pacheco

Re: [OT] tomcat not letting my app serve up templates

2006-08-10 Thread Rui Pacheco
re Engineer Interactive Factory 617.235.5857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cumprimentos, Rui Pacheco

Re: [OT] Why jwcid?

2006-08-09 Thread Rui Pacheco
pestry component - so such html takes a very different lease of life as a tapestry component. On 8/9/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > Hi all > > Its slightly off-topic, but I've been wondering about this for a while: > why > do we need to use "jwcid&qu

[OT] Why jwcid?

2006-08-09 Thread Rui Pacheco
again, I'm just curious, and sorry for disrupting the mailing list. We didn't have much traffic today either :) -- Cumprimentos, Rui Pacheco

Retrieve component value from inside page

2006-08-07 Thread Rui Pacheco
Hi all One question: it must be simple, but I can't get there. I have a component with a TextField and a Form. That component is inserted inside many pages. How can I retrieve the value of the textfield on the pages' beans? -- View this message in context: http://www.nabble.com/Retrieve-compo

Select component

2006-08-07 Thread Rui Pacheco
iterate through a list of options. In this particular case, my select works better if I just leave it as plain HTML. How can I make the value I chose on my select appear on my bean without using any Tapestry components? -- Cumprimentos, Rui Pacheco

Re: Tapestry 4.1 dependecies.

2006-08-04 Thread Rui Pacheco
e necessary libraries manually. Thanks for your help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cumprimentos, Rui Pacheco

Re: Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
I see. I will try that and reply with news. On 8/4/06, Karthik N <[EMAIL PROTECTED]> wrote: The model variable will be a member variable in the Page.java - and your method is in the Page.java - so why can't the method access a member variable of the class it is in? On 8/4/06,

Re: Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
; i < 10; i++) { } each iteration the model object is like "i" so when you refer to model in getFoo you are referring to each model that the for loop is iterating through On 8/4/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > How do you pass the Model object to your getAnswer

Re: I want my HTML *that* way

2006-08-04 Thread Rui Pacheco
mproperly nested with tag on line 3. location: context:/WEB-INF/pages/cart/Viewcart.html, line 82 77 78 79 80 Keep shopping 81 82 83 84 Cheers mc On 4 Aug 2006 at 9:31, hv @ Fashion Content wrote: > I never had that problem could you be a bit more specific > > "Rui Pacheco&q

Re: I want my HTML *that* way

2006-08-04 Thread Rui Pacheco
tags around, Tapestry can't parse the template properly since it's no longer an xml document. Just close all tags, it doesn't really have to be valid HTML. Martin On Fri, 04 Aug 2006 13:10:50 +0200, Rui Pacheco <[EMAIL PROTECTED]> wrote: > This is a possible solution.. &g

Re: Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
g() + " ' " ); } out here model is the current model element of the for loop. On 8/4/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > I don't think I can create a getAnswer method, as my answer variable is > inside an object through which I am iterating in a @

Re: Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
, Karthik N <[EMAIL PROTECTED]> wrote: > > > > each value of your For loop is stored in the ognl:model > > > > so for your href you need to access the model object to create the alert > > javascript. > > > > On 8/4/06, Rui Pacheco <[EMAIL PROTE

Re: Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
create the alert javascript. On 8/4/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > Jesse, how can I access the model in your example? I tried your snippet > and > it generates an exception. > > On 8/4/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > > > The @Any

Re: Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
ront of javascript statements on element nodes anymore. On 8/4/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > Sorry, I guess an example is the best way to show my problem: > > > > > border=0> > >   > > &

Re: Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
TML to look like? On 8/4/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > Sorry, I guess an example is the best way to show my problem: > > > > > border=0> > >   > > > > I want my want to be genera

Re: Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
6, Karthik N <[EMAIL PROTECTED]> wrote: > > i guess i'm not too clear what you want to achieve: > > i suppose you can have an informal parameter onclick=ognl:clickAction and > then create the javascript in the getClickAction which forms the string > based on the

Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
solution? -- Cumprimentos, Rui Pacheco

Re: I want my HTML *that* way

2006-08-04 Thread Rui Pacheco
ess (and performance, I presume) properly matching tags is necessary. Sure, browsers can do better, but then they have plenty of time to correct for errors and render a page. Web servers don't. Cheers, Nick. Rui Pacheco wrote: > This is really a huge time waster. Right now I&#

Re: I want my HTML *that* way

2006-08-04 Thread Rui Pacheco
This is a possible solution.. On 8/4/06, Detlef Schulze <[EMAIL PROTECTED]> wrote: You could try to use a tool for cleaning your html. There are many tools out there for this (i.e. htmltidy http://www.w3.org/People/Raggett/tidy/) Cheers, detlef -Original Message- From: Rui P

Re: I want my HTML *that* way

2006-08-04 Thread Rui Pacheco
lean html - after all nowadays its not out of the cloudes.. Cheers, Ron Rui Pacheco wrote: > Its not the first time that Tapestry's HTML parser throws an exception > because a piece of HTML is not well formed. > > If I have a table that isn't closed properly, or a span

Re: I want my HTML *that* way

2006-08-04 Thread Rui Pacheco
ming. I'll try to send you an example, but it would be hard now - I've corrected all the HTML I found :) On 8/4/06, hv @ Fashion Content <[EMAIL PROTECTED]> wrote: I never had that problem could you be a bit more specific "Rui Pacheco" <[EMAIL PROTECTED]> skre

I want my HTML *that* way

2006-08-03 Thread Rui Pacheco
it more relaxed? I mean, I still have a couple of pages to go through, and its going to be hell if he complains about every bit of malformed HTML. -- Cumprimentos, Rui Pacheco

Re: @For component

2006-08-03 Thread Rui Pacheco
I was following the example from the Foreach documentation for Tapestry 4.0.2. But I ended up removing that entry from the page specification altogether, it worked perfectly without it. On 8/3/06, Mul <[EMAIL PROTECTED]> wrote: On 8/3/06, Rui Pacheco <[EMAIL PROTECTED]> wrote

Re: Unable to decode stream: Unexpected end of ZLIB input stream

2006-08-03 Thread Rui Pacheco
7 more -- Cumprimentos, Rui Pacheco

Re: @For component

2006-08-03 Thread Rui Pacheco
BTW, I'm using Tap 4.1 -- View this message in context: http://www.nabble.com/%40For-component-tf2046280.html#a5634599 Sent from the Tapestry - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

@For component

2006-08-03 Thread Rui Pacheco
Unable to read OGNL expression '' of [EMAIL PROTECTED]/$Inventions]: $Getter_11.java binding: ExpressionBinding[invencoes/$Inventions java.util.List] location: context:/WEB-INF/components/Inventions.jwc, line 17, column 86 -- Cumprimentos, Rui Pacheco

Re: Moving this discussion group

2006-07-31 Thread Rui Pacheco
--- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > ----- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cumprimentos, Rui Pacheco

Re: Tapestry 5 Discussions

2006-07-29 Thread Rui Pacheco
hat's nothing compared to the > lifetime > > of > > a large app.) Then there's the fact that, right now it's difficult > enough > > to > > find people with skill in T4, but in a couple of years it'll be > > impossible, > > because most people will have moved on to T5... > > > > If the migration to T5 requires what basically amounts to a rewrite and > T4 > > is > > no longer maintainable, then the 'powers that be' at said company are > > going > > to be a little irate that they've invested so much time/money into > > something > > that ultimately didn't last very long. In fact, they'll probably be > > looking > > for heads to roll... > > > > > > -- Cumprimentos, Rui Pacheco

Re: Tapestry 5 Discussions

2006-07-28 Thread Rui Pacheco
at stuff in time for Tap6 :-) On 7/28/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > Actually, I support the idea that leaving HiveMind is good. > But not for a new IoC container. We should be using something that has > more > market share, like the Pico Container or the contain

Re: Tapestry 5 Discussions

2006-07-28 Thread Rui Pacheco
; > > Regards, > > > Norbi > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Howard M. Lewis Ship > > TWD Consulting, Inc. > > Independent J2EE / Open-Source Java Consultant > > Creator and PMC Chair, Apache Tapestry > > Creator, Apache HiveMind > > > > Professional Tapestry training, mentoring, support > > and project work. http://howardlewisship.com > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. -- Cumprimentos, Rui Pacheco

Re: Tap 4.1 / doc

2006-07-28 Thread Rui Pacheco
s the Tap4.1 doc who is online also exist as a PDF or sth like that? - I know that im oldfashioned, but i prefer it to print everything out and then read it Best Regards, Korbinian -- Cumprimentos, Rui Pacheco

Re: Any news on Tap 4.1?

2006-07-27 Thread Rui Pacheco
d/features added. > > I can't give it a seal of approval stability wise, but from what I know > of > the tapestry ajax community I'd say this very early alpha release is > probably the most stable/well tested implementation of it you can find. > :) > > Please, do star

Re: Any news on Tap 4.1?

2006-07-27 Thread Rui Pacheco
27;t think there's any > definite > timeline other than ASAP. > > -- > Kevin > > > -Original Message- > > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > > Sent: Thursday, July 27, 2006 11:53 AM > > To: Tapestry users; Tapestry users > &

Any news on Tap 4.1?

2006-07-27 Thread Rui Pacheco
We've been thinking about redoing some of our internal web apps with Ajax, but we decided to wait until Tap4.1 was out. Any dates for when that's to happen? -- Cumprimentos, Rui Pacheco

Re: Controlling length of session

2006-07-27 Thread Rui Pacheco
nds, e-mail: [EMAIL PROTECTED] -- Cumprimentos, Rui Pacheco

Re: Binding Exception

2006-07-26 Thread Rui Pacheco
I found what was going on and I'm replying to this in case someone else stumbles upon this error in the future: Although the ASO was being created, I wasn't passing it to the template. As soon as I called getUser() from my component, everything worked like a charm. -- View this message in contex

Re: Binding Exception

2006-07-26 Thread Rui Pacheco
($WebResponse_10cabf5aa3c.java) at org.apache.tapestry.services.impl.ResponseRendererImpl.renderResponse( ResponseRendererImpl.java:67) I'm doing something wrong with my Sessions, I just don't know what. On 7/26/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: My bad: There is another error

Re: Binding Exception

2006-07-26 Thread Rui Pacheco
lt;[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED]: pt.te.universal.model.User.isActive ". > Isn't that a string being returned? Can you do ! with a string here? > isActive should be boolean. > Adam > > > On 26/07/06, Rui Pacheco < [EMAIL PROTECTED]> wrote: > > > > No

Re: Binding Exception

2006-07-26 Thread Rui Pacheco
No luck. Has anyone done this before? On 7/26/06, Shing Hing Man <[EMAIL PROTECTED]> wrote: Please try : ognl:!user.active Shing --- Rui Pacheco <[EMAIL PROTECTED]> wrote: > Hi all > > I am trying to make my ASO available to an @If > component on my templates, &g

Binding Exception

2006-07-26 Thread Rui Pacheco
cess it from my component. I'm doing the evaluation on the template this way: Red Menu User is my ASO and isActive is a public NON abstract method. How do I negatively test that condition? -- Cumprimentos, Rui Pacheco

Re: IllegalStateException when trying to render a component

2006-07-25 Thread Rui Pacheco
hink 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 > re

IllegalStateException when trying to render a component

2006-07-25 Thread Rui Pacheco
, acording to the Javadocs, means that I'm calling that method at an inappropriate time. I really wanted to avoid extending AbstractComponent, but if it has to be, it has to be. Could anyone give me a clue? -- Cumprimentos, Rui Pacheco

Re: Component events

2006-07-25 Thread Rui Pacheco
It works with finishLoad(). I see my err.println on the logs, but the template isn't rendered. On 7/25/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: Didn't work. I placed an err.println there and it never showed up on the logs. I need a place to put my database calls, so I

Re: Component events

2006-07-25 Thread Rui Pacheco
.org/tapestry4.1/tapestry-framework/apidocs/index.html On 7/24/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > Hi all > > One quick question, as the API got me a bit confused: which event is > equivalent to pageBeginRender for a component that extends BaseComponent?

Component events

2006-07-24 Thread Rui Pacheco
Hi all One quick question, as the API got me a bit confused: which event is equivalent to pageBeginRender for a component that extends BaseComponent? -- Cumprimentos, Rui Pacheco

Re: Are components treated as pages?

2006-07-24 Thread Rui Pacheco
erisks. Any blank text filed is marked with two asterisks. I noticed that that in your earlier post, the .html of the Login component does not have the form component defined in Login.jwc. So in my Login.html, I wrap your table by Shing --- Rui Pacheco <[EMAIL PROTECTED]> wrote: > So

Re: Are components treated as pages?

2006-07-24 Thread Rui Pacheco
ere is no problem with the validator. Shing --- Rui Pacheco <[EMAIL PROTECTED]> wrote: > I just tried to make my class extend BaseComponent > and nothing happened. > > This is the source for the base class I use for all > my components. Its > pretty straightforward and

Re: Are components treated as pages?

2006-07-24 Thread Rui Pacheco
ote: To narrow down your problem, you could make the java class of your component extends BaseComponent directly (if possible) and see whether the validator works. Also, it might be a good idea to post the code of your AbstractBaseComponent (if it is reasonably short). Shing --- Rui Pacheco &

Re: Are components treated as pages?

2006-07-24 Thread Rui Pacheco
Nope, nothing changed. On 7/24/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: I didn't override any methods, although calling super could be usefull. On 7/24/06, Shing Hing Man <[EMAIL PROTECTED] > wrote: > > I do not know whether the following helps.

Re: Are components treated as pages?

2006-07-24 Thread Rui Pacheco
se check if you need to do a super().(overRidden method). Shing --- Rui Pacheco <[EMAIL PROTECTED]> wrote: > My component extends AbstractBaseComponent. Its a > class I created to work as > a parent for all my components. That way I can use > inheritance to cust

Re: Are components treated as pages?

2006-07-24 Thread Rui Pacheco
hought if your component has a html tmeplate, you need to extend from BaseComponent. (But then James has said it works for him.) Shing --- Rui Pacheco <[EMAIL PROTECTED]> wrote: > I am looking at another project where I defined the > form inline in the HTML > and it worked without

Re: Are components treated as pages?

2006-07-24 Thread Rui Pacheco
legate attribute in the Form component. http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/Form.html Shing --- Rui Pacheco <[EMAIL PROTECTED]> wrote: > Here they go: > > This is my .jwc: > > Software > Foundation//Tapestry Specification 4.0//EN" "

Re: Are components treated as pages?

2006-07-24 Thread Rui Pacheco
r a TextField within a custom component. You might like to post your component's .java, .jwc. and .html and see if anyone in the list can help. Shing --- Rui Pacheco <[EMAIL PROTECTED]> wrote: > Hi all > > I've been knocking my head on the wall trying to > find wh

Are components treated as pages?

2006-07-24 Thread Rui Pacheco
anyone seen anything like this? Have you had validators working on component definitions? -- Cumprimentos, Rui Pacheco

Validators being ignored in components

2006-07-21 Thread Rui Pacheco
I included that validator in a .page file, the validation is done properly. Is anyone aware of such issues? -- Cumprimentos, Rui Pacheco

Making java.sql.Connection available to object as HiveMind service

2006-07-21 Thread Rui Pacheco
ntation and examples about its usage on the web. Has anyone implemented a Connection as a Service? Could you share an example? I already managed to have a DataSource implemented as a service, but I wanted to go one step further. -- Cumprimentos, Rui Pacheco

Re: JFly Application Framework is out

2006-07-19 Thread Rui Pacheco
users@tapestry.apache.org Subject: RE: JFly Application Framework is out Robin, you got the point! kiuma >- --- Original Message --- - >From: "Robin Ericsson" <[EMAIL PROTECTED]> >To: "Tapestry users" >Sent: Wed, 19 Jul 2006 15:18:12 > >On 7/19

Re: RE: RE: JFly Application Framework is out

2006-07-19 Thread Rui Pacheco
value) for that. >>> >>>-Original Message- >> >>-- >- >>-- >>To unsubscribe, e-mail: >>[EMAIL PROTECTED] >>For additional commands, e-mail: >>[EMAIL PROTECTED] >> >> >> >>-- >- >>-- >>To unsubscribe, e-mail: >>[EMAIL PROTECTED] >>For additional commands, e-mail: >>[EMAIL PROTECTED] > >--- >-- >To unsubscribe, e-mail: >[EMAIL PROTECTED] >For additional commands, e-mail: >[EMAIL PROTECTED] > > > >--- >-- >To unsubscribe, e-mail: >[EMAIL PROTECTED] >For additional commands, e-mail: >[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cumprimentos, Rui Pacheco

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-18 Thread Rui Pacheco
gt; components will render in serial order. So you will make 9 requests over >> a >> single connection. >> >> - Original Message - >> From: "James Carman" <[EMAIL PROTECTED]> >> To: "'Tapestry users'" ; "'Tapestry u

Re: Order by which events and listeners are called

2006-07-18 Thread Rui Pacheco
Many thanks for all your help. This was extremelly valuable! On 7/18/06, Bernard Lange <[EMAIL PROTECTED]> wrote: Rui Pacheco wrote: > And this is another very good idea. But if I stick with the abstract > authenticated class, I'll have to update code in one single place, whil

Re: Order by which events and listeners are called

2006-07-18 Thread Rui Pacheco
e the component will force me to copy/paste it accross all the templates. On 7/18/06, Bernard Lange <[EMAIL PROTECTED]> wrote: Rui Pacheco wrote: > I implement a class called AbstractWebPage that extends BasePage and I > store > all functionality common to webpages there. &

Re: Order by which events and listeners are called

2006-07-18 Thread Rui Pacheco
--- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cumprimentos, Rui Pacheco

Order by which events and listeners are called

2006-07-18 Thread Rui Pacheco
why is pageBeginRender being called after doLogin? -- Cumprimentos, Rui Pacheco

Special characters stop being that when moved to modules

2006-07-18 Thread Rui Pacheco
problem before and I was told to set the messages encoding to ISO-8859-1, but for some reason its not working for this application. Any help would be welcome. -- Cumprimentos, Rui Pacheco

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread Rui Pacheco
about this. Let's say, perhaps, that these 9 components made repeated simultaneous AJAX-style requests. In such a situation you might begin to have an issue with strained connection pools. Matt On 7/17/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > If I make my components wait, won

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread Rui Pacheco
u can set the maximum size of your pool to some reasonable number. Then, have your components wait until a connection is available in the pool. -Original Message----- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Monday, July 17, 2006 12:05 PM To: Tapestry users Subject: Re: A bit OT: h

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread Rui Pacheco
t can easily just use one connection. That's > what > we do with Tapernate. > > -Original Message- > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > Sent: Monday, July 17, 2006 10:13 AM > To: Tapestry users; Tapestry users > Subject: A bit OT: how to manage database c

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread Rui Pacheco
- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Monday, July 17, 2006 10:32 AM To: Tapestry users Subject: Re: A bit OT: how to manage database connections for multiple components rendered simultaneously. Hmmm. I am not using Hibernate, the learning curve is too steep for this project. Can you su

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread Rui Pacheco
h Tapernate. -Original Message----- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Monday, July 17, 2006 10:13 AM To: Tapestry users; Tapestry users Subject: A bit OT: how to manage database connections for multiple components rendered simultaneously. Hi all This is not a pure Tapestry ques

A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread Rui Pacheco
time. What about the other users? How would you deal with this issue? -- Cumprimentos, Rui Pacheco

Error while deploying application

2006-07-14 Thread Rui Pacheco
-- Cumprimentos, Rui Pacheco

Re: Element type "property-specification" must be declared.

2006-07-13 Thread Rui Pacheco
Many thanks. I was following a tutorial that used Tapestry 3.0 and got lost in these small details. On 7/13/06, Andreas Andreou <[EMAIL PROTECTED]> wrote: If you want to use the 4.0 DTD, take a look at this doc first http://tapestry.apache.org/tapestry4/UsersGuide/spec.html Rui Pacheco

Element type "property-specification" must be declared.

2006-07-13 Thread Rui Pacheco
could create the select with a PropertySelection but I want to create it in html instead of Java code. It's values won't change regularly and when they do, its much simpler to fire up a text editor and change them on the template. Any help is more than welcome. -- Cumprimentos, Rui Pacheco

Re: Element type "context-asset" must be declared.

2006-07-12 Thread Rui Pacheco
No luck. I wanted to avoid declaring the assets through injection, but I guess thats the route I'm following. On 7/12/06, Richard Kirby <[EMAIL PROTECTED]> wrote: Hi Rui, Try Cheers Richard. Rui Pacheco wrote: > Hi all > > I am declaring two images as assets in my .p

Element type "context-asset" must be declared.

2006-07-12 Thread Rui Pacheco
ared. This is my .page file: http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> What could be causing this? I believe I am doing everything correctly. -- Cumprimentos, Rui Pacheco

Re: Contrib Table Weirdness...

2006-07-12 Thread Rui Pacheco
e hibernate criteria from a detached criteria that any changes made to the resulting criteria actually get written to the underlying detached criteria. That doesn't seem like it's right, though. They should be copying the detached criteria. -Original Message----- From: Rui Pacheco [ma

Re: Contrib Table Weirdness...

2006-07-12 Thread Rui Pacheco
man [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 9:08 AM To: 'Tapestry users' Subject: RE: Contrib Table Weirdness... I am giving it a list of "Supplier" objects (the Supplier class does have a "name" property). -----Original Message- From: R

Re: Contrib Table Weirdness...

2006-07-12 Thread Rui Pacheco
t fine. Anyone seen this before? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cumprimentos, Rui Pacheco

Setting Asset inline on the template

2006-07-12 Thread Rui Pacheco
nt my selectedImage to be a certain .png file on the images folder on my web app? I tried acessing the file as an ognl expression thus: selectedImage='ognl:{"images/go.png"}' but I get an exception. Has anyone tried this before? -- Cumprimentos, Rui Pacheco

Re: Tapestry making Java use 99% cpu?

2006-06-23 Thread Rui Pacheco
f memory, if we deploy/undeploy too often or the applications do not work properly. Thanks Mahmut > Alex > > Rui Pacheco wrote: >> Hi all >> >> I am developing a web application with Java 5, Tapestry 4.0.2, >> Commons DBCP >> 1.2.1, Tomcat 5.5.17 and MySQL

Re: Tapestry making Java use 99% cpu?

2006-06-23 Thread Rui Pacheco
ano Pagano ------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cumprimentos, Rui Pacheco

Re: Tapestry making Java use 99% cpu?

2006-06-22 Thread Rui Pacheco
to spike in such a weird way ) On 6/22/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > I am going to review the way I am using DBCP. I think I may be leaking > connections somewhere. But then again that doesn't explain the spikes in > cpu > usage. I it were leaks the system

Re: Tapestry making Java use 99% cpu?

2006-06-22 Thread Rui Pacheco
dures - no images, nothing heavy. On 6/22/06, Michael Echerer <[EMAIL PROTECTED]> wrote: Rui Pacheco wrote: Hi, > Hi all > Looks like a problem with your application code. What does it do? You mentioned a DB. Working with large blobs (images?) that get processed? Is the problem depend

Re: Tapestry making Java use 99% cpu?

2006-06-22 Thread Rui Pacheco
until this stopped happening. That could give you some clues to what is causing the problem. On 6/22/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > It happens suddenly. Sometimes after I deploy the application, sometimes > while I'm navigating on the site to test it. > >

Re: Tapestry making Java use 99% cpu?

2006-06-22 Thread Rui Pacheco
I will try it at home tonight. How do I do that? On 6/22/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Why don't you launch your app from eclipse in debug mode ? On 6/22/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > It happens suddenly. Sometimes after I deploy the

Re: Tapestry making Java use 99% cpu?

2006-06-22 Thread Rui Pacheco
tomcat and the app is deployed ? On 6/22/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > Hi all > > I am developing a web application with Java 5, Tapestry 4.0.2, Commons > DBCP > 1.2.1, Tomcat 5.5.17 and MySQL 5.0.19. > > While I develop my application I noticed a st

Re: Tapestry making Java use 99% cpu?

2006-06-22 Thread Rui Pacheco
Nope. Apart from Java taking 99% cpu I see nothing wrong. On 6/22/06, James Carman <[EMAIL PROTECTED]> wrote: You don't eventually get back an OutOfMemoryError? -Original Message----- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 12:06 PM To: Tap

Tapestry making Java use 99% cpu?

2006-06-22 Thread Rui Pacheco
that also worked withouth a problem, except for the common developer mistakes. Is there a way for me to diagnose whats happening? Any special flags to pass to the VM or some über-secret-hidden log you know about? -- Cumprimentos, Rui Pacheco

Re: Despair (was: Setting selected values on Palette)

2006-06-19 Thread Rui Pacheco
c, just make sure that when something calls getValue(index) on your model, that same value is translatable back to the original object if translateValue(String value) is called. On 6/19/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > My getOption is returning an object of the type AbstractDrop

Re: Despair (was: Setting selected values on Palette)

2006-06-19 Thread Rui Pacheco
paring keys properly, or the objects being compared don't implement equals() properly. I would create a unit test that asserts the model you are using really does work going out and back in (ie form submission). On 6/19/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > Hi all > > T

  1   2   >