cancel
Showing results for 
Search instead for 
Did you mean: 

Display Custom Properties in document-details.jsp

amar
Champ in-the-making
Champ in-the-making
Hi,
I try to display a custom properties for each version of my document (history),
So I modify the document-details.jsp,
I add a column with :

<a:column id="col6" style="text-align:left">
<f:facet name="header">
<a:sortLink label="customproperty" value="my:customproperty" styleClass="header"/>
</f:facet>
<hSmiley SurprisedutputText id="customproperty" value="#{r['my:customproperty']}" />
</a:column>
It works only for the the versions that I creat after this JSP modification,
I try severals manips like : clear cache… but I can't display the custom property for the version that I creat before the jsp modif.
Thank you
2 REPLIES 2

kevinr
Star Contributor
Star Contributor
>It works only for the the versions that I creat after this JSP modification

The display tags you are using do not modify anything, therefore that doesn't make a lot of sense. Did you in fact only add your custom property to nodes at the same time you started using the JSP? There is no caching of pages, they are generated at runtime.

Thanks,

Kevin

amar
Champ in-the-making
Champ in-the-making
Hi,
I agrees with you, it is really odd,
The steps that I applied :
step 1 : I have a document with custom property (version 1.0)

step 2 : I modify my jsp (document-details.jsp) for displaying my custom property, My new column is empty (can't display the content of my custom property).

step3 : I do Checkout / Checkin without any modification, so my document is at version 1.1

step4 : when I display History of my document : I have the empty column for the version 1.0 and I have the content of my custom property for the version 1.1.

I inspect the content of the table alf_node_properties  for my node version 1.0, I don't see a problem.
Could you give me tracks, to control other elements
thank you