Search:

Type: Posts; User: kroast; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    2,386

    Yes it is very annoying - we are working to move...

    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.
  2. I assume you are using RC1/2 not M3 (which was...

    I assume you are using RC1/2 not M3 (which was horribly broken)
  3. Did you make these changes?

    Did you make these changes?
  4. Indeed it should work, i'll take a look. Kev

    Indeed it should work, i'll take a look.

    Kev
  5. Replies
    6
    Views
    2,127

    The value must be a simple string, but you can...

    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:

    ...
  6. Replies
    3
    Views
    1,322

    Yes we do this kind of technique in Alfresco...

    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:


    ...
  7. Replies
    6
    Views
    2,127

    The data in a region binding can be a freemarker...

    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...
  8. The shortname and all other values from the...

    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...
  9. The behaviour should indeed be the same. So it...

    The behaviour should indeed be the same. So it sounds like a bug, I'll take a look.

    Kev
  10. Replies
    2
    Views
    2,543

    HttpServletRequest request =...

    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...
  11. Replies
    3
    Views
    1,361

    Yes see...

    Yes see http://forum.springsource.org/showthread.php?t=93931
  12. Replies
    2
    Views
    1,635

    Hi, Yes at the point a component webscript is...

    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...
  13. Replies
    2
    Views
    3,103

    Sticky: RC2 has been released. More fixes and...

    RC2 has been released. More fixes and improvements, enjoy!
  14. Replies
    20
    Views
    7,249

    There was a problem with the configuration in the...

    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...
  15. Replies
    5
    Views
    2,002

    Hi, The SpringSurf locale handling is provided...

    Hi,

    The SpringSurf locale handling is provided by a spring bean:

    <!-- Locale Resolver -->
    <bean id="localeResolver" class="org.springframework.extensions.surf.mvc.LocaleResolver" />
    ...
  16. Sticky: ...and here's another: ...

    ...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...
  17. Replies
    5
    Views
    2,002

    SpringSurf (and SpringMVC) are naturally wired up...

    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...
  18. Replies
    2
    Views
    922

    object resource urls have changed from 3.2->3.3 ...

    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...
  19. Thread: XSL renderer

    by kroast
    Replies
    1
    Views
    726

    Yes it is. Template and Script engines are...

    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...
  20. The JavaScript APIs available on the web-tier...

    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...
  21. Replies
    2
    Views
    1,032

    Thanks for posting the solution. We'll make sure...

    Thanks for posting the solution. We'll make sure the examples are updated.

    Kev
  22. Replies
    6
    Views
    1,509

    Hello, Yes the .head.ftl templates are a...

    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...
  23. Replies
    4
    Views
    1,952

    It's not something I've personally looked at. But...

    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...
  24. Replies
    3
    Views
    1,361

    I think that code is from the one of the Alfresco...

    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...
  25. Thread: E4X Support

    by kroast
    Replies
    4
    Views
    1,073

    Indeed yes :) Good to know it's working thanks...

    Indeed yes :) Good to know it's working thanks for letting us know.

    Kev
Results 1 to 25 of 92
Page 1 of 4 1 2 3 4