cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: Problem getting an object out of a drop down list
Date Thu, 14 Apr 2005 13:15:34 GMT
uzo wrote:
>> 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()}>
you cannot .. this is not a well formed xml
what difference does it make anyway?

> 
> sending the value without being enclosed in quotes then all would be ok. 
> Is there anyway to override this in xslt?
nope

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message