From jira-events at lists.jboss.org Mon Nov 14 12:19:41 2011 Content-Type: multipart/mixed; boundary="===============5072783045062641657==" MIME-Version: 1.0 From: Brian Leathem (Updated) (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] (RF-8952) Add element to template language. Date: Mon, 14 Nov 2011 12:19:41 -0500 Message-ID: <1850566946.4096.1321291181097.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> In-Reply-To: 1351936241.2857.1279582732939.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com --===============5072783045062641657== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/RF-8952?page=3Dcom.atlassian.jira.pl= ugin.system.issuetabpanels:all-tabpanel ] Brian Leathem updated RF-8952: ------------------------------ Description: = It would be useful to generate html code snippets as Java functions that wo= uld be called anywhere from template or java code. For example, html table = cells need sofisticated code for iteration while they should be generated i= nside row elements. The template like this: {code}
....
{code} lets to put row/cells rendering logic into Java code (renderRows/renderCell= s methods ) while template markup still follow desired html code. P.S. It would be even more convenient to union both calls into single eleme= nt with name/call attributes. was: It would be useful to generate html code snippets as Java functions that wo= uld be called anywhere from template or java code. For example, html table = cells need sofisticated code for iteration while they should be generated i= nside row elements. The template like this:
....
lets to put row/cells rendering logic into Java code (renderRows/renderCell= s methods ) while template markup still follow desired html code. P.S. It would be even more convenient to union both calls into single eleme= nt with name/call attributes. = > Add element to template language. > ------------------------------------------------ > > Key: RF-8952 > URL: https://issues.jboss.org/browse/RF-8952 > Project: RichFaces > Issue Type: Feature Request > Security Level: Public(Everyone can see) = > Components: cdk > Reporter: Alexander Smirnov > Assignee: Alexander Smirnov > Fix For: 4.Future > > Original Estimate: 0 minutes > Remaining Estimate: 0 minutes > > It would be useful to generate html code snippets as Java functions that = would be called anywhere from template or java code. For example, html tabl= e cells need sofisticated code for iteration while they should be generated= inside row elements. The template like this: > {code} > > > > > > > > > > > > >
....
> {code} > lets to put row/cells rendering logic into Java code (renderRows/renderCe= lls methods ) while template markup still follow desired html code. > P.S. It would be even more convenient to union both calls into single ele= ment with name/call attributes. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.jboss.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============5072783045062641657==--