Hi..
I found a way to format ssn field using MaskEdit of contib library..
so..
works fine..
But how to make it a required field and how shall i customise the field..
Cos other fields are different from this..
This looks odd..
Thanks in advance
kk4Nabble wrote:
>
> Hi all,
> I was using taco
Thank you Taavi, it works now after I add these in pom.xml:
org.apache.tapestry
tapestry-annotations
${tapestry-release-version}
Taavi Sildeberg wrote:
>
> Hey
>
> You need to add tapestry-annotations dependency to the pom.xml. Seems,
> that cu
Hey
You need to add tapestry-annotations dependency to the pom.xml. Seems, that
current quickstart won't
include that
Taavi
Weisu wrote:
Hi All, I am trying to use quickstart to create a 5.0.12-SNAPSHOT project, I
follow the steps in T5 site,
mvn archetype:create -DarchetypeGroupId=org.apache
org.apache.tapestry.v5
+1
Hi All, I am trying to use quickstart to create a 5.0.12-SNAPSHOT project, I
follow the steps in T5 site,
mvn archetype:create -DarchetypeGroupId=org.apache.tapestry
-DarchetypeArtifactId=quickstart -DgroupId=org.example -DartifactId=myapp
-DpackageName=org.example.myapp -Dversion=1.0.0-SNAPSHOT a
if T5 willBeCompatibleWith T(5+n)
andT5 shouldWorkWith T(5-n)
then rename T(5-n) annotations packages;
else if T5 willBeNotCompatibleWith T(5+n)
then rename all Tapestry packages;
Marcus
where can i get the referrence about tapestry?
for example,the referrence about annotation,component,etc.
thanks.
--
View this message in context:
http://www.nabble.com/where-can-i-get-the-referrence--tp17333433p17333433.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
I was just googling around the Internet for people with Wicket problems and I
ran across this highly obnoxious post and felt I should comment.
If the research was real, the poster would have linked to it. In fact,
nobody has any real basis short of a widespread statistical survey for
assessing t
Problem fixed ... it appears the form doesn't emit a "validate" event, it emits
a "validateForm" event!
Toby
- Original Message
From: Toby Hobson <[EMAIL PROTECTED]>
To: tapestry
Sent: Monday, 19 May, 2008 11:17:44 PM
Subject: T5 cross-form validation
Hi
According to the T5 site:
"
Anyone out there on the list?
Sorry this is not a Tapestry 5 issue, but could you please point me to an
earlier discussion on this issue, if you know of one.
This is really frustrating me.
Thanks
--
Best regards,
Davidmailto:[EMAIL PROTECTED]
___
Again, the differences between T3, T4, and T5 are not really
"versions" in the typical sense. They're different architectural
bases. You might call them three different web frameworks entirely.
So there should be no reason technically for them to overlap, and they
should have three diffe
Hi
According to the T5 site:
"After the fields have done their processing, the Form emits a"validate" event.
This is a chance to perform cross-form validationthat can't be described
declaratively."
I understood this to mean that a validate event will be fired after the
individual fields have
Actually, I think it's aimed at people that want to use both T4 and T5 in
the same WAR. For example, I have a set of data objects in one package
shared between a T4 and a T5 app. I'm not about to rewrite that T4 app, os
that's a non-starter. Unfortunately, this also means I can't use any T5
anno
I'm not against a package rename but against the version number.
The only benefit of putting a version number in, is to help tap4 users
now. But who will care about tap4 in 2 years?
The version number will still be in the code base by then.
If the official version number of tapestry is changing fr
I have a Form and a Grid on my search page. The Form's success handler
populates a List results variable using an expensive query that I'd
like to not run on every Grid page navigation. To prevent unnecessary
query hits I use the @Persist annotation on the results var. The
getResults method is used
markus,
i voted for package renaming like "org.apache.tapestry5"
but i go even conform with your mind.
if i read the reason for the package renaming, i was relay
alienated for that,
but on the other side, i am not sure, its more easier for
some tap4 user to migrate slowly to tap5.
but i am not
This is a bit of a red herring. I can understand the reluctance from
one perspective, but it might help to think of it not as tapestry v3,
v4, and v5, but as first-web-framework, another-web-framework, a-
different-web-framework. They're not the same, though they are
similar in some archit
I've been using Tapestry since v3. I have a Web suite (for lack of better
terminology) with a T4 public app and a T5 management app, using Cayenne ROP
to link between the two. Yet, I cannot think of a situation in which I
would ever have what you're looking at below. I'm not saying it's not
vali
I'm with Markus.
Personally, I'm kind of shocked this is even under consideration.
"Versioning" your package structure is a band-aid to the real problem,
which is people not being able to control their class-loaders.
If you deploy your Tapestry 4 app in one WAR and your Tapestry 5 app in
another
You have a point, but:
"You form a unique package name by first having (or belonging to an
organization that has) an Internet domain name, such as sun.com. You
then reverse this name, component by component, to obtain, in this
example, com.sun, and use this as a prefix for your package names,
I'm not sure that this would be considerably different from how things are
generally done anyway. A class added in JDK5 is expected to work in 6+.
Granted there's not a different package for each Java release, but I doubt
it would cause as much confusion as you think.
Actually, now that I think a
Toby,
You should just be able to add the following to your pom.xml in the
appropriate places:
t5components
T5Components Maven Repository
http://87.193.218.134:8080/t5components/maven-reposi
Looks like I am alone but I don't like the idea of putting version
numbers into package names.
In the highly unlikely case that there will be a tapestry 6 (not for
technical but solely for marketing reasons ;-)) it might confuse
developers. Are the classes in tapestry5 still valid or not?
Only dev
Andreas,
thanks for the reply!
--> how did you enable the IFrame transport?
i added "dojo.require("dojo.io.IframeIO");" to a script file. However, this
was insufficient. IframeTransport.canHandle() fails for two reasons:
- the response type that tapestry was requesting was "text/xml" - and
I agree.
> -Original Message-
> From: Massimo Lusetti [mailto:[EMAIL PROTECTED]
> Sent: 19 May 2008 16:02
> To: Tapestry users
> Subject: Re: Instability in Tapestry 5.0.12-SNAPSHOT
>
> On Mon, May 19, 2008 at 4:57 PM, Howard Lewis Ship <[EMAIL PROTECTED]>
> wrote:
>
> > The question is: w
Hi, examples q 2 differences directory of the tapestry:
(example) - 1
--> Org.apache.tapestry
(sources)
--> org.apache.tapestry3
(sources)
--> Org.apache.tapestry4
(sources)
--> org.apache.tapestry5
(example) - 2
--> Org.apache.tapestry
(sources)
--> org.apache.tapestry.v3
But, it's a short-hand for Tapestry5. So, what does tapestry.t5 gain
you that tapestry5 doesn't?
--
Kevin
On May 19, 2008, at 1:25 PM, Darío Vasconcelos wrote:
+1 on org.apache.tapestry.t5. T5 is a widely used acronym both in the
mailing lists and many web posts.
Dario.
See http://trac.dojotoolkit.org/ticket/524
Unfortunately, dojo decided to skip support for XML return types for IframeIO
(which is needed for file uploads) due to problems with making it cross-browser.
What this basically means for Tapestry is that async submit of forms
having files
cannot return
Directly adding a tapestry url also works
404
/NotFound.html
That was in T4 that used the servlet (instead of filter) approach...
perhaps it also
works in T5.
On Mon, May 19, 2008 at 5:35 PM, Toby Hobson <[EMAIL PROTECTED]> wrote:
> Given that a JSP is basically a servlet, why not do some
+1 on org.apache.tapestry.t5. T5 is a widely used acronym both in the
mailing lists and many web posts.
Dario.
On Mon, May 19, 2008 at 12:14 PM, Tomasz Dziurko <[EMAIL PROTECTED]> wrote:
> +1 on org.apache.tapestry5
>
> --
> Tomasz Dziurko
>
>
+1 on org.apache.tapestry5
--
Tomasz Dziurko
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On May 19, 2008, at 10:57 AM, Howard Lewis Ship wrote:
The question is: would it have been better to just broadly rename
org.apache.tapestry to org.apache.tapestry5? There was quite a bit of
discussion back on forth among the developers on this one.
+1 on this. Unfortunately, I was too busy
I do not quite understand where to put the annotation. I haven't got any code
where I'm referencing a classloader explicitly. I must be something missing
here?..
Howard Lewis Ship wrote:
>
> Add the injection point (i.e., the constructor parameter) add either
> the @Builtin or the @ComponentLa
Hi
1. For error message: My practice is to clean the form in page's cleanupRender
phase.
Page.java
@Component
private Form form;
void cleanupRender() {
form.clearErrors();// clear error message
}
After then, if you reenter the page, error message would be gone.
2. For form value
I think org.apache.tapestry5 or org.apache.tapestry.v5 (or similar)
carries no or little difference in technical difficulty when it comes
to refactoring existing T5 apps. For that reason, I personally will
happily accept either way, as long as refactoring happens at the root
level of package hierar
According to java package naming conventions [1] the package name should
reflect the domain of the developing organization which is
org.apache.tapestry and not org.apache.tapestry5. These conventions are
there for a purpose (in this case to ensure uniqueness of package names
by using DNS names
For what its worth:
+1: org.apache.tapestry5
On Mon, May 19, 2008 at 4:42 PM, Sven Homburg <[EMAIL PROTECTED]>
wrote:
> my vote for "org.apache.tapestry5"
>
> 2008/5/19 Howard Lewis Ship <[EMAIL PROTECTED]>:
>
> > A few people have noticed some significant changes in Tapestry
> > 5.0.12-SNAPSH
my vote for "org.apache.tapestry5"
2008/5/19 Howard Lewis Ship <[EMAIL PROTECTED]>:
> A few people have noticed some significant changes in Tapestry
> 5.0.12-SNAPSHOT.
>
> What's going on is a limited number of interface and package renames
> to support deploying Tapestry 3 or 4 and Tapestry 5 in
Tapestry group, is "org.apache.tapestry"
more different version: v3, v4 and v5. Because v5 version is 5.0.4, 5.0.5,
... and 5.0.11.
Then: org.apache.tapestry.v3, org.apache.tapestry.v4 and
org.apache.tapestry.v5
I am speaking OPINION!
--
Regards,
Estevam Henrique Portela Mota e Silva
Handicap
+1 org.apache.tapestry5... now or nevern! :) this will make it much easier
to add new
t5 pages to existing t4 applications.
"Thiago HP" <[EMAIL PROTECTED]>
19.05.2008 17:10
Bitte antworten an
"Tapestry users"
An
"Tapestry users"
Kopie
Thema
Re: Instability in Tapestry 5.0.12-SNAPSHOT
I'd rather suggest org.apache.tapestry.t5 or .v5. Entirely an
aesthetic thing, but just putting it out there. Clearly there's no
semantic difference.
Christian.
On 19-May-08, at 11:02 , Massimo Lusetti wrote:
On Mon, May 19, 2008 at 4:57 PM, Howard Lewis Ship
<[EMAIL PROTECTED]> wrote:
+1 org.apache.tapestry5. Less margin for confusion, as the difference
between package names wouldn't be hust a 's' letter. The more
explicit, the better.
Thiago
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
+1 org.apache.tapestry5. Refactor once, have piece of mind forever.
On Mon, May 19, 2008 at 9:57 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> A few people have noticed some significant changes in Tapestry
> 5.0.12-SNAPSHOT.
>
> What's going on is a limited number of interface and package re
On Mon, May 19, 2008 at 4:57 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> The question is: would it have been better to just broadly rename
> org.apache.tapestry to org.apache.tapestry5? There was quite a bit of
> discussion back on forth among the developers on this one.
I would say yes.
I'm sure there are many ways of doing this but here is an idea:
Page.java
@Persist("flash")
private Card selectedCard // or you could use the primary key if your Object
has one
@Property
private Card card // this is the current card the loop is processing
void onActionFromSelectCard(Card card)
A few people have noticed some significant changes in Tapestry 5.0.12-SNAPSHOT.
What's going on is a limited number of interface and package renames
to support deploying Tapestry 3 or 4 and Tapestry 5 in the same web
application (WAR).
Most of the conflicts were related Tapestry annotations in T4
Add the injection point (i.e., the constructor parameter) add either
the @Builtin or the @ComponentLayer annotation. This marker
annotation will select the correct implementation: either the general
ClassFactory (used by the IoC container) or the one used when working
with component code. You pr
Hi,
I have a loop with elements from type "Card".
Initially the loop shows as many (same) images as there are in the Vector
"cardsLayout".
If I click on one of these pictures I would like to show the card's text in
place of this picture.
Something like:
if image at position of card with id=4 ge
After trying to async submit a form with a file upload field for a few hours I
trolled around the message board and JIRA and ran across this:
http://issues.apache.org/jira/browse/TAPESTRY-1348
Is trying to async submit a form with a file upload field a DEAD END?
We tried to add the IFrame trans
Given that a JSP is basically a servlet, why not do something like
<%
response.include(request.getContextPath() + "/MyTapestryErrorPage);
%>
from your jsp exception page
btw I can't remember - can you map an exception handler to a servlet in web.xml?
Toby
- Original Message
From:
On 5/19/08, Filip S. Adamsen <[EMAIL PROTECTED]> wrote:
> Now why hadn't I thought of that... :D
Sometimes, a solution is so simple that we unconciously search for
more complicated ones . . . :)
> Thanks!
You're welcome!
--
Thiago
-
Now why hadn't I thought of that... :D
Thanks!
-Filip
Thiago HP skrev:
On 5/19/08, Peter Stavrinides <[EMAIL PROTECTED]> wrote:
To configure:
You would simply use a standard JSP / HTML error page, and wire it in your
web.xml. I am using Tomcat and it works great... works on Jetty too.
Som
Hi,
It looks like this:
public interface RedirectService {
void sendRedirect(Class pageClass, boolean override, Object...
context);
}
Implemented as:
public class RedirectServiceImpl
implements RedirectService {
private final ComponentClassResolver componentClassResolve
On 5/19/08, Peter Stavrinides <[EMAIL PROTECTED]> wrote:
> To configure:
> You would simply use a standard JSP / HTML error page, and wire it in your
> web.xml. I am using Tomcat and it works great... works on Jetty too.
Something I've done once is to setup a 404.html page that redirects to
a Ta
Hi, i have a left menu with a link (Add new Item). When i press the link, i
go to a form to create a new Item. If i have some server side validation
error, the error messages are shown on the screen, but the issue is that if
i press the Add new Item from the left menu, the form does not clean itsel
Yep, using "before:RootPath" as a constraint when registering my
Dispatcher did the trick.
Thanks.
Chris Lewis wrote:
> Hi,
>
> This is probably correct. The handling of 'mapping' your app's default
> page is also accomplished by a dispatcher. I /think/ its name is
> 'RootDispatcher' but don't qu
Hi,
This is probably correct. The handling of 'mapping' your app's default
page is also accomplished by a dispatcher. I /think/ its name is
'RootDispatcher' but don't quote me on that - look for details in
TapestryModule. If you want your dispatcher to fire first you'll need to
place it :before th
I've registered a Dispatcher class which works just fine except when the
page name is not specified in the URL.
So, if i put http://localhost:8080/mycontext/start the Dispatcher is
called like expected, but if i access http://localhost:8080/mycontext/
although the same start page shows up the Dispa
Hello
You can take a look at the 'volatile' parameter of loop component.
Default is false.
Christophe.
-Message d'origine-
De : Leon Derks [mailto:[EMAIL PROTECTED]
Envoyé : lundi 19 mai 2008 13:51
À : Tapestry users
Objet : Error serializing component action for component Gears:loop:
H
depends on the volatile attribute of the loop component and if
your loop is inside a form.
by default it is set to "true", meaning that every item of the loop
is serialized to a hidden field of the form component. on submit
tapestry will deserialize the objects again.
also if you have a ValueEnco
Hello
I did get the error :Error serializing component action for component
Gears:loop:
When I add "implements Serializable" to my Gear class everything works fine.
But I have also other objects that I looped throught with a
t:type="loop" but these objects didn't need an "implements Serializ
Hi list,
I'd like to know if there is a simple way to perform a periodic Ajax update
request.
I've invented hacked a solution using the Ajax.PeriodicalUpdater from
prototype.js. It involves putting an ActionLink on the page, giving it a
client id, making it invisible to the user (with display:
On Mon, May 19, 2008 at 10:20 AM, Kristian Marinkovic
<[EMAIL PROTECTED]> wrote:
> have you tried contributing an alias for your named service?
>
> take a look at
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/alias.html
Actually I manage to solve this via aliases by splitting my servi
I would definitely avoid using this:
private Matafuego matafuego = new Matafuego();
This is the correct way to initialize beans for forms
void onPrepare(){
if (matafuego == null)
matafuego = new Matafuego();
}
You shouldn't use/need a @Persist, at best a @Persist("flash") if you post to
th
On Mon, May 19, 2008 at 10:20 AM, Kristian Marinkovic
<[EMAIL PROTECTED]> wrote:
> have you tried contributing an alias for your named service?
>
> take a look at
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/alias.html
Yes, but wouldn't that break as several services implements the s
Just a little side note:
Filip is right, you can't use a Tapestry page for these, but that is probably
the correct behavior as this is a different type of error (an exception to the
rule if you like) which the server needs to handle by explicitly interrupting a
request/response and generating a
have you tried contributing an alias for your named service?
take a look at
http://tapestry.apache.org/tapestry5/tapestry-core/guide/alias.html
g,
kris
"Robin Helgelin" <[EMAIL PROTECTED]>
19.05.2008 10:09
Bitte antworten an
"Tapestry users"
An
"Tapestry users"
Kopie
Thema
Override ser
Hi,
I'm still trying to work around something I'm not really sure on how
to solve :)
My contribution looks like this:
public static void contributeHttpServletRequestHandler(
OrderedConfiguration configuration,
@InjectService("HttpSessionContextIntegrationFilter")
HttpServl
Hi Filip,
Thanks for your answer. I understand now.
But one final question. How does your redirectService looks like?
Leon
Filip S. Adamsen wrote:
Hi Leon,
How to override server error pages depends on what server you're
using. As far as I'm aware it's unfortunately not possible to use
Tape
69 matches
Mail list logo