Surf app layout

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2010 02:13 AM
Hi,
I am trying to build out a website as a surf app. I have developed the webscripts that will be called by page components. The next step for me would be to define pages and template instances to build up the webapp as a surf app. Can anyone tell me where I should put these items within the webapp. Appart from putting them into the webapp folder structure do I need to wire them into the webapp with any config files?
I have followed Erik Winlof's Spring Surf Development#1 tutorial (http://blogs.alfresco.com/wp/ewinlof/2010/06/04/spring-surf-development-1-creating-a-rest-api-with-s...) and got the structure for web scripts ${path_to_the_webapp}/WEB-INF/classes/webscripts/com/safari. I want to keep using the mvn project defined by this tutorial but cant figure out where to put the surf pages etc as stated above.
Regards
Olga
I am trying to build out a website as a surf app. I have developed the webscripts that will be called by page components. The next step for me would be to define pages and template instances to build up the webapp as a surf app. Can anyone tell me where I should put these items within the webapp. Appart from putting them into the webapp folder structure do I need to wire them into the webapp with any config files?
I have followed Erik Winlof's Spring Surf Development#1 tutorial (http://blogs.alfresco.com/wp/ewinlof/2010/06/04/spring-surf-development-1-creating-a-rest-api-with-s...) and got the structure for web scripts ${path_to_the_webapp}/WEB-INF/classes/webscripts/com/safari. I want to keep using the mvn project defined by this tutorial but cant figure out where to put the surf pages etc as stated above.
Regards
Olga
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2010 04:22 AM
The best way is to look at Share, which is itself a Surf application.
Thanks,
Mike
Thanks,
Mike

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2010 04:35 AM
I assume you have downloaded the SpringSurf example applications? There is an "empty" one which has the basic folder structure in place, and there is the Quick Start web application which has a couple of simple pages and components to give you a starting point: http://springsurf.org/downloads.html
If you see my recent blog post, it show you how to quickly wire up the Quick Start application to authenticate users against an Alfresco repository: http://blogs.alfresco.com/wp/kevinr/2010/11/01/springsurf-authenticating-users-against-an-alfresco-r...
Cheers,
Kev
If you see my recent blog post, it show you how to quickly wire up the Quick Start application to authenticate users against an Alfresco repository: http://blogs.alfresco.com/wp/kevinr/2010/11/01/springsurf-authenticating-users-against-an-alfresco-r...
Cheers,
Kev

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2011 10:45 AM
I found the folders and the Quick Start web application. Thanks for the help Kev.
Chris
Chris
