Hey Martin, you're lucky because I have a fair idea of what you're up to
:). I think you want to write a custom binding so that your dynamic
template can reference values from a map. I'm thinking you'll contribute a
test: binding which can read and / or write to a map defined in your test
case. Try Googling custom bindings and take a look at tapestry-stitch and
it's map: binding as an example. I'm off to bed :)
On 17 Oct 2013 19:11, "Martin Kersten" <martin.kersten...@gmail.com> wrote:

> I am currently continue to explore the test page capabilities. Now I need
> to think about being able to inject any property of any component under
> test using a generic page.
>
> So what I want is being able to pass all parameters of a component using
> html and providing those values via a Map (or something) via the Request
> object so I can easy get this via the RequestGlobals.request value.
>
> Is there a generic way to express such a property? I know we have certain
> types like asset: and alike. So if I want to access a map of objects and
> pass single values to the component, what can I do?
>
> You know something like <div t:componentIndex="parameters.get('index')"> Is
> this or similar possible (I can also use indexed properties like providing
> getParameter(1) or firstParameter).
>
> Any Idea to make it as strict and readable as possible?
>
>
> Cheers,
>
> Martin (Kersten),
> Germany
>

Reply via email to