Does Roma's menu item component support both text and image?
If you're using Accordion (left menu of test presentation app) you can enjoy with stylesheet:
<style name="MyClass.jump" base-name="default" type="nextapp.echo2.app.Button"> <properties> <property type="nextapp.echo2.app.ResourceImageReference" name="icon"> <resource-image-reference resource="/com/myproject/view/image/jump.png" /> </property> </properties> </style>
If you're using classical Menu items, Roma uses Echo2 DefaultMenuModel object. Try to set icon property by stylesheet. Something like:
<style name="MyClass.jump" base-name="default" type="nextapp.echo2.extras.app.menu.DefaultMenuModel"> <properties> <property type="nextapp.echo2.app.ResourceImageReference" name="icon"> <resource-image-reference resource="/com/myproject/view/image/jump.png" /> </property> </properties> </style>
Ciao, Luca
Log in to post a comment.
Does Roma's menu item component support both text and image?
If you're using Accordion (left menu of test presentation app) you can enjoy with stylesheet:
<style name="MyClass.jump" base-name="default" type="nextapp.echo2.app.Button">
<properties>
<property type="nextapp.echo2.app.ResourceImageReference" name="icon">
<resource-image-reference resource="/com/myproject/view/image/jump.png" />
</property>
</properties>
</style>
If you're using classical Menu items, Roma uses Echo2 DefaultMenuModel object. Try to set icon property by stylesheet. Something like:
<style name="MyClass.jump" base-name="default" type="nextapp.echo2.extras.app.menu.DefaultMenuModel">
<properties>
<property type="nextapp.echo2.app.ResourceImageReference" name="icon">
<resource-image-reference resource="/com/myproject/view/image/jump.png" />
</property>
</properties>
</style>
Ciao,
Luca