Re: Grid Pagination And onActivate()

2009-03-28 Thread luna_guo
Davor Miku wrote: > > Hello! > > I have component witch takes one parameter and based on it > shows Grid component. > > In page Archive, I have : > > public class Archive > { > > @Persist > private String currentCategoryName; > > public void onActivate(String currentCa

Re: onActivate() called twice

2009-03-28 Thread Davor Miku
First, all images urls in DB are relative, but I'll change this. Second, what if I use some js plugin (i.e. for jQuery) witch uses relative links (like ThickBox, fixed it). Third, if you have any source of forum, blog ,etc it means if some user enter relative link in his post your app is knocked

Grid Pagination And onActivate()

2009-03-28 Thread Davor Miku
Hello! I have component witch takes one parameter and based on it shows Grid component. In page Archive, I have : public class Archive { @Persist private String currentCategoryName; public void onActivate(String currentCategoryName) { this.currentCategoryName = cur

Re: Good Cheap Java Web Hosting Solutions

2009-03-28 Thread Angelo Chen
Hi, wish I can read German:) but looking at server4you.com's super server L, the deal is very attractive, $29 for a dedicated server, compared to linode's $19 for a VPS, I'd go former, honestly speaking, I don't have any problem with linode's vps so far, any good experience with server4you? the o

Re: Good Cheap Java Web Hosting Solutions

2009-03-28 Thread Otho
I was talking about www.server4you.de They have special conditions for foreign customers (paying 12 months in advance) as I saw. The american branch (server4you.com) is quite a bit more expensive or has weaker machines for the same price. 09/3/28 Harald Geritzer > Peter Kanze schrieb: > >> Hi O

Fw: Re: Fw: Re: String to Double Type Coercion problem in 5.1.0.2 snapshot

2009-03-28 Thread Shing Hing Man
--- On Sun, 29/3/09, Shing Hing Man wrote: > From: Shing Hing Man > Subject: Re: Fw: Re: String to Double Type Coercion problem in 5.1.0.2 > snapshot > To: "Howard Lewis Ship" > Date: Sunday, 29 March, 2009, 4:18 AM > I have created an JIRA with an attached Eclipse project > that pro

Re: Good Cheap Java Web Hosting Solutions

2009-03-28 Thread Harald Geritzer
Peter Kanze schrieb: Hi Otho, What company are you talking about? And are there also companies located in Europe? for example: http://www.hetzner.de/hosting/produktmatrix/rootserver-produktmatrix/ - To unsubscribe, e-mail: u

Re: Fw: Re: String to Double Type Coercion problem in 5.1.0.2 snapshot

2009-03-28 Thread Howard Lewis Ship
This is probably related to the conversion from PrimaryKeyEncoder to ValueEncoder, perhaps. Odd. On Sat, Mar 28, 2009 at 9:01 AM, Shing Hing Man wrote: > > > --- On Sun, 29/3/09, Shing Hing Man wrote: > >> From: Shing Hing Man >> Subject: Re: String to Double Type Coercion problem in 5.1.0.2 s

Fw: Re: String to Double Type Coercion problem in 5.1.0.2 snapshot

2009-03-28 Thread Shing Hing Man
--- On Sun, 29/3/09, Shing Hing Man wrote: > From: Shing Hing Man > Subject: Re: String to Double Type Coercion problem in 5.1.0.2 snapshot > To: "Howard Lewis Ship" > Date: Sunday, 29 March, 2009, 12:00 AM > Earlier, I have not given the full picture. > In fact the text component is inside

Re: String to Double Type Coercion problem in 5.1.0.2 snapshot

2009-03-28 Thread Howard Lewis Ship
The error reporting could be better, but the coersion there indicates a Double[], not a double. On Sat, Mar 28, 2009 at 6:57 AM, Shing Hing Man wrote: > > I have a TextField component to input a Double. > > >       �...@component(id = "MatrixEntry", parameters ={ > "validate=prop:fieldValidator"

Re: Good Cheap Java Web Hosting Solutions

2009-03-28 Thread Peter Kanze
Hi Otho, What company are you talking about? And are there also companies located in Europe? On Sat, Mar 28, 2009 at 8:22 AM, Otho wrote: > The price difference between virtualized and full servers isn't that big > anymore. I run a dual core opteron with 3 gigs or ram and 2 mirrored 250gig

String to Double Type Coercion problem in 5.1.0.2 snapshot

2009-03-28 Thread Shing Hing Man
I have a TextField component to input a Double. @Component(id = "MatrixEntry", parameters ={ "validate=prop:fieldValidator"}) private TextField entry; It works fine in 5.0.18. But in 5.1.0.2 snapshot, I get the following error when I submit the form containin

Re: T5: Prototype question

2009-03-28 Thread Peter Kanze
Hello Yes indeed, this.activeTabId = 'tab4' On Fri, Mar 27, 2009 at 10:12 PM, Howard Lewis Ship wrote: > Do you mean: > > this.activeTabId = 'tab4' > > ? > > If not, there's your answer. > > On Fri, Mar 27, 2009 at 11:35 AM, Peter Kanze > wrote: > > Hello > > Why is this working: > > if (ele

Re: Good Cheap Java Web Hosting Solutions

2009-03-28 Thread Alex Kotchnev
In the past I've used www.dailyrazor.com , they have java plans starting from $12 per month (shared jvm, deployng app), they had excellent support even on the cheap plans. Here you get full hosting - shell, db, space, bandwidth,etc. These days I use www.mor.ph - a cloud based solution (deployng to

Re: [T4]for component inside form not working

2009-03-28 Thread Ivano Luberti
Norman, could you provide a code snippet ? (java+page+html) Norman Franke ha scritto: > They way I've handed this us to have the values of the items in the > for loop be something like "ognl:myValues[rowid]" where rowid is the > key for that list. You'll then have a getMyValue(String rowid) and

Re: integrating T5 a login form with Spring Security?

2009-03-28 Thread Otho
Then I would guess that the programmatic authentication is your best option. It isn't really that hard and you can build as many safeguards as you want. But yes, it is annoying, that it isn't already built into spring security as a possibility. It is really more than a bit geared towards servlets

Re: integrating T5 a login form with Spring Security?

2009-03-28 Thread Borut Bolčina
Hi, the problem with this code is that you are using response.sendRedirect. This is not acceptable as this causes the username and password to be in plain text in the log files of the Tomcat (and Apache). And of course it must be on the HTTPS. The server-side redirect is the only way, as response

Re: integrating T5 a login form with Spring Security?

2009-03-28 Thread Otho
My old solution which worked fine with the little glitch I described in my last post. The problem might be in the session.invalidate(); @Inject private Request request; @Inject private Response response; @Property private String username; @Property private String

Re: Good Cheap Java Web Hosting Solutions

2009-03-28 Thread Otho
The price difference between virtualized and full servers isn't that big anymore. I run a dual core opteron with 3 gigs or ram and 2 mirrored 250gig hds for 59 Euros a month. For the same price you get now (my contract is almost a year old) a quadcore opteron with 4 gig ram and 2 mirrored 500gig hd