it's there on the wiki, use it any way you wish :)
On Fri, Mar 21, 2008 at 2:53 PM, Sven Homburg <[EMAIL PROTECTED]> wrote:
> nice implementation!
> i want to implement it into the t5component project ...
> is that problematic for you ?
>
> 2008/3/21, Davor Hrg <[EMAIL PROTECTED]>:
>
>
> >
> >
how about let the actionLink pointing to a zone?
Joshua Jackson-3 wrote:
>
> Dear all,
>
> How do we implement action message in T5? I want to display a message
> after an event occur, whether on success or on failure. Can anyone
> give me and insights on this. I've searched the document for t
Hi,
I coded a validator, it's working, i got two issues:
1) extending ValidationMessages.properties: of course I can just add my
message to the file, but that's not a good idea, is there way to add the
message in the application level?
2) Tapestry.js' addValidator, adding my js validator to th
Don't declare the field as mandatory.
Then add your custom validation to onValidateFromXXX where XXX is the
id of your form.
Validate the id there.
Alternatively, you could contribute your own validator, which doesn't
perform any client-side validation.
Robert
On Mar 21, 2008, at 3/219:50
Hi Robert,
oh i see, so for every validation you have to code two, one in java and
another one in js, this does bring up another question, can
'clientvalidation' be set in the field level? say, I have a form, all the
fields can be validated client side except a customer id field, which
requires u
One is for client-side validation, and the other is for server-side
validation?
Client-side validation is a nicety that makes the validation process
less painful for a client.
But you can't rely on it for any sort of "security" since all it takes
to bypass it is to turn of javascript.
Hence,
Hi,
Looking at Tapestry.js' addValidator for 'Required':
required : function(field, message)
{
Tapestry.addValidator(field, true, function(value, event)
{
if (value == '')
event.recordError(message);
});
},
and also the Required.java, it has a validation t
It's something of a bootstrapping issue, where @Match is more
"fundamental" than symbols. It might be technically possible.
On Fri, Mar 21, 2008 at 3:02 AM, THIEBAUD Patrice <[EMAIL PROTECTED]> wrote:
> We are going to use Tapestry 5 for a ligthweight framework and provide
> some added-value fo
Plenty of reasons to have different service implementations per
environment.
A big one for me is authentication. Same app may have different
authentication strategies depending on environment. LDAP here, db-
backed there, simple (or none) for development, etc.
There are a number of ways tha
On option is inside your contributeMasterDispatcher() contribution
method, you decide then and there which of two versions to contribute:
a development mode version or a production mode version. You can
inject
@Symbol(TapestryConstants.PRODUCTION_MODE_SYMBOL) boolean productionMode
into the m
I don't think so. The problem I am trying to solve in this case is that
I have a Dispatcher that performs authentication and authorization in
the Tapestry request pipeline (I'm very new to T5 so I hope I'm using
sane terms there). In the dev environment I need the implementation to
not have externa
Glenn,
What requires you to have separate implementations for each
environment? Is it configuration data that you could move into a
properties file that lives the in the classpath of your container?
Ben
On Fri, Mar 21, 2008 at 4:02 PM, Glenn Sudduth <[EMAIL PROTECTED]> wrote:
> (This seems like
(This seems like a pretty basic question, but I haven't been able to
ferret out the answer so here goes ...)
What is a good way to have Tapestry 5 IoC determine which implementation
of a particular service to load at runtime? With Spring I accomplish
this by creating multiple versions of the bean
Hi Josh,
Anything need to be done in order to use it? thanks.
A.C.
joshcanfield wrote:
>
> yes
>
>
--
View this message in context:
http://www.nabble.com/T5%3A-Tapestry-Hibernate-and-Hibernate-validator-tp16198439p16210329.html
Sent from the Tapestry - User mailing list archive at Nabble
I tried: http://www.kronenberg.org/ies4osx/
last night with some mixed results (IE7 and 5.5 didn't really work...
kept coming up as IE6 for whatever reason).
IE6 worked well, though, and I was able to use it to track down an
issue a user was complaining about on a particular site.
Requires Dar
Hm. It worked last time I checked. I have trouble checking the IE
stuff since I work on a Mac. It involves me firing up a virtual
machine, etc.
On Wed, Mar 19, 2008 at 10:47 PM, Dmitry S <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I tried T5 (5.0.11) client side validation in Internet Explorer, and i
Yes ... but that information isn't always exposed properly via the
Javassist APIs.
On Fri, Mar 21, 2008 at 3:19 AM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> Method parameter types contain generic information just like
> properties and method return types. It is quite similar to stuff
> in property
Is there anything we can do? We have many components on each pages and
because of this each request takes 20-30 seconds. Ajax request (components
with async=true) takes 20-30 seconds. This makes development really
difficult. It shouldn't take this long. There has to be something to help
us.
yes
On Fri, Mar 21, 2008 at 7:38 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Can Hibernate Validator framework be used with Tapestry-Hibernate? Thanks,
>
> A.C.
> --
> View this message in context:
> http://www.nabble.com/T5%3A-Tapestry-Hibernate-and-Hibernate-validator-tp16198439p1619
What you are seeing is normal; when executing directly from the
workspace, there's no build step that creates the manifests that
Tapestry uses to autoload, thus you must use tapestry.modules JVM
property to manually load the modules.
On Fri, Mar 21, 2008 at 8:58 AM, raulmt <[EMAIL PROTECTED]> wrot
Thanks Howard, I follow your advice factoring out to a core-library so the
web-app and the other projects depend on that. But, despite the web-app does
not depends on the other projects, I put that dependency anyway so when I
package the web-app it includes the jars from the other projects in the
https://issues.apache.org/jira/browse/TAPESTRY-2292
Please, feel free to vote. Hopefully Howard blesses it :)
On Wed, Mar 19, 2008 at 2:52 AM, Andreas Pardeike <[EMAIL PROTECTED]> wrote:
> On 18 mar 2008, at 20.35, Howard Lewis Ship wrote:
>
> > I see these little extra characters as a bit of a
I finally got this to work with TinyMCE. Here is what I did in case
it is useful to someone else:
The form has a field called answer that uses TinyMCE.
selectFrame("//[EMAIL PROTECTED]"answer_ifr\"]");
type("//body", "this is my answer ");
I think you can Check the "tapestry.js" file, it will give you a lot of
exemples of how to register a new validation method.
I think you only have to contribute to the Tapestry.validator object adding
your own method using the "addValidator" method on Tapestry object.
So you have to add your own
I suspect you have an accessor hardcoded to get/set a
java.util.ArrayList. java.util.Arrays$ArrayList implements List but
does not extend java.util.ArrayList. Check to see if you're explicitly
using the implementation class (ArrayList) when your method should
really only get/set something tha
Hi,
Can Hibernate Validator framework be used with Tapestry-Hibernate? Thanks,
A.C.
--
View this message in context:
http://www.nabble.com/T5%3A-Tapestry-Hibernate-and-Hibernate-validator-tp16198439p16198439.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Hi Christophe,
Thanks, it works, here is a new validator, it's working but seems lacking
something in javascript, always has this pop up: function
Tapestry.validator.empty() does not exist for field 'name', any idea how to
add this to the js? thanks.
A.C.
public class Empty extends AbstractVal
nice implementation!
i want to implement it into the t5component project ...
is that problematic for you ?
2008/3/21, Davor Hrg <[EMAIL PROTECTED]>:
>
> it is just what the exception says:
> class de.hsofttec.tapestry.components.grid.ZebraGrid overrides final
> method
>
>
>
> tapestry core compoen
Hi all,
we are working on migration of tapestry4.0.2 to 4.1.5
we've changed
1. Ajax directlink to directlink
2. AjaxForm to Form
3. added a method in IpropertySelectionModel (
isDisabled() )
4. changed tacos dialog t
it is just what the exception says:
class de.hsofttec.tapestry.components.grid.ZebraGrid overrides final method
tapestry core compoennts are being rewritten to
disallow extending (quote: for client code to be less dependant, and
framework easier to maintain)..
for zebra effect.. may I suggest :
hi there,
i realized the zebra effect before release 5.0.11
with a ZebraGrid class extends from Grid component.
public class ZebraGrid extends Grid
{
private boolean _even = true;
/**
* return the row class to enable the zebra look.
*
* @return the row class
*/
St
Hello
You have to specify a constraint : validate="require,uppercase=..."
If you want to create a validator without any specific constraint (like the
required validator which describes itself as a constraint), use Void for
constraint type:
public class UpperCase extends AbstractValidator
...
Hi,
You are correct, it is called when it is used, however I got this error:
[ERROR] RequestExceptionHandler Processing of request failed with uncaught
exception: Could not convert 'required,upperCase' into a component parameter
binding: Validator 'upperCase' requires a validation constraint (of
There is another approach to testing where javascript is on the client, that
is to use htmlunit.
HtmlUnit is great, but it can be a big effort to get it going. I came to it
via PushToTest. PushToTest wraps up a lot of things and basically relies on
HtmlUnit 1.13 I think, along with a patch. In the
Method parameter types contain generic information just like
properties and method return types. It is quite similar to stuff
in property conduit source.
Davor Hrg
On Fri, Mar 21, 2008 at 6:41 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> Yes, I think the generics logic isn't smart enough f
We are going to use Tapestry 5 for a ligthweight framework and provide
some added-value for example in terms of automatic JTA transaction
managment through a decorator.
According to the documentation of the Match annotation, it is not
possible to use symbols for its value.
If it were the case, we c
hmm.
I'm also interested in a solution for this issue..
anyone?
c)hristian
Robin Helgelin wrote:
>
> Any help on this? Howard?
>
> On Sun, Mar 16, 2008 at 12:16 PM, Robin Helgelin <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> This is my SaltSource service from tapestry5-acegi package.
>>
>>
Hello
Can you give us the code that uses your validator ?
The service is loaded only when needed (and so its "contribute" methods)
At least, I think that every service that is not "EAGER" is loaded only when
needed.
Christophe.
-Message d'origine-
De : Angelo Chen [mailto:[EMAIL PROTEC
38 matches
Mail list logo