cancel
Showing results for 
Search instead for 
Did you mean: 

custom model opened with custom jsp

modestas
Champ in-the-making
Champ in-the-making
Hello,

Is it possible to tell alfresco that this custom_model should be opened with this custom_jsp.jsp file?

If yes how can i achieve that?

respectfully,
Modestas
6 REPLIES 6

openpj
Elite Collaborator
Elite Collaborator
Mhm… your question is very strange, could you please share with us what you are trying to do?

modestas
Champ in-the-making
Champ in-the-making
i have created custom_model. I have stored content based on that model. Only my renderer can render that data.
(Basically i am storing json data in that model).

If i try to open my_document which is stored based on my custom_model i get message that my model cannot be shown.

So i want to create custom renderer for my model. And i want to create custom ui for my model viewer. So basically i need empty jsp.

my ui:
http://s12.postimg.org/ppt16z57h/Screen_Shot_2015_01_12_at_15_55_28.png

so lets back to original question if i want to open my document which is based on my custom model can alfresco share redirect that user to my.jsp file?

mrogers
Star Contributor
Star Contributor
Alfresco has forms defined for displaying aspects and types.   You don't go back to bare JSP to render a custom type.

modestas
Champ in-the-making
Champ in-the-making
please take a look to my custom ui: http://s12.postimg.org/ppt16z57h/Screen_Shot_2015_01_12_at_15_55_28.png

it does not need forms it needs to be rendered differently.

mrogers
Star Contributor
Star Contributor
It doesn't look like you are using alfresco's user interface.  Therefore you will need to bolt in your own rendering engine.

modestas
Champ in-the-making
Champ in-the-making
exactly!

so lets back to my original question. How to tell alfresco share that this document (which is based on custom_model) should be opened with this custom .jsp file?