Hi jacques,
need help here.
This is current drop-down we have for Catalog.
I want to change in List. Confused where i am doing mistake. below is what i
want to do. but for link its giving hard time.
<div class="screenlet-body">
<form name="choosecatalogform" method="post"
action="<@ofbizUrl>main</@ofbizUrl>">
<select name='CURRENT_CATALOG_ID' class='selectBox'
onchange="submit()">
<option value='${currentCatalogId}'>${currentCatalogName}</option>
<option value='${currentCatalogId}'></option>
<#list catalogCol as catalogId>
<#assign thisCatalogName =
Static["org.ofbiz.product.catalog.CatalogWorker"].getCatalogName(request,
catalogId)>
<option value='${catalogId}'>${thisCatalogName}</option>
</#list>
</select>
</form>
</div>
This what i am trying to do.
<div class="screenlet-body">
<form name="choosecatalogform" method="post"
action="<@ofbizUrl>main</@ofbizUrl>">
<ul name='CURRENT_CATALOG_ID' class='selectBox' onclick="submit()">
<#list catalogCol as catalogId>
<#assign thisCatalogName =
Static["org.ofbiz.product.catalog.CatalogWorker"].getCatalogName(request,
catalogId)>
<li><a href="<@ofbizUrl>main</@ofbizUrl>"
id='${catalogId}'>${thisCatalogName} </li>
</#list>
</ul>
</form>
</div>
Regards
Monica
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/New-to-Ofbiz-and-Ofbiz-POS-tp4647653p4649757.html
Sent from the OFBiz - User mailing list archive at Nabble.com.