Portlet example in version 4

Hi,

I am struggling to port over to version 4 of backbase. I can't find what would now be the equivelent of

<s:htmlstructure b:name="por:portlet" b:behavior="portlet">

We unfortunatly use as a basis for part of our application the portal example you wrote. I was hoping you would have rewritten such an example to help people migrating from 3 to 4.

Are there any plans?

Nick

htmlstructure

The equivalent of htmlstructure in 4 is <d:template>
Basically you'd create your own tag:

Define:

<d:namespace name="myNamespace">
  <d:element name="portlet" extends="x:portlet">
    <d:template type="text/xml">
       <div><b><d:content/></b></div>
    </d:template>
  </d:element>
</d:namespace>

Use:

<div xmlns:por="myNamespace">
   <por:portlet>Hello</por:portlet>
</div>

Thanks for the prompt

Thanks for the prompt response.

It would be helpful if there was a reference document pointing out the equivalent code from version 3 to 4

Nick