facebook

How to add my own Flex project?

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #312086 Reply

    skassam
    Member

    I am using myeclipse as a starting point for the backend of my flex application. In my project I have created an app/ folder where I put my own flex application. I can load http://url/project/app and it works fine but the page is wrapped in the myeclipse generated headers and footer.

    How can i exclude /app/* from sitemesh (i think thats what is doing this)?

    TIA,
    Shinan

    #312093 Reply

    davemeurer
    Member

    Hello Shinan,

    You are correct. Sitemesh is adding the headers and footers to the application. To exclude pages or urls from sitemesh, find the WEB-INF/decorators.xml file and add a pattern in the excludes block. More examples can be found at the SiteMesh DecoratorMappers page

    Let me know if this helps,
    Dave

    #312096 Reply

    skassam
    Member

    Thanks! thats what I was looking for.

    #312387 Reply

    paletisuresh
    Member

    Hello Shinan,

    can you please let me know what was the solution for your problem, i had created a maven flex project and then tried to add security to it every thing worked fine but wanted my own login page and no myeclipse generated headers and footer. If you find any solution for that can you please share I will be thankful to you.

    Thanks,
    Suresh Paleti

    #312397 Reply

    davemeurer
    Member

    Hi Suresh,

    After Scaffolding Security, there should be a login.jsp in WebRoot/pages

    You can modify this login page however you like. Or if you have a login page somewhere else, just update the security config in src/main/resources/[project]-generated-security-context.xml

    To remove the Sitemesh decoration around the login page, add the following pattern to the excludes xml block in the WebRoot/WEB-INF/decorators.xml:
    <pattern>/pages/login.jsp</pattern>

    HTH,
    Dave

    #312424 Reply

    paletisuresh
    Member

    Thanks Dave!

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: How to add my own Flex project?

You must be logged in to post in the forum log in