Leszek,beyanet.com wrote:beyanet.com wrote:
Ok,
let me explain. I have a html page which presents a selection of previous orders made by a client. In the option value section I place the associated order objects of a user like so:
<jx:forEach var="orderz" items="${userGlobal.getUserOrders()}"> <option value="${orderz}">${orderz.getOrderDate()}</option> </jx:forEach>
Leszek,
the problem is the fact that XSLT forces you to use quotes in the value section of the option tag:
<option value="${orderz.getID()}">
If I could do this:
<option value=${orderz.getID()}>
sending the value without being enclosed in quotes then all would be ok. Is there anyway to override this in xslt?
regards
Uzo
you are right. But it would be helpfull if I could at least interrogate userGlobal, which is a set, like so:
userGlobal.contains(orderz);
or even iterrate through the orders based on an order id and then select all the relevant info I need from there.
ah well... back to the original solution.
thanks
Uzo
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
