Hi there,

I'm using Tapestry 3.0

I'm trying to have the id attribute in my div tag be dynamic, but it's not rendering.
I have the following line in my html:
<div jwcid="@Any" class="day-row" id='ognl:(studyDay.pkScheduled)?"active-pk":"inactive"'>

But it renders like this:
<div class="day-data" id='ognl:(studyDay.censusScreen != 0)?"active-sc":"inactive"'>

Rather than what I'm trying to get, which is this:
<div class="day-data" id='inactive'>15</div>
or
<div class="day-data" id='active-pk'>15</div>


I'm thinking that it's some conflict with the way Tapestry uses the id tag, but I'm not sure how to work around it. Any help would be much appreciated.

Thanks,
Philip


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to