Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

Dynamic ReadOnly

edited Nov 30, 2018 12:23AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 4 commentsAnswered

Hi

We have a requirement to make some attributes dynamically read only. On reference to DynamicReadOnly Does Not Work As Expected In Open UI (Doc ID 2110164.1) i made the below changes to the cfgrenderer.js file

The bold line of script should be placed in the function showTextBox in the else condition.

function showTextBox ( grpItemId ) {

………..

………..

else

{

innerHTML = generateCfgOuterHTML (

$(SiebelAppFacade.HTMLTemplateManager.GenerateMarkup({

type: consts.get("SWE_CTRL_TEXT"),

className: (( dynReadOnly === "Y" ) ? "siebui-ecfg-editfield-dynDisabled" : "" ),

id: "GRPITEM" + _pipe + grpItemId + _underscore + "ATTTYPE" + _pipe + "TEXT",

value: displayValue,

attrs: (( dynReadOnly === "Y" ) ? "readonly" : " ") // BUG# 22096280: add readonly attribute

})) );

}

…………..

………….

}

But still it's not working. Any suggestion on how to make this work ?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center