portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ingo Schuster <i...@raleigh.ibm.com>
Subject RE: Jakarta-Jetspeed Bug in
Date Wed, 25 Apr 2001 16:15:35 GMT
At 19:23 04/23/01, David Sean Taylor wrote:
> > I think it is not that simple. Ideally, the include should be given a
> > path after passing through the hierarchical path resolution strategy
> > aimed to resolve language and media dependencies. Possibly something
> > like having a taglib that would locate the most "local" included file
> > first...
>It would be nice to have a tag that does the same as the standard jsp
>'include' but uses the language/media fallback algorithm.

Yes the "ResourceLocatorService" with a respective tag... Let's see when I 
find some time for it.

>Jay's patch keeps jsp from always erroring out about the missing include
>file, which is good fix for now.
>However i just noticed that the german template is including english. I
>could fix that, although my german wouldn't be pretty.

I think my idea was that this is only displayed when a serious error 
occurs, and in this case an english error message is ok. (Keeps the number 
of template files smaller.) But if you want it all pretty and clean, here's 
a translation: ;-)

>Any German speaking volunteers to translate this:

<%-- This screen be shown (using "include file") by other screens if they 
can't find the ScreenData hashtable  --%>

<table border=1 cellpadding="5">

       <h2>Das Screen-Template konnte die nötigen Daten("ScreenData") im 
Kontext nicht finden!</h2>
       Wahrscheinlich ist die PrepareScreen-Action nicht ausgeführt worden. 
Bitte überprüfen sie die URL auf Richtigkeit.


><%-- This screen be shown (using "include file") by other screens if they
>can't find the ScreenData hashtable  --%>
><table border=1 cellpadding="5">
>   <tr>
>     <td>
>       <br>
>       <h2>The screen template couldn't find its ScreenData in the
>       It seems as if the PrepareScreen action hasn't been executed. Please
>check if the requested URL is correct.
>     </td>
>   </tr>
>I can then move the includes into their respective language directories
>- david
>To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

View raw message