Skip to content

bug #13969: news displaying now use the pagination at first access #869

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

SilverDav
Copy link
Contributor

No description provided.

Copy link

@mmoqui mmoqui self-assigned this Nov 20, 2024
@@ -286,7 +286,7 @@
<form name="tabForm" method="post">
<%
ArrayPane arrayPane = gef.getArrayPane("newsList", "Main", request, session);
arrayPane.setVisibleLineNumber(1000);
arrayPane.setVisibleLineNumber(GraphicElementFactory.getSettings().getInteger("Pagination.NumberPerPageThreshold",20));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't use the occasion to replace the Java code of ArrayPane by its counterpart view:arrayPane?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated the ArrayPaneTag code so that the visible line number is initialized by default with the Pagination.NumberPerPageThreshold property. So setting explicitly the visible line number isn't anymore required for array pane.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, i'm working on the replacement of the servlet code by jstl..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done...

@mmoqui mmoqui merged commit 954ebb3 into Silverpeas:6.4.x Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants