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.
AIL PROTECTED]> wrote:
> Hi Oivier,
>
>I actually use onValidateFromComponent. The problem is that the
> property
> in question was not set to the field value to check.
>
>
> Cheers,
>
> Martin (Kersten)
>
> -Ursprüngliche Nachricht-
> Von
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]> wrote:
> Having a simple form cont
Hi,
You can always have a look at the wiki:
http://wiki.apache.org/tapestry/Tapestry5HowTos
And if you're as new as me the book
http://tapestry.apache.org/articles.html actually helped quite a bit but it
might already be somewhat outdated (was written for 5.0.6 or something).
You can always as
Hello,
Is it possible to access the rendered page result from within a page
without calling the actual http:// address?
I would need this so that I can setup a page that generates xml (xsl-fo)
to be processed by fop [1] to convert it to pdf. That is much more
readable than generating the xm
Hello,
Is it possible to access the rendered page result from within a page
without calling the actual http:// address?
I would need this so that I can setup a page that generates xml (xsl-fo)
to be processed by fop [1] to convert it to pdf. That is much more
readable than generating the xm
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, and consist
Hello,
I'm trying to build a select component which allows you to select a
country. The labels would be the country names and the values the ISO
codes for the country. The catch is that I want the country names
displayed in the current locale.
Now, when you @Inject the messages in the Optio
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
Say that I have
a bean Company.java:
class Company {
private String name;
private String city;
}
a page CreateCompany.java:
class CreateCompany {
private Company company;
void onValidate() {
System.out.println("name: " + company.getName() + " city: " +
company.getCity());
}
a te
Hello,
I'm trying to build a select component which allows you to select a
country. The labels would be the country names and the values the ISO
codes for the country. The catch is that I want the country names
displayed in the current locale.
Now, when you @Inject the messages in the OptionMod
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
ot;form")
private BeanEditForm _form;
And this in your page template:
Hope this helps.
-Filip
Olivier Jacquet skrev:
Yet even with this clue I cannot get it to work. How do I access the
BeanEditForm with my page class?
With:
@Component
private BeanEditForm _form;
I'
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
Hi,
Does anyone has an example of how to get tapestry, jetty and hibernate
running together?
The internet is lacking in documentation about this. I have a book with
an example for T4 and Tomcat and that helped me in getting a normal
DataSource functioning with JettyPlus but I am not able t
24 matches
Mail list logo