Hi Peter,
it works great, thanks!
regards,
Onno
2008/4/2, Peter Beshai <[EMAIL PROTECTED]>:
>
> What if you try making the element the border object? Like so:
>
>
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> http://www.w3.org/1999/xhtml"; xmlns:t="
>
> http://tapestry.apache.org/s
There is an error (client side) when i press DateField icon
"Object soen't support this property or method"
help me please..
-
Bergabunglah dengan orang-orang yang berwawasan, di bidang Anda di Yahoo!
Answers
hi everyone,
i am using tapestry 4.1
i have an custom dialog box which should be shown on button click
so i placed that (dialog).getComponent(custom dialog).show() in side the
listener method of button submit.Here it is going to the that line and
coming out but the dialog is not displaying i am
Yes,I remove the tapestry-hibernate-5.0.11.jar and hibernate3.jar,but the
error still has.
-邮件原件-
发件人: Tomasz Dziurko [mailto:[EMAIL PROTECTED]
发送时间: 2008年4月3日 13:37
收件人: Tapestry users
主题: Re: Tapestry&Hibernate
Maybe you also have tapestry-hibernate-5.0.11.jar in your lib
directory? Tr
Maybe you also have tapestry-hibernate-5.0.11.jar in your lib
directory? Try removing it.
Regards,
Tomasz Dziurko
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Why need hibernate.jar?I use tapestry5.0.11 but I do not need to integrate
with hibernate and my web.xml as follow:
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-
OK, this is driving me crazy.
I have a .tml named FindCoops.tml that contains the following fragment:
In the same directory as the corresponding .java page file, I have a
file named FindCoops.properties that contains the following:
userPstlCodeField-label=ZIP
Yet when the input is rendered,
Hi all,
I am using Tapestry4.1.5 and tacos4.1.1
In my page i have dojowidget of type FloatingPane.
When i tried to include a form in FloatingPane i
am getting following exception
javax.servlet.ServletException: Component Error/$InspectorButton.link
requires r endering support, but no PageRenderS
dojo.event.connectBefore
and make sure you stop the event (if you want to), otherwise the other
connected function will get executed.
On undefined, Paul Stanton <[EMAIL PROTECTED]> wrote:
> any ideas guys .. it seems dojo can't attach the ajax submit handler if
> i have an onclick on my button -
Hi there,
Is there a longer stacktrace available? Anyhow, the problem is mostly
likely somewhere in your code, a configuration file or perhaps a
Tapestry page or component .tml file.
If you've got some code to show that would probably help as well. Also,
be aware that Tapestry has changed a bit s
According the book[Tapestry.5.Building.Web.Applications] --Create own
component ,but when i create the dateinput component and run it in a simple
page,i get the follow error:
An unexpected application exception has occurred.
Exception constructing service 'ValueEncoderSource': Error invoking s
any ideas guys .. it seems dojo can't attach the ajax submit handler if
i have an onclick on my button - therefore is there a way to pre-pend a
handler after dojo has attached to the form aka registerForm?
p.
Paul Stanton wrote:
Hi guys,
I've got a @Form which submits async, and a @Submit. I
I've been thinking about adding support for this to the
MessageFormatBindingPrefix found on this wiki page:
http://wiki.apache.org/tapestry/Tapestry5HowToAddMessageFormatBindingPrefix
If you take a look at it the code, MessageFormatBindingFactory in
particular, you'll see that making the messa
don't double post please
kk4Nabble wrote:
Hi..
I am using tapestry 4.1
My html code is..
and java code is
@EventListener(elements = "supplimentalId", events = "onclick")
public void watchText(IRequestCycle cycle)
{
// do something
((Dialog)getComponent("DialogContentSupp
Kavya,
The id should be part of the jwcid expression:
the component will create the id attribute for you.
Kavya K wrote:
Hi..
My html code is..
and java code is
@EventListener(elements = "supplimentalId", events = "onclick")
public void watchText(IRequestCycle cycle)
{
// d
I think you have not set the update component, you need to put some code into
watchText() like this:
cycle.getResponseBuilder().updateComponent("DialogContentSupplimental");
I have also had more success implementing my dialogs like this
Then all you do is set showDlg to true in watchText(), but
Could you give a simple example of the problem?
2008/4/2, Joel Wiegman <[EMAIL PROTECTED]>:
> As an addendum, I shouldn't say "any field". The culprit is a List that
> gets iterated over in the TML.
>
>
> -Original Message-
> From: Joel Wiegman [mailto:[EMAIL PROTECTED]
> Sent: Wednes
You may want to read this
http://tapestry.apache.org/tapestry5/tapestry-core/guide/parameters.html
Andy Blower wrote:
>
> I'm accessing message catalogs using expansion with a prefix. e.g.
> ${message:this-is-my-key}
>
> 1) Is there a list of prefixes anywhere, or have I got them all now?
> (l
I actually got the same idea, just after pushing the send button. It's
quite a task, though, to carve this out. But it's certainly my job.
I'll make a try.
In the meanwhile: an observation. Looking at the breakpoint in
BugPage.getListsource () I can see the call stack. At the top is
Layout.
Hey Alec,
I was hoping for something a little more minimal, but still
complete/compilable. :)
I still can't reproduce the problem, but maybe @Persist on your report
property is the culprit? Try it with out that. That's a shot in the
dark though, so if that doesn't help I think I'll need something
Can mixin render a component, for example TextField? I
know that that it does not support templates and that
it can render the tag directly.
But I would like the mixin to add a component to form,
so that it can be processed when the form is submitted.
Is something like that possible with mixins?
As an addendum, I shouldn't say "any field". The culprit is a List that
gets iterated over in the TML.
-Original Message-
From: Joel Wiegman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2008 2:20 PM
To: Tapestry users
Subject: T5.0.11: @Persist("flash") values are not retained i
1) See the Binding Expressions section.
http://tapestry.apache.org/tapestry5/tapestry-core/guide/parameters.html
2) Use your property like this in the template
${prop:myMessage}, and in code define it as follows:
@Inject
private Messages _messages;
public String getMyMessage() {
return _messages
Hm... looking more on your example... Seems that yoyr example and my
ReportSize component are similar and both do indeed work. So it's
something with the Layout component...
--alec
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
1) I'm not sure if there is a list anywhere, but I know there are more
prefixes than those ;> 'var' is one!
2/3) You most likely want to do something like this:
XX.properties:
product-name = Apple Sauce - %s
Then when you want to use it, you will need to add a property to your
page/component:
@I
Hm... looking more into your example As I understand it, your
example and my ReportSize component are really similar and both do
indeed work demonstrating that *is* possible to pass the arguments. So
it is something with the Layout component...
Feeling dumb, need a better brain.
--alec
I'm accessing message catalogs using expansion with a prefix. e.g.
${message:this-is-my-key}
1) Is there a list of prefixes anywhere, or have I got them all now?
(literal, prop, message)
2) Is there a way of accessing a message with a key that's partially
generated by another expansion?
e.g. (t
Josh Canfield wrote:
Hey Alec,
Looking at small excerpts from a large file leaves too much to the
imagination. Can you create a minimal but complete page and component
that reproduces the problem?
Yes, I should have done it long time ago, I know. Below is the complete
example, removing all o
All,
I've noticed that if validation fails on my page, any field annotated
with @Persist("flash") is not retained when the response is rendered.
Per the documentation for @Persist("flash"), this doesn't appear to be
expected behavior.
Should I put this in JIRA?
Joel
---
Hi,
Why do you think there is an ajax request sent? Last I checked client
side validation is done with javascript that is added to the page when
it is rendered. I don't use the beaneditform, so I can't be sure but I
doubt it's doing validation via ajax.
You're catching every action from Useredito
Hey Alec,
Looking at small excerpts from a large file leaves too much to the
imagination. Can you create a minimal but complete page and component
that reproduces the problem?
It feels like there is a bad return type or something on one of the
methods in the chain, so having a complete non-workin
What if you try making the element the border object? Like so:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml"; xmlns:t="
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"; t:type="Border">
My Project
have you tried adding a second xmlns element deeper in the document,
maybe around where the Zone is defined. Somewhere the partial render
will have it available?
The Namespace support is still not the best; though getting better bit
by bit. You should file this as a Jira bug even if you find
Hi Peter,
thanks, but this still doesn't seem to solve the issue. The Start page still
renders all template-content around
regards,
Onno
2008/4/2, Peter Beshai <[EMAIL PROTECTED]>:
>
> Hi there, I believe I have a solution that works using parameters and
> delegates. Basically instead of
Hello,
I have a simple action link that update a zone with a Block.
I have implemented the Layout pattern and my Layout template starts with
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml";
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
...
Thanks. Works fine in 3.3.1 (without the imports)
Steve
On Apr 2, 2008, at 3:15, "Davor Hrg" <[EMAIL PROTECTED]> wrote:
the new xml is now added there (I just removed import statements),
http://wiki.apache.org/tapestry-data/attachments/Tapestry5HowToEclipseCodeTemplates/attachments/t5_eclipse_c
The ajax response is XHTML. Since your template is rendered to create the
response, it fails if the template is not XHTML.
On Wed, Apr 2, 2008 at 2:03 PM, caarney <[EMAIL PROTECTED]> wrote:
>
> That works, thanks.
> Does it mean that the component must be in XHTML? Is it specified
> somewhere?
>
Stephane Decleire пишет:
Hi,
In my application, i have got several forms with the same bunch of
fields and other different fields.
What i would like is to create a component with the bunch of fields
and include it in the forms.
But the validateForm event is only managed by the page where my
I had the same problem. It's not only unclosed tags, but also
and others. It works with an unclossed tag. Don't know why, but
it's not specified anywhere.
Igor Drobiazko schrieb:
please close the tag:
On Wed, Apr 2, 2008 at 11:13 AM, caarney <[EMAIL PROTECTED]> wrote:
--
Those links are for Tapestry 5. I use multiple servlets in a single
application and haven't had a problem with Tapestry 4. I just map the
URLs uniquely in the web.xml.
Norman Franke
Answering Service for Directors, Inc.
www.myasd.com
On Apr 2, 2008, at 10:06 AM, Imran Amajd wrote:
Hello e
In regards to your "color" example, the reason you're getting an error
is likely due to missing required parameter. If you look at component
reference for Select, you'll see that besides "model", another
required parameter is "value". The example on the website is somewhat
flawed because it is inco
Hello everybody,
I m using Tapestry4 with spring & Hibernate. I am having a problem when i
call my own java servlet with-in appcalication. The calling servlet sends
response correctly but it causes HttpSession termination. i want tapestry to
ignore this servlet request and let the container handl
Hi there, I believe I have a solution that works using parameters and
delegates. Basically instead of including you will delegate the
content to a parameter of the component. See the source below:
Start.tml:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml"; xmlns
Hi..
I am using tapestry 4.1
My html code is..
and java code is
@EventListener(elements = "supplimentalId", events = "onclick")
public void watchText(IRequestCycle cycle)
{
// do something
((Dialog)getComponent("DialogContentSupplimental")).show();
}
ie .. when i
Hi..
My html code is..
and java code is
@EventListener(elements = "supplimentalId", events = "onclick")
public void watchText(IRequestCycle cycle)
{
// do something
((Dialog)getComponent("DialogContentSupplimental")).show();
}
ie .. when i click on add button this d
Hi,
In my application, i have got several forms with the same bunch of
fields and other different fields.
What i would like is to create a component with the bunch of fields and
include it in the forms.
But the validateForm event is only managed by the page where my form is
declared and i ca
Hi.
Currently I am working on project using Tapestry 5. I need to use
select component and I found some missing features or/and possible
bugs.
1. At site
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Select.html
there is an example saying:
will l
Geoff Callender wrote:
Hi all,
[..]
Geoff Callender
Again, so that we also say when things go well : thank you for that Geoff :)
--
Francois Armand
Etudes & Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
---
InterLDAP - http://interldap.org
F
That works, thanks.
Does it mean that the component must be in XHTML? Is it specified somewhere?
Igor Drobiazko wrote:
>
> please close the tag:
>
>
--
View this message in context:
http://www.nabble.com/updateComponent-doesn%27t-work-if-component-contains-HTML-BR-tag-%284.1.2%29-tp16445
Sorry Onno, I was wrong.
Because Layout is basically component it doesn't work the way you (and I)
expected. So it seems there is no official way to keep templates previewable
with additionnal ouside markup that will be discarded at runtime to only keep
the outside of the template.
- Messa
Forgot to mention that the js error source in tapestry.js:
if (! event.result)
{
domevent.stop(); // debugger shows me the error here. 532 line in
tapestry.js
}
else
{
this.form.fire("form:prepareforsubmit");
}
return event.
Hi,
I just begin to learn T5 and simply use component t:beaneditform to create/edit
a simple entity User. But I found that the validation behavior are different in
IE6 and firefox.
Please help. My tapestry version is 5.0.11.
My entity code:
public class User implements Serializable {
priv
More and more mysterious... The relevant getters in the page is
getListSource() and getReport(), enclosing excerpts from page below.
The problems seems to be related to getListSource(). The call chain as
I understand it:
- ${orvar} in layout.tmpl is fetching data data from Layout.getOrvar()
Hi DH,
thanks for your response. I missed that earlier discussion and t:container
indeed doesn't seem to offer a proper work-around for the lack of $content$
when using the Layout component pattern.
Does anyone know if something like $content$ will be added to T5 before the
stable release?
regar
Hi all,
JumpStart 3.5 is now available. It's for Tapestry 5.0.11. New in
this release:
* Examples for localization, Select, and EventLink.
* Fixed existing Selects to fit in with 5.0.11's new blank option
handling.
* Replaced Start page with 5.0.11's new Index page.
You
Hi Julien
thanks for your answer and that was what I expected to see happening, but it
doesn't.
So if it is supposed to work like that, then I must be doing something wrong
here.
My Start.tml:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml"; xmlns:t="
http://tap
It looks like that T5 doesn't have such solution as $content$ in T4.
It is discussed before.
http://www.nabble.com/Writing-an-FAQ-for-Tapestry-5-to15719185.html#a15739812
Even though the t:container element can't help.
Thanks!
DH
- Original Message -
From: "Julien HENRY" <[EMAIL PROTE
Hi Onno,
You don't need to do anything else. Everything outside of
Page content
will be discarded and the Layout component will be used instead. Is it not the
case?
Regards,
Julien
- Message d'origine
De : Onno Scheffers <[EMAIL PROTECTED]>
À : Tapestry users
Env
The submitWithContext on wiki is out of date at lest in regards to
5.0.11 as the API changed somewhat since 5.0.4.
processSubmission(String) is now the function to be implemented, so:
@Override
protected void processSubmission(FormSupport formSupport, String
elementName)
needs to be ref
thank you, it helped me :)
On Wed, Apr 2, 2008 at 1:03 PM, Francois Armand <[EMAIL PROTECTED]>
wrote:
> Natia Gdzelishvili wrote:
>
> > on page Registration.tml i have:
> >
> > //...some component
> > > value="submit">
> >
> >
> > and on Registartion.java
> > @OnEvent(component="submitButton")
Adam Zimowski wrote:
I solved this by having a single form and generating dynamic radio
buttons instead, and have a single submit at the bottom.
As to your strategy, the problem is that submit component does not
pass context to select event so it's hard to pass in additional
information.
Ther
I solved this by having a single form and generating dynamic radio
buttons instead, and have a single submit at the bottom.
As to your strategy, the problem is that submit component does not
pass context to select event so it's hard to pass in additional
information.
-adam
On Tue, Apr 1, 2008 at
please close the tag:
On Wed, Apr 2, 2008 at 11:13 AM, caarney <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I'm using AJAX functionality in my Tapestry 4.1.2 application in the
> following way:
>
> Code that updates the component:
>
> cycle.getResponseBuilder().updateComponent("standardArea");
>
> C
Thanks!
Changing the return type from Object to Block solved
the problem.
Imants
Quoting Josh Canfield <[EMAIL PROTECTED]>:
> What version of Tapestry are you using? This works in
5.0.11. Do you
> have the matching afterRender block to close the div?
>
> public Block beginRender(MarkupWri
Hi all,
I'm trying to arrange all the uploaded files into a folder outside of the
current context path. And to do that, I setup a virtual path by creating an
upload.xml under Tomcat:
Now any file under the D:/uploadfile can be accessed from
http://localhost:8080/upload/anyfile once tomcat ser
I created a Layout component called Border.
According to the documentation, I have to setup my page something like this:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Page content
I want the template to be previewable though so the webdesigners can work
with the pages more easily.
Fo
Hello,
I'm using AJAX functionality in my Tapestry 4.1.2 application in the
following way:
Code that updates the component:
cycle.getResponseBuilder().updateComponent("standardArea");
Component to update:
...
Everything works fine until I add HTML line break tag into the component
Hello
Have you tried this ?
@OnEvent(value="selected",component="submitButton")
I think there is also a defer attribute with the Submit component that can be
used the "selected" event to be triggered after form submission.
Christophe.
-Message d'origine-
De : Natia Gdzelishvili [mailt
Natia Gdzelishvili wrote:
on page Registration.tml i have:
//...some component
and on Registartion.java
@OnEvent(component="submitButton")
void onSubmitButton() {
System.out.println("Submit button was pressed!");
}
[..]
please help me:)
thanks in advanc
A button doesn't send
on page Registration.tml i have:
//...some component
and on Registartion.java
@OnEvent(component="submitButton")
void onSubmitButton() {
System.out.println("Submit button was pressed!");
}
void onSubmitFromRegistrationForm(){
System.out.println("The form was submitt
Natia Gdzelishvili wrote:
hi,
I'm using tapestry 5.0.10 version,
i hve a broblem with dandling submit component event handling
on page i have:
Hello,
Perhaps with a litthe more context ? For example, what are you doing in
the java class ? What do see and what was expected ?
--
Francoi
hi,
I'm using tapestry 5.0.10 version,
i hve a broblem with dandling submit component event handling
on page i have:
"Sorry for the delay". I'm amazed over the help I get, and you
shouldn't really have to say "Sorry". But I need to say "Thanks"!
I read Josh's answer as "No, Tapestry should really treat all
parameters be it List, List or MyObject the same". (?)
I'm on CET, and will come back into this lat
the new xml is now added there (I just removed import statements),
http://wiki.apache.org/tapestry-data/attachments/Tapestry5HowToEclipseCodeTemplates/attachments/t5_eclipse_code_templates_before_E3.4.M2.xml
please try it out so I can confirm it works :)
Davor Hrg
On Wed, Apr 2, 2008 at 10:01 AM
hi,
I wrote those templates, and I use latest eclispe milestone,
The added import statements are there to make sure
right classes are imported along with the template,
http://download.eclipse.org/eclipse/downloads/drops/S-3.4M2-200709210919/eclipse-news-M2.html#JDT
under subject: "Extended templa
75 matches
Mail list logo