myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Berger (JIRA)" <>
Subject [jira] Updated: (TOMAHAWK-654) clientside dynamic generation of HTML with support for EditableValueHolder
Date Fri, 01 Sep 2006 23:05:24 GMT
     [ ]

Andreas Berger updated TOMAHAWK-654:

    Status: Open  (was: Patch Available)

> clientside dynamic generation of HTML with support for EditableValueHolder
> --------------------------------------------------------------------------
>                 Key: TOMAHAWK-654
>                 URL:
>             Project: MyFaces Tomahawk
>          Issue Type: New Feature
>          Components: New Component
>    Affects Versions: 1.1.5-SNAPSHOT
>            Reporter: Andreas Berger
>             Fix For: 1.1.5-SNAPSHOT
>         Attachments:
> Hello,
> I have implemented a component that can dynammicly add HTML. You can use EditableValueHolder
inside this component (even recursivly). The component generates some javascript and HTML
code which does all client side stuff. I hope you will add this to tomahawk. The source is
attachted, there is a sandbox example added as well (with a complex nice demonstration of
recursive usage).
> - Andreas Berger
> This is how you use it inside a JSF:
>     <s:dhtmlAddable id="panel2" holder="#{dataHolder}" list="#{}">
>             <s:dhtmlRemove value="[x]"/>
>             <h:outputLabel for="input1" value="Input1: "/><h:inputText id="input1"
>             <h:outputLabel for="input2" value="Input2: "/><h:inputTextarea id="input2"
>     </s:dhtmlAddable>
>     <s:dhtmlAdd elementId="panel2" insertPointId="ip2" value="insert new"/>
>     <h:form>
>         <s:dhtmlInsertPoint id="ip2"/>
>         <h:commandButton value="let's go" action="#{dhtmlProzess.process}" style="clear:both;float:left"/>
>     </h:form>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message