YfsGetTextAreaOptions

Description

This JSP function XML binds text areas when modification rules need to be considered.

Syntax

String yfsGetTextAreaOptions(String name, String a_value, String allowModBinding)

String yfsGetTextAreaOptions(String name, String allowModBinding)

Parameters

name - Required. Path in the target XML to which the value in the input text is sent when the form is posted. Through the Service Definition Framework, the target XML is then passed to the appropriate API.

value - Required. Specifies what to display as the input text. Can be a binding or a literal.

allowModBinding - Required. Binding string that points to a set of elements containing modification types that are permitted for the current status.

JSP usage

<textarea class="unprotectedtextareainput" rows="3" cols="100"  
<%=yfsGetTextAreaOptions("xml:/Order/Instructions/Instruction_" + 
InstructionCounter +  "/@InstructionText","xml:/Instruction/@InstructionText", 
"xml:/Order/AllowedModifications")%>><yfc:getXMLValue 
binding="xml:/Instruction/@InstructionText"/></textarea>