Tapestry is meant to generate valid XHTML, which means the tag should be
closed, but due to a bug introduced recently it appears not to with certain
tags see:
https://issues.apache.org/jira/browse/TAP5-333 and vote for it to be fixed, in
the meantime use a instead, it will work... I use the sam
Henrik Schlanbusch enovate.no> writes:
>
> Hi all
>
> Is it possible to get access to an instance
> of a page without using the InjectPage
> annotation? I know the logical name of the
> page - the string "groupEditor", and would
> like get an instance of the page, and run
> some getters on it
>Thiago H. de Paula Figueiredo
> gmail.com> writes:
>
> Em Mon, 24 Nov 2008 18:43:37 -0300,
>Henrik Schlanbusch enovate.no>
> escreveu:
>
> > Is it possible in T5 to get hold
>of page
> > instances without using injected
>properties, but through string
> > identifiers like in T4?
>
> U
Shing Hing Man yahoo.com> writes:
>
> Have you tried ComponentSource ?
>
>@Inject
> private ComponentSource compSource;
>
> MyPage comp = (MyPage) compSource.getPage(pageName);
>
> Shing
Shing, thanks man! This worked. I can now get instances of the pages through
their id!
Best reg
Hi, this is the first time i'm using Tapestry. I'm using a css tricky
to make rounded corners, the css uses empty b (bold) to create the
rounded corners, when Tapestry generates the html it creates the open
b but doesn't create the closing b:
what i want:
Tapestry generated code:
There's s
You probably want to check out t5 components
(http://87.193.218.134:8080/t5components/t5c-commons/ref/index.html).
Specifically the pagedLoop component.
Zack
dwi ardi irawan wrote:
>
> does anybody could give me information how to do paging using loop
> component
> in tapestry 5
>
> thnx u v
Em Mon, 24 Nov 2008 18:43:37 -0300, Henrik Schlanbusch <[EMAIL PROTECTED]>
escreveu:
Is it possible in T5 to get hold of page
instances without using injected properties, but through string
identifiers like in T4?
Using @InjectPage is the T5 way to do it, but it is possible that there is
Have you tried ComponentSource ?
@Inject
private ComponentSource compSource;
MyPage comp = (MyPage) compSource.getPage(pageName);
Shing
Home page : http://www.lombok.demon.co.uk/
--- On Tue, 25/11/08, Henrik Schlanbusch <[EMAIL PROTECTED]> wrote:
> From: Henrik Schlanbusc
Hi
In tapestry 4 it was possible to get an instance of a page by using the
cycle.getPage("somePageName"); Then it was possible to set properties on the
page before activating it. I would like to do something like this in T5, it
seems that the only way to get an instance of a page is by getting it
Hi all,
Is the "flash" persistence strategy compatible with stateless load balancing
or is "client" persistence the only strategy that would work with a
stateless load balancer?
Thanks in advance!
Daniel Leffel
I solved it using t:format. That I think fits better.
Here is my snapped code:
public StringBuffer format(Object obj, StringBuffer
toAppendTo,
FieldPosition pos) {
if (obj instanceof Boolean) {
On Mon, Nov 24, 2008 at 1:55 PM, <[EMAIL PROTECTED]> wrote:
> What about an IOC singleton service? Would that work?
>
Yes, a singleton should work, and may very well use static modifiers
in it's definition.
-
To unsubscribe, e-ma
What about an IOC singleton service? Would that work?
Original-Nachricht
> Datum: Mon, 24 Nov 2008 13:59:24 -0300
> Von: "Marcus Veloso" <[EMAIL PROTECTED]>
> An: "Tapestry users"
> Betreff: Re: Global (application state) data
> Hi Toby,
> from http://tapestry.apache.org/tapes
Hi Toby,
from http://tapestry.apache.org/tapestry5/guide/appstate.html
"The default persistence strategy, "session", stores the ASOs inside the
session. The session is created as needed."
"Generally, you will configure an ASO if you need to change it from the
default persistence strategy. Right n
Hi all
Is it possible to get access to an instance
of a page without using the InjectPage
annotation? I know the logical name of the
page - the string "groupEditor", and would
like get an instance of the page, and run
some getters on it. I have the logical names
in a map, and do not have the opt
You can also try installing the Internet Explorer Developer Toolbar if
you don't have that yet:
http://www.microsoft.com/downloadS/details.aspx?familyid=E59C3964-672D-4
511-BB3E-2D5E1DB91038&displaylang=en
Usually problems between browsers is CSS related not HTML, if your HTML
is well-formed. You
On Mon, Nov 24, 2008 at 1:45 PM, Joachim Van der Auwera
<[EMAIL PROTECTED]> wrote:
> Hi,
Hi!
> (indeed, only adding a newline) the styling is correct in IE7 as well.
> Now I obviously have the additional problem that tapestry removes
> unnecessary whitespace, making the "obvious" solution not work
Hi,
I know it is not tapestry specific, but was hoping somebody on the list
encountered the same problem.
I have a page which renders fine in FF, and mostly good in IE7.
However for some fields, using html like :
bla
the styling is wrong in IE. If I change this to
bla
(indeed, only adding
Hi, I tried to inject Messages in the YesNoTranslator, but it didn't
work. So I need help, how can I use an internationalized
t:translate="yesno" ? An example that I am using:
private String name;
private Boolean admin;
and I use t:beaneditform and t:beandisplay in the .tml files.
I want to show
Solved the problem (it did work before the way I described in my first post
and suddenly stopped, thatswhy I was a bit puzzled).
In Spring security context add a context to the landing page
...
..
in Index.java
...
@Inject
private Messages messages;
@Property
private String
Em Mon, 24 Nov 2008 09:17:46 -0300, Christian P. <[EMAIL PROTECTED]>
escreveu:
Unfortunately the source code still hast some "ugly" parts due to the
added / refactored code from Tapestry itself.
This brings me to another question. Why is this the default setting?
Is it of any use (making th
First of all thanks for your help.
Unfortunately the source code still hast some "ugly" parts due to the added
/ refactored code from Tapestry itself.
This brings me to another question. Why is this the default setting?
Is it of any use (making the source more or less unreadable to exaggerate a
Hi,
this works
@Override
@Validate("required")
public void setFullname(String fullname) {
super.setFullname(fullname);
}
@Override
@Validate("required")
public void setEmail(String email) {
super.setEmail(email);
}
this also works:
@Override
Or if you need it only during development, set the system property -
Dtapestry.compress-whitespace=false
On 24/11/2008, at 9:29 PM, dhning wrote:
That's default, not an issue.
To turn off the behavior and make code clean, in your appmodule,
public static void contributeApplicationDefaults(
Em Mon, 24 Nov 2008 04:15:03 -0300, dwi ardi irawan
<[EMAIL PROTECTED]> escreveu:
could you give a simple example how to use StreamResponse or any lint
that provide that information...
It's about generating PDFs with iText, but the same concept applies to any
other file you generate on the
Sorry, was too quick (should have looked at the new tstacktrace
properly, the t:id is taken from the code, not the template and I had
only fixed the template).
Sorry for the noise.
Kind regards,
Joachim
Joachim Van der Auwera wrote:
Unfortunately not. As suggested by "Ville Virtanen" I tried
Oops my bad, need to replace in all places.
THis does indeed fix it.
Joachim
Joachim Van der Auwera wrote:
Thanks for the tip.
However, it makes no difference. I still get the same error.
Any other ideas?
Joachim
Ville Virtanen wrote:
Hi,
I have the same problem as you, and I have traced i
That's default, not an issue.
To turn off the behavior and make code clean, in your appmodule,
public static void contributeApplicationDefaults(
MappedConfiguration configuration)
{
configuration.add("tapestry.compress-whitespace", "false"); // turn off it
}
Thanks!
DH
-
Unfortunately not. As suggested by "Ville Virtanen" I tried replacing
all occurences of the Hidden component by "TextField" components, and I
get exactly the same error.
So something else must be wrong.
Any ideas?
Joachim
Howard Lewis Ship wrote:
Please contact the author of
org.apache.tape
Thanks for the tip.
However, it makes no difference. I still get the same error.
Any other ideas?
Joachim
Ville Virtanen wrote:
Hi,
I have the same problem as you, and I have traced it to be the fault of
commons/hidden component. If you replace it with t:textfield for testing
purposes the pro
Hey,
please excuse my bad English. I just started to try out Tapestry and have
one big problem I haven't found an answer for. The source code available in
the client's browsers seems to be really ugly.
All code from the tml-files (Layout.tml, Index.tml) is "squeezed" in one
single line. So the so
Hi all,
I have reopened this issue: https://issues.apache.org/jira/browse/TAP5-333 , as
it appears to extend to other elements as well, and not just . This
bug does not appear in older versions (i.e.: 5.0.14), and may have been
introduced since 5.0.16.
cheers,
Peter
--
32 matches
Mail list logo