maybe WicketLinkTagHandler has something to do with it? it says in the comment:
/**
 * This is a markup inline filter. It identifies xml tags which include a href
 * attribute and which are not Wicket specific components and flags these tags
 * (ComponentTag) as autolink enabled. A component resolver will later resolve
 * the href and assign a BookmarkablePageLink to it (automatically).
 * <p>
 

my use case may need a bit of clarification, if this is the case.

i mount the java code using WebApplication.mount. the 
AbstractRequestTargetUrlCodingStrategy extension i use encodes the url as the 
class name minus a package prefix. i also use a resource locator that 
translates the location of the html to another folder. 

maybe the component resolver can't find the relative reference because of this? 
can i turn this handling of <link> off?

thanks,
ittay

Ittay Dror wrote:
> my base page is:
> <html>
> <head>
> </head>
> <body>
> 
> <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
>         <tr>
>                 <div>
>                         <span wicket:id="feedback"/>
>                 </div>
>         </tr>
>         <tr>
>                 <td height="100%" valign="top">
>                         <wicket:child/>
>                 </td>
>         </tr>
> </table>
> 
> </body>
> </html>
> 
> my sub page is:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <wicket:head>
> <link href="../include/global_en.css" rel="stylesheet" type="text/css">
> <title>My Title</title>
> <meta http-equiv="Content-Type" content="text/html;  name="file2">
> </wicket:head>
> </head>
> <body>
> <wicket:extend>
>       <div>
>               ....
>       </div>
> </wicket:extend>
> </body>
> </html>
> 
> ittay
> 
> Juergen Donnerstag wrote:
>> And this is your base page? Would you please a junit test case.
>>
>> Juergen
>>
>> On 6/15/06, Ittay Dror <[EMAIL PROTECTED]> wrote:
>>> (i've sent this an hour ago, but can's see it on the list. so i'm 
>>> resending, sorry if it appears twice)
>>>
>>>
>>> i'm using markup inheritance with head contribution:
>>> <wicket:head>
>>> <link href="../include/global_en.css" rel="stylesheet" type="text/css">
>>> ....
>>>
>>> the output is:
>>> <head>
>>> <link href="/../include/global_en.css" type="text/css" rel="stylesheet">
>>>
>>> notice that the href now is absolute :-(
>>>
>>> thanks,
>>> ittay
>>>
>>> --
>>> ===================================
>>> Ittay Dror,
>>> Chief architect, openQRM TL,
>>> R&D, Qlusters Inc.
>>> [EMAIL PROTECTED]
>>> +972-3-6081994 Fax: +972-3-6081841
>>>
>>> http://www.openQRM.org
>>> - Keeps your Data-Center Up and Running
>>>
>>>
>>>
>>> _______________________________________________
>>> Wicket-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>>
>>
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> 


-- 
===================================
Ittay Dror, 
Chief architect, openQRM TL, 
R&D, Qlusters Inc.
[EMAIL PROTECTED]
+972-3-6081994 Fax: +972-3-6081841

http://www.openQRM.org
- Keeps your Data-Center Up and Running


_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to