Search:

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

Search: Search took 0.07 seconds.

  1. How can I write the custom classes for script or...

    How can I write the custom classes for script or template objects?

    Is there any sample I can look at, or does a particular class has to be extended?
  2. ScriptRemoteConnector.post and multipart/form-data

    Hi!

    I would like to know if ScriptRemoteConnector.post can handle a multipart/form-data post? Ie. I am interested if the body can be written in url encoded way, or do I have to create a...
  3. Replies
    3
    Views
    1,291

    I second the Alfresco point! I think many of...

    I second the Alfresco point!

    I think many of us Alfresco freaks, will be using SpringSurf to create custom client apps, on top of Alfresco, so a good example/tutorial base would be a great...
  4. I think, that even if you are using the...

    I think, that even if you are using the integrated Tomcat, you still have to deploy the project(s) from the command line.

    A did not see a "deploy" Maven task in STS.

    That is what I am thinking?
  5. Cool, nice going Micheal! I ll take a look at...

    Cool, nice going Micheal!

    I ll take a look at this today, and try it out.
  6. For the project I followed these steps:...

    For the project I followed these steps: http://www.springsurf.org/sites/1.0.0.M2/spring-surf-devtools/spring-surf-roo-addon/reference/html/intro.html#intro-first-steps

    And I am using the projects...
  7. What I am doing is this, I modify the code in...

    What I am doing is this, I modify the code in STS, and then I am just calling these command from the command line, in the folder, where the sources for the Spring Surf project are.

    # mvn clean
    #...
  8. In my case I created a "com.aos.factory.user". ...

    In my case I created a "com.aos.factory.user".

    So basicaly src/main/java in STS.

    The package/class has to be in WEB-INF/classes, and you have to conigure the bean (surf-config.xml):


    <bean...
  9. 3. The Alfresco User Factory class (just a quick...

    3. The Alfresco User Factory class (just a quick fix, I commented out the stuff that was making problems)

    Copy the code from org.springframework.extensions.surf.support.AlfrescoUserFactory, and...
  10. OK, this is the quick and dirty version, which...

    OK, this is the quick and dirty version, which enable login/logout, based on the setup, previously in this thread.

    The setup:

    1. Alfresco 3.2r2 / localhost:8080
    2. Spring Surf from trunk
    3. A...
  11. Eureka! It works! :) I now have the capability...

    Eureka! It works! :)

    I now have the capability to authenticate against Alfresco 3.2r2 from Spring Surf Webapp (checked out from trunk).

    I will sum up the process, and post the code here in a...
  12. OK I think I got it! Actually authentication...

    OK I think I got it!

    Actually authentication works, the problem is the user prop fetch method: AlfrescoUserFactory.loadUser, which expects different data.

    What it actually calls it this...
  13. OK, we are getting there :). I changed the...

    OK, we are getting there :).

    I changed the form action to:


    <form method="POST" action="${url.context}/dologin">

    ...and now I get this:
  14. FIY Putting the files unser...

    FIY

    Putting the files unser WEB-INF/classes/page-types is OK, it was just my messed up surf.xml...
  15. Cool, I got further :) My surf.xml was messed up....

    Cool, I got further :) My surf.xml was messed up.

    Now I am getting this:


    Could not resolve view with name 'page/dologin' in servlet with name 'Spring MVC Dispatcher Servlet'


    OK, will try...
  16. I am trying to put up this against the trunk and...

    I am trying to put up this against the trunk and Alfresco 3.2r2.

    I am getting this: No 'login' page type configured - but page auth required it.

    I created the page-types under...
  17. Replies
    1
    Views
    1,220

    spring-surf-application-test

    I am playing with the "spring-surf-application-test" example from the trunk, against an Alfresco 3.2r2 repository.

    This is the config:


    <config evaluator="string-compare" condition="Remote">
    ...
  18. Replies
    1
    Views
    1,076

    Surf autowire / runtime

    Hi!

    Just wanted to ask, what is the difference between the different "runtime" settings?

    It seems there are these options: classpath, webapp, local, alfresco

    Can someone elaborate on this? (...
  19. Replies
    2
    Views
    1,099

    Yes, I thought of the Tomcat/JDK6 combo to. Will...

    Yes, I thought of the Tomcat/JDK6 combo to. Will give a try.

    Yes, I am using the stuff from trunk.
  20. Replies
    2
    Views
    1,099

    Surf & Tomcat 5.5

    Hi!

    I created a simple Surf project with Roo, and it works OK on Tomcat 6.0, but not on Tomcat 5.5.

    Deployment is OK but when I try to visite the app I get this exception:

    ...
Results 1 to 20 of 20