The Tapestry-related answer is that Tapestry provides an injectable
service, Request [1], that is a shadow of the current thread's
HTTPServletRequest [2]:
import org.apache.tapestry5.services.Request;
@Inject
Request request;
public String getRemoteHost() {
return request.getRemoteHost();
}
On Mar 13, 2013 4:52 AM, Lance Java lance.j...@googlemail.com wrote:
In a mixin, I can change the value of a component parameter using:..
@BindParameter to get a mirror of the parameter and then updating the
mirrored value.
This is fine with the prop: and var: bindings since they are
Hi
As Bob Harner said, the img tag you are using is a normal html tag that
takes a url.
If you look at the example you are linking to, you will see that it is
using 2 different classes (UploadStore and SomePage)
These pages have different tasks.
UpploadStore redenders a image based on the ID in
Thanks Bob... awesome answer... blows the others right off the boards.
I wish your development opens up for a breakout and terrific designs to follow.
- cheers
Best regards
and thanks... KEN
From: nhhockeypla...@hotmail.com
To: users@tapestry.apache.org
Subject: is there a way to get the
Hi Sigbjørn, Hi Bob,
Yeah, I think, I get the idea.
So, if you want to use the HTML img tag for streaming, you need a
org.apache.tapestry5.Link (for example, it can be created by a
componentResources.createEventLink(image, id)) or you need to inject
a LinkSource (just as in the UploadStore
Nothing specific that I know of...
...you could iterate over the ServiceActivities in the
ServiceActivityScoreboard service looking for a matching service
interface and take the ID from there. It's not nice, but as long as
you know the type of the service, it should work.