Skip to content
#

template-engine

Here are 999 public repositories matching this topic...

runyan
runyan commented Dec 22, 2017

Environment

  • blade: 2.0.5-RELEASE
  • jdk: 1.8.0_111
  • maven: 3.3.9
  • OS: Windows 7 Home Basic

Description

When I tried to upload a file, an java.lang.UnsupportedOperationException: direct buffer raised, so that the upload operation cannot be done. The full exception stack is as follows:

java.lang.UnsupportedOperationException: direct buffer
	at io.netty.buffer.Po
TheBricktop
TheBricktop commented Dec 6, 2018

Describe the bug
The Unity usage example assumes that user has Rantionary.rpkg file in assets/resources folder but there is no step by step information on how to import those and from what source.
The Rant3.zip from github doesn't contain said file.

To Reproduce
Steps to reproduce the behavior:

  1. Follow the Running in Unity tutorial
  2. Run the example in Unity
  3. See the erro
winternet-studio
winternet-studio commented Mar 16, 2020

When you throw an exception (throw new \Exception('Some error...');) in CLI mode the script silently dies without no output to the console. It is only logged in PHP's error log.

That should not be default behaviour I would say.

Btw, this is on Windows. If I run it in my Linux environment it should just fine.

sdwarwick
sdwarwick commented Nov 3, 2016

this package is such a great find. thanks so much for your work. Just a few suggestions

  1. notwithstanding the assumption that folks are experienced go developers, it might be a good idea to mention that function names in the template must be capitalized to be accessible.

  2. the use of ./template doesn't work if you are using go build .. I have a directory that I keep both the source an

mrlacey
mrlacey commented Oct 27, 2019
  • Improve documentation on how to author templates.
  • Add documentation on the packaging and distributing of WinTS compatible templates. This must also include differences from how dotnet-new works with template sources.
  • Improve tools to help with testing and validating any created templates. Existing tests and tools are a start but these may need updating and revising to make them
Ten0
Ten0 commented Jan 7, 2020

When rendering with an invalid template that refers to an Object instead of strings/integers/bools/arrays, the rendering silent fails by rendering "[object]", due to:
https://github.com/Keats/tera/blob/b91a985951fccf6896c7192ea7c78ba64608bb62/src/context.rs#L119
(by the way, this could be Cow::Borrowed)

This is does not match the rust philosophy of being explicit and quickly failing so

wendellmva
wendellmva commented Sep 19, 2018

Describe the bug
Extension method not working as expected.

To Reproduce

[Fact]
public async Task Should_Compile_Template()
{
	var engine = new RazorLightEngineBuilder()
		.UseMemoryCachingProvider()
		.Build();

	var template = "@using Humanizer@(Model.Name.Pluralize())";
	var component = new Component { Name = "Customer"};
	var result = await engine.CompileRende

Manifold plugs into Java to supplement it with powerful features, from Type-safe Metaprogramming, Extension Methods, Operator Overloading, and Unit Expressions to an integrated Template Engine and a Preprocessor. All fully supported in IntelliJ IDEA and Android Studio. Simply add Manifold to your project and begin taking advantage of it.

  • Updated Jun 13, 2020
  • Java
rmzg
rmzg commented Jan 27, 2020

If you place a import call after some html in your template:

<html>
  <head>
     {{import "something/somewhere.jet"}}

You get an error like: unexpected token <import> on operand which is very tricky to relate to the actual problem.

Also it doesn't seem to be documented that {{import}} has to go at the top of the file.

ricardogaspar2
ricardogaspar2 commented Mar 29, 2019

Hi, I was trying to build a simple use case and at first glance Scalate seemed to be the great engine for the job. But when I tried to understand how to use it in my scala code I found it not so easy to use essentially because of the missing documentation.
I had to rely on test use cases which help but not as much as a proper documentation should.

My simple scenario was taking an input file in

Improve this page

Add a description, image, and links to the template-engine topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the template-engine topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.