I want to add a component into a page dynamicly.For exmaple:
Test.jwc
http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd";>
add a description
Test.html
This is a test component.
TestPage.html
Page content goes here
TestPage.page
.
.
TestPage
Patrick Casey adelphia.net> writes:
> source = "ognl:theList"
> value="ognl:theItem"
> scope="row">
>
>
Try this:
-
To unsubscribe, e-mail: [EMAIL PRO
Leo Sakhvoruk gmail.com> writes:
> I was wondering where (i.e. form listener method)
> and how (what methods to invoke on the page/validator) to flag specific
> components inside the form with errors. I saw that the API for the
> IValidationDelegate has methods for FieldTracking but I can't fi
A small correction... I provide my own _non_lenient date formatter.
- Original Message -
From: "Bryan Lewis" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Tuesday, April 19, 2005 8:38 PM
Subject: Re: Date formatting validation "strange" behavior
> I believe you're seeing the "lenient"
I believe you're seeing the "lenient" behavior of the standard Java date
formatter; it happily accepts 28 as a month input and converts it to two
years and four months. I provide my own lenient date formatter:
/**
* This is expected to be our typical date format. A Tapestry
* dat
And that is how you would do it in Tapestry. Tapestry ignores any html
tags that do not have a jwcid attribute.
_
From: Tapestry Forum User [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 19, 2005 3:24 PM
To: tapestry-user@jakarta.apache.org
Subject: Displaying a remote site/ html inside
OK, so I have the following:
.page:
.html:
Validity:
(dd/mm/)
.java:
IValidationDelegate delegate = getValidationDelegate();
// There were some UI validation errors!
if (delegate.getHasErrors())
I have a page named "GenericList" with a listener named
"rowSelected".
I have a component called "drawGrid" on said page that draws rows (a
lot of rows). For various reasons, this particular component renders the row
body in java code (there is nothing in drawGrid.html).
Hi,
I've been tasked to augment a Tapestry 2.3 application and I'm having a
little "stale link" trouble because of form elements wrapped in
conditionals.
I'm fairly sure I've gotten this to work in 2.3 apps before (pre
contrib:FormConditional), but I can't remember how I did it. Does
each co
Definitely worth logging as a bug I'd say :)
On the spindle homepage http://spindle.sourceforge.net/ is a link to the
bug report page on SF, you can submit it there...
Good luck
Tom
Kemkes, Andreas wrote:
Thanks. With OuterClass$InnerClass it works now.
Spindle (3.1.17) was misleading with its e
Jelena Jovanovic wrote:
[get] Getting:
http://localhost:8080/manager/install?path=/simple&war=file://C:/Program
Files/Apache Software Foundation/Tomcat 5.5/webapps/simple/
[get] Error opening connection java.io.IOException
[get] Error opening connection java.io.IOException
[get]
Hi,
I have a problem with starting Tapestry application. I've tried to start
very simple Tapestry project (working with Eclipse (version 3.0.1) and
Spindle plugin), containing just one Insert and one PageLink components on
the Home page. Actually, that is an example provided in the Tapestry
Tut
Thanks. With OuterClass$InnerClass it works now.
Spindle (3.1.17) was misleading with its error message: Unable to
resolve class
OuterClass$InnerClass.
Is that meriting a bug report? Where do you file them for Spindle?
Andreas
--
Kemkes, Andreas wrote:
I believe that I've tried about every combination of "@" and "." that I
could think of. It's also more a question of what OGNL supports and I
couldn't find anything in their specification.
Just found this on the web: http://www.janeg.ca/scjp/overload/static.html
Quote:
"t
Hi Ivano,
I feel really stupid now. Looking again at the implementation in other form
components, I found two lines at the bottom of every component
specification:
I guess I didn't see them from looking at the code for so long. My component
is now finally working. Thanks for getting my attenti
Just to reiterate what I saw mentioned on this thread OGNL is _not_
involved in interpreting the 'type' attribute of
. It is an actual Java class name that you
could pass to Class.forName(), for example.
Erik
On Apr 19, 2005, at 12:11 PM, Kemkes, Andreas wrote:
Thanks for the answe
Thanks for the answers.
I believe that I've tried about every combination of "@" and "." that I
could think of. It's also more a question of what OGNL supports and I
couldn't find anything in their specification.
It would be nice to have for typesafe enums, which are often implemented
as nested
Hi Ivano,
> I guess the abstract getters/setters in the AbstractFormComponent are
> not intended as "Tapestry Properties" for the component.
I understand that. Just to make things clear, I am NOT using using them as
properties for the component. I'd prefer to ignore them, but when I get to
the p
Hello,
I re-read my last e-mail and realized that I missed
an all-important OR clause. So to avoid any
misunderstanding the mail should read:
Whenever you have a code which modifies form content
at runtime, you should take special precautions to
ensure that you use the same data during render
Hello Volkan,
Whenever you have a code which modifies form content
at runtime, you should take special precautions to
ensure that you use the same data uding rendering and
rewind:
1) use @contrib:FormConditional
for all conditions inside the form.
2) manually handle property resolution during
Hi everybody,
my form should have either an EDIT-Submit-Button or a
Save-Submit-Button. But what i'm getting is an StaleLinkException:
Rewind of form $Form expected allocated id #12 to be 'doSave', but was
'doEdit$1'
Is there an error in my mind, how to use form components in tapestry?
Hi,
Could you please let me know where it would be appropriate (page lifecycle
method) to call reset() on the Tablemodel ?
Thanks,
Arun
|-+>
| | Mind Bridge |
| | <[EMAIL PROTECTED]|
| | hoo.com>
I forgot to indicate that I'm using Picasso (4.0).
One possible way of doing it, based on your solution is:
throw new RedirectException(getPageService().getLink(cycle,
"affiliate/Home").getAbsoluteURL());
where your page is abstract and define the following abstract method:
public abstract IEngin
ROTECTED]
__ Informazione NOD32 1.1069 (20050419) __
Questo messaggio è stato controllato dal Sistema Antivirus NOD32
http://www.nod32.it
--
Questa e-mail e gli eventuali file allegati sono da ritenersi confidenziali e
rivolti alle sole persone in indirizzo; vi richiediamo pertant
Hi Denis,
I guess the abstract getters/setters in the AbstractFormComponent are
not intended as "Tapestry Properties" for the component.
I think you need to implement them to make your form actually work
consistently with your specific design.
For the framework to generate abstract method "autom
On Apr 19, 2005, at 2:20 AM, euphobot wrote:
I thoroughly appreciate your response and, if it were a textarea or
TextField, I would thoroughly expect to supply and receive a String.
However I am supplying an Integer (team.storyid) to a
PropertySelection
Oops! I apologize for not being more care
Oh btw, the 'type' element in the property-specification doesn't take
ognl expressions. It just takes plain old classes as far as I know
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
If you want to access static member in OGNL you use the expression
@[EMAIL PROTECTED]
But this applies only to variables not classes.
If I understand you correct you want to use an internal class as a type
in a property specification. I'm not sure if that works in Tapestry but
in Java you would
28 matches
Mail list logo