Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » Can we use any kind of scriptlets JSP tags inside JET templates?(Can we do some kind of programming inside JET templates using Java or JSP?)
Can we use any kind of scriptlets JSP tags inside JET templates? [message #492570] Tue, 20 October 2009 15:13 Go to next message
Eclipse UserFriend
Hi,

I just want to know, is it possible to do any kind of programming inside JET templates either using scriptlets or JSP tags?

Thank you,

Asha.
Re: Can we use any kind of scriptlets JSP tags inside JET templates? [message #492733 is a reply to message #492570] Wed, 21 October 2009 10:44 Go to previous messageGo to next message
Eclipse UserFriend
Asha:

M2T JET supports Scriptlets and tag libraries. That is, you can write Java scriptlets:

<% java-code-goes-here %>


Java expressions:

<%= java-expression %>


Java declarations:

<%! Java-method-or-instance-variable-declarations %>


Tag libraries are defined via Eclipse extension points - they are not JSP tag libraries (which have explicit dependencies on the Java servlet APIs). JET provides four standard tag libraries:

control tags - basic control flow and model access tags
format tags - for formatting content
java tags - for generating Java content
workspace tags - for writing content to the Eclipse workspace

You can find the tag library documentation here:

http://help.eclipse.org/galileo/topic/org.eclipse.jet.doc/re ferences/taglibs/index.xhtml

You can, of course, contribute your own tag libraries by contributing plug-ins that extend this extension point:

http://help.eclipse.org/galileo/topic/org.eclipse.jet.doc/re ferences/extensionpoints/org_eclipse_jet_tagLibraries.html

Does this help?

Paul
Re: Can we use any kind of scriptlets JSP tags inside JET templates? [message #492747 is a reply to message #492733] Wed, 21 October 2009 11:23 Go to previous message
Eclipse UserFriend
Hi Paul,

Thank you very much.
That helps.
I explored entire help associated with JET today and its really great!!!
I felt it has more than what I imagined!

Thank you,

Asha.
Previous Topic:[JET] Jet editor still now working in Galileo
Next Topic:Re: How to create an xpand project in galileo
Goto Forum:
  


Current Time: Wed Jul 02 20:03:23 EDT 2025

Powered by FUDForum. Page generated in 0.04115 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top