From jira-events at lists.jboss.org Wed May 16 14:17:18 2012 Content-Type: multipart/mixed; boundary="===============0964810927984361528==" MIME-Version: 1.0 From: =?utf-8?q?Luk=C3=A1=C5=A1_Fry=C4=8D_=28JIRA=29_=3Cjira-events_at_lists=2E?= =?utf-8?q?jboss=2Eorg=3E?= To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] (RF-8952) Add element to template language. Date: Wed, 16 May 2012 14:17:18 -0400 Message-ID: <1467890571.85678.1337192238773.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> In-Reply-To: 1351936241.2857.1279582732939.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com --===============0964810927984361528== 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 ] Luk=C3=A1=C5=A1 Fry=C4=8D closed RF-8952. -------------------------- Assignee: Luk=C3=A1=C5=A1 Fry=C4=8D (was: Alexander Smirnov) Fix Version/s: (was: 4.Future) Resolution: Duplicate Issue Discussing impl in RF-12226 = > 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: Luk=C3=A1=C5=A1 Fry=C4=8D > 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 = --===============0964810927984361528==--