You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Julián Osorio Amaya EuphoriaIT <jo...@euphoriait.com> on 2010/04/15 17:55:04 UTC
Need info about a Tomahawk tag
Greetings.
I want to know if Tomahawk has a tag to perform a functionallity to pass
an element to one box to another. There is an example on the attachment.
This is the code I've been using
<t:panelGroup colspan="4" styleClass="cen">
<t:panelGrid columns="3" width="100%" cellpadding="1" cellspacing="1">
<h:outputText value="PERMISOS DISPONIBLES" />
<h:outputText value=" " />
<h:outputText value="PERMISOS OTORGADOS AL ROL" />
<t:selectManyListbox id="listaPermisosFaltantes" size="10"
value="#{BackingEditarRol.faltantes}">
<f:selectItems value="#{BackingEditarRol.permisosFaltantes}" />
</t:selectManyListbox>
<h:panelGrid columns="1">
<h:commandButton id="btnOtorgar" value=" > " styleClass="botonPequeno"
action="#{BackingEditarRol.otorgarPermisos}" onclick="presionado(this)" />
<h:commandButton id="btnRevocar" value=" < " styleClass="botonPequeno"
action="#{BackingEditarRol.revocarPermisos}" onclick="presionado(this)" />
</h:panelGrid>
<t:selectManyListbox id="listaPermisosOtorgados" size="10"
value="#{BackingEditarRol.otorgados}">
<f:selectItems value="#{BackingEditarRol.permisosOtorgados}" />
</t:selectManyListbox>
</t:panelGrid>
</t:panelGroup>
Thanks.
--
<?xml version = '1.0' encoding = 'UTF-8'?>
<firma>
<nombre>Julian Osorio Amaya</nombre>
</firma>