Tillotto
-
8/4/2010 10:55:20 AM
Possible bug/misunderstanding with Selected item transformation
Hello, when I configure a Web Part - Repeater from CMSDesk/Content there is a Transformations section, in there
'Transformation:' has, in my case, custom.hoody.small and that transformation has the following code in it
<a href='<%# GetDocumentUrl() %>' onClick="return popup(this, 'GarmentPopup', 720,600, 'yes');"> <%# Eval("garmentName") %></a>
'Selected item transformation:' has got custom.hoody.displayOnly
and when I press Edit that is the transformation that I can edit (I've made the first line displayOnly)
however when I click on the garment on a webpage the contents of the popup are definitely coming from
custom.hoody.Default (because I've put Default as the first word)
I think that either I've misunderstood how 'Selected item transformation:' is used or that there is bug in that the Default tranformation is always selected regardless of what is in the field. Indeed if I delete the Default transformation I get
[CMSDataProperties.LoadTransformation]: Transformation 'custom.hoody.Default' not found.
as an error message.
Could someone either set me right on how Selected item transformation: should be used or confirm that this is a bug, please?
I want the Default transformation to have Add to Basket buttons, which it has, and the displayOnly to just show product information - but I get the Add to Basket buttons as well.
Many thanks in advance for any help.
|