cancel
Showing results for 
Search instead for 
Did you mean: 

Error in creating Personalized Themes

Former Member
0 Kudos

 hi ,

My task is to modify the default theme.

I follow the steps given in the document <a title="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c004bc2a-013b-2c10-f2ab-a1e2f61e025f?overridelayout=true" href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c004bc2a-013b-2c10-f2ab-a1e2f61e025f?overridelayout=true" data-mce-href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c004bc2a-013b-2c10-f2ab-a1e2f61e025f?overridelayout=true">http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c004bc2a-013b-2c10-f2ab-a1e2f61e025f?overridelayout=t…</a>

 

 

I had imported the sample project and  I have created the theme folder directly under my project and copy the  below files  into the themes folder

1. DynamicHomePage.xsl

2. Header.xml

3. Footer.xml

4. HomePage.css

 

I change header and footer xml files for inserting company logo.I just changed the image path only.

 

I also modify the homepagecss parameter path to point to my current location.

And also modify the header and footer url in dynamichomepage.xsl file as

 

 <xsl:param name="HomePageCSS">/XMII/CM/renita/Themes/HomePage.css</xsl:param>

<xsl:param name="HeaderURL">/XMII/CM/renita/Themes/DefaultHeader.xml</xsl:param>

 

 <xsl:param name="FooterURL">/XMII/CM/renita/Themes/DefaultFooter.xml</xsl:param>

For simplicity i didnt change   <xsl:include href="https://answers.sap.com/XMII/Stylesheets/DynamicHomePageLibrary.xsl"/>

 

 

I choose the theme i created using the navigation editor and saved the changes .

But there is no change in theme after i login again.

I get the following error in the log file:

 

javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: An attempt to write after the stream had been closed.

 



can anybody help me to rectify this error

Thanks

Renita

 


 

<p mcekeep="true"> 

 

<p mcekeep="true"> 

































Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Renita,

go through below document and cross check with your process

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c004bc2a-013b-2c10-f2ab-a1e2f61e0...

https://help.sap.com/saphelp_mii122sp03/helpdata/en/4c/905fa69120663ee10000000a15822b/content.htm

And had a look on these posts as well

Hope it will solve your error

Regards,

Praveen Reddy

Former Member
0 Kudos

hi,

Thanks for your reply.


I follow the steps given in the above link only and i also cross checked.Eventhough i get the same error :

javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: An attempt to write after the stream had been closed.

xml file is also formatted correctly i had just changed the url of image only in header and footer xml files as  <img src="/XMII/CM/renita/Images/footer.gif" alt="HCL" width="50" height="30"/>.

Give me suggestion to rectify this error.

Thanks,

Renita

former_member185280
Active Contributor
0 Kudos

Try using a closing tag on your img tags. Like:

<img src="/XMII/CM/renita/Images/footer.gif" alt="HCL" width="50" height="30"></img>

Former Member
0 Kudos

hi,

Img tag doesn't need a separate closing tag i had closed already.

<img src="/XMII/CM/renita/Images/footer.gif" alt="HCL" width="50" height="30"/>