Sha256: 5d1f4cf776e6fa07e6c2b6ee04d737e2a7172c238642f4ac71f321b978868153

Contents?: true

Size: 284 Bytes

Versions: 2

Compression:

Stored size: 284 Bytes

Contents

class JspGenerator < TemplateEngineGenerator

  def view_folder
    "jsp"
  end

  def extension
    "jsp"
  end

  def path url=""
    %Q{${pageContext.request.contextPath}/#{base_path}#{url}}
  end
  
  def source_root
    File.join File.dirname(__FILE__), "templates"
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vraptor-scaffold-1.3.0 lib/vraptor-scaffold/generators/scaffold/template_engine_generator/jsp_generator/jsp_generator.rb
vraptor-scaffold-1.3.0.rc lib/vraptor-scaffold/generators/scaffold/template_engine_generator/jsp_generator/jsp_generator.rb