On Mon, 04 Jun 2012 17:58:21 -0300, George Christman
wrote:
Would you recommend regex then?
Regex is another String-only validator. If it's for just one field, create
an onValidateFrom[FieldComponentId] () method and do your validation there.
--
Thiago H. de Paula Figueiredo
--
On Mon, 04 Jun 2012 21:56:28 -0300, xieweiguo wrote:
Hello!
Hi!
I heard that from tapepstry 5.2,all page is singleton-object.But,I write
some code in the constructor of page class like this:
You should avoid using constructors in page classes.
So,my question is: Is the page singleton?
On Mon, 04 Jun 2012 17:57:36 -0300, Lenny Primak
wrote:
I noticed a lot of questions like this lately. No wonder HLS ignores
most of these.
Please keep this list to more-than-trivial and on topic questions.
Unless you are a newbie just getting jump started.
Spend some time researching the
Hello!
I heard that from tapepstry 5.2,all page is singleton-object.But,I write
some code in the constructor of page class like this:
//the constructor
public TestPage()
{
System.out.println("=+++ constructor
run ");
}
The code will run more than once.
So,my
Would you recommend regex then?
-George
- Reply message -
From: "Thiago H de Paula Figueiredo [via Tapestry]"
Date: Mon, Jun 4, 2012 4:52 pm
Subject: Validate BigDecimal maxlength not working
To: "George Christman"
--
View this message in context:
http://tapestry.1045711.n5.nabble.
I noticed a lot of questions like this lately. No wonder HLS ignores most of
these.
Please keep this list to more-than-trivial and on topic questions. Unless you
are a newbie just getting jump started.
Spend some time researching the problem first. If you need consulting there are
plenty of o
On Mon, 04 Jun 2012 17:18:15 -0300, TG wrote:
How do I wrap in CDATA?
Do you really need to ask that in this mailing list?
Also I tried to put .js fille as external file, but didn't work -
Define "didn't work". Have you @Imported your external file?
--
Thiago H. de Paula Figueiredo
On Mon, 04 Jun 2012 16:12:40 -0300, George Christman
wrote:
Hello, I can't seem to get my tapestry validator to validate the max
length of a bigdecimal field. It seems to work for string fields without
an issue.
You've answered your own question: this validator is only meant to be used
Hello,
I''m using tynamo-resteasy and was wondering if one could use subresources with
it.
(http://docs.jboss.org/resteasy/docs/1.0.0.GA/userguide/html/JAX-RS_Resource_Locators_and_Sub_Resources.html)
Basically for a URL like this:
/foo/1/bar
I would have a FooResource that would return the
How do I wrap in CDATA?
Also I tried to put .js fille as external file, but didn't work -
Any clues?
Thanks!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Javascript-in-Tapesytry-tp5713586p5713613.html
Sent from the Tapestry - User mailing list archive at Nabble.co
Hi Geoff, Hi Arno!
Thank you again for your help. The problem was that my list (which was
loaded through Javascript into Java) was not persisted (@persist List list)
this caused a ajax error, because the list was null. Now, i am only
initiating the list if the list is null (if list == null) then l
Hello, I can't seem to get my tapestry validator to validate the max length
of a bigdecimal field. It seems to work for string fields without an issue.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Validate-BigDecimal-maxlength-not-working-tp5713611.html
Sent from the Ta
Hmm, apparently the code was filtered out but is included here:
http://tapestry.1045711.n5.nabble.com/XHR-isXHR-shortcut-tp3353416p5713607.html
I'll try posting it again:
// Code begin
public class ZoneWorker implements ComponentClassTransformWorker2 {
protected Request request;
Hi,
I'm looking for a general solution to avoid constructs like this in all my
event handlers:
Object onMyAjaxEventHandler(){
do_some_processing();
if(request.isXHR()){
return zone.getBody();
}
return null;
}
Taha's @XHR annotation is a step in the right direction, but fi
On Mon, 04 Jun 2012 09:20:19 -0300, Angelo C.
wrote:
Hi,
Hi!
This is a situation, in a PageRenderRequestFilter my app need to access a
global String variable, and this global variable is updated every hour
in a PeriodicExecutor, any suggestion how to do this? will there be a
conflict
On Mon, 04 Jun 2012 02:51:05 -0300, wesleywj2
wrote:
hi,
Hi!
I'm having a problem on how to submit my form along with parameters using
method POST to external https link?
Don't use Tapestry's Form component for submitting data to external sites.
Use an ordinary HTML form instead.
--
thank you very much, i will try that example and give feedback asap.
thank you all!
2012/6/4 Geoff Callender-2 [via Tapestry] <
ml-node+s1045711n5713603...@n5.nabble.com>
> See if this running example helps.
>
>
> http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/periodicupdate
>
>
See if this running example helps.
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/periodicupdate
Cheers,
Geoff
On 04/06/2012, at 3:30 PM, sommeralex wrote:
> Hi Arno,
>
> Thx for your help again!
>
> The javascript function is drawGroups is called and my alert('ok')
Hi,
This is a situation, in a PageRenderRequestFilter my app need to access a
global String variable, and this global variable is updated every hour in a
PeriodicExecutor, any suggestion how to do this? will there be a conflict
in accessing this variable? Thanks,
Angelo
--
View this message in
19 matches
Mail list logo