In implementing an e-mail validator myself, one thing I notice in all
this is a Javascript error that reads
Error: Tapestry.Field.email is not a function...
I did some digging and found in org/apache/tapestry/tapestry.js the
building up of the Tapestry object has in it a section involving
"Colle
It depends on whether you want to test or not.
If you inject UserAuthenticator as a class, you're locked into one
implementation of UserAuthenticator. You forgoe the ability to unit test
using EasyMock (or jMock) because you aren't coding to an interface, but to
a class. Sure, EasyMock has an ex
Have you even looked on the site? The Maven documentation is very
consistent and describes exactly how to get the latest code from SVN. The
downloads of the most recent preview release include source.
On 5/15/07, John Lee <[EMAIL PROTECTED]> wrote:
Dear List,
Could anyone tell me how to get
Hi Marcus. Here are the classes:
Email.java
package com.dodo.community.web.validators;
import static org.apache.tapestry.TapestryUtils.quote;
import java.util.regex.Pattern;
import org.apache.commons.lang.StringUtils;
import org.apache.tapestry.Field;
import org.apache.tapestry.MarkupWriter;
i
Actually, it words in Firefox, but not IE. I can't get the DOM to format
right and it's probably to large to paste here. There indeed seems to be an
'includescript' with the Calendar script there, but it doesn't work. Bah!
Thanks for your help
On 5/16/07, Jesse Kuhnert < [EMAIL PROTECTED]> wro
Dear List,
Could anyone tell me how to get it somewhere?
Thanks
john
Probably never. You can of course build it yourself if you like.
On 5/15/07, Jun Tsai <[EMAIL PROTECTED]> wrote:
hi,
I find some bug fixed,I want to use T4.0.3.
When release ?
Thanks
Jun Tsai
--
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net
---
Hi,
Which is the better approach, or which is the main difference?
Have a service to do Login validation, like:
in AppModule.java
public static IUserAuthenticator buildUserAuthenticator()
{
return new UserAuthenticatorImpl();
}
IUserAuthenticator.java
package org.example.hilo
Juan,
I'm trying, but having a lot of compilation errors.
If you post all code added to AppModule.java and Email class, maybe i can
help you.
Marcus
hi,
I find some bug fixed,I want to use T4.0.3.
When release ?
Thanks
Jun Tsai
--
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
I think i am starting to be annoying but i found out that inside a
component the first form will not execute server side validation.
In the following code the the validators will be executed fine.
However the validators will not be executed if i change the code t
Are you using FireBug on the client side?
If so it would be good to know what a sampling of the entire xml response
looks like. There should be a block of "includescript" that includes the
necessary external js package that contains the Calendar object definition.
On 5/15/07, William Keller <[
Maybe websphere is causing some other version of javassist to be used?
On 5/15/07, Denis Burlaka <[EMAIL PROTECTED]> wrote:
Hi.
I attempted to run my application on the IBM WebSphere 6.1.0.7, but the
next
exception occurres:
[15.05.07 13:38:28:812 MSD] 001e SystemErr R
org.apache.hive
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/PageRenderSupport.html
On 5/15/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote:
Hi All
Can anyone support me on this
PageRenderSupport pageRenderSupport = TapestryUtils
getPageRenderSupport(cycle, this);
GetTapMapScript().exe
I found out my problem. For some reason i added an id parameter to the form
component and this was causing the problem.
Sorry :S
On 5/15/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
Really? That's a surprise and a bug if true.
On 5/15/07, Juan Maya <[EMAIL PROTECTED]> wrote:
>
> But none
Howard,
Is there any way you could release some/all of the source that you
presented at Javaone.
I am stuck with grid, and you did something in your session that would fix
it for me.
Alex.
-
To unsubscribe, e-mail: [EMAIL PROT
It works and is tested; perhaps there's a bug when the property being
persisted is inside a component and not a page (but I really doubt it).
On 5/15/07, Joel Wiegman <[EMAIL PROTECTED]> wrote:
Thanks Howard. I figured I didn't need it on the currentMessage field,
but I didn't want the flex re
Hi Marcus. I am doing exactly the same but using a tapestry validator
so it handles server and client validation. the code is something
like:
public class Email implements Validator {
public void validate(Field field, Void constraintValue,
MessageFormatter formatter, Object value) throws Validat
Hi Juan,
If u do it, may u share the code with us?
On server side, we're using this regular expression.
import java.util.regex.Pattern;
public class EmailValid {
public static boolean isValid(String email)
{
return Pattern.matches(
"([A-Za-z0-9]+[._-]*)+[A-Za-z0-9]+@([A-Za-z0-9-]+\\
It doesn't work for me. I am using tapestry 5.0.4.
On 5/15/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
Really? That's a surprise and a bug if true.
On 5/15/07, Juan Maya <[EMAIL PROTECTED]> wrote:
>
> But none of the basic implementors are executing server side validation.
> (i
> tried re
Really? That's a surprise and a bug if true.
On 5/15/07, Juan Maya <[EMAIL PROTECTED]> wrote:
But none of the basic implementors are executing server side validation.
(i
tried required and minLength)
On 5/15/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
>
> Yes, but the magic is built into
But none of the basic implementors are executing server side validation. (i
tried required and minLength)
On 5/15/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
Yes, but the magic is built into the validator implementation.
On 5/15/07, Juan Maya <[EMAIL PROTECTED]> wrote:
>
> I Howard,
> Tha
Thanks Howard. I figured I didn't need it on the currentMessage field,
but I didn't want the flex response from someone saying I should try
adding it. ;-)
Either way, the "messages" field is still sticking around past a single
page load.
The pertinent java code that uses it is:
@Component
pr
Yes, but the magic is built into the validator implementation.
On 5/15/07, Juan Maya <[EMAIL PROTECTED]> wrote:
I Howard,
Thank u for the answer. That was what i did. I followed the pattern but i
didn't see how to add easily new Javascript. I could modify tapestry.js
but
i think that's not th
You don't need the @Meta, you can:
@Persist("flash")
private List messages = new ArrayList();
Also, you don't need the @Persist on the currentMessage field.
On 5/15/07, Joel Wiegman <[EMAIL PROTECTED]> wrote:
Greetings all,
I attempted to expand upon the T5 "FlashDemo" found here:
http
That fixed it (not the cache, which I had already cleared). Thanks.
J
On 14-May-07, at 4:41 PM, Jesse Kuhnert wrote:
Dojo was upgraded to 0.4.2 over the weekend, it may very well be
the case
that your browser cache just hasn't picked up the changes yet - but
I did
just notice that I'm miss
Greetings all,
I attempted to expand upon the T5 "FlashDemo" found here:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/
test/app1/WEB-INF/
I'm attempting to write a "Messages" component that can be included
anywhere and show a group of messages to a user.
But for some
In our setup, the problem will only occur with numbers with more than 3
digits. As far
as I can see, dojo guesses the grouping from the locale when no
grouping-character is given.
To me, it seems as if the flag groupSize in the call to
"dojo.i18n.number.isReal" should be
explicitly set to zero.
>
#Cyrille37# a écrit :
Stephane PAQUET a écrit :
Look at
http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-865.html
LibCopy plugin is doing this job for Maven project. I guess you can
have a look at the way it is working and just do the same in your
project.
Regards,
SP
Stephane PAQUET a écrit :
Look at
http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-865.html
LibCopy plugin is doing this job for Maven project. I guess you can
have a look at the way it is working and just do the same in your
project.
Regards,
SP
Thanks,
but I've found
Look at http://www.eclipseplugincentral.com/Web_Links-index-req-
viewlink-cid-865.html
LibCopy plugin is doing this job for Maven project. I guess you can
have a look at the way it is working and just do the same in your
project.
Regards,
SP
On May 15, 2007, at 4:33 PM, #Cyrille37# wrote:
I am using a similar approach to Phillip, but using the same method name for
each page. We have the method implemented in a base page that is extended by
the pages implementing the component. Anytime we need the method to do
something different, we just overwrite it in that page.
On 5/14/07, Ph
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/error/ExceptionPresenter.html
http://tapestry.apache.org/tapestry4.1/tapestry-framework/cobertura/org.apache.tapestry.error.ExceptionPresenterImpl.html
On 5/15/07, Martino Piccinato <[EMAIL PROTECTED]> wrote:
I think you can jus
#Cyrille37# a écrit :
Hello,
For every Tapestry project I've to copy all Tapestry libraries in the
WEB-INF/lib folder. Like I'm using Windows I could not using symbolic
links. By that way, each project are heavy.
I'd tried to define Tapestry as a Eclipse User Library but jars are
not deployed
I think you can just configure your
and let the page decide which other page to use for different sets of
exceptions.
On 5/15/07, Wojtek Ciesielski <[EMAIL PROTECTED]> wrote:
Andreas Andreou wrote:
> like
>
http://tapestry.apache.org/tapestry4.1/developmentguide/exceptionpages.html
> ?
Hello,
For every Tapestry project I've to copy all Tapestry libraries in the
WEB-INF/lib folder. Like I'm using Windows I could not using symbolic
links. By that way, each project are heavy.
I'd tried to define Tapestry as a Eclipse User Library but jars are not
deployed at runtime so the tape
I posted a comment decribing the general approach half a year ago on user
list.
here's the text
...
here is something I haven't seen on the mailing list, and it speeds up
Hibernate
Actualy it saves SessionFactory in a static variable which has lifecycle of
the tomcat server
instaead th
Andreas Andreou wrote:
like
http://tapestry.apache.org/tapestry4.1/developmentguide/exceptionpages.html
?
Btw - no, not like this. The page you've provided show how to change
handling page for a given set of predefined exceptions (if I understand
it well). I need to handle my own application
Andreas Andreou wrote:
like
http://tapestry.apache.org/tapestry4.1/developmentguide/exceptionpages.html
?
Mea culpa. I thought that "development" part is for people who want to
contribute to Tapestry
Thanks anyway,
Wojtek
---
Thanks, Jesse, but I couldn't get it to work, possibly because it's
kind of self-referencing?
On 05/05/2007, at 2:01 AM, Jesse Kuhnert wrote:
Sure ...I think you can generally do something like:
-) Use
http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-
framework/src/js/tapestry
I Howard,
Thank u for the answer. That was what i did. I followed the pattern but i
didn't see how to add easily new Javascript. I could modify tapestry.js but
i think that's not the best way to do it.
I thought the validators were able to execute server and client side
validation. According to
Hi all,
I'm trying to build a page which has a few basic components, and a few
EventListeners that update 'select' components etc etc. Recently, I've been
trying to add a @DatePicker, but I get horrible errors. Stack trace is
attached:
ERROR: 11:51:47 PM: Error evaluating script: // TypeError :
like
http://tapestry.apache.org/tapestry4.1/developmentguide/exceptionpages.html
?
On 5/15/07, Wojtek Ciesielski <[EMAIL PROTECTED]> wrote:
Hi there,
Is there any document describing how to customize handling of
application exceptions (using hivemind I suppose) with Tapestry 4.1?
Thanks in ad
On 5/14/07, Juan Maya <[EMAIL PROTECTED]> wrote:
Hi all,
I am trying to contribute a new Email Validator that would check if an
email is valid or not.
To do it i created a class Email that implements Validator.
Then i contributed the Validator in My AppModule:
public static void
contributeFiel
Hi there,
Is there any document describing how to customize handling of
application exceptions (using hivemind I suppose) with Tapestry 4.1?
Thanks in advance,
Wojtek
Hi.
I attempted to run my application on the IBM WebSphere 6.1.0.7, but the next
exception occurres:
[15.05.07 13:38:28:812 MSD] 001e SystemErr R
org.apache.hivemind.ApplicationRuntimeException: Unable to create class
ognl.ASTConst2544146341.0Accessor: by java.lang.ClassFormatError:
(ogn
It would be very nice if you could provide this session factory implementation
for us!
Mit lieben Grüßen aus dem eWerk
| Holger Stolzenberg
| Softwareentwickler
|
| Geschäftsführer:
| Frank Richter, Erik Wende, Hendrik Schubert
|
| eWerk IT GmbH
| Markt 16
| Leipzig 04
The class reloading feture in T5 is a great productivity gain,
for a T4 project I myself created an hibernateSessionFactory implementation
that
resides in tomcat's class loader so I don't need to wait for hibernate to
initialize.
this was small improvement but not near to desired speedup.
Questio
I am returning the thanks, Howard :) I am just amazed how you guys managed to
create such a fabulous framework. The more I work with it, the more I like it.
All I am doing is trying to tell the world about Tapestry.
-Original Message-
From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
S
On 5/14/07, Kolesnikov, Alexander GNI
<[EMAIL PROTECTED]> wrote:
Please have a look:
Docs and tutorial are really a big plus for open source project, well
actually for all kind of projects, and this really shine.
Thanks.
--
Massimo
http://meridio.blogspot.com
---
Thanks anyway, Matt!
I've done some experimenting, what actually works (most of the time) is to
recompile a class without structural changes. If you change a method name or
parameter, you have to reload the application.
Some people say Jetty have better performance and better support for
configu
51 matches
Mail list logo