I tried to solve the dispatching of main content with a MainSite component
(injection of a 'show' property). But don't know where to get the source
from. I know that there is a way to get to the HttpRequest content, but
tapestry does encapsulate this and I guess the tapestry way looks different.
Generally Url would be something like :
http://domain/Index.htm/show/<siteName>.

>From other frameworks I would pass a get parameter and then grap the content
by its value (for SEO I would use url-rewrite then). But tapestry goes a
different way, so I don't want to workaround tapestry strategy.

Here is my Index.htm template:

<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
    <head>
        <title>That is a title</title>
    </head>
    <body>
        <t:MainContent id="show" context="notSure..."/>
    </body>
</html>





aldana wrote:
> 
> Hi, I am new to tapestry5.
> 
> Part of webapp should be a tiny CMS. Usually this should be done by a
> central FrontController Pattern (analyzing url param like 'site-id' and
> then forwarding and displaying the selected content). I read so far that
> you should work with actionLinks here. But before implementing an own
> InternalLinkReferrerComponent would like to be sure that there isn't
> already a standard provided one?
> 
> thanks.
> 


-----
manuel aldana
aldana((at))gmx.de
software-engineering blog: http://www.aldana-online.de
-- 
View this message in context: 
http://www.nabble.com/-T5--Existing-InternalLinkReferrerComponent-for-a-CMS--tp20395261p20397624.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to