Input Fields Ending With Backslash ("\") in HTML Form Portlet Are Interpreted as Escape Characters By WebCenter Portal
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms