custom model opened with custom jsp

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2015 03:56 AM
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
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
Labels:
- Labels:
-
Archive
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2015 07:06 AM
Mhm… your question is very strange, could you please share with us what you are trying to do?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2015 08:51 AM
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?
(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?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2015 08:57 AM
Alfresco has forms defined for displaying aspects and types. You don't go back to bare JSP to render a custom type.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2015 09:03 AM
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.
it does not need forms it needs to be rendered differently.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2015 09:52 AM
It doesn't look like you are using alfresco's user interface. Therefore you will need to bolt in your own rendering engine.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2015 03:08 AM
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?
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?
