Menu

#9 Add path-based routing deep link support to archetype

0.3.2
closed
None
2025-06-25
2025-01-05
No

For deep links to work when using path-based routing, the web.xml must serve the application home page for missing URLs. The following code should be added in the archetype web.xml and it should be documented in the Flavour book.

  <error-page>
    <location>/</location>
  </error-page>

The existing archetype will be cloned into a new archetype-minimal package. Then the archetype will be expanded to a path-based routing app.

Discussion

  • Andrew Oliver

    Andrew Oliver - 2025-06-09
    • Milestone: 1.0 --> 0.3.2
     
  • Andrew Oliver

    Andrew Oliver - 2025-06-14
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -5,3 +5,5 @@
         &lt;location&gt;/&lt;/location&gt;
       &lt;/error-page&gt;
     ~~~
    +
    +The existing archetype will be cloned into a new archetype-minimal package.  Then the archetype will be expanded to a path-based routing app. 
    
     
  • Andrew Oliver

    Andrew Oliver - 2025-06-14

    Just committed a new archetype that demonstrates routing and allows path-based routing. The old archetype is moved to archetype-minimal.

     
  • Andrew Oliver

    Andrew Oliver - 2025-06-14
    • status: accepted --> pending
     
  • Andrew Oliver

    Andrew Oliver - 2025-06-25
    • status: pending --> closed
     
  • Andrew Oliver

    Andrew Oliver - 2025-06-25

    This has been included in an all-new archetype in 0.3.2. The old archetype is now in archetype-minimal.

     

Log in to post a comment.