Skip to content

Partials with inline templates #277

Answered by dsyer
dsyer asked this question in Q&A
Dec 1, 2023 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

I get it. I never think of putting annotations at package level, but that's probably what I want here.:

@JStachePartials(@JStachePartial(name = "foo", template = "<span>bar</span>"))
package com.example.test;

What about something that is shared between packages (and don't say "annotate the module")?

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@dsyer
Comment options

@agentgt
Comment options

@agentgt
Comment options

@dsyer
Comment options

Answer selected by agentgt
@dsyer
Comment options

@agentgt
Comment options

@dsyer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants