MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
DevAlternatives
Post subject: Cannot customize menu generation, spring mvc scaffold  PostPosted: Mar 26, 2012 - 04:04 AM
Registered Member
Registered Member


Joined: Mar 08, 2012
Posts: 34

Cannot customize menu generation, spring mvc scaffold

Hi ,

I was doing some changes on the template crudMenuSegment.jet in order to modify the menu on the dashboard (spring mvc scaffolding) but none of the changes are reflected, I tried also to rename the JET template (Expecting some error on the scaffolding) but nothing happens.

The steps are:

1-Create a new web project

2-Create a new customize template project

3-Modify the template

crudCommon\templates\crud\springmvc\crudMenuSegment.jet

4-Add the customization to the web project

5-Run the mvc scaffold (database option)



Please help.



Code:


<%@ jet
package="com.skyway.scaffolding.crud.templates.springmvc"
class="CrudMenuSegmentTemplate"
%>
<%@taglib prefix="jet" id="org.eclipse.jet.controlTags"%> 
<%@taglib prefix="f" id="org.eclipse.jet.formatTags"%>
<%@taglib prefix="sw" id="org.skyway.integration.java.skywayCodeGenTags"%>
<\%@page language="java" isELIgnored="false" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<jsp:directive.include file="/WEB-INF/sitemesh-decorators/include.jsp"/>
<fmt:setBundle basename="bundles.<jet:get select="lower-case($dataType/@name)"/>-resources"/>
<div id="contentarea">             
   <div id="lb"><div id="rb"><div id="bb"><div id="blc">
   <div id="brc"><div id="tb"><div id="tlc"><div id="trc">
      <div id="content">
         <h1>Spring MVC</h1>
         TEST TEST TEST TEST TEST TEST
         <p class="line">&nbsp;</p>
         <div class="clear">&nbsp;</div>
      </div>
   </div></div></div></div>
   </div></div></div></div>
</div>
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits