Here is a possible answer to your first issue:
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/OutputRaw.html
Olivier Jacquet wrote, On 21/01/2009 11:50:
The second issue can be solved with css and the white-space property:
http://www.w3.org/TR
The second issue can be solved with css and the white-space property:
http://www.w3.org/TR/CSS21/text.html#propdef-white-space
The first issue is probably because you are escaping the elements.
I don't know how you turn that off for a property in Tapestry by heart
but it should be quite easy
This has come up before:
http://mail-archives.apache.org/mod_mbox/tapestry-users/200710.mbox/[EMAIL
PROTECTED]
and
http://www.google.be/search?hl=nl&q=jquery+T5+site%3Amail-archives.apache.org%2Fmod_mbox%2Ftapestry-users%2F&btnG=Zoeken&meta=
So it seems it would be possible but a whole lot of
Client side checking is just a convenience. Everything should be checked
on the server side as well for people without javascript or just
malicious people sending their own data to the server.
Having said that, I'm not advanced enough to explain how you add a
custom javascript validator.
Yes, I know. And if you use onValidateFromNewItem (with newItem the id of
the field, not the form) you will see that the value of the property is
set. Or are you already using the id from the field?
Regards,
Olivier
On Wed, 19 Mar 2008 13:47:37 +0100, "Martin Kersten"
<[EM
Hi,
I ran into this issue as well. onValidate() is actually called multiple
times. Try it with onValidateFromNewItem(). I can't check if that's how I
solved it here.
Regards,
Olivier
On Wed, 19 Mar 2008 11:39:55 +0100, "Martin Kersten"
<[EMAIL PROTECTED]> wro
lways ask your question on this list and if you get an answer you
can add it to the wiki for the next person!
Regards,
Olivier
On Wed, 19 Mar 2008 10:27:32 +0100, "Martin Kersten"
<[EMAIL PROTECTED]> wrote:
> I just needed a custom validator tutorial and found the
> off
output to pdf on disk...
...send the generated pdf to the user...
}
}
MyPage.tml:
Click the button to get the pdf:
FOPPage.tml:
http://www.w3.org/1999/XSL/Format";>
...
Regards,
Olivier
[1] http://xmlgraphics.apache
output to pdf on disk...
...send the generated pdf to the user...
}
}
MyPage.tml:
Click the button to get the pdf:
FOPPage.tml:
http://www.w3.org/1999/XSL/Format";>
...
Regards,
Olivier
[1] http://xmlgraphics.apache
Not sure if this helps but I think that what you want is actually:
Shot
Regards,
Olivier
Adriaan Joubert wrote:
Hi,
anybody had any luck with this? I tried
Show
But get
Component id '${zoneId}' is not valid; component ids must be valid Java
identifiers: start with a letter, a
dn't it be nice to be able to access the Messages from within the
OptionModel and get access to the resources from the wrapper component?
Best regards,
Olivier
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
Yes, I figured out that much by now (I'm not that experienced with Java).
Yet, I think it is a feasable use case that you would want access to a
message catalog in an OptionModel, no?
Harald Geritzer wrote:
Now, when you @Inject the messages in the OptionModel it is null when
you try to acc
I'm sorry to spam. Apparently there is separate validate loop voor the
custom parameters.
Have a nice day,
Olivier
Olivier Jacquet wrote:
Say that I have
a bean Company.java:
class Company {
private String name;
private String city;
}
a page CreateCompany.java:
class CreateCo
.getCity());
}
a template CreateCompany.tpl
I fill in values for both fields and I submit. The println will print
the value for the name but the city will be NULL. How come?
Best regards,
Olivier
t be nice to be able to access the Messages from within the
OptionModel and get access to the resources from the wrapper component?
Best regards,
Olivier
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
,
Olivier
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
nfield" <[EMAIL PROTECTED]>
wrote:
> You can explicitly tell hibernate the names of your columns using
hibernate
> annotations or your hibernate mapping files. You'll need to check with
the
> hibernate docs/lists for more details.
>
> Josh
>
>
> On 1
entities but then Hibernate generates incorrect
column names. Isn't there a way for tuning this in the configuration file
or something? If someone has that info, please share it with me!
Thank you in advance,
Olivier
---
could solve this problem ?
Thanks in advance
Olivier
I changed the to and that did the
trick! You need to keep the xmnls parameter though.
Should this be changed in the doc or am I still doing something wrong?
Olivier Jacquet wrote:
Hi,
I'm trying to implement a Layout component as described here:
http://tapestry.apache.org/tape
ml in all the pages which just seems silly. Next up would be a kind of
'menu component'.
Thanks in advance,
Olivier Jacquet
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Solved it. If I put t:id="foo" it works. With t:id="form" it throws the
exception.
I'm quite a beginner at this tapestry thing. I'll try to put those
problems I encounter and hopefully solve online to help other beginners
like me.
Thanks for all the help,
Ol
entResourcesImpl.java:141)
o.a.t.corelib.components.BeanEditForm.onPrepareFromForm(BeanEditForm.java:196)
o.a.t.corelib.components.BeanEditForm.handleComponentEvent(BeanEditForm.java)
the keeps on going
o.a.t = org.apache.tapestry.
Thank
Filip S. Adamsen wrote:
Hi Olivier,
Try this in your page class:
@Component(id = &qu
pestry/corelib/components/BeanEditForm.html
/Serge
Massimo Lusetti wrote:
On 3/4/07, Olivier Jacquet <[EMAIL PROTECTED]> wrote:
How can I record additional errors on BeanEditForm. I cannot get access
to the form with:
@Component
private Form _form;
Does the BeanEditForm's form has
'.
The documentation also doesn't specify a parameter "id" for the
beaneditform component.
Massimo Lusetti wrote:
On 3/4/07, Olivier Jacquet <[EMAIL PROTECTED]> wrote:
How can I record additional errors on BeanEditForm. I cannot get access
to the form with:
@Compon
How can I record additional errors on BeanEditForm. I cannot get access
to the form with:
@Component
private Form _form;
Does anyone have an example?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
For Tapestry 4 there is the excellent book by Tong Ka Iok which covers
database access and hibernate in detail.
http://www.agileskills2.org/EWDT/
Damian Sobieralski wrote:
I am wondering if anyone could assist me in resources for working with
databases?
As a newbie, I've went through bo
ne of you has some code that
does this just sending the code without any explanation would already be
a step forward for me!
Thanks in advance.
Olivier
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
out of curiosity, what would be the easy way using tap4 (or 4.1 ? )
Olivier
On Aug 23, 2006, at 3:47 PM, Jesse Kuhnert wrote:
I'd have an extremely easy answer for this...but I know you are
using tap3
sostart with handling getting javascript to listen to your key
events
and the
29 matches
Mail list logo