Input Fields Ending With Backslash ("\") in HTML Form Portlet Are Interpreted as Escape Characters By WebCenter Portal
(Doc ID 2055827.1)
Last updated on SEPTEMBER 14, 2015
Applies to:Oracle WebCenter Portal - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
When creating a WSRP Portlet with an HTML Form with Input Fields having Default values ending with backslashes ("\"),
the same are interpreted as escape characters.
For example, having the following input field:
WebCenter Portal will assume the value for the text input parameter to be this:
Expect WebCenter Portal to not interpret the backslash as an escape character.
The issue can be reproduced at will with the following steps:
- Create a portlet with the following code:
- Run the view.jsp form the portlet directly.
This displays the form with the 2 input fields.
- Register the portlet with webcenter portal application and add the portlet to a page.
- Run the portal application.
The portlet output will be completely mangled.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document