You can inject the PropertyConduitSource service (it is public). You
can obtain PropertyConduits, which are the compiled versions of
property expressions (as used by parameter bindings).

The PCS caches the result, so it's reasonable to pass an a class and
an expression, get back a PC, and discard it.

On Thu, Jan 21, 2010 at 3:12 AM, britske <gbr...@gmail.com> wrote:
>
> I have a page showing different blocks (ala myYahoo , netvibes, etc) .
> Each block is a different component.
>
> One of these components gets it's content from a database and writes it in
> the BeginRender() - phase.  The content to store in the database is some
> html possibly with tapestry expansions. E.g: "today is:   #foo
> ${dateAsString} " or something.  (The database route is the way to go for me
> in this scenario, as content is not known at design-time)
>
> Is there a way to "evaluate" the expansions in the the html in the
> component.beginRender phase and render the result?
> This would be pretty powerful stuff.
>
> Thanks,
> Geert-Jan
> --
> View this message in context: 
> http://n2.nabble.com/T5-how-to-eval-canned-expansions-stored-in-db-tp4433039p4433039.html
> Sent from the Tapestry Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to