Hi
Well to add to it, you should use @OnEvent(component = "form", value =
EventConstants.VALIDATE) instead of onValidateFromForm().
read more about why to prefer it in later part of this recent thread
http://tapestry.1045711.n5.nabble.com/Form-using-both-a-zone-and-no-zone-td4635695.html
regards
Hi
OnValidate is called for each form component and the form so if you want it
only for the form try onValidateFromForm()
Regards
Taha
On Jul 28, 2011, at 11:56 AM, Gunnar Eketrapp wrote:
> Hi!
>
> Maybe a newbie question but I have been on vacation for a month.
>
> Why does onValidate get
It doesn't. It gets called 5 times. ;)
the "validate" event is fired by each form field and also by the form. You
have four form fields (four selects) + the form. 4+1=5, so the behavior is
expected.
You can make the event handler more specific:
onValidateFromForm
would only be called 1x, to
Hi!
Maybe a newbie question but I have been on vacation for a month.
Why does onValidate get's called four times when I submit form below.
Thank's in advance!
/Gunnar Eketrapp
Form looks like ...
Mötesordförande:
Sekreterare:
Justerare:
worked great! thanks!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/simple-chenillekit-button-question-label-doesn-t-show-up-tp4640331p4640872.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Hi
I had posted this problem in tynamo's mailing list but I not sure how
active it is.
We have a setup.
Tapestry5 : 5.25
tapestry-security : 0.4.0
and at startup we have this warning
[WARN] TapestryModule?.HttpServletRequestHandler? Unable to add
'StoreIntoGlobals?' as a dependency of 'Securit
Taha, it works! Thanks so much.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-Forum-tp2404216p4640804.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-m
Hi
Put Confirm.java in your mixins packages. If your application package
is "com.company.product", then your mixins package will be
"com.company.product.mixins". Put the confirm.js in the same package
but in "src/main/resources" source folder.
So the structure will be
src/main/java/com/company/p
Come on guys, please help a fellow newbie tapestry here :) Taha provided me
with those two links, one is confirm.js another is Confirm.java. How do I
incorporate that in my Grid action hyperlink?
TIA
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-Forum-tp2404216p
${message:button.testBuild}
-
http://www.winfonet.eu
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/simple-chenillekit-button-question-label-doesn-t-show-up-tp4640331p4640493.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
html-Buttons display whatever is between opening and closing tag. So just
place the text you want displayed between opening and closing tag in your
tml.
-
http://www.winfonet.eu
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/simple-chenillekit-button-question-label-do
If you need ObjectState in your component, use @Parameter. Forgot to mention
that in my earlier post.
-
http://www.winfonet.eu
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Saving-using-form-zone-tp4639355p4640463.html
Sent from the Tapestry - User mailing list archiv
Hi,
I have a chennilekit button, but the label that I give doesnt show up and
just a blank button appears. I check the docs and there is no 'value'
param...
http://www.chenillekit.org/chenillekit-tapestry/ref/org/chenillekit/tapestry/core/components/Button.html
So how do I give a label for the
Yup I agree, I moved session state away from my component earlier.
I suppose your code looks a bit more elegant than my awful looking condition
statement :) I'll remember this technique going forward. Thanks!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Saving-using-f
Thanks, I'll use tapestry 5.2.5 in the meantime.
Zubair
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry5-jQuery-integration-and-tap-5-3-tp4640114p4640202.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
Hi George,
I' move
@SessionState
private ObjectState objectState;
away from Component.class and make it a field of both of your page classes.
You're using a SSO anyway so there's no point in fumbeling around with
acrivation contexts.
And this looks a bit awfull
void setupRender() {
if((objectS
Much better solution, Thanks Thiago. Sorry about all the questions, first
really complex backend project. You guys have really helped a ton.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Saving-using-form-zone-tp4639355p4639921.html
Sent from the Tapestry - User mailing
Thanks Howard,
I have attached a small screenshot.
Regards,
Joakim
On Wed, Jul 27, 2011 at 7:22 PM, Howard Lewis Ship wrote:
> I haven't run this, but once I realized what it was referring too, I'm
> sure it's very nice. Including a screen shot would be worth a lot!
>
> The "JIRA version numb
I'd have a single onActivate(EventContext context) method instead of two.
On Wed, 27 Jul 2011 15:45:16 -0300, George Christman
wrote:
does anybody see anything wrong with doing something like this
Previous Page
New PurchaseRequest class.
Object onActivate(String newPr) {
if(
does anybody see anything wrong with doing something like this
Previous Page
New PurchaseRequest class.
Object onActivate(String newPr) {
if("new".equalsIgnoreCase(newPr)) {
purchaseRequestState.setPurchaseRequest(new PurchaseRequest());
return Purc
Well the only reason I'm using a Zone update on the form is because I need to
save new addrow data contained within a popup box to the user session and
then reload the form with select menus containing the addrow data. When I
use to submit the request without using the zone update, the page would
I haven't run this, but once I realized what it was referring too, I'm
sure it's very nice. Including a screen shot would be worth a lot!
The "JIRA version number selector" he reference to how version numbers
are selected in JIRA. It's an auto-completing text field; when a
match is selected, it
Hi everybody,
I am following the users guide
(http://tynamo.org/tynamo-federatedaccounts+guide) of tynamo to develop my
first facebook app in tapestry.
I have the facebook app configured:
Site URL: http://localhost:8080/
Site Domain: localhost
Canvas Page: https://apps.facebook.com/kadotest/
Canv
No, i have not a security manager.
In fact, I just what's in the tutorial (the minimum)
thanks for your help ;)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Issue-with-tapestry-tutorial-tp4633740p4638581.html
Sent from the Tapestry - User mailing list archive at Nabble.
I have this jar in my classpath:
-tapestry-hibernate-core-5.2.5
-hibernate-core-3.6.0.final.jar
-hibernate-common-annotations-3.2.0.final.jar
-hibernate-jpa-2.0-api-1.0.0.jar
-hibernate-c3p0-3.6.0.jar
It's not normal?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Issue
George Christman wrote:
>
> Prior to converting my form to use a zone update, I use to save the form
> to the session then reload the update page with previous session data,
> however when using the zone update, it no longer redirects to the update
> page.
>
A Zone is used to only update its con
Hello, I'm using a form zone to handle saves to the user session, "SSO". I
have a Create and Update page that both share a single component containing
the form data. Prior to converting my form to use a zone update, I use to
save the form to the session then reload the update page with previous
ses
Hi,
I just released tapestry-tagselect which is a select component similar
to the version select in recent JIRA-versions.
See https://github.com/argoyle/tapestry-tagselect for more information.
The artifacts should be available in Maven central within an hour or so.
Regards,
Joakim
---
George Christman wrote:
>
> Nillehammer, I don't mind. I've been an interface designer for years, so
> moving to the backend I'm rather green. I am very confused with how to use
> annotations in my situation, so I'm going to post a snippet of my code and
> hopefully you guys will be able to help
On Wed, 27 Jul 2011 03:38:43 -0300, Stephan Windmüller
wrote:
This would put the radio group inside a single column. But as I stated
in my first e-mail, the options should be split among many columns. Here
is an example (view with a fixed font):
/-
On Wed, 27 Jul 2011 10:19:18 -0300, George Christman
wrote:
opps my save is backwards in my previous example
@CommitAfter
@OnEvent(value = EventConstants.SELECTED, component = "update")
Object updatePurchaseRequest() {
purchaseRequestState.setPurchaseRequest(getPurchaseRequest());
opps my save is backwards in my previous example
@CommitAfter
Object onSelectedFromUpdate() {
purchaseRequestState.setPurchaseRequest(getPurchaseRequest());
return formZone.getBody();
}
Object onSelectedFromSave() {
session.saveOrUpdate(getPurchaseRequest());
ret
Nillehammer, I don't mind. I've been an interface designer for years, so
moving to the backend I'm rather green. The more I can learn the better. I
am very confused with how to use annotations in my situation, so I'm going
to post a snippet of my code and hopefully you guys will be able to help
cla
AHennion wrote:
>
> I have this jar in my classpath:
> -tapestry-hibernate-core-5.2.5
> -hibernate-core-3.6.0.final.jar
> -hibernate-common-annotations-3.2.0.final.jar
> -hibernate-jpa-2.0-api-1.0.0.jar
> -hibernate-c3p0-3.6.0.jar
>
> It's not normal?
>
That looks good. Second question, Do you
On Tue, Jul 26, 2011 at 11:48 PM, nillehammer <
tapestry.nilleham...@winfonet.eu> wrote:
>
> Dragan Sahpaski wrote:
> >
> > Interesting,
> > As I never had used annotations for event handlers in any project so far.
> > I choose the name of the event to imply what is needed to be done in the
> > m
nillehammer wrote:
>
> I think, in the version you updated from there was no index page but still
> the start page mechanism.
>
No i commented it out in my AppModule ...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Error-page-recipe-not-working-anymore-after-update-t
36 matches
Mail list logo