Customizing Share pages using Java Server Side

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2014 12:01 PM
I've customized Alfresco Share with custom data model, actions and REST webscripts using above all customization files and Java.
Now i want to customize also the Share's pages, building some new. All the tutorials i've found are about customization through javascript files…
In these new pages i will make i will call some soap services and i really prefer to do these kind of operations in a Java controller…
So is there a way to interact with Share's page using Java server-side? Could someone please indicate me some basical tutorial?
Now i want to customize also the Share's pages, building some new. All the tutorials i've found are about customization through javascript files…
In these new pages i will make i will call some soap services and i really prefer to do these kind of operations in a Java controller…
So is there a way to interact with Share's page using Java server-side? Could someone please indicate me some basical tutorial?
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2014 02:35 PM
You are already familiar with Web Scripts. The good news is that web scripts also run on the Share tier. And, just like in the repository tier your controller can be either JavaScript or Java. So you could easily invoke web services from your Java-based controller in a web script running on the Share tier and then populate the model for your Freemarker based view to display it in Share.
Jeff
Jeff

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2014 05:58 AM
Hi Jeff very clear thanks!
I could make a script that have in output some contents and render them in a Share's page.
I'd like to have a box that points to speciic folders of the repository. If i click on a folder i will see the files inside and if i click on a file it will open in the classical page with metadata.
Is it possible to do this?!
I could make a script that have in output some contents and render them in a Share's page.
I'd like to have a box that points to speciic folders of the repository. If i click on a folder i will see the files inside and if i click on a file it will open in the classical page with metadata.
Is it possible to do this?!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2014 02:50 PM
