Hi all,
I am having serious trouble validating RadioGroup components:
- JSR-303 or @Validate annotations do not work for RadioGroup
- if using validate=required instead, no client-side validation occur
- server-side validation is triggered, but no bootstrap error decoration is
displayed in the
Hi list,
When using JSR-303 annotations to validate domain objects,
tapoestry-beanvalidator builds the validation message through a call to the
JSR-303 implementation message interpolator, and then prepends the field
name.
For instance for a @NotNull annotation, the default message provided by
Hi list,
I'm using JSR-303 annotations. When validating a field from the page class,
it works as expected, and client-side validation is correctly triggered.
Page.java:
@NotNull
@Property
private String firstName;
Page.tml:
t:form t:id=fill
fieldset
t:label for=firstName
Hi Thiago,
Switched to beta-16 and yes it is fixed.
Thanks
Christian
2014-08-29 15:01 GMT+02:00 Thiago H de Paula Figueiredo thiag...@gmail.com
:
On Fri, 29 Aug 2014 06:41:26 -0300, Christian Dutaret
cdtapes...@gmail.com wrote:
Hi list,
Hi!
Have you tried one of the latest betas
Hi all,
I've seen a lot of people claiming that one should use Sysdeo plugin to
work with Tomcat under eclipse/Maven for T5 development, and that the
standard WTP plugin should be avoided, because it is supposedly buggy and
slow.
I've been using WTP plugin for years with other frameworks
back though and like everything else, it's likely to have been
improved since.
Kalle
On Mon, Aug 25, 2014 at 1:29 AM, Christian Dutaret cdtapes...@gmail.com
wrote:
Hi all,
I've seen a lot of people claiming that one should use Sysdeo plugin to
work with Tomcat under eclipse/Maven for T5
().getJSONObject(0).getInt(id);
...
}
HTH
Ch.
2008/1/2, caarney [EMAIL PROTECTED]:
Is anyone using this workaround on Tapestry 4.1.3? I'm getting some dojo
JavaScript error (o[i] has no properties), but it seems to work on Tap.
4.1.2.
Christian Dutaret-3 wrote:
I found a nice solution
]+;
Additionally, are email addresses like [EMAIL PROTECTED] allowed by the RFC?
They are allowed by some mail providers, I actually own one such address.
Ch.
2007/10/24, Ulrich Stärk [EMAIL PROTECTED]:
GMT +1
Uli
Christian Dutaret schrieb:
Thx for the swift fix. I've patched my code
-parrot.com/~pdw/Mail-RFC822-Address.html looks quite
interesting though ;)
Christian Dutaret wrote:
Hi all,
Occasionally, my T4.1.3 application running on tomcat/jdk5/linux
gets to
take 100% CPU and then never release it until I restart the JVM.
Doesn't
happen too often, maybe 5
Sorry, mistakenly hit Reply to all and sent you the email to your address
too...
2007/10/16, Christian Dutaret [EMAIL PROTECTED]:
I have something similar to your case 2, except that instead of :
div id=signonBlock
I have :
div jwcid=[EMAIL PROTECTED]
(the updateComponents attribute refers
https://issues.apache.org/jira/browse/TAPESTRY-1784
2007/9/27, Jesse Kuhnert [EMAIL PROTECTED]:
Always need a JIRA issue. (but only if you want reported problems fixed)
On 9/24/07, Christian Dutaret [EMAIL PROTECTED] wrote:
Hi all,
I just tried using the rounded corners service. I'm
Hi all,
I just tried using the rounded corners service. I'm have trouble with side
shadows generation:
1) Side shadows are always generated as PNG images. This shouldn't be too
much of a problem since it doesn't seem to be using any transparent
background, and I don't need to support very old
.
Renat
On 10/09/2007, Christian Dutaret [EMAIL PROTECTED] wrote:
Hi all,
I have many complaints from users using my T4.1.2 application from
behind
some proxy servers. Basically, all JS/Ajax stuff gets broken.
Unfortunately I don't have any proxied environment available here
That's good news. Thanks.
Anyone behind a Micro$oft proxy? (don't ask me why I ask this, pure
speculation...)
2007/9/12, Johan Maasing [EMAIL PROTECTED]:
And since you do use such a proxy, could you try one of my pages :
http://www.hyperassur.com/assurance-auto-recherche.html and then click
Hi all,
I have many complaints from users using my T4.1.2 application from behind
some proxy servers. Basically, all JS/Ajax stuff gets broken.
Unfortunately I don't have any proxied environment available here, and no
way to build one (our web access is shared across several companies, and
they
Did you try to replace getLoggedIn() by isLoggedIn()?
2007/6/28, Bastian Voigt [EMAIL PROTECTED]:
Oh I forgot to say that all this was working with Tap 4.1.1
Bastian Voigt wrote:
Hi *,
we have the following problem with both OGNL 2.7.0 and OGNL
2.7.1-20070625 on Tap 4.1.2 with a construct
Hi all,
I'm French too and I use Tapestry for about one year now (and Java since
2000)
I am one of the owners of a company in Paris that runs a general public web
site in the insurance industry. I'm in charge of all tech stuff
Our website is developed using Tap4.1.2 (still using snapshots and
Marcos,
The concept of a presentation object model has a strong smell of bad design:
double hierarchy maintenance and transformation methods from/to both models
which are very error-prone. If you forget to assign a field in those
transformation methods, you can spend hours searching for the
/ forum.
On 6/7/07, Christian Dutaret [EMAIL PROTECTED] wrote:
Hi all,
I have a page with a js script that uses dojo wipe animation. Here is a
fragment of the js:
wi = dojo.lfx.html.wipeIn(node, 400, null, null);
wi.play();
This was working fine cross-browsers with whatever
standard way to
achieve the
same, which is async DirectLinks. Works like a charm now.
2007/6/8, Jesse Kuhnert [EMAIL PROTECTED]:
Don't specify submitForm =. It's not needed anymore.
On 6/7/07, Christian Dutaret [EMAIL PROTECTED] wrote:
Hi all,
My app has a page with a form having only hidden
I had issues with refreshing the content of a Dialog through XHR requests
I mean with 4.1.1
2007/6/8, Christian Dutaret [EMAIL PROTECTED]:
What version are you using? I had issues with refreshing the content of a
Dialog through XHR requests. That's actually what motivated the move to
4.1.2
with
cycle.getResponseBuilder().updateComponent(getClientId());
Same result ... The component is not refreshed.
Any idea ?
Stephane
Christian Dutaret a écrit :
If your submit is async, just specify your form component id (or any
component you want refreshed on submit) in the updateComponents
attribute of
the @Form
Hi all,
My app has a page with a form having only hidden fields. I use this form to
rewind some values on async events. This was working fine with T4.1.1. After
I upgraded to 4.1.2, and after some (unrelated) tweaks, it was also working
fine on my dev windows laptop.
After I deployed it on a
Hi all,
I have a page with a js script that uses dojo wipe animation. Here is a
fragment of the js:
wi = dojo.lfx.html.wipeIn(node, 400, null, null);
wi.play();
This was working fine cross-browsers with whatever version of dojo that came
with T4.1.1. After I upgraded to 4.1.2, it
If your submit is async, just specify your form component id (or any
component you want refreshed on submit) in the updateComponents attribute of
the @Form.
2007/6/7, Stephane Decleire [EMAIL PROTECTED]:
Hi,
I've got a signon form in a dojo Dialog box.
Is there a way to refresh the content of
they exist.
On 5/29/07, Christian Dutaret [EMAIL PROTECTED] wrote:
+1
Just tried an upgrade from 4.1.1 (large app) and it went more smoothly
than
I expected. A few OGNL and EventListener issues here and there, not too
difficult to fix.
When I have time, I'll post the OGNL issues I noticed
https://issues.apache.org/jira/browse/TAPESTRY-1527
2007/5/29, Jesse Kuhnert [EMAIL PROTECTED]:
Can you file a bug for this ?
On 5/29/07, Christian Dutaret [EMAIL PROTECTED] wrote:
Hi all,
I've been playing with the @Dialog component and EventListener
annotations,
and I am facing
Hi all,
I've been playing with the @Dialog component and EventListener annotations,
and I am facing a problem with the dojo js:
- the @Dialog component is initialized as hidden
- A user clicks on a link, which triggers an EventListener, which updates a
component that wraps the @Dialog and makes
+1
Just tried an upgrade from 4.1.1 (large app) and it went more smoothly than
I expected. A few OGNL and EventListener issues here and there, not too
difficult to fix.
When I have time, I'll post the OGNL issues I noticed (all related to the
way expressions like prop1.prop2[index] are handled -
What I do as a workaround is store the javascript parameters into form
hidden properties from within my custom javascript function. Since the
EventListener handler posts the form before calling the listener, I can
retrieve the values from there
HTH
Ch.
2007/5/8, [EMAIL PROTECTED] [EMAIL
I use @EventListener annotations to populate select boxes on T4.1.1 without
any problems on FF, IE6, IE7 and Opera (but not on Konqueror or Safari, but
this is another discussion).
IE has some known issues with ajax though. Maybe your problem is one of
those:
- with IE, if you update the select
Hmmm, just checked my own @If components, I have about 40% relying on the
default value to true.
I understand the logic behind this change, but this forces me to upgrade
quite a bunch of pages.
so: +0.5
2007/5/2, Patrick Moore [EMAIL PROTECTED]:
+1 default to false for @If/@Else
+1 default to
What I do is override the ExceptionPresenter service. My own implementation
somehow reads a system property, then redirects to either a custom generic
page or the standard tapestry exception page depending on the environment
(dev or prod).
2007/4/29, Jesse Kuhnert [EMAIL PROTECTED]:
Thanks
There's also the LabeledPropertySelectionModel, which is a wrapper around
your PropertySelectionModel that adds the default value (which resolves to
null on rewind)
2007/4/15, Bill Holloway [EMAIL PROTECTED]:
In my domain model, I have the ubiquitous Person class and lists of
these objs. to
not completely sure, but try imageAsset[book.isbn]
2007/4/12, Hoogeveen, Erik [EMAIL PROTECTED]:
This is because with parentheses ognl starts looking for a method and
not for a property.
See:
http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/index.html
for more info.
--
What are the drivers for you guys to decide when a version is considered
stable enough to be released? I'm not keen to use snapshot versions on a
production app, since it might break on the very day i'm building a new
version for deployment. For now, I stick to 4.1.1 (I know my app does work
with
Hi all,
I deployed a brand new web site which is based on T4.1.1 last week.
It has just began to be indexed on Yahoo search and Live search.
On both these search engines, whenever I request the cached page from the
search results, an alert box tells me Permission refused to obtain the
I use Tap 4.1.1-SNAPSHOT + Spring 2.0.1 + tapestry-spring 0.1.2 : works like
a charm (except some maven2 dependency oddities).
2006/12/7, Skorpien126 [EMAIL PROTECTED]:
Spring 2 is released and I want to know if it´s compatible with tapestry
4.0.2 or even with 4.1??? Is there maybe a new
Hi all,
I have a property selection that contains a string with accented characters,
which is created from a java string literal such as Mod\u00E8le (\u00E8 is
unicode for character 'è').
When the property selection is first rendered, it displays fine, but if I
update the property selection from
and the maven2 repository
http://howardlewisship.com/repository/com/javaforge/tapestry/tapestry-spring/
2006/11/22, Massimo Lusetti [EMAIL PROTECTED]:
And the archives...
On 11/22/06, James Carman [EMAIL PROTECTED] wrote:
Use anonymous/anon.
--
Massimo
http://meridio.blogspot.com
Actually it is validators=validators:$maxBean
Then in your bean's validate(...), you can access any page property that
way:
YourPage page = (YourPage) field.getPage();
YourPropertyType value = page.getYourProperty();
2006/11/17, Jesse Kuhnert [EMAIL PROTECTED]:
Define the max validator class
I still have the same problem with IE and DropdownDatePicker using today's
latest snapshot. I noticed some changes though. djConfig is different on IE
or firefox:
IE6: locale:fr
FF2: locale:fr-fr
Still works fine with FF, still broken on IE.
2006/11/9, Christian Dutaret [EMAIL PROTECTED]:
I
Just crossed my mind this could be a problem with some older version cached
in the browser. So I cleared IE cache and... everything works fine...
Sorry about all that noise
2006/11/13, Christian Dutaret [EMAIL PROTECTED]:
I still have the same problem with IE and DropdownDatePicker using
I use the defaults generated from the Shell component, except for some
logging setup (logging disabled), and I load dojo js through the asset
service using standard friendly urls.
Forgot to say I'm using 4.1.1, not tacos.
2006/11/8, andyhot [EMAIL PROTECTED]:
Christian Dutaret wrote
sure
djConfig =
{isDebug:false,debugAtAllCosts:false,debugContainerId:debug,baseRelativePath:
http://localhost:8080/ha/assets/static/dojo/
,preventBackButtonFix:false,parseWidgets:false,locale:fr-}
2006/11/9, andyhot [EMAIL PROTECTED]:
Christian Dutaret wrote:
I use the defaults generated
to check from which version it began to break, but
I remember seeing it working in IE not so long ago.
2006/11/9, Christian Dutaret [EMAIL PROTECTED]:
sure
djConfig =
{isDebug:false,debugAtAllCosts:false,debugContainerId:debug,baseRelativePath:http://localhost:8080/ha/assets/static/dojo
this on IE or is it just me?
2006/11/9, andyhot [EMAIL PROTECTED]:
Could be something similar to
http://issues.apache.org/jira/browse/TAPESTRY-1136
Can you change the default language to en-us in IE and see what happens?
In FF, is the djConfig identical?
Christian Dutaret wrote:
sure
the widget is not rendered at all under IE6. I get the error message : could
not locate implementation for dropdowndatepicker in dojowidget
registered to namespace dojo.
Works OK with firefox 2.0
Anyone experiencing the same?
rephrase the problem for more clarity:
span jwcid=[EMAIL PROTECTED]
span jwcid=@Radio id=userSuppliedId
/span
renders as:
input type=radio id=rd0 name=... id=userSuppliedId/
This double client ID prevents any custom js to act on the radio inputs.
Thanks
Ch.
2006/9/19, Christian Dutaret [EMAIL
On some pages with a lot of EventListeners, I also see this
tapestry.cleanConnect is not a function every now and then. When this
occurs, all the ajax stuff on the page won't work, since the connect events
are never executed. The problem only shows with Firefox, never with IE.
After I disabled
I tried to achieve the same thing some time ago, and I couldn't find
anything that would work with dojo and EventListeners.
As you mentioned, this is probably due to tapestry connect events being
called _after_ any point where we could insert any custom js.
The workaround I found to work
that will keep
displaying an animated gif until a long database transaction completes on
the server side (at least that is why I needed this).
2006/10/26, Daniel Tabuenca [EMAIL PROTECTED]:
Why not just use an @InvokeListener component as the last component in
your page?
On 10/26/06, Christian Dutaret
Hi all,
I am facing some performance issues with my application using the latest
4.1.1 snapshot :
- on page load, the browser freezes a few seconds (much better than the
earlier 4.1 releases, but still slow)
- some resources seem not to be cached by IE (it performs better with FF).
For instance,
If you want to stick to tomcat (tighter integration with eclipse through WTP
or other plugins, running webapps in debug, ...), there's a nice tutorial
for the setup at
http://mail-archives.apache.org/mod_mbox/maven-users/200608.mbox/[EMAIL
PROTECTED]
I use this and it works fine (although I had
Christian Dutaret wrote:
Hi,
Is it possible to have an EventListener for events on components within
a
@For loop? Typically, I have a set of radio buttons, which are rendered
from
@Radio components within a @For loop (with a surrounding @RadioGroup
component), and I want to invoke a listener
Hi,
Is it possible to have an EventListener for events on components within a
@For loop? Typically, I have a set of radio buttons, which are rendered from
@Radio components within a @For loop (with a surrounding @RadioGroup
component), and I want to invoke a listener whenever an onclick event
Hi,
I never tried it before last week's 4.1.1 snapshot.
Whenever I display a page using the @FloatingPane component, I get :
error log:
2006-10-02 10:39:27,046 WARN Asset - Classpath resource
'/dojo/../tapestry/widget/__package__.js' does not exist.
2006-10-02 10:39:27,062 WARN Asset -
still post a bug in JIRA anyways? This sounds like a
possible bug in one the services. (be as detailed as possible about what
you
did to have it happen, if that's possible..)
On 9/27/06, Christian Dutaret [EMAIL PROTECTED] wrote:
I was running my application with caching disabled on my dev
Hi all,
I am observing a very strange behavior with EventListener.
On a first example, I have a PropertySelection component that updates an
Insert component under onchange event using @EventListener annotation. Works
fine.
Now I have the same PropertySelection component (A), now updating
;-)
Thanks for the nice work again anyway
2006/9/27, Christian Dutaret [EMAIL PROTECTED]:
Hi all,
I am observing a very strange behavior with EventListener.
On a first example, I have a PropertySelection component that updates an
Insert component under onchange event using @EventListener annotation
User-supplied id attributes in @Radio components are not rendered properly
in Tap4.1. Both the user-supplied id and a RadioGroup id are rendered:
input type=radio name=RadioGroup id=RadioGroup0 value=0 id=myId/
This was working fine with Tap4.0.2
Ch.
2006/9/15, andyhot [EMAIL PROTECTED]:
Hi,
I would like to apply a css class to the input type=text generated by the
DropdownDatePicker component, in order to get a consistent lookfeel of my
pages. If I specify the class attribute to the DropdownDatePicker, it is
ignored. Is there any way to achieve this?
I use T4.1.
Thx
Ch.
it will be of some help.
http://issues.apache.org/jira/browse/TAPESTRY-1072
Let me know if the documentation hasn't made something clear after you try
it out and I can attempt updating with whatever relevant information there
is.
On 9/13/06, Christian Dutaret [EMAIL PROTECTED] wrote:
debug statement
Hi all,
I am trying to change the content of a dropdown list when some event occur.
I am using PropertySelection to render the dropdown list. I assumed that my
listener could change the component's PropertySelectionModel, and that
updateComponent would render the updated content, but this
I sent this message 12 hours ago, and I didn't see it appear on the list.
Maybe some moderator too busy fixing bugs ;-)
Sorry for double posting.
Here was my previous mail:
Hi all,
I am trying to change the content of a dropdown list when some event occur.
I am using PropertySelection to render
]:
It should work, I ~think~...What kind of response do you get from the
server
? (via the dojo debug statements or FireBug ? )
On 9/13/06, Christian Dutaret [EMAIL PROTECTED] wrote:
Hi all,
I am trying to change the content of a dropdown list when some event
occur.
I am using PropertySelection
It is actually very easy.
Download tapestry-spring.jar from Javaforge. Put the jar in your web app
classpath, then you can inject Spring beans into your page like this :
@InjectSpring(my.bean)
public abstract MyBeanType getMyBean();
(that is if you use annotations)
Further detailed
the SpringContext listener to web.xml as well?
Christian Dutaret [EMAIL PROTECTED] skrev i en meddelelse
news:[EMAIL PROTECTED]
It is actually very easy.
Download tapestry-spring.jar from Javaforge. Put the jar in your web app
classpath, then you can inject Spring beans into your page like
Firas A. a écrit :
Hello,
I'm using a custom validator (implements Validator) and the
ValidationDelegate.
I've verified that the custom validator I'm using is working correctly - the
getHasErrors() of the delegate returns true. But ValidationDelegate doesn't
decorate anything (no asterics, no
Hi,
I have a form which contains input fields (e.g. PropertySelection
components) within For loops.
I need to perform some custom validation, which sometimes acts across
several fields. I usually implement single-field validation through
validators, and cross-field validation in the listener
Hi,
As of Tapestry 4.0, RadioGroup components can be validated, but delegate
decorations are not rendered. Is this expected behavior?
If I can make a suggestion, prefix and suffix could be easily rendered,
and attributes could be rendered through an enclosing span tag (since
RadioGroup does
71 matches
Mail list logo