Quoting Ulrich Stärk <[EMAIL PROTECTED]>:
Come on, you could really invest some mental effort instead of asking us
to do your work... It's not working out of the box, that much is clear.
But you don't have to use two forms either...
Thanks for the example Uli. Contrary to what you may think,
Further to this, I can see it can be done using two forms, but that
isn't very nice.
As this is such a common requirement (and one that I used without
problems in an application using Tapestry 3) I am somewhat surprised
that there are no examples offered as to how to do this in Tapestry 5
Quoting Ulrich Stärk <[EMAIL PROTECTED]>:
Do a form submit upon selecting something in the first dropdown, then
render the second dropdown according to the selection made. And vote for
https://issues.apache.org/jira/browse/TAP5-138.
Thanks, but I must be doing something wrong as I cannot get
Anyone?
Quoting [EMAIL PROTECTED]:
I have a select dropdown that will determine what is displayed in a
second dropdown. Both of these are in a form.
Am I correct in thinking that this cannot be done using Zones (I seem
to recall a recent posting that said it was not possible if it's
inside
I have a select dropdown that will determine what is displayed in a
second dropdown. Both of these are in a form.
Am I correct in thinking that this cannot be done using Zones (I seem
to recall a recent posting that said it was not possible if it's
inside a form).
In that case, how can
Thanks!
Quoting Ulrich Stärk <[EMAIL PROTECTED]>:
Select is what you want. The HTML specs specify a size attribute for the
select HTML element which indicates how many entries should be displayed
at a time. size=1 (default) would be a dropdown list.
HTH,
Uli
Am Mo, 6.10.2008, 11:33, schrieb
Is there no such thing as a Select List in T5?
I see "pallete" and "select", but they aren't suitable (I have a long
list of data that I want selectable - only one selection at a time -
in a scrolling list).
thanks,
p.
---
Quoting "Filip S. Adamsen" <[EMAIL PROTECTED]>:
Hi,
This was changed between 5.0.14 and 5.0.15 and subsequently reverted in
5.0.16. See https://issues.apache.org/jira/browse/TAPESTRY-2675.
-Filip
Ok, thanks. That will be why.
cheers,
p.
Hi,
I am implementing an access controller as specified in the Wiki HOW-TOs
http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess
On a logout ActionLink I do:
return Index.class;
In the past this has been working fine. Today I tried using the link
and I get an exception:
[ERROR]
This is probably some silly problem and it isn't really Tapestry
related (sorry :-( ), but I'm getting so flummoxed I thought I'd ask
here...
I deleted my .m2 repository and changed the POM to get Tap 5.0.15 plus
added a dependency to get tapestry-spring. In Eclipse I then did a
Maven up
I know this is very early in the piece, but what do you intend to do
about indexing the book?
The Kolesnikov Tapestry book has one of the worst indexes I've ever
come across and stands as a good example of how not to do it.
Having a good index is a very important part of any successful
te
Quoting Hugo Palma <[EMAIL PROTECTED]>:
You have two ways of setting the currUser DAO:
1. Copy fields from one object to another.
Just add this to your code:
currUser.setUsername(user.getUsername);
currUser.setPassword(user.getPassword);
.
You don't have to assign the currUser field. That
Hi,
I was just about to reply and say I solved it. Missing slash in the
location.href. The following works:
onclick="location.href='/Administration';"/>
thanks for your help.
p.
Quoting Martijn Brinkers <[EMAIL PROTECTED]>:
I'm not sure but I thinks it's a similar problem. It looks l
Thanks for the fast reply Martijn; that fixed the GIF asset.
However, I am still having problems with the Cancel button. I can
reference the Administration page as an asset, but obviously it then
does not get processed by Tapestry.
Thoughts, anyone?
p.
Quoting Martijn Brinkers <[EMAI
I don't quite understand why the following does not work and produces:
TapestryModule.RequestExceptionHandler Processing of request failed
with uncaught exception: Exception in method
uk.bl.dportal.pages.EditUser.onActivate(int) (at EditUser.java:40),
parameter #1: Coercion of bl_red_hundre
I have a form on a page and I have two buttons: Submit and Cancel. I
have handlers for both. However, because I need two of the fields to
be required, the client side checking never allows my handlers to be
called if no values are inserted in the fields and the user presses
Cancel.
How
Have the book printed by Lulu. In the Lulu project set the Royalties
to 0. Then when a copy is bought the customer will be paying for the
printing only. No royalties will be paid.
As the book is unlikely to sell tens of thousands of copies the amount
of money generated by royalties would
Thanks Howard.
My environment is that which is provided when Maven pulls in the files
when doing the tutorial. I'm trying this in a "bare bones" Tapestry
application.
p.
Quoting Howard Lewis Ship <[EMAIL PROTECTED]>:
It probably means that your build is not deploying the .tml file with
The Tapestry website says:
-
Under a typical Maven directory structure, the Java class for a
component might be
src/main/java/org/example/myapp/components/MyComponent.java. The
corresponding template will be
src/main/resources/org/example/myapp/components/MyComponent.tml.
From reading the documentation I am under the impression that during
form submission a VALIDATE_FORM event is emitted once. However, I
observe onValidate() being called for every component in the form, the
value from the component not being set until *after* onValidate has
apparently been c
I too have been trying to implement what is on the wiki.
This is really doing my head in (not helped by the fact the wiki
solution http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess
does not have all the "bits" of code necessary for a newbie like
myself to get it working. For insta
I've been trying to use the same code.
The problem lies apparently in the fact that the class returned by
getAnnotation is not Private but a proxy...
...
page anno class=$Proxy40
...
Quoting Moritz Gmelin <[EMAIL PROTECTED]>:
Hi,
I think there is a bug in the Wiki. Try this instead
Again, I'm trying to follow what is in the Kolesnikov book and I can't
get it to work:
template:
value="Submit"/>
Sorry for another newbie question :-) but why does:
the name of the user
print "the name of the user" rather than "User Name" like it does in
the Kolesnikov book?
thanks,
p.
IgnoredPathsFilter: DEFINED
So that one should be ok. Is the page that you are testing with _really_
calling session.something? Tapestry lazy loads everything so Hibernate is
not really initialized without the call. Can we have the stack trace?
- 99
photos-4 wrote:
Quotin
he call. Can we have the stack trace?
- 99
photos-4 wrote:
Quoting 9902468 <[EMAIL PROTECTED]>:
Is the hibernate service initialized at all? When Tapestry starts it
lists
all known services, is Hibernate in that list?
- 99
It looks like it:
...
Quoting 9902468 <[EMAIL PROTECTED]>:
Is the hibernate service initialized at all? When Tapestry starts it lists
all known services, is Hibernate in that list?
- 99
It looks like it:
...
FieldValidationSupport: DEFINED
FieldValidatorDefaultSource: DEFINED
Thanks for your help, but so far no joy:
Quoting 9902468 <[EMAIL PROTECTED]>:
And of course, check that you have Hibernate and hibernate
annotation in your >libraries, they are NOT included automatically
by maven if maven is used.
The libraries appear in my repository and appear under "sou
Quoting 9902468 <[EMAIL PROTECTED]>:
Check that the
@Inject
private Session session;
session is org.hibernate.Session.
- 99
It is. I notice that when I switch on the mysql log that no attempt
is ever made to
access the db. Is there any kind of logging I can switch on from
Tapestry
I'm using Eclipse. The XML config appears in target/classes and
appears to be in the classpath.
I'm afraid I'm rather new to Tap 5 and also to Hibernate. I'm just
following what is in the Tutorial. Unfortunately the session is still
coming out as null.
Is there anywhere I can see that T
I am following the tutorial at
http://tapestry.apache.org/tapestry5/tutorial1/forms2.html
but I find that the session (supposedly injected) is null. I'm not
sure how to proceed.
Could someone point me to documents/better tutorials on how to use
Tapestry with Hibernate?
Thanks,
p.
---
Can someone knowledgable please comment on my query from yesterday?
I notice that t:if coerces number objects (Long, Integer, etc) and
tests for zero or
non-zero. I want to test for null or not null using a number data
type. Is there any way
to do this?
Thanks,
p.
---
I notice that t:if coerces number objects (Long, Integer, etc) and
tests for zero or non-zero. I want to test for null or not null using
a number data type. Is there any way to do this?
-
To unsubscribe, e-mail: [EMAIL
"remove" does not appear to work:
t:remove="id" t:row="listItem">
${listItem.article}
I have looked for previous advice on this and someone said that
"exclude" should
I am using the new book on Tapestry 5 by Alexander Kolesnikov and I
notice that there is a subtle difference between the Tapestry web
Tutorial and what is in the book:
that is the case, why is it missing in examples in the Tutorial?
Also, where is there anywhere I can see what tags are defi
Thank you Christian and Jonathan for your quick replies.
I'm not using Jetty Runner - I did install JettyLoader. I'm running
Jetty from Maven command line because, as I recall, that is what is in
the Tutorial. Anyway, the observed reloading behaviour is fine - I did
suspect that perhaps on
Hi,
I've had a look through the archive but haven't spotted an explanation
for my query.
I have used Tapestry 3 in the past and have just started looking at
T5. I have not used Maven before and part of my query probably relates
to that.
I have been doing Howard's tutorial and I note Mav
37 matches
Mail list logo