[xmlc] URL Re-writing and urlregexpmapping

James Rochford <[email protected]> Fri, 03 Jun 2005 10:11:23 -0600
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
Hello,

It seems that both urlrewriting and urlregexpmapping both rely on 
URL_ATTRIBUTES.  In order to make urlrewriting behave the way I needed I 
removed all references to event attributes as per Jacobs suggestion. Now 
it looks like this.

private static String[] URL_ATTRIBUTES = {
        "action", "archive", "background", "cite", "classid", "codebase",
        "data", "href", "longdesc", "profile",
        "src", "usemap"
    };



But that created another problem with urlregexpmapping.  If I have an 
html element like

 <select name="selectElement"  
onClick="submitForm(this.form,'somePage.html')>

and I want to have a urlregexpmapping in my options.xmlc file like the 
following it no longer works. 

-urlregexpmapping "somePage\\.html\\"                        
"someOtherPage.jawf"

So for now I have to compile my html pages with a non-modified version 
of xmlc and use my modified version for runtime.  I'm going to see if I 
can hack a solution for my needs but I'm open to any suggestions.

Best regards,

James.



-- 
------------------------
James Rochford
Software Engineer
Samba Holdings, Inc.
(505) 797-2622 ext. 129
message.footer (text/plain, 269 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws