Revision history [back]

click to hide/show revision 1
initial version

asked 2013-11-26 17:12:18 +0800

hf gravatar image hf

Pass parameter to contex menu

Hi,

I need to pass parameters to context menu. This is my code:

<label foreach="${stamp.stamps}" width="55px" value="${stamp.stamps[forEachStatus.index]}" tooltiptext="Ore: ${stamp.stamps[forEachStatus.index]} Anomaly: ${stamp.stamps[forEachStatus.index].anomaly}" style="${stamp.stamps[forEachStatus.index].anomaly eq 'true' ? 'color:red;text-align:right' : 'color:#373842;text-align:right' }" context="contextMenu"/>

and this is my contextMenu:

<menupopup id="contextMenu"> <menuitem label="Dettagli giornata"/> <menuitem label="Inserisci giustificativo"/> </menupopup>

Thanks.

Pass parameter to contex menu

Hi,

I need to pass parameters to context menu. This is my code:

<label foreach="${stamp.stamps}" forEach="${stamp.stamps}" width="55px"  value="${stamp.stamps[forEachStatus.index]}"  tooltiptext="Ore: ${stamp.stamps[forEachStatus.index]} Anomaly: ${stamp.stamps[forEachStatus.index].anomaly}"  style="${stamp.stamps[forEachStatus.index].anomaly eq 'true' ? 'color:red;text-align:right' : 'color:#373842;text-align:right' }" context="contextMenu"/>

}" context="contextMenu" />

and this is my contextMenu:

<menupopup id="contextMenu">
    <menuitem label="Dettagli giornata"/>
giornata" />
    <menuitem label="Inserisci giustificativo"/>
</menupopup>

giustificativo" /> </menupopup>

Thanks.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More