logo       

[xmlc] URL Re-writing and urlregexpmapping: msg#00004

java.enhydra.xmlc

Subject: [xmlc] URL Re-writing and urlregexpmapping

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



--
You receive this message as a subscriber of the xmlc@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto:xmlc-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise