Skip to content

Commit

Permalink
Merge pull request #1422 from Pandrex247/PAYARA-1398-Enable-configura…
Browse files Browse the repository at this point in the history
…tion-of-max-form-post-size-bytes-in-admin-console

PAYARA-1398 Enable configuration of max-form-post-size-bytes in admin console
  • Loading branch information
Pandrex247 committed Mar 13, 2017
1 parent 487b1cf commit e170644
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
-->

<!-- Portions Copyright [2017] [Payara Foundation and/or its affiliates.] -->

<!-- grizzly/httpAttr.inc -->


Expand Down Expand Up @@ -101,6 +103,11 @@
<sun:textField id="headerBLength" styleClass="intAllowMinusOne" columns="$int{20}" maxLength="#{sessionScope.fieldLengths['maxLength.http.MaxPostSize']}" text="#{pageSession.httpMap['maxPostSizeBytes']}" />
<sun:staticText id="byte" style="padding: 8pt" text="$resource{i18n.common.Bytes}"/>
</sun:property>

<sun:property id="MaxFormPostSize" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n_web.http.MaxFormPostSize}" helpText="$resource{i18n_web.http.MaxFormPostSizeHelp}" >
<sun:textField id="headerBLength" styleClass="intAllowMinusOne" columns="$int{20}" maxLength="#{sessionScope.fieldLengths['maxLength.http.MaxPostSize']}" text="#{pageSession.httpMap['maxFormPostSizeBytes']}" />
<sun:staticText id="byte" style="padding: 8pt" text="$resource{i18n.common.Bytes}"/>
</sun:property>

<sun:property id="MaxSavePostSize" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n_web.http.MaxSavePostSize}" helpText="$resource{i18n_web.http.MaxSavePostSizeHelp}" >
<sun:textField id="MaxSavePostSize" styleClass="integer" columns="$int{20}" maxLength="#{sessionScope.fieldLengths['maxLength.http.MaxPostSize']}" text="#{pageSession.httpMap['maxSavePostSizeBytes']}" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
# only if the new code is made subject to such option by the copyright
# holder.
#
# Portions Copyright [2016] [Payara Foundation]
# Portions Copyright [2016-2017] [Payara Foundation and/or its affiliates.]
button.GetStatistics=Get Statistics

## All the msg.JS.xxx strings are showed by JavaScript in a popup window. Ensure that no ' (apostrophe) is included in them
Expand Down Expand Up @@ -256,6 +256,8 @@ http.HeaderBufferLength=Header Buffer Length:
http.HeaderBufferLengthHelp=The size of the buffer used by the request processing threads to read the request data
http.MaxPostSize=Max Post Size:
http.MaxPostSizeHelp=Maximum size of POST actions
http.MaxFormPostSize=Max Form Post Size:
http.MaxFormPostSizeHelp=Maximum size of a POST form
http.CompressionMinSizeBytes=Compression Minimum Size:
http.CompressionMinSizeBytesHelp=Minimum size of a file when compression is applied
http.ConnectionUploadTimeout=Connection Upload Timeout:
Expand Down

0 comments on commit e170644

Please sign in to comment.