Yes it is very annoying - we are working to move the build to Maven3 and fix these issues. There will be another release once the Maven build changes are complete.
Type: Posts; User: kroast; Keyword(s):
Yes it is very annoying - we are working to move the build to Maven3 and fix these issues. There will be another release once the Maven build changes are complete.
I assume you are using RC1/2 not M3 (which was horribly broken)
Did you make these changes?
Indeed it should work, i'll take a look.
Kev
The value must be a simple string, but you can certainly use an expression that resolves to scalar value.
Here's is an extract from the template file in the application we have that does this:
...
Yes we do this kind of technique in Alfresco Share to cache common remote API calls for a page render but to continue to keep component isolation.
Example:
In earliest component:
...
The data in a region binding can be a freemarker variable:
<@region id="${somevalue}" scope="page" />
so you can change that on the fly in your loop - does that help?
We do exactly that to...
The shortname and all other values from the descriptor are stored in the associated Description object.
getDescription().getShortName()
the getDescription() method is public so you can call...
The behaviour should indeed be the same. So it sounds like a bug, I'll take a look.
Kev
HttpServletRequest request = ServletUtil.getRequest();
This is a Surf feature i.e. not available in a pure webscript based tier. But of course you wouldn't be rendering your webscript as a...
Yes see http://forum.springsource.org/showthread.php?t=93931
Hi,
Yes at the point a component webscript is rendered (declarative or java backed - it makes no difference if it's part of the page) then the response is already partially committed. The way to...
RC2 has been released. More fixes and improvements, enjoy!
There was a problem with the configuration in the SpringSurf config for sample apps. A bean to handle multi-part form data was incorrectly being applied - which was attempting to read the request...
Hi,
The SpringSurf locale handling is provided by a spring bean:
<!-- Locale Resolver -->
<bean id="localeResolver" class="org.springframework.extensions.surf.mvc.LocaleResolver" />
...
...and here's another:
http://blogs.alfresco.com/wp/kevinr/2010/11/01/springsurf-authenticating-users-against-an-alfresco-repository/
This one should help you get started with an application...
SpringSurf (and SpringMVC) are naturally wired up to set the locale to whatever is passed in the browser language header value. I assume what you want to do is override that, i.e. fix the locale from...
object resource urls have changed from 3.2->3.3
for example: o=alfresco://alfresco-admin/workspace://SpacesStore/03274d54-1056-4e6e-ad3e-c91fb3baadb4
Content metadata (content...
Yes it is. Template and Script engines are pluggable. There is currently do useful docs on how to do this though, you will need to dig around in the SpringWebScritps and SpringSurf config. The good...
The JavaScript APIs available on the web-tier (where the Surf app lives) are different to those available on a remote server tier such as the Alfresco server.
Look at this URL on your deployed...
Thanks for posting the solution. We'll make sure the examples are updated.
Kev
Hello,
Yes the .head.ftl templates are a "special" template is executed earlier in the page lifecycle than the WebScript component controller/template. It is really only used to generate...
It's not something I've personally looked at. But an example of setting up a standalone SpringWebScripts tier for use as a pure REST API (could be consumed by anything, including GWT I imagine...) is...
I think that code is from the one of the Alfresco Share AuthenticationFilter classes.
Connectors and Authenticators are used under the covers in SpringSurf to perform and maintain the...
Indeed yes :) Good to know it's working thanks for letting us know.
Kev