Hi,

I try to create my own method renderContent. I have a problem in putting a div tag in the entry of schedule.
For selected entry it works normaly, but for unselected entry, it doesn't work.
After source code, i finded that the schedule render an anchor tag for unselected entry in ScheduleDetailedDayRenderer:writeEntries when readonly is false.
But in this case my div tag is rendered outside of this anchor tag, so the schedule does not be shown correctly.
I don't know whether it is a bug of tomahawk's schedule or if jsf ResponseWriter close anchor tag automatically.

I tried replace the div tag with table tag, but i have the same problem. But it works with span tag.


ResponseWriter writer

code:
    public void renderContent( ... ) throws IOException
    {
          writer.startElement(HTML.DIV_ELEM, null);
             ....
          writer.endElement(HTML.DIV_ELEM);
    }

What i want :
<td>
<a>
<div>
...
</div>

</a>
</td>

What i got:
<td>
<a>
</a>
<div>
...
</div>

</td>

Thanks a lot for your repply.

Adrien

Reply via email to