From: Joakim R. <re...@it...> - 2004-02-24 12:26:17
|
Hi I'm not quite sure where this should go, so I'll try here. I discovered some </ig:slot> tags in my component based pages, and after digging a little in ComponentBasedHTMLPageInvoker.java, I solved the problem with this patch: diff -u -r1.18 ComponentBasedHTMLPageInvoker.java --- ComponentBasedHTMLPageInvoker.java 2004/02/03 21:30:55 1.18 +++ ComponentBasedHTMLPageInvoker.java 2004/02/24 12:06:31 @@ -480,13 +480,10 @@ decoratedComponent += subComponentString; } - offset = slotStopIndex; + offset = slotStopIndex + 10; slotStartIndex = componentString.indexOf("<ig:slot", offset); } - if(offset > 0) - decoratedComponent += componentString.substring(offset + 10); - else - decoratedComponent += componentString.substring(offset); + decoratedComponent += componentString.substring(offset); } catch(Exception e) { I was wondering if anyone can confirm this, and if it's the correct fix? Thanks, -- Joakim Recht Webcrew, Studenternet Tlf. 20 85 54 77 Email re...@it... |