Hi,
I wanted to create a quick module using spring with blossom as simple proof of 
concept.
The module deploys fine, no error but I can't see the template.

I'm using: 
Community Edition 4.5.2
Blossom 2.0

I unziped the community edition and used the tomcat provided 
(magnolia_control.bat start) and it's working fine with the default templates 
provided.

I created a module (maven project to create jar) using blossom 2.0 and I 
created a simple template as proof of concept:
[code]
@Controller
@Template(title = "Test Main", id = "testProto:pages/main")
public class MainTemplate {
    @RequestMapping("/main")
    public String render(Node page, ModelMap model) {
        return "pages/main.jsp";
    }
}
[/code]

I created a module class + the xml file under META-INF with the 
applicationContext.xml and blossom-servlet.xml (like the blossomSample module 
and following the blossom 2.0 doc)

it deploys without error and I can see the module in Configuration/modules in 
the authoring page but I don't see my template listed, only Home and Redirect 
that were already there.

What am I missing here? Is it because I used the tomcat provided and the 
example in there is conflicting with my module?

Thanks.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=83225247-50e4-4e7c-9776-71e1582e00c2


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to