Thiago H. de Paula Figueiredo wrote:
> Em Mon, 01 Jun 2009 12:04:48 -0300, Andy Buckley
> escreveu:
>
>> Hi,
>
> Hi!
>
>> (only without the "literal:" bits in practice: these contexts will be
>> generated dynamically). The result isn't quite right, though: the
>> link to the full-size image fu
Incidentally, I'm doing exactly the same. Rather than trying to use a
a page link, I'm just creating an action link then sticking the value
to img tag's src attribute (as described at
http://wiki.apache.org/tapestry/Tapestry5HowToCreatePieChartsInAPage).
This works fine for me.
Kalle
On Mon, Jun
Em Mon, 01 Jun 2009 12:04:48 -0300, Andy Buckley
escreveu:
Hi,
Hi!
(only without the "literal:" bits in practice: these contexts will be
generated dynamically). The result isn't quite right, though: the
link to the full-size image functions just fine, but the pagelinked
renders the page
Hi Andy,
Have a look at this thread, I posted a solution that is similar to your
requirements.
http://www.nabble.com/T5:-How-to-load-image-Asset-from-filesystem--td22433419i20.html
http://www.nabble.com/T5:-How-to-load-image-Asset-from-filesystem--td22433419i20.html
Hope this helps,
Daniel
--
Hi,
I'm doing some data rendering using JFreeChart, for which I've created a
Tapestry page "PlotImage" which renders images and returns them as
StreamResponses of type PNG or PDF. I'd like to use this to render
inline tags, e.g.:
(only without the "literal:" bits in practice: these context
Hi,
that is really quite the bug. I see you opened a jira ticket for it:
https://issues.apache.org/jira/browse/TAP5-362
I hope a lot of people vote for it so it gets resolved quickly. Does
anyone know of a good workaround?
Lutz
--
I can see this issue, when the context root is "/".
Yunhua
On Mon, Nov 17, 2008 at 1:23 PM, Michael Dukaczewski
<[EMAIL PROTECTED]> wrote:
> I think I found a bug in the new Tapestry Release Candidate.
> I have a page (Foo.tml) with following code:
>
> http://tapestry.apache.org/schema/tapestry_5
I think I found a bug in the new Tapestry Release Candidate.
I have a page (Foo.tml) with following code:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Foo
Home
And of course an Index page.
In Tapestry 5.0.15 it worked fine, but now the link does not work
anymore. That
= new BaseURLSource()
>>>{
>>> public String getBaseURL(boolean secure)
>>> {
>>> String protocol = secure ? "https" : "http";
>>>
>>> int port = secure ? 8
return String.format("%s://localhost:%d",
>> protocol,
>> port);
>> }
>> };
>>
>> configuration.add(AliasContribution.create(BaseURLSource.class,source));
>>
>>}
>>
>>
>> in
}
> };
>
> configuration.add(AliasContribution.create(BaseURLSource.class,source));
>
>}
>
>
> in AppModule.java
>
> But this does not help.
>
> Any ideas?
>
&g
hi,
I have one page with http protocol and pagelink in it.
Pagelink points https @secure page.
But problem is that pagelink generate https://localhost/digi/newpage link,
and not with alias localhost:8443.
http page is in port 8080, but pagelink do not understand that https port is
8443.
I also
It seams that my production application server is running in behind Http
server.
Daniel Jue wrote:
>
> You could also change the default HTTPS port in your app server
> configuration, and then your don't have to worry about modifying the
> URIs. The default is of course 443.
>
> "The http
I have my app server configured to https default.
Pages without @secure annotation and contributeAlias opens but all the links
are still http. (Not sure why that is happening).
Pages with @Secure annotation and contributeAlias will give an exception
"The page isn't redirecting properly" (Not s
My problem is that, my first page is http and after that are pages https.
If i switch to https, then ID-Card authentication is occour in tomcat.
Thatsway i must use both protocol.
But how to change http,https and ports in appModule.java
2008/8/6 Daniel Jue <[EMAIL PROTECTED]>
> You could al
You could also change the default HTTPS port in your app server
configuration, and then your don't have to worry about modifying the
URIs. The default is of course 443.
"The https:// protocol can be used in exactly the same way as the
http:// protocol.
The differences are that HTTPS uses a defaul
I have the same issue. I tried using it.
It won't open the landing page. Infact if i don't put @Secure and also donot
contribute it opens the landing page as https and further the links were
http.
Even if i make it work but still contributeAlias is good for testing but not
for production.
Is th
Hi,
Use @Secure annotation and add this to your appmodule: (Also use whatever
ports you wish.)
public void contributeAlias(Configuration configuration)
{
BaseURLSource source = new BaseURLSource()
{
public String getBaseURL(boolean secure)
{
Have you tried @secure annotation ?
http://tapestry.apache.org/tapestry5/tapestry-core/guide/secure.html
Shing
Home page : http://www.lombok.demon.co.uk/
--- On Sun, 3/8/08, Argo Vilberg <[EMAIL PROTECTED]> wrote:
> From: Argo Vilberg <[EMAIL PROTECTED]>
> Subject:
hi,
I want use pagelink with port 8443 and https protocol.
If i use:
${currentRole.roleName}
then tapestry generate
http://localhost/app/start/4
But i want
https://localhost:8443/app/start4
Argo
Em Thu, 03 Jul 2008 09:33:39 -0300, Harald Geritzer <[EMAIL PROTECTED]>
escreveu:
Try
context="reportLinkContext">Bericht
thanks a lot - worked, my fault
Don't be so hard to yourself: it's a very common error, so much that I
think the Tapestry documentation should explicitly talk about
Try
context="reportLinkContext">Bericht
thanks a lot - worked, my fault
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Em Thu, 03 Jul 2008 09:09:26 -0300, Harald Geritzer <[EMAIL PROTECTED]>
escreveu:
context="${reportLinkContext}">Bericht
You shouldn't use expansions when passing parameters to components,
because they would be converted into a String before the actual parameter
passing.
Try
context=
hi all,
i have a pagelink im my page with two context variables.
i would have expected, the link would render some sort of
.../pagename/contextvar1/contextvar2
so i could user the values in my
onActivate(Object[] context)
but renders
.../pagename/[contextvar1, contextvar2]
any ideas?
haral
It sounds like currentPhoto.id is returning the string "images" and
"classes" rather than a Long. Might want to check the return type and value
of the getId() method of your Photo class. I'd be tempted to put a debug
breakpoint in getId() somewhere and watch the value being returned.
On Thu, May
It is generally wise to have your links in the form:
${asset:context:styles/style.css}
Then the links will work even if you have parameters that change the
relative depth of the URL path.
Szemere
It seems if i change all the hrefs to /myapp/images/... or /myapp/styles/...
things work ok. Is there a tapestry version of ?
Thanks
Toby
- Original Message
From: Toby Hobson <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Thursday, 1 May, 2008 1:53:11 PM
Subject: T5 pa
I have a strange problem with the pagelink component. I am trying to navigate
from the start page to the ViewPhoto page but I get an exception:
[ERROR] RequestExceptionHandler Processing of request failed withuncaught
exception: Exception in
methodcom.thc.web.pages.ViewPhoto.onActivate(java.lan
On 9/5/07, Nick Westgate <[EMAIL PROTECTED]> wrote:
> It does render its body, not nothing, if that's what you mean.
Yeah, my mistake :)
> I would prefer that it output a span with any informals (class etc)
> too but the purists don't - had to write my own component for that.
with an optional c
oing in T4, wasn't it?
-Original Message-
From: Robin Helgelin [mailto:[EMAIL PROTECTED]
Sent: 05 September 2007 10:51
To: Tapestry users
Subject: Re: [T5] PageLink cannot be disabled?
On 9/5/07, Nick Westgate <[EMAIL PROTECTED]> wrote:
Put this in your components directory
Well, this is exactly what it was doing in T4, wasn't it?
-Original Message-
From: Robin Helgelin [mailto:[EMAIL PROTECTED]
Sent: 05 September 2007 10:51
To: Tapestry users
Subject: Re: [T5] PageLink cannot be disabled?
On 9/5/07, Nick Westgate <[EMAIL PROTECTED]> wrote:
&g
On 9/5/07, Nick Westgate <[EMAIL PROTECTED]> wrote:
> Put this in your components directory and it will override Tapestry's
> PageLink component unless your classes import the corelib type.
[component snipped]
Semi-OT question :)
Wouldn't a disable PageLink component be better of to render the
li
Thanks a lot guys!
-Original Message-
From: Nick Westgate [mailto:[EMAIL PROTECTED]
Sent: 05 September 2007 10:37
To: Tapestry users
Subject: Re: [T5] PageLink cannot be disabled?
Put this in your components directory and it will override Tapestry's
PageLink component unless
Put this in your components directory and it will override Tapestry's
PageLink component unless your classes import the corelib type.
(I'll submit a JIRA.)
Cheers,
Nick.
// Copyright 2007 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// yo
write a mixin that is able to render a pagelink that is disabled and
attach it to your pagelink component.
"Robin Helgelin" <[EMAIL PROTECTED]>
05.09.2007 11:14
Bitte antworten an
"Tapestry users"
An
"Tapestry users"
Kopie
Thema
Re: [T5] PageLink
On 9/5/07, Kolesnikov, Alexander GNI
<[EMAIL PROTECTED]> wrote:
> Just discovered that PageLink doesn't have a disabled parameter. That's
> a pity. Any ideas how to deal wit this?
Edit the source and provide your solution to the community :)
--
regards,
Robin
--
Just discovered that PageLink doesn't have a disabled parameter. That's
a pity. Any ideas how to deal wit this?
Thanks,
Alexander
--
CONFIDENTIALITY NOTICE: If you have received this email in error, please
immediately n
What is it that you want explained? The framework generates links
consistently by always calling onPassivate (if present) to generate context
for the page link unless you provide a context.
You've found a way to override that ... what else is there to explain?
If you want a slightly shorter synta
Have you thought about using a null context?
/Serge
Thiago H de Paula Figueiredo-2 wrote:
>
> Em Fri, 31 Aug 2007 21:20:00 -0300, Fidel Chavarria
> <[EMAIL PROTECTED]> escreveu:
>
>> If you need a link that points to the same page, create a Pagelink
>> pointing the same page.
>
> I need
Em Fri, 31 Aug 2007 21:20:00 -0300, Fidel Chavarria
<[EMAIL PROTECTED]> escreveu:
If you need a link that points to the same page, create a Pagelink
pointing the same page.
I need a link to the same page, but without the activation context. I'm
using an object edit page to both new object
If you need a link that points to the same page, create a Pagelink pointing
the same page.
Thiago H de Paula Figueiredo-3 wrote:
>
> Hi!
>
> I don't understand the rationale behind this. If I'm at a page that has an
> activation context and want to link to the same page, without the conte
Hi!
I don't understand the rationale behind this. If I'm at a page that has an
activation context and want to link to the same page, without the context,
I need to write t:context="literal:". Could somebody explain this to me?
--
Thiago H. de Paula Figueiredo
Desenvolvedor, Instrutor e Cons
It works for me if I set href to some value,
href="#", say.
Shing
--- "Kolesnikov, Alexander GNI"
<[EMAIL PROTECTED]> wrote:
> I was trying to use PageLink in an "invisible" way,
> in T4 spirit:
>
> t:page="Another">refresh
>
> However, this didn't work, and the reaction of the
>
I was trying to use PageLink in an "invisible" way, in T4 spirit:
refresh
However, this didn't work, and the reaction of the framework was quite
strange (null response?).
This worked properly:
refresh
But hey, this isn't an example of "invisible instrumentation" because
when you preview the te
44 matches
Mail list logo