Questions tagged [spring-surf]

Spring Surf is a scriptable Web framework that powers the presentation tier rendering capabilities of applications in the Alfresco application suite.

Spring Surf is a scriptable Web framework that powers the presentation tier rendering capabilities of applications in the Alfresco application suite. More details here

14 questions
1
vote
0 answers

How to send AJAX Requests in custom form control (Alfresco Share)

I'm trying to develop an 'autocomplete' feature on element which will get data from the remote database (using simple HTTP GET requests which will return JSON). In the workflow form, in share-conifg-custom.xml i provided control template:
Mike
  • 373
  • 4
  • 10
1
vote
1 answer

Spring surf and webscripts projects disambiguation

I recently came across spring surf project and Spring webscripts . Both these technologies (I guess) seem to come from Alfresco developers Web Scripts Surf Is it correct ? As I was investigating both of them couple of hours, it seems to be very…
lisak
  • 21,611
  • 40
  • 152
  • 243
1
vote
2 answers

Spring roo - how to install spring surf

could please anybody help me to install spring surf ? According to this video, there should be command "roo>install surf" or roo>addon install surf" but the install command doesn't exist If I go "addon install bundle --bundleSymbolicName" and let…
lisak
  • 21,611
  • 40
  • 152
  • 243
1
vote
0 answers

Alfresco custom url access authorization

I want to know if there is a mechanism in Alfresco (share) to prevent some user to access some urls basing on custom config, or can I create a custom authentication level for Spring surf. If there is no manner in Alfresco, have you any suggestion to…
1
vote
2 answers

How setup spring surf form Alfresco share with dinamic variables from a properties file

Hi i have write a spring surf form extensions for the software alfresco, in the specific a dropdown where i want to put the value on a dynamic way reading the value from alfresco or a properties file here the…
4535992
  • 418
  • 9
  • 29
1
vote
0 answers

How to select creator id giving the creator name in an Alfresco share controller

I need to filter alfresco-issues by "creator name" (and other fields too). Currently the filter form already contains information about cm:creator and cm:modifier but in order to query the DB you have to specify the relative creator ID. Instead I…
1
vote
1 answer

How to get uploaded file to local folder in spring surf java webscript?

I am uploading a file. I want to get the file and save to my local system.To do this i am using spring surf webscripts in java. Can any one tell me how i can get my file . This is my ftl file :
1
vote
0 answers

Iterate list in freemaker template

I created a backed java web script for my sample spring surf application. In my class i am setting a list into the model object but when i iterate the list in the template nothing is coming. Its coming blank. My Code is : @Controller public class…
0
votes
2 answers

spring surf vs classic spring mvc in Alfresco

We are interested in deploy functionality inside Alfresco. I have noticed that the newest versions of Alfresco Share are based on Spring Surf. So we have ruled out WebScripts as an option. Are them old fashioned? Before start with Spring Surf and…
virilo
  • 139
  • 2
  • 11
0
votes
1 answer

Spring Roo and the bundleSymbolicName switch

I can't install the surf tools because of a ridiculously under documented and very required switch "--bundleSymbolicName". I cannot for the life of me find anything online that helps me with this. The spring documentation is almost completely…
Joe Mills
  • 3
  • 3
0
votes
0 answers

How to customize displayed task fields in task dashboard?

When user login to alfresco he see task dashboard which displays the following task fields as a default. description (or task message) task name task status Is there a way to add/remove fields for some users or for default task dashboard?
Cherry
  • 31,309
  • 66
  • 224
  • 364
0
votes
1 answer

Where to define the login.flt as home page in alfresco-surf framework?

I have new bie to alfresco-surf framework and created one small application. I can access my page using http://localhost:9090/surf/page?p=login url but when i typed only http://localhost:9090/surf its showing HTTP Status 404 - /surf/ Also I want…
0
votes
1 answer

Why resource bundle is not loaded in java backed webscript

I have a webscript defined as following: mywebscript.get.desc.xml mywebscript.get.properties mywebscript.get.json.ftl This webscript is backed by a java controller like this:
alaeddine.nasri
  • 182
  • 1
  • 2
  • 11
0
votes
3 answers

Alfresco webscripts: random http 400

It seems that we encounter a lot of random http 400 (bad request) recently They are all raised from ajax calls in Share through the proxy: "host/share/proxy/alfresco/" They happen most of the time when loading or refreshing a new page. They can…
plus-
  • 45,453
  • 15
  • 60
  • 73