[ic] TIPS AND TRICKS: Tree example

Daragh Mulvey interchange-users@interchange.redhat.com
Thu Nov 8 11:26:01 2001


I've just implemented the Tree example on a store
I'm currently working on. It's working fine from
a tree point of view, but when I click on one
of the sub categories, I typically get back

Sorry, no matches for (?:^|\ )Hardware\b AND \b\:Nails\b

(This is using the default Hardware foundation store)

I noticed that the URL of the subcategories features
*way* too many spaces (%20) in the URL as follows:

http://devlserver/shop/donal7/scan/fi=products/st=db/bs=1/tf=comb_category/s
f=comb_category/se=Tool%20Storage%20%20%20%20%20%20%20%20%20%20%20%20%20%20%
20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2
0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%
20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2
0%3aTool%20Belts.html

If I remove all the excess %20 from the url above it works fine
- but I can't get the system to produce the URL as it should be

http://interchange/shop/donal7/scan/fi=products/st=db/bs=1/tf=comb_category/
sf=comb_category/se=Tool%20Storage%20Tool%20Belts.html

which (I think) is

http://interchange/shop/donal7/scan/fi=products/st=db/bs=1/tf=comb_category/
sf=comb_category/se=Tool%20Storage%20Tool%20Belts.html

This URL works.... can you help?

-Daragh