@version $Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/share/url/FormEncoder.java#0 $) $Date: 10-nov-2005.18:59:26 $ @author The Oracle ADF Faces Team
492493494495496497498499500501502
URLEncoder encoder = context.getURLEncoder(); String sourceKey = encoder.encodeParameter( SOURCE_PARAM ); FormValueRenderer.addNeededValue(context, formName, sourceKey); // BUG 3557710 - FORM ENCODER AND POSTBACK HANDLING FormEncoder formEncoder = context.getFormEncoder(); String encodedSource = XhtmlLafUtils.getFormEncodedParameter(formEncoder, formName, sourceKey, sourceValue); handler.append("_commandChoice('");
154155156157158159160161162163164
return; } buffer.append('{'); FormEncoder formEncoder = context.getFormEncoder(); boolean firstParameter = true; if (gotParams) { for (int i = 0; i < parameters.length; i++)
213214215216217218219220221222223
URLEncoder encoder = context.getURLEncoder(); String eventKey = encoder.encodeParameter(UIConstants.EVENT_PARAM); String sourceKey = encoder.encodeParameter(UIConstants.SOURCE_PARAM); String partialTargetsKey = encoder.encodeParameter( UIConstants.PARTIAL_TARGETS_PARAM); FormEncoder formEncoder = context.getFormEncoder(); String encodedEvent = XhtmlLafUtils. getFormEncodedParameter(formEncoder, formName, eventKey, event);
118119120121122123124125126127128
{ String valueString = IntegerUtils.getString(value); String sizeString = IntegerUtils.getString(size); // BUG 3557710 - FORM ENCODER AND POSTBACK HANDLING FormEncoder formEncoder = context.getFormEncoder(); String encodedGotoEvent = XhtmlLafUtils.getFormEncodedParameter(formEncoder, form, eventKey, UIConstants.GOTO_EVENT); String encodedSource = XhtmlLafUtils.getFormEncodedParameter(formEncoder, form,
200201202203204205206207208209210
String partialTargetsKey, String partialTargets ) { // BUG 3557710 - FORM ENCODER AND POSTBACK HANDLING FormEncoder formEncoder = context.getFormEncoder(); String encodedGotoEvent = XhtmlLafUtils.getFormEncodedParameter(formEncoder, form, eventKey, UIConstants.GOTO_EVENT);
167168169170171172173174175176177
Object name, Object value ) throws IOException { ResponseWriter writer = context.getResponseWriter(); FormEncoder formEncoder = context.getFormEncoder(); _renderHiddenField(writer, formEncoder, name, value); // note that we have rendered this value, in case we "need" it later _addRenderedValue(formName, name);
362363364365366367368369370371372
StringBuffer handler = new StringBuffer(); FormValueRenderer.addNeededValue(context, formName, sourceKey); // BUG 3557710 - FORM ENCODER AND POSTBACK HANDLING FormEncoder formEncoder = context.getFormEncoder(); String encodedSource = XhtmlLafUtils.getFormEncodedParameter(formEncoder, formName, sourceKey, sourceValue); handler.append("_commandChoice('");
640641642643644645646647648649650
String partialTargetsKey, String partialTargets ) { // BUG 3557710 - FORM ENCODER AND POSTBACK HANDLING FormEncoder formEncoder = context.getFormEncoder(); String encodedGotoEvent = XhtmlLafUtils.getFormEncodedParameter(formEncoder, form, eventKey, GOTO_EVENT); String encodedSource = XhtmlLafUtils.getFormEncodedParameter(formEncoder, form, sourceKey, name); String encodedPartialTargets =
21072108210921102111211221132114211521162117
) { String valueString = IntegerUtils.getString(value); // BUG 3557710 - FORM ENCODER AND POSTBACK HANDLING FormEncoder formEncoder = context.getFormEncoder(); String encodedGotoEvent = XhtmlLafUtils.getFormEncodedParameter(formEncoder, form, eventKey, GOTO_EVENT); String encodedSource = XhtmlLafUtils.getFormEncodedParameter(formEncoder, form, sourceKey, name);
21672168216921702171217221732174217521762177
{ String valueString = IntegerUtils.getString(value); String sizeString = IntegerUtils.getString(size); // BUG 3557710 - FORM ENCODER AND POSTBACK HANDLING FormEncoder formEncoder = context.getFormEncoder(); String encodedGotoEvent = XhtmlLafUtils.getFormEncodedParameter(formEncoder, form, eventKey, GOTO_EVENT); String encodedSource = XhtmlLafUtils.getFormEncodedParameter(formEncoder, form,