Guys,
I'm ashamed to admit that my problem was a classic case of RTFM, as there
was an example on the tapestry web site that fixed my dynamic Image asset
problem with just a few lines of code.
I placed my subscriberImage component on my page, and then added the
relevant method to my class:
Personally, I tend to treat large, dynamic collections of images as
though they are stored on some other server, since many apps will find
that such collections may require things like a content delivery
network in order to efficiently deliver them to users as the
collection grows. So I write a c
al Message -
From: "Brian Long" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Wednesday, November 29, 2006 5:51 AM
Subject: dynamic image assets?
Hi,
I'm sure there's a simple solution to this problem, but I've yet to figure
out just what it is!
Zitat von Brian Long <[EMAIL PROTECTED]>:
> the "pathToImage" returned by my subscriber dataobject is exactly that, a
> path to the image. I'd like to use this in the asset component instead of
> the path:
>
>
Right, thats why I meant the parameter binding.
> >
> >
> >
Change to:
g <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Wednesday, 29 November, 2006 10:51:01 AM
Subject: dynamic image assets?
Hi,
I'm sure there's a simple solution to this problem, but I've yet to figure
out just what it is!
I have an image associated with each subscriber that regi
why not store the assets in a database, and write the image direct as raw?
- Original Message
From: Brian Long <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Wednesday, 29 November, 2006 10:51:01 AM
Subject: dynamic image assets?
Hi,
I'm sure there's a simple solution
Zitat von Brian Long <[EMAIL PROTECTED]>:
>
>
>
Try
The value is already an ognl expression (if not declared otherwise).
However, this will still depend on named assets in the page.
I.e., there must be an asset named like what subsriber.pathToImage
evaluates to. You probably want yo
Hi,
I'm sure there's a simple solution to this problem, but I've yet to figure
out just what it is!
I have an image associated with each subscriber that registers with my
application, and on login I'd like to show them their picture along with
their subscriber details.
I know I can add an asset