www.archive-gr-2013.com » GR » A » ABISS

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".

    Archived pages: 280 . Archive date: 2013-04.

  • Title: Abiss.gr Developer Pages: Open Source Projects
    Descriptive info: .. Projects.. Calipso.. MD4J.. Maven JS Tools.. Sarissa.. Xcluder.. Welcome to the developers section of Abiss.. gr, home of our Open Source projects.. Enjoy!.. About Calipso.. Calipso is an enterprise-level case management and workflow platform.. For more information please visit the project website at.. calipso.. abiss.. gr.. About MD4J.. MD4J is a passive, model driven, extensible J2EE webapp generator.. Currently Hibernate 3 mappings are supported as input, with EJB 2.. 1, Struts 1.. x and JSP 2.. 0 as output for CRUD and Search operations with patterns like MVC, DAO and SessionFacade.. Ant task included.. One of the main features of MD4J is that it allows you to work on your model iteratively, providing a complete J2EE application following your model changes..  ...   About Maven JS Tools.. The Maven JSTools Plugin provides a Maven interface to a set of JavaScript reporting and documentation tools like JSDoc Toolkit and JSLint, along a simple approach for building JS artifacts and use them as dependencies in your Maven-based projects.. About Sarissa.. Sarissa is an ECMAScript library acting as a cross-browser wrapper for native XML APIs.. It offers various XML related goodies like Document instantiation, XML loading from URLs or strings, XSLT transformations, XPath queries etc and comes especially handy for people doing what is lately known as "AJAX" development.. About Xcluder.. xcluder is an XML Inclusions (XInclude) task for Apache Ant.. Offers the choice of using Xerces or Elliotte Rusty Harold's XOM API.. 2003-2010.. Abiss.. Last Published: 20/02/2008..

    Original link path: /
    Open archive

  • Title: MD4J - About
    Descriptive info: MD4J.. |.. SF Project.. Fisheye.. Overview.. Introduction.. Download.. Mailing Lists.. Source Code.. Non-GPL Use.. Tutorials.. Quickstarter Tutorial.. Mappings HowTo.. Mappings Metadata Ref.. Custom Generators HowTo.. Ant Builds HowTo.. Project Documentation.. Project Information.. About.. Continuous Integration.. Dependencies.. Issue Tracking.. Project License.. Project Summary.. Project Team.. Source Repository.. Project Reports.. 2003-2008 Abiss.. gr.. Last Published: 20/02/2008..

    Original link path: /md4j/
    Open archive

  • Title: mvn-jstools - Maven JSTools Home Page
    Descriptive info: Maven JSTools Plugin.. How to use.. Packaging JS.. Goals.. FAQ.. Documentation.. You can find documentation on the plugin goals.. here.. Since you are obviously working on a Maven based JS project, you should also check out the.. usage.. and.. JS project packaging.. documentation.. Tools.. The following tools are currently supported:.. JavascriptDependencyFilter.. : A Servlet Filter that loads Javascript files or other static resources from the runtime classpath (i.. e..  ...   for example, include JS dependencies in their Maven POM and the filter will resolve those at runtime, cache them and produce the appropriate HTTP response.. JSDoc Toolkit.. : an application, written in JavaScript, for automatically generating template-formatted, multi-page HTML (or XML, JSON, or any other text-based) documentation from commented JavaScript source code.. JSLint.. : is a JavaScript program that looks for problems in JavaScript programs.. 2007-2008 Abiss.. Last Published: 06/06/2008..

    Original link path: /mvn-jstools/
    Open archive

  • Title: Sarissa - Sarissa Home Page
    Descriptive info: Sarissa.. Credits/Changelog.. Installation.. HOWTOs.. TODOs.. API (JSDoc).. Troubleshooting.. Unit Tests (ECMAUnit).. It offers various XML related goodies like Document instantiation, XML loading from URLs or strings, XSLT transformations, XPath queries etc and comes especially handy for people doing what is lately known as AJAX development.. Supported browsers are Mozilla - Firefox and family, Internet Explorer with MSXML3.. 0 and up, Konqueror (KDE 3.. 3+ for sure), Safari and Opera.. Konq and Safari offer no XSLT/XPath scripting support AFAIK.. For a HOWTO document that provides examples of common tasks see the.. The API documentation is generated using.. JSDoc.. and can be found.. The latest version of Sarissa can always be found on.. the Sourceforge project page.. Please send comments, corrections etc through the.. mailing list.. or the.. forum.. License.. Sarissa is distributed under the.. GNU GPL.. version 2 or higher,.. GNU LGPL.. version 2.. 1 or higher and.. Apache Software License.. 2.. 0 or higher.. You can use Sarissa according to any of those licenses.. Credits.. See.. CHANGELOG.. txt.. Please let us know if your name is missing!.. Projects used when developing Sarissa:.. Apache.. Maven.. Ant.. are used to build the Sarissa distributions, documentation and website.. Sarissa can nowdays be used as a Maven dependency in your Maven-based webapps,.. check it out.. The.. Maven JSTools Plugin.. is used to produce documentation based on.. The JSTools Plugin is also used in Maven based java webapps at runtime, to resolve Sarissa or other JS files and resources.. ECMAUnit.. is used for Unit Testing.. Check out the Sarissa Unit Tests page.. MobilVox Maven JavaScript Plugin.. is used to create the compressed versions of the Sarissa JS files.. Syntaxhighlighter.. is used for (obviously) syntax highlighting through out the documentation.. Here are some projects using Sarissa, please let us know if you would like to add yours here.. This is in the credits simply because if Sarissa was not usefull we would not be working on it.. Currently Sarissa has been downloaded about 70k times so we will  ...   Diamond's.. My Ajax.. NET library.. MojoPortal.. , an Object Oriented web site framework written in C# that runs under ASP.. NET on Windows or under Mono on GNU/Linux and Mac OS X.. Taleful.. com.. is an interactive storytelling website.. This website was created to give people a place where they can express themselves and share their stories.. All are welcome to come, read and post stories, share and collaborate with others in joint story projects, receive creative writing feedback and enhance their imagination.. Freja.. (Framework for Restful Javascript Applications) is not yet another Ajax library.. It is an Open-Source, MVC, High Level Ajax based Javascript Framework that lets you use your favorite javascript library if you wish.. It actually plays well with other javascript toolkits and libraries (prototype, scriptaculous, dojo, etc.. ).. HyperScope.. is a high-performance thought processor that enables you to navigate, view, and link to documents in sophisticated ways.. It is a completely client-side system implemented with Dojo and Sarissa.. Ziizo.. , an online service that allows you to create bookmarks, notes, quotations, lyrics, recipes etc.. online and access them from anywhere.. You can also create a public page and share with the world.. KSS project.. (formerly known as Kukit) is a javascript framework that aims to allow Ajax development without javascript.. It uses stylesheets with CSS-compliant syntax to setup behaviours in the client and a set of well-defined commands that are marshalled back from the server to manipulate the DOM.. MapGuide Open Source.. is a web-based platform that enables users to quickly develop and deploy web mapping applications and geospatial web services.. Opportuno.. is jobs search engine for employment opportunities in Germany.. Its Instant View search interface is completely based on the Sarissa library.. Dr.. Dobb's.. FlipBook.. , an e-zine built on Silverlight.. jstree.. , a tree component based on jQuery uses Sarissa to transform XML datasources.. Ajaxterm.. , a web based terminal (CLI).. It was totally inspired and works almost exactly like Anyterm.. 2003-2012 Abiss.. Last Published: 22/05/2012..

    Original link path: /sarissa/
    Open archive

  • Title: MD4J - About
    Descriptive info: XCluder.. Shortcuts.. Ant Build HowTo.. About XCluder.. 2004-2008 Abiss..

    Original link path: /xcluder/
    Open archive

  • Title: MD4J - Project Mailing Lists
    Descriptive info: Project Mailing Lists.. These are the mailing lists that have been established for this project.. For each list, there is a subscribe, unsubscribe, and an archive link.. Name.. Subscribe.. Unsubscribe.. Post.. Archive.. MD4J User Mailing list.. -.. sourceforge.. net..

    Original link path: /md4j/mail-lists.html
    Open archive

  • Title: MD4J - Source Repository
    Descriptive info: This project uses.. Concurrent Versions System.. to manage its source code.. Instructions on CVS use can be found at.. http://cvsbook.. red-bean.. com/.. Web Access.. The following is a link to the online source repository.. http://md4j.. cvs.. sourceforge.. net/md4j.. Anonymous access.. This project's CVS repository can be checked out through anonymous CVS with the following instruction set.. When prompted for a password for anonymous,  ...   cvs -z3 -d :pserver:anonymous@md4j.. net:/cvsroot/md4j co md4j.. Developer access.. Only project developers can access the CVS tree via this method.. Substitute username with the proper value.. $ cvs -d :ext:username@md4j.. net:/cvsroot/md4j login $ cvs -z3 -d :ext:username@md4j.. Access from behind a firewall.. For those developers who are stuck behind a corporate firewall,.. CVSGrab.. can use the viewcvs web interface to checkout the source code..

    Original link path: /md4j/source-repository.html
    Open archive

  • Title: MD4J - Closed source or other non-GPL use
    Descriptive info: Non GPL Use.. We realise the GPL license is not for everyone, but want to keep MD4J and possible derivatives free.. To suit the needs for non-GPL users, we are working on options for Open Source and Closed Source projects.. Read on.. For Open Source Projects.. For Open Source projects that use a license other than the GPL, we will  ...   for free with their Open Source software.. Just ask us.. Right now we are thinking of following MySQL's example of a.. FOSS exception.. Please let us know if your OS project needs this.. For Closed Source Projects.. We are working on a commercial offering for closed source projects with optional support and training, please contact us if you are interested..

    Original link path: /md4j/non-gpl-use.html
    Open archive

  • Title: MD4J - Getting started with MD4J using Quickstarter: a 10 minute tutorial
    Descriptive info: This tutorial will help you get started quickly (hopefully in ten minutes or so) using Quickstarter, a Maven-based J2EE project template for MD4J.. The template has MD4J code generation setup for you, plus all the plumbing you are used to in your Maven or Ant projects, such as XDoclet for your EJBs and Struts οr other web classes.. XDoclet is also applied on EJB and Struts code generated by MD4J from your Hibernate mappings.. A Maven archetype based on the template will be available soon, while an Ant-based project template is also in the works.. Stay tuned for EJB 3 and Struts 2 code generation support!.. Prerequisites.. To folow the tutorial you need the following:.. A JDK installed.. Version 1.. 4 and above will do just fine.. Remember to set up your $JAVA_HOME (%JAVA_HOME% in windows).. An instance of your favourite J2EE container.. This tutorial currently assumes JBoss, but you should be able to adjust for Geronimo, Jonas etc.. If you do, paches for this document and the template project itself are welcome.. This is a Maven 2 based tutorial, so if you dont have it installed you need to.. download and follow the installation instructions.. The MD4J core and quickstarter archives; those can be found in our.. download page.. at Sourceforge (or check them out from CVS).. Both will be available in Maven's primary repository along with the 0.. 2 release.. A database server.. This tutorial assumes MySQL but you should be able to adjust the instructions for any.. Hibernate supported.. database with ease.. In case of trouble, please ask for help in the.. The Quickstarter multi-project.. Because MD4J is not available in the Maven Repository yet, you need to manually install md4j-0.. 2.. jar in your local Maven repository.. Using your shell or command prompt, navigate to directory where the core jar has been downloaded and enter the commands below in a.. single line.. :.. mvn install:install-file -Dfile=md4j-0.. jar -DgroupId=gr.. md4j -DartifactId=md4j -Dversion=0.. 2 -Dpackaging=jar.. Now extract the Quickstarter project template somewhere in your filesystem.. After extracting it you should see the following list of directories:.. md4j-quickstarter-mvn: the root project, just a POM.. md4j-quickstarter-ear: the EAR module.. md4j-quickstarter-struts: the Struts WAR module.. md4j-quickstarter-ejb: the EJB JAR module.. md4j-quickstarter-hibernate: the Hibernate-based module, produces the domain POJOs JAR.. Quickstarter is actually a multiproject composed of the hibernate, ear, ejb and struts subprojects.. These subprojects, in Maven jargon, are called modules.. Each module works as a standalone Maven project with it's own POM (pom.. xml), src directory etc.. Before working with the quickstarter modules, take a look in md4j-quickstarter-mvn/filter.. properties.. This file is used by all Quickstarter modules; every property-value pair in it will have efect throughout the multiproject.. Setting up the project and database.. If you have a local MySQL installed, all you have to do is login and create the database:.. % mysql -u root -p password: ***** mysql create database quickstarter; mysql quit.. Where ***** is the password (default is empty for MySQL).. You may want to create a user for the quickstarter database and grant related privileges, in any case update.. connection.. username.. password.. in filter.. properties accordingly.. If you use another database you will need to update the related properties accordingly, including the.. hibernate.. dialect.. Working with the Hibernate Domain Module.. The Domain module contains the application Hibernate mappings (*.. hbm.. xml), in other words the domain model of your application.. The artifact it produces is a JAR containing those mappings, the Hibernate runtime configuration (hibernate.. cfg.. xml) and the compiled POJOs generated from the mappings.. The POJOs are generated by the.. Maven Hibernate3 Plugin.. MD4J actually uses the Hibernate module mappingsbehind the schenes from the ejb and Web modules, as we will see later, to generate source code.. For now, let's play a bit with this module by editing a mapping and creating our database.. Navigate to the model/src/main/gr/abiss/md4j/sampledomain/ folder and add the following property to both City and Country hbm files: and add the following property to it:.. property name= population type= integer not-null= true /.. Note: When working with Hibernate mappings keep in mind the.. requirements.. Your City mapping should now look like.. City.. xml.. To build the Domain module simply run the following command within the domain directory:.. mvn clean install.. Here is what we created in the Domain module:.. A JAR artifact containing the Hibernate mappings and filtered configuration file, along with the compiled POJOs from the sources generated in domain/target/hibernate3/generated-sources.. The database tables using the SQL DDL generated in domain/target/hibernate3/sql/schema.. sql.. Creating the Database Tables.. Before you continue,.. execute the generated SQL.. (in domain/target/hibernate3/sql/schema.. sql) against your quickstarter database using something like the MySQL Query Browser to generate the application tables that correspond to your Hibernate mappings.. The next modules, ejb and web are far easier to deal with, so lets get going while we are still within the ten minute timeframe ;-).. Building the EJB module.. This is where you develop your EJBs or other business tier code.. MD4J also generates EJBs and DAOs here and places them in target/generated-sources/main/java/.. The module structure:.. /ejb |-src |---main |-----java: EJBs and other business level code like DAOs etc.. |-----resources: property files and othr resources |-target |-pom.. xml: The EJB module POM.. To generate a JAR with EJBs and DAOs for the domain model entities you edited while working with the Domain module, all you have to do is execute the following from within the EJB module directory:.. With the above command, MD4J will read the Hibernate mappings in the Domain module to generate EJBs and DAOs.. For example, the CityManagerBean.. java, a Stateless Session EJB created by MD4J using the from City.. xml mapping as input:.. /* * This file was automatically generated by MD4J.. * * Licensed under the GNU General Public License, Version 2.. 0 (the License ) or above; * you may not use this file except in compliance with the License.. * You may obtain a copy of the License at * * *http://www.. gnu.. org/licenses/gpl.. txt * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.. * See the License for the specific language governing permissions and * limitations under the License.. * */ package gr.. md4j.. sampledomain.. business; import java.. io.. Serializable; import java.. util.. List; import java.. Set; import java.. HashSet; import java.. Map; import javax.. ejb.. CreateException; import javax.. EJBException; import javax.. SessionBean; import javax.. SessionContext; import javax.. naming.. InitialContext; import org.. apache.. log4j.. Logger; import org.. commons.. lang.. math.. NumberUtils; import gr.. dao.. Page; import gr.. Order; import gr.. business.. BrokenConstraintsException; import gr.. Country; import gr.. City; import gr.. CityDAO; /** * @ejb.. bean name= CityManager * display-name= CityManager * description= City EJB * jndi-name= ejb/CityManagerBeanHome * local-jndi-name= ejb/CityManagerBeanLocalHome * view-type= both * type= Stateless * @ejb.. home extends= javax.. EJBHome local-extends= javax.. EJBLocalHome * @ejb.. transaction type= Required * * @ejb.. interface * */ public class CityManagerBean implements SessionBean{ private static Logger log = Logger.. getLogger(CityManagerBean.. class); /** * @ejb.. create-method */ public void ejbCreate() throws CreateException { } public void ejbActivate() throws EJBException { } public void  ...   as Serializable that can be safely casted as Long */ public Serializable save(Map map) { Object pojo = this.. createFromParams(map); return this.. sf.. getCurrentSession().. save(pojo); } /** * Persists the given City instance * This method is b not /b for updating * @returns the identifier of the newly persisted POJO as Serializable that can be safely casted as Long */ public Serializable save(City pojo) { return this.. save(pojo); } /** * Convert the identifier to the right class and call the generic load method * @see gr.. AbstractHbmDAO#load(java.. Serializable) */ public Object load(Serializable identifier) { Long typedIdentifier = NumberUtils.. createLong((String) identifier); return super.. load(typedIdentifier); } /** * Convert the identifier to the right class and call the generic get method * @see gr.. AbstractHbmDAO#get(java.. Serializable) */ public Object get(Serializable identifier) { Long typedIdentifier = NumberUtils.. get(typedIdentifier); } /** * Convert the identifier to the right class and call the generic get method * @see gr.. AbstractHbmDAO#get(Serializable, Set) */ public Map get(Serializable identifier, Set projectionProperties) { Long typedIdentifier = NumberUtils.. get(typedIdentifier, projectionProperties); } /** * Copy properties from the given map to the given City instance * @param map The Map object to copy properties from * @tparam obj The instance of City you wish to copy the properties to * @throws ClassCastException in case the given object is not an instance of City * @see gr.. AbstractHbmDAO#copyProperties(java.. Map, java.. Object) */ public void copyProperties(Map map, Object obj) { City pojo = (City) obj; if ( map.. containsKey( id )) { String _stringid = (String) map.. get( id ); Long _id = NumberUtils.. createLong(_stringid); pojo.. setId(_id); } if ( map.. containsKey( name )) { String _name = (String) map.. get( name ); pojo.. setName(_name); } if ( map.. containsKey( region )) { String _region = (String) map.. get( region ); pojo.. setRegion(_region); } Serializable _countryIdentifier = (Serializable) map.. get( country ); if (_countryIdentifier != null) { Country _country = null; String countryId = (String) _countryIdentifier; _country = (Country) this.. load(Country.. class, countryId); pojo.. setCountry(_country); } } /** * Create the criteria for a City search using the given code params /code , then bubble the * operation to the superclass up to AbstractHbmDAO at witch point all code params /code * have bheen converted to criteria and the actual Criteria query can be executed to return a Page of results.. * @see gr.. AbstractHbmDAO#getPage(org.. Session, java.. Set, java.. Map, org.. Criteria, int, int) * @param sess The Hibernate Session object to use for the search * @param projectionProps The set of properties to return for each result * @param params The set of search criteria to use * @param criteria The criteria to use for the search, produced by each DAO in the object hierarchy using the code params /code map * @param pageNumber The page number to return * @param pageSize The page size * @return The resulting Page of results */ protected void populateCriteria(Set projectionProps, Map map, Criteria criteria) { //criteriaFromParamsMap prosessing: id, id: searchType:Long, hbmtype: java.. Long, relatedClass: if ( map.. get( id ) != null) { String _stringid = (String) map.. createLong(_stringid); criteria.. add(Restrictions.. eq( id , _id)); } //criteriaFromParamsMap prosessing: property, name: searchType:String, hbmtype: string, relatedClass: if ( map.. get( name ) != null) { String _name = (String) map.. get( name ); criteria.. like( name , % + _name + % )); } //criteriaFromParamsMap prosessing: property, region: searchType:String, hbmtype: string, relatedClass: if ( map.. get( region ) != null) { String _region = (String) map.. get( region ); criteria.. like( region , % + _region + % )); } //criteriaFromParamsMap prosessing: many-to-one, country: searchType:String, hbmtype: string, relatedClass: Country criteria.. createAlias( country , country ); Serializable _countryIdentifier = (Serializable) map.. get( country ); if (_countryIdentifier != null) { String countryId = (String) _countryIdentifier; criteria.. eq( country.. id , countryId)); } } /** * @return The resulting Page of results */ public void addParentOptions(Map map) { Session session = this.. getCurrentSession(); map.. put(Md4jGlobals.. PARENT_OPTIONS+ #country , Helper.. getQueryResultAsMap(session.. createCriteria(Country.. class).. addOrder(Order.. asc( id )), id , id )); } public Set getUniquePropertyNames(){ return CityDAO.. uniConstrainedPropertyNames; } }.. in the mean time, Maven will use XDoclet to generate the EJB descriptors and package everything in target/md4j-quickstarter-ejb-0.. jar.. Of course you can develop your own EJBs and other business-level code and place it in md4j-quickstarter-ejb/src/main/java.. Maven will process that and package it in the EJB JAR, after XDoclet processing if neccessary.. Building the Web module.. In this module you develop your web classes (Struts, Servlets, etc.. ) in src/main/java.. JSPs and other web files like CSS and images are placed in src/main/wbapp.. Md4J reads the Hibernate mappings from the Domain module to create Struts code in target/generated-sources/main/java/ and JSPs in target/md4j-quickstarter-war-0.. 2/.. /web |-src |---main |-----java: Java web sources (Struts, Servlets etc) |-----merge: Webdoclet merge files for web and Struts |-----webapp: JSPs, images, CSS etc |-target |-pom.. xml: The module POM.. Similarly to the EJB module, to generate a JAR with your web files like Struts Actions and Forms, JSPs and everything else (including the Struts and JSP code MD4J will generate from your Domain mappings), all you have to do is execute the following from within the md4j-quickstarter-struts module directory:.. This will create the WAR file as target/md4j-quickstarter-struts-0.. war.. Let's see what MD4J generated from our City mapping:.. CityCrudForm.. java.. , used by all CRUD Actions.. CityLoadCreateAction.. that forwards to:.. the.. Create.. jsp.. , which displays a form for entering cities in the database.. The form is submitted to:.. CityCreateAction.. , which validates and persists the city, then forwards to:.. CityViewAction.. This Actions loads the city from the DB and forward to:.. View.. , which presents the persisted city details.. CityLoadUpdateAction.. , which loads the city information from the database and forwards to:.. Update.. , which displays a form for updating the city details and submits it to:.. CityUpdateAction.. , that persists the changes and forward to the View Action.. CitySearchForm.. , the form bean used by.. CitySearchAction.. , that accepts any number of parameters, retreives the search results and forwards to:.. Search.. , which is used both as a search form and search results view.. Imagine having to type all this code.. Now lets deploy our EAR.. Deploying the EAR and Datasource.. Lets build and deploy an EAR that bundles all the above to your local JBoss AS.. To do this, yoo need to either have a JBOSS_HOME environment variable set or, in case you do not wish to use the environment variable, open the EAR module's pom.. xml, then look for and edit the.. jbossHome.. element before executing the following:.. mvn clean install jboss:harddeploy.. This will deploy the EAR in your local JBoss server.. Now you need to deploy the datasource; simply copy the filtered ear/target/classes/md4j-quickstarter-ds.. xml in your SJBOSS_HOME/server/default/deploy directory and you are good to go.. Test your Web Application.. We haven't finished the sitemap generator yet, so you need to keep the following URL patterns in mind to test the web application.. Supposing you want to test the pages for the entity/POJO named City , here are the URLs you need to access:.. To create a new Country:.. [WEB-CONTEXT]/Country/LoadCreate.. do.. To create a new City:.. [WEB-CONTEXT]/City/LoadCreate.. To update the City:.. [WEB-CONTEXT]/City/LoadUpdate.. do?id=[ID].. To search for a City:.. [WEB-CONTEXT]/City/Search..

    Original link path: /md4j/tutorial-with-maven.html
    Open archive

  • Title: MD4J - How to use Hibernate mappings with MD4J
    Descriptive info: Requirements.. Hibernate mapping files used with MD4J must satisfy a set of requirements:.. Each file must describe only one (sub) class.. All files must belong to the same Java package.. All files must be in the same directory on the filesystem.. POJO properties must not use primitive types (for example you should use integer instead of int).. class.. attribute is mandatory for.. many-to-many.. elements and the corresponding value must  ...   valid.. type.. attribute.. Metadata.. MD4J looks out for metadata in your input files (see.. metadata reference.. ) and uses that to customize it's output based on your directions.. Using MD4J metadata in Hibernate mappings is rather straightforward, for example you can use the.. md4j:render-as-image.. flag to render a property as an.. img.. tag in JSP (or whatnot) views:.. property name= logo type= string not-null= false meta attribute=.. true /meta /property..

    Original link path: /md4j/hbm-howto.html
    Open archive

  • Title: MD4J - Metadata for Hibernate mappings
    Descriptive info: Hibernate mapppings are used as input to MD4J, with other formats possibly used in future versions (XSLT for XMI/RDFS/OWL to HBM anyone?).. This page documents (well, sort of) the metadata you can use to help MD4J help you.. Class Level Reference.. md4j:use-instance-projections.. By default, the set of projection properties in web tier actions is static.. Set this to.. true.. if you want to have it created on runtime.. md4j:oncreate-or-update-code-before-business.. Code to be printed in generated Create/Update web-tier classes (i.. Actions) right before business calls.. md4j:oncreate-or-update-code-after-business.. Actions) right after business calls.. md4j:oncreate-code-before-business.. Code to be printed in generated Create web-tier classes (i.. md4j:onupdate-code-after-business.. md4j:onupdate-code-before-business.. Code to be printed in generated Update web-tier classes (i.. md4j:oncreate-code-after-business.. md4j:search-results-tabular.. Default is true.. By setting these to.. false.. , search results for this class will be rendered using.. dl.. -based (X)HTML lists.. Member Level Reference.. name.. parent.. description.. md4j:date-format.. id, property, many-to-one.. The date format pattern to use for presentation and parsing given dates, default is.. MM/dd/yyyy.. For more information on the pattern see the.. java.. text.. SimpleDateFormat..  ...   bundle key in generated views.. md4j:form-label-key.. Used to generate references to i18n (property) bundle files for property labels in views.. Use this or md4j:form-label.. md4j:form-label.. Used to generate hardcoded labels entity property labels in views.. Use this or md4j:form-label-key.. md4j:project-property.. many-to-one.. Used to point the parent object's property that should be rendered instead of it's primary key (for example in drop down lists).. md4j:collection-reverse-property.. collections (set, map, list bag etc).. Used to link to child collections.. The reverse property is essentially the property of the child object that points to the parent.. md4j:generate-finder.. Will generate DAO and EJB finder methods for this property.. The return type will be a Page or a single instance depending on whether the value is defined as unique or not.. md4j:onsearch-ignore-for-form.. If set to true, will prevent this property from being used in search forms.. md4j:onsearch-ignore-for-projections.. If set to true, will prevent retreival and rendering of this property in search results.. md4j:join-type.. many-to-one, set, bag, list, array, set.. Specify the join type.. Valid values are FULL_JOIN, INNER_JOIN and LEFT_JOIN..

    Original link path: /md4j/metadata-reference.html
    Open archive

  • Archived pages: 280