Hello,
i want just to get the current id of the product from earch row into my
own component (carthandler). But i always got a nullpointer because
currentProduct ist null? But wuy? CurrentPorduct is not null for the
column, where they render the pagelink for productdetailpage?
(with "prop:currentProduct.id" - its also not working)
(with fixed values like productid="3", everthing works as expected - but
i need the id from each product)
So general question is, how to pass dynamic properties to an other
component?
....
<t:grid source="resultList" row="currentProduct"
model="productListModel">
<t:parameter name="nameCell">
<a t:type="pagelink" page="productdetail"
context="currentProduct.id">${currentProduct.name}</a>
</t:parameter>
<t:parameter name="actionCell">
* <t:carthandler productid="currentProduct.id"/>*
</t:parameter>
</t:grid>
....
Thank you,
Thomas