0

how can render the html in listbox

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2009-04-03 13:19:40 +0800

jtoupin gravatar image jtoupin
156

Use the <html> component inside your listitems.

See: http://docs.zkoss.org/wiki/Developer_reference_The_XUL_Components_Components_Html

link publish delete flag offensive edit

answered 2009-04-03 13:23:48 +0800

mavirroco gravatar image mavirroco
93 2
mavirroco.neositios.com

thanks for the reply

link publish delete flag offensive edit

answered 2009-04-03 14:46:26 +0800

mavirroco gravatar image mavirroco
93 2
mavirroco.neositios.com

its work!! thanks jtoupin
<listbox height="300px" model="@{listaResolucion}" id="lbxResolucion" checkmark="true" multiple="false">
<listhead>
<listheader sort="auto" />
<listheader label="Nro Resolucion" sort="auto" />
<listheader label="Fecha Resolucion" sort="auto" />
<listheader label="Tipo " sort="auto" />
<listheader label="Descripcion" sort="auto" />
</listhead>
<a:bind _var="_listaResolucion" value="_listaResolucion" />
<listitem>
<listcell/>
<listcell label="@{_listaResolucion.id_resolucion }"/>
<listcell label="@{_listaResolucion.fec_resolucion }"/>
<listcell label="@{_listaResolucion.tipo_resolucion }"/>
<listcell>
<html content="@{_listaResolucion.descripcion}"></html>
</listcell>
</listitem>
</listbox>

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-04-03 12:44:32 +0800

Seen: 140 times

Last updated: Apr 03 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More