commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "marimuthup" <marimut...@infotechsw.com>
Subject How to give a custom render to swing elements in Jelly Script
Date Fri, 17 Dec 2004 10:35:53 GMT
Hi,


In this list sample I have given my custom renderer.

But its not picking up...

Could some say me how to add a custom renderer to a List.

<?xml version="1.0"?>

<j:jelly
    xmlns:j="jelly:core"
    xmlns="jelly:swing" >

  <frame var="frame" title="Homepage Builder" location="100,100"
size="800,400">
        <panel>
          <borderLayout>
                <borderAlign align="west">
                      <label text="Space Name:"/>
                      <textField var="pictureField" />
		      <scrollPane>
			      <j:useBean class="CollectRegions" var="collectRegions"/>
			      <j:useBean class="RegionRenderer" var="renderRegions"/>
				<list model="${collectRegions}" renderer="${renderRegions}"/>
		      </scrollPane>
		</borderAlign>
            </borderLayout>
        </panel>
    </frame>
    ${frame.show()}
</j:jelly>

Thanks and regards
P.Marimuthu


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message