├── .editorconfig ├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── .gitignore ├── .travis.yml ├── EclipseCodeFormat.xml ├── LICENSE ├── README.md ├── jaulp-wicket-annotated-header-contributors ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── de │ │ └── alpharogroup │ │ └── wicket │ │ ├── PackageResourceReferenceWrapper.java │ │ ├── PackageResourceReferences.java │ │ ├── base │ │ └── enums │ │ │ └── ResourceReferenceType.java │ │ └── header │ │ └── contributors │ │ └── HeaderResponseExtensions.java │ └── resources │ ├── LICENSE.txt │ ├── META-INF │ └── MANIFEST.MF │ └── log4j.properties ├── jaulp-wicket-base ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── de │ │ │ └── alpharogroup │ │ │ └── wicket │ │ │ ├── base │ │ │ ├── AbstractBasePage.java │ │ │ ├── AbstractGenericBasePage.java │ │ │ ├── BasePage.html │ │ │ ├── BasePage.java │ │ │ ├── BasePanel.java │ │ │ ├── GenericBasePage.html │ │ │ ├── GenericBasePage.java │ │ │ ├── IApplicationModel.java │ │ │ ├── application │ │ │ │ ├── AbstractApplicationRequestCycleListener.java │ │ │ │ ├── BaseWebApplication.java │ │ │ │ ├── OnlineSessionUsers.java │ │ │ │ ├── OnlineUsers.java │ │ │ │ ├── RequestCycleLocal.java │ │ │ │ ├── SessionLocal.java │ │ │ │ ├── WicketConfigurationPropertiesResolver.java │ │ │ │ ├── plugins │ │ │ │ │ ├── ApplicationDebugSettingsPlugin.java │ │ │ │ │ └── SecuritySettingsPlugin.java │ │ │ │ └── seo │ │ │ │ │ └── DisableJSessionIDinUrlApplication.java │ │ │ ├── pageparameters │ │ │ │ └── ParameterKeys.java │ │ │ ├── pages │ │ │ │ ├── AbstractSiteMapPage.html │ │ │ │ ├── AbstractSiteMapPage.java │ │ │ │ └── SiteUrl.java │ │ │ ├── protocol │ │ │ │ └── https │ │ │ │ │ └── SSLable.java │ │ │ ├── request │ │ │ │ └── mapper │ │ │ │ │ ├── HighScoreRequestMapper.java │ │ │ │ │ └── RequestMapperBean.java │ │ │ └── util │ │ │ │ ├── ComponentFinder.java │ │ │ │ ├── CookieExtensions.java │ │ │ │ ├── PageProviderFactory.java │ │ │ │ ├── RequestHandlerFactory.java │ │ │ │ ├── SessionExtensions.java │ │ │ │ ├── WicketComponentExtensions.java │ │ │ │ ├── WicketImageExtensions.java │ │ │ │ ├── application │ │ │ │ └── ApplicationExtensions.java │ │ │ │ ├── parameter │ │ │ │ └── PageParametersExtensions.java │ │ │ │ ├── properties │ │ │ │ └── ComponentPropertiesKeysListResolver.java │ │ │ │ ├── resource │ │ │ │ ├── ByteArrayResourceStreamWriter.java │ │ │ │ ├── DatabaseImageResource.java │ │ │ │ └── ResourceModelFactory.java │ │ │ │ ├── seo │ │ │ │ ├── BotAgentInspector.java │ │ │ │ └── DeviceDetector.java │ │ │ │ └── url │ │ │ │ └── WicketUrlExtensions.java │ │ │ └── markup │ │ │ └── html │ │ │ └── ResourceFilteredIntoFooterHeaderResponseDecorator.java │ └── resources │ │ ├── LICENSE.txt │ │ ├── META-INF │ │ └── MANIFEST.MF │ │ └── log4j.properties │ └── test │ └── java │ ├── META-INF │ └── MANIFEST.MF │ └── de │ └── alpharogroup │ └── wicket │ └── base │ └── util │ └── parameter │ └── PageParametersExtensionsTest.java ├── jaulp-wicket-behaviors ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── de │ │ │ └── alpharogroup │ │ │ └── wicket │ │ │ └── behaviors │ │ │ ├── AjaxDownloadBehavior.java │ │ │ ├── BuildableChainableStatement.java │ │ │ ├── ComponentDecoratorBehavior.java │ │ │ ├── DisplayNoneBehavior.java │ │ │ ├── FaviconBehavior.java │ │ │ ├── FocusRequestBehavior.java │ │ │ ├── GoogleAnalyticsBehavior.java │ │ │ ├── JQueryJsAppenderBehavior.java │ │ │ ├── JavascriptAppenderBehavior.java │ │ │ ├── JavascriptBindEvent.java │ │ │ ├── JavascriptResourceReferenceAppenderBehavior.java │ │ │ ├── JqueryStatementsBehavior.java │ │ │ ├── LinkBehavior.java │ │ │ ├── MailtoBehavior.java │ │ │ ├── RequiredBehavior.java │ │ │ ├── WrapAllChildrenBehavior.java │ │ │ ├── animations │ │ │ └── Animate.java │ │ │ ├── components │ │ │ └── MailtoLabel.java │ │ │ ├── css │ │ │ └── RemoveCssClass.java │ │ │ ├── datetime │ │ │ ├── CurrentDatetimeBehavior.java │ │ │ ├── datetime-plugin.js.tmpl │ │ │ └── jquery-datetime-plugin.js │ │ │ ├── events │ │ │ ├── PayloadBean.java │ │ │ ├── RefreshComponentAjaxTimerBehavior.java │ │ │ └── RefreshPayload.java │ │ │ ├── models │ │ │ ├── ListModelUpdateBehavior.java │ │ │ ├── MailtoBean.java │ │ │ ├── MailtoModel.java │ │ │ ├── ModelUpdateBehavior.java │ │ │ └── UpdateModelVisitor.java │ │ │ └── wrappers │ │ │ └── Wrappers.java │ └── resources │ │ ├── LICENSE.txt │ │ ├── META-INF │ │ ├── MANIFEST.MF │ │ └── NOTICE │ │ └── log4j.properties │ └── test │ └── java │ ├── META-INF │ └── MANIFEST.MF │ └── de │ └── alpharogroup │ └── wicket │ └── behaviors │ └── JqueryStatementsBehaviorTest.java ├── jaulp-wicket-components ├── .gitignore ├── pom.xml └── src │ ├── main │ └── java │ │ └── de │ │ └── alpharogroup │ │ └── wicket │ │ └── components │ │ ├── actions │ │ ├── AbstractActionPanel.html │ │ ├── AbstractActionPanel.java │ │ ├── Action.java │ │ └── ActionPanel.java │ │ ├── ajax │ │ └── editable │ │ │ └── tabs │ │ │ ├── AbstractAjaxLazyLoadTab.java │ │ │ ├── AbstractContentTab.java │ │ │ ├── AjaxAddableTabbedPanel.html │ │ │ ├── AjaxAddableTabbedPanel.java │ │ │ ├── AjaxCloseableTabbedPanel.html │ │ │ ├── AjaxCloseableTabbedPanel.java │ │ │ ├── CloseableTab.java │ │ │ ├── EditableAjaxTabbedPanel.java │ │ │ └── ICloseableTab.java │ │ ├── beaneditor │ │ ├── BeanEditorPanel.html │ │ └── BeanEditorPanel.java │ │ ├── buttons │ │ ├── ActionButtonPanel.java │ │ ├── AjaxIndicatingButtonPanel.java │ │ ├── ButtonPanel.html │ │ ├── ButtonPanel.java │ │ └── LocaleImageButton.java │ │ ├── captcha │ │ ├── draw │ │ │ ├── CaptchaModelBean.java │ │ │ ├── CaptchaPanel.html │ │ │ ├── CaptchaPanel.java │ │ │ └── CaptchaPanel.properties │ │ └── recaptcha │ │ │ ├── ReCaptchaPanel.html │ │ │ ├── ReCaptchaPanel.java │ │ │ └── ReCaptchaPanel.properties │ │ ├── deregistration │ │ ├── DeregistrationModelBean.java │ │ ├── DeregistrationPanel.css │ │ ├── DeregistrationPanel.html │ │ ├── DeregistrationPanel.java │ │ ├── DeregistrationPanel.properties │ │ ├── DeregistrationPanel_de.properties │ │ └── DeregistrationPanel_el.properties.xml │ │ ├── download │ │ ├── DownloadModelBean.java │ │ ├── DownloadPanel.html │ │ └── DownloadPanel.java │ │ ├── editable │ │ ├── checkbox │ │ │ ├── EditableCheckbox.html │ │ │ └── EditableCheckbox.java │ │ ├── textarea │ │ │ ├── EditableTextArea.html │ │ │ └── EditableTextArea.java │ │ └── textfield │ │ │ ├── EditableTextField.html │ │ │ └── EditableTextField.java │ │ ├── factory │ │ └── ComponentFactory.java │ │ ├── footer │ │ ├── FooterMenuPanel.html │ │ ├── FooterMenuPanel.java │ │ ├── FooterPanel.html │ │ └── FooterPanel.java │ │ ├── form │ │ ├── CheckChoicesListView.java │ │ ├── ChoicesListView.java │ │ ├── RadioChoicesListView.java │ │ ├── checkbox │ │ │ ├── CheckGroupSelectorPanel.html │ │ │ ├── CheckGroupSelectorPanel.java │ │ │ ├── CheckboxModelBean.java │ │ │ └── image │ │ │ │ ├── ImageCheckboxModelBean.java │ │ │ │ └── ImageChoicesModelBean.java │ │ ├── dropdown │ │ │ ├── OptGroup.java │ │ │ └── OptGroupDropDownChoice.java │ │ └── input │ │ │ ├── TwoFormComponentBean.java │ │ │ ├── TwoFormComponentPanel.html │ │ │ └── TwoFormComponentPanel.java │ │ ├── i18n │ │ ├── content │ │ │ ├── ContentModelBean.java │ │ │ ├── ContentPanel.html │ │ │ └── ContentPanel.java │ │ ├── dropdownchoice │ │ │ ├── EnumLocalizedDropdownChoicePanel.html │ │ │ ├── EnumLocalizedDropdownChoicePanel.java │ │ │ ├── LocalisedDropDownChoice.java │ │ │ ├── LocalizedDropdownChoicePanel.html │ │ │ ├── LocalizedDropdownChoicePanel.java │ │ │ └── package.html │ │ ├── label │ │ │ └── LocalizedLabel.java │ │ ├── link │ │ │ └── LocaleLink.java │ │ └── list │ │ │ ├── ContentListModelBean.java │ │ │ ├── DivListPanel.html │ │ │ ├── DivListPanel.java │ │ │ ├── HeaderContentListModelBean.java │ │ │ ├── HeaderContentListPanel.html │ │ │ ├── HeaderContentListPanel.java │ │ │ ├── LinkListPanel.html │ │ │ ├── LinkListPanel.java │ │ │ ├── ResourceBundleKeysPanel.java │ │ │ ├── SpanListPanel.java │ │ │ ├── UnorderedListPanel.html │ │ │ └── UnorderedListPanel.java │ │ ├── img │ │ └── WicketImage.java │ │ ├── imprint │ │ ├── ImprintModelBean.java │ │ ├── ImprintPanel.html │ │ └── ImprintPanel.java │ │ ├── indicator │ │ ├── AjaxIndicatorLoadingPanel.html │ │ └── AjaxIndicatorLoadingPanel.java │ │ ├── labeled │ │ ├── LabeledComponentFactory.java │ │ ├── LabeledFormComponentPanel.java │ │ ├── LabeledTwoFormComponentPanel.html │ │ ├── LabeledTwoFormComponentPanel.java │ │ ├── checkbox │ │ │ ├── LabeledCheckboxPanel.html │ │ │ ├── LabeledCheckboxPanel.java │ │ │ └── img │ │ │ │ ├── LabeledImageCheckboxModelBean.java │ │ │ │ ├── LabeledImageCheckboxPanel.html │ │ │ │ └── LabeledImageCheckboxPanel.java │ │ ├── dropdown │ │ │ ├── LabeledEnumDropDownPanel.html │ │ │ └── LabeledEnumDropDownPanel.java │ │ ├── label │ │ │ ├── LabeledEnumLabelPanel.html │ │ │ ├── LabeledEnumLabelPanel.java │ │ │ ├── LabeledLabelPanel.html │ │ │ ├── LabeledLabelPanel.java │ │ │ ├── LabeledMultiLineLabelPanel.html │ │ │ └── LabeledMultiLineLabelPanel.java │ │ ├── textarea │ │ │ ├── LabeledTextAreaPanel.html │ │ │ └── LabeledTextAreaPanel.java │ │ └── textfield │ │ │ ├── LabeledAutoCompleteTextFieldPanel.html │ │ │ ├── LabeledAutoCompleteTextFieldPanel.java │ │ │ ├── LabeledDateTextFieldPanel.html │ │ │ ├── LabeledDateTextFieldPanel.java │ │ │ ├── LabeledDateTimeFieldPanel.html │ │ │ ├── LabeledDateTimeFieldPanel.java │ │ │ ├── LabeledEmailTextFieldPanel.html │ │ │ ├── LabeledEmailTextFieldPanel.java │ │ │ ├── LabeledPasswordTextFieldPanel.html │ │ │ ├── LabeledPasswordTextFieldPanel.java │ │ │ ├── LabeledRequiredTextFieldPanel.html │ │ │ ├── LabeledRequiredTextFieldPanel.java │ │ │ ├── LabeledTextFieldPanel.html │ │ │ └── LabeledTextFieldPanel.java │ │ ├── link │ │ ├── DefaultTargets.java │ │ ├── LinkFactory.java │ │ ├── LinkItem.java │ │ ├── LinkPanel.html │ │ ├── LinkPanel.java │ │ ├── LinkUtils.java │ │ └── PhoneLink.java │ │ ├── listview │ │ ├── DataViewPanel.java │ │ ├── ListViewPanel.java │ │ └── RefreshingViewPanel.java │ │ ├── mailto │ │ ├── MailToPanel.html │ │ ├── MailToPanel.java │ │ ├── MailToPanel.properties │ │ ├── MailToPanel.properties.xml │ │ └── MailToPanel_el.properties.xml │ │ ├── menu │ │ └── suckerfish │ │ │ ├── LinkFragment.java │ │ │ ├── MenuItem.java │ │ │ ├── MenuItemFactory.java │ │ │ ├── MenuItemFragment.java │ │ │ ├── MenuPanel.html │ │ │ ├── MenuPanel.java │ │ │ ├── MenuPanel.js │ │ │ ├── SubMenuListView.java │ │ │ └── TextFragment.java │ │ ├── radio │ │ ├── AjaxEnumRadio.java │ │ ├── AjaxRadio.java │ │ ├── AjaxRadioPanel.html │ │ ├── AjaxRadioPanel.java │ │ ├── AjaxRadioPanel.js │ │ ├── EnumRadio.java │ │ ├── RadioGroupModelBean.java │ │ ├── RadioGroupPanel.html │ │ └── RadioGroupPanel.java │ │ ├── report │ │ ├── Effects.java │ │ ├── ReportThrowableModelBean.java │ │ ├── ReportThrowablePanel.html │ │ ├── ReportThrowablePanel.java │ │ ├── ReportThrowablePanel.properties.xml │ │ ├── ReportThrowablePanel_de.properties.xml │ │ ├── ReportThrowablePanel_el.properties.xml │ │ └── ReportThrowablePanel_en.properties.xml │ │ ├── search │ │ ├── SimpleSearchModel.java │ │ ├── SimpleSearchPanel.html │ │ ├── SimpleSearchPanel.java │ │ ├── SimpleSearchPanel.properties │ │ ├── SimpleSearchPanel_de.properties │ │ └── SimpleSearchPanel_el.properties.xml │ │ ├── sign │ │ ├── in │ │ │ ├── SigninPanel.html │ │ │ ├── SigninPanel.java │ │ │ ├── SigninPanel.properties.xml │ │ │ ├── SigninPanel_de.properties.xml │ │ │ ├── SigninPanel_el.properties.xml │ │ │ ├── SigninPanel_en.properties.xml │ │ │ ├── form │ │ │ │ ├── SigninFormPanel.html │ │ │ │ ├── SigninFormPanel.java │ │ │ │ ├── SigninFormPanel.properties.xml │ │ │ │ ├── SigninFormPanel_de.properties.xml │ │ │ │ ├── SigninFormPanel_el.properties.xml │ │ │ │ └── SigninFormPanel_en.properties.xml │ │ │ └── password │ │ │ │ ├── change │ │ │ │ ├── ChangePasswordFormPanel.html │ │ │ │ ├── ChangePasswordFormPanel.java │ │ │ │ ├── ChangePasswordModelBean.java │ │ │ │ ├── ChangePasswordPanel.html │ │ │ │ ├── ChangePasswordPanel.java │ │ │ │ ├── ChangePasswordPanel.properties │ │ │ │ ├── ChangePasswordPanel_de.properties │ │ │ │ ├── ChangePasswordPanel_el.properties.xml │ │ │ │ └── ChangePasswordPanel_en.properties │ │ │ │ ├── forgotten │ │ │ │ ├── AbstractPasswordForgottenPanel.html │ │ │ │ ├── AbstractPasswordForgottenPanel.java │ │ │ │ ├── AbstractPasswordForgottenPanel.properties │ │ │ │ ├── AbstractPasswordForgottenPanel_de.properties │ │ │ │ ├── AbstractPasswordForgottenPanel_el.properties.xml │ │ │ │ ├── AbstractPasswordForgottenPanel_en.properties │ │ │ │ └── PasswordForgottenModelBean.java │ │ │ │ └── reset │ │ │ │ ├── AbstractResetPasswordPanel.html │ │ │ │ ├── AbstractResetPasswordPanel.java │ │ │ │ ├── AbstractResetPasswordPanel.properties │ │ │ │ ├── AbstractResetPasswordPanel_de.properties │ │ │ │ ├── AbstractResetPasswordPanel_el.properties.xml │ │ │ │ ├── AbstractResetPasswordPanel_en.properties │ │ │ │ └── ResetPasswordBean.java │ │ └── up │ │ │ ├── SignupFormPanel.html │ │ │ ├── SignupFormPanel.java │ │ │ ├── SignupPanel.html │ │ │ ├── SignupPanel.java │ │ │ ├── SignupPanel.properties.xml │ │ │ ├── SignupPanel_de.properties.xml │ │ │ ├── SignupPanel_el.properties.xml │ │ │ └── SignupPanel_en.properties.xml │ │ ├── socialnet │ │ ├── SocialNetworkModelBean.java │ │ ├── fb │ │ │ └── like │ │ │ │ └── and │ │ │ │ └── share │ │ │ │ ├── FacebookLikeAndShareModelBean.java │ │ │ │ ├── FacebookLikeAndSharePanel.html │ │ │ │ ├── FacebookLikeAndSharePanel.java │ │ │ │ ├── fbLikeShare.js │ │ │ │ └── fbLikeShare.vm │ │ ├── googleplus │ │ │ └── share │ │ │ │ ├── GooglePlusShareModelBean.java │ │ │ │ ├── GooglePlusSharePanel.html │ │ │ │ └── GooglePlusSharePanel.java │ │ └── twitter │ │ │ ├── follow │ │ │ ├── TwitterFollowModelBean.java │ │ │ ├── TwitterFollowPanel.html │ │ │ ├── TwitterFollowPanel.java │ │ │ └── follow.js │ │ │ └── share │ │ │ ├── TwitterShareModelBean.java │ │ │ ├── TwitterSharePanel.html │ │ │ ├── TwitterSharePanel.java │ │ │ └── widgets.js │ │ ├── swap │ │ ├── ModeContext.java │ │ ├── SwapAnimation.java │ │ ├── SwapComponentsFragmentPanel.html │ │ ├── SwapComponentsFragmentPanel.java │ │ └── SwapFragmentPanel.java │ │ ├── termofuse │ │ ├── TermOfUseModelBean.java │ │ ├── TermOfUsePanel.html │ │ ├── TermOfUsePanel.java │ │ ├── cancellation │ │ │ └── CancellationPanel.java │ │ ├── contract │ │ │ └── ContractPanel.java │ │ ├── copyright │ │ │ └── CopyrightPanel.java │ │ ├── dataprotection │ │ │ └── DataProtectionPanel.java │ │ ├── disclaimer │ │ │ ├── DisclaimerPanel.html │ │ │ ├── DisclaimerPanel.java │ │ │ ├── DisclaimerPanel_de.properties.xml │ │ │ ├── DisclaimerPanel_el.properties.xml │ │ │ └── DisclaimerPanel_en.properties.xml │ │ ├── fulfilmentandjurisdiction │ │ │ └── FulfilmentAndJurisdictionPlacePanel.java │ │ ├── general │ │ │ └── GeneralTermsAndConditionsPanel.java │ │ ├── legalreferences │ │ │ └── LegalReferencesPanel.java │ │ ├── liability │ │ │ └── LiabilityPanel.java │ │ ├── modificationsclause │ │ │ └── ModificationsClausePanel.java │ │ ├── rightsandduties │ │ │ ├── RightsAndDutiesModelBean.java │ │ │ ├── RightsAndDutiesPanel.html │ │ │ └── RightsAndDutiesPanel.java │ │ └── salvatoriusclause │ │ │ └── SalvatoriusClausePanel.java │ │ └── velocity │ │ ├── VelocityFieldsPanel.html │ │ ├── VelocityFieldsPanel.java │ │ └── WicketField.java │ └── test │ └── java │ ├── META-INF │ └── MANIFEST.MF │ └── de │ └── alpharogroup │ └── wicket │ └── components │ ├── i18n │ └── content │ │ └── ContentModelTest.java │ └── search │ └── SimpleSearchPanelTest.java ├── jaulp-wicket-data-provider ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── de │ │ │ └── alpharogroup │ │ │ └── wicket │ │ │ └── data │ │ │ ├── provider │ │ │ ├── AbstractSortFilterDataProvider.java │ │ │ ├── AbstractSortableDataProvider.java │ │ │ └── AbstractSortableFilterDataProvider.java │ │ │ └── table │ │ │ └── DateColumn.java │ └── resources │ │ ├── LICENSE.txt │ │ ├── META-INF │ │ └── MANIFEST.MF │ │ └── log4j.properties │ └── test │ └── java │ └── META-INF │ └── MANIFEST.MF ├── jaulp-wicket-dialogs ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── de │ │ └── alpharogroup │ │ └── wicket │ │ └── dialogs │ │ ├── ajax │ │ └── modal │ │ │ ├── AbstractModalWindow.java │ │ │ ├── BaseModalPanel.html │ │ │ ├── BaseModalPanel.java │ │ │ ├── BaseModalWindow.html │ │ │ ├── BaseModalWindow.java │ │ │ ├── ModalDialogFragmentPanel.html │ │ │ └── ModalDialogFragmentPanel.java │ │ └── panels │ │ ├── DialogPanel.java │ │ ├── confirm │ │ ├── YesNoPanel.html │ │ ├── YesNoPanel.java │ │ ├── YesNoPanel.properties │ │ └── YesNoPanel_de.properties │ │ ├── info │ │ ├── InfoPanel.html │ │ └── InfoPanel.java │ │ └── save │ │ ├── SaveDialogPanel.html │ │ ├── SaveDialogPanel.java │ │ └── SaveDialogPanel.properties │ └── resources │ ├── LICENSE.txt │ ├── META-INF │ └── MANIFEST.MF │ └── log4j.properties ├── jaulp-wicket-dropdownchoices ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── de │ │ └── alpharogroup │ │ └── wicket │ │ ├── components │ │ └── i18n │ │ │ └── dropdownchoice │ │ │ ├── panels │ │ │ ├── DoubleDropDownPanel.html │ │ │ ├── DoubleDropDownPanel.java │ │ │ ├── DropdownAutocompleteTextFieldPanel.html │ │ │ ├── DropdownAutocompleteTextFieldPanel.java │ │ │ ├── TwoDropDownChoicesPanel.java │ │ │ └── package.html │ │ │ └── renderers │ │ │ ├── LocalisedChoiceRenderer.java │ │ │ ├── PropertiesChoiceRenderer.java │ │ │ └── SelectedValuesChoiceRenderer.java │ │ └── model │ │ └── dropdownchoices │ │ ├── SelectOptionModel.java │ │ ├── StringThreeDropDownChoicesModel.java │ │ ├── StringTwoDropDownChoicesModel.java │ │ ├── ThreeDropDownChoicesModel.java │ │ ├── TwoDropDownChoicesBean.java │ │ ├── TwoDropDownChoicesModel.java │ │ └── package.html │ ├── resources │ ├── LICENSE.txt │ ├── META-INF │ │ └── MANIFEST.MF │ └── log4j.properties │ └── webapp │ ├── META-INF │ └── MANIFEST.MF │ └── WEB-INF │ └── web.xml ├── pom.xml └── src ├── launch ├── jaulp-wicket clean deploy.launch ├── jaulp-wicket clean install.launch ├── jaulp-wicket eclipse clean eclipse eclipse clean install.launch ├── jaulp-wicket eclipse clean eclipse eclipse.launch ├── jaulp-wicket javadoc.launch ├── jaulp-wicket update-child-modules.launch └── jaulp-wicket update-license-header.launch └── main └── resources ├── LICENSE.txt ├── jaulp.wicket eclipse clean eclipse eclipse clean install.launch └── log4j.properties /.editorconfig: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2010 Asterios Raptis 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | # jaulp-wicket 18 | # checkout http://editorconfig.org/ for more information and how to use it 19 | 20 | root = true 21 | 22 | [*] 23 | charset = utf-8 24 | end_of_line = lf 25 | indent_style = space 26 | indent_size = 4 27 | 28 | [{*.java,*.xml,*.js,*.css,*.less}] 29 | trim_trailing_whitespace = true 30 | insert_final_newline = true 31 | 32 | [{*.md,.travis.yml}] 33 | indent_style = space 34 | indent_size = 2 35 | trim_trailing_whitespace = true -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Desktop (please complete the following information):** 27 | - OS: [e.g. iOS] 28 | - Browser [e.g. chrome, safari] 29 | - Version [e.g. 22] 30 | 31 | **Smartphone (please complete the following information):** 32 | - Device: [e.g. iPhone6] 33 | - OS: [e.g. iOS8.1] 34 | - Browser [e.g. stock browser, safari] 35 | - Version [e.g. 22] 36 | 37 | **Additional context** 38 | Add any other context about the problem here. 39 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ################## 2 | # Compiled files # 3 | ################## 4 | *.class 5 | 6 | ################## 7 | # intellij files # 8 | ################## 9 | *.iml 10 | .idea 11 | */.idea 12 | 13 | ################# 14 | # eclipse files # 15 | ################# 16 | /.project 17 | /.classpath 18 | /.settings 19 | /.tern-project 20 | 21 | ################## 22 | # netbeans files # 23 | ################## 24 | /nb-configuration.xml 25 | 26 | ######################### 27 | # maven generated files # 28 | ######################### 29 | /target 30 | *.versionsBackup 31 | 32 | ############# 33 | # Zip files # 34 | ############# 35 | *.tar 36 | *.zip 37 | *.7z 38 | *.dmg 39 | *.gz 40 | *.iso 41 | *.jar 42 | *.rar 43 | 44 | ############## 45 | # Logs files # 46 | ############## 47 | *.log 48 | 49 | ################# 50 | # test-ng files # 51 | ################# 52 | /test-output 53 | 54 | ############################ 55 | # Binaries generated files # 56 | ############################ 57 | /bin 58 | 59 | ################ 60 | # gradle files # 61 | ################ 62 | /build 63 | /.gradle 64 | /gradle 65 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # jaulp-wicket .travis.yml 2 | 3 | language: java 4 | 5 | jdk: 6 | - openjdk8 7 | 8 | notifications: 9 | email: 10 | recipients: 11 | - asterios.raptis@web.de 12 | on_failure: always 13 | -------------------------------------------------------------------------------- /jaulp-wicket-annotated-header-contributors/.gitignore: -------------------------------------------------------------------------------- 1 | ################## 2 | # Compiled files # 3 | ################## 4 | *.class 5 | 6 | ################## 7 | # intellij files # 8 | ################## 9 | *.iml 10 | .idea 11 | */.idea 12 | 13 | ################# 14 | # eclipse files # 15 | ################# 16 | /.project 17 | /.classpath 18 | /.settings 19 | /.tern-project 20 | 21 | ################## 22 | # netbeans files # 23 | ################## 24 | /nb-configuration.xml 25 | 26 | ######################### 27 | # maven generated files # 28 | ######################### 29 | /target 30 | 31 | ############# 32 | # Zip files # 33 | ############# 34 | *.tar 35 | *.zip 36 | *.7z 37 | *.dmg 38 | *.gz 39 | *.iso 40 | *.jar 41 | *.rar 42 | 43 | ############## 44 | # Logs files # 45 | ############## 46 | *.log 47 | 48 | ################# 49 | # test-ng files # 50 | ################# 51 | /test-output 52 | 53 | ############################ 54 | # Binaries generated files # 55 | ############################ 56 | /bin 57 | 58 | ################ 59 | # gradle files # 60 | ################ 61 | /build 62 | /.gradle 63 | /gradle 64 | -------------------------------------------------------------------------------- /jaulp-wicket-annotated-header-contributors/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | 8 | de.alpharogroup 9 | jaulp-wicket 10 | 7.8.0 11 | 12 | 13 | jaulp-wicket-annotated-header-contributors 14 | jar 15 | ${project.artifactId} 16 | 17 | 18 | Adds the functionality to add HeaderContributors 19 | to Pages and Panels through java annotations. To see how it works see 20 | the 'jaulp-wicket-annotated-header-contributors-examples' project. 21 | 22 | 23 | 24 | 25 | 26 | de.alpharogroup 27 | jcommons-lang 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /jaulp-wicket-annotated-header-contributors/src/main/java/de/alpharogroup/wicket/PackageResourceReferenceWrapper.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket; 17 | 18 | import org.apache.wicket.request.resource.PackageResourceReference; 19 | 20 | import de.alpharogroup.wicket.base.enums.ResourceReferenceType; 21 | import lombok.AllArgsConstructor; 22 | import lombok.Getter; 23 | import lombok.ToString; 24 | 25 | /** 26 | * The Class PackageResourceReferenceWrapper. 27 | */ 28 | @Getter 29 | @ToString 30 | @AllArgsConstructor 31 | public class PackageResourceReferenceWrapper 32 | { 33 | 34 | /** The package resource reference. */ 35 | private final PackageResourceReference packageResourceReference; 36 | 37 | /** The type. */ 38 | private final ResourceReferenceType type; 39 | 40 | } 41 | -------------------------------------------------------------------------------- /jaulp-wicket-annotated-header-contributors/src/main/java/de/alpharogroup/wicket/base/enums/ResourceReferenceType.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.base.enums; 17 | 18 | /** 19 | * The Enum ResourceReferenceType contains types of ResourceReference. 20 | */ 21 | public enum ResourceReferenceType 22 | { 23 | 24 | /** The type for javascript ResourceReferences. */ 25 | JS, 26 | /** The type for less ResourceReferences. */ 27 | LESS, 28 | /** The type for css ResourceReferences. */ 29 | CSS; 30 | 31 | } 32 | -------------------------------------------------------------------------------- /jaulp-wicket-annotated-header-contributors/src/main/resources/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) ${year} ${owner} 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. -------------------------------------------------------------------------------- /jaulp-wicket-annotated-header-contributors/src/main/resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 -------------------------------------------------------------------------------- /jaulp-wicket-annotated-header-contributors/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.appender.Stdout=org.apache.log4j.ConsoleAppender 2 | log4j.appender.Stdout.layout=org.apache.log4j.PatternLayout 3 | log4j.appender.Stdout.layout.conversionPattern=%-5p - %-26.26c{1} - %m\n 4 | 5 | log4j.rootLogger=INFO,Stdout 6 | 7 | log4j.logger.org.apache.wicket=INFO 8 | log4j.logger.org.apache.wicket.protocol.http.HttpSessionStore=INFO 9 | log4j.logger.org.apache.wicket.version=INFO 10 | log4j.logger.org.apache.wicket.RequestCycle=INFO -------------------------------------------------------------------------------- /jaulp-wicket-base/.gitignore: -------------------------------------------------------------------------------- 1 | ################## 2 | # Compiled files # 3 | ################## 4 | *.class 5 | 6 | ################## 7 | # intellij files # 8 | ################## 9 | *.iml 10 | .idea 11 | */.idea 12 | 13 | ################# 14 | # eclipse files # 15 | ################# 16 | /.project 17 | /.classpath 18 | /.settings 19 | /.tern-project 20 | 21 | ################## 22 | # netbeans files # 23 | ################## 24 | /nb-configuration.xml 25 | 26 | ######################### 27 | # maven generated files # 28 | ######################### 29 | /target 30 | 31 | ############# 32 | # Zip files # 33 | ############# 34 | *.tar 35 | *.zip 36 | *.7z 37 | *.dmg 38 | *.gz 39 | *.iso 40 | *.jar 41 | *.rar 42 | 43 | ############## 44 | # Logs files # 45 | ############## 46 | *.log 47 | 48 | ################# 49 | # test-ng files # 50 | ################# 51 | /test-output 52 | 53 | ############################ 54 | # Binaries generated files # 55 | ############################ 56 | /bin 57 | 58 | ########################### 59 | # eclipse generated files # 60 | ########################### 61 | *.shapshot 62 | 63 | ################ 64 | # gradle files # 65 | ################ 66 | /build 67 | /.gradle 68 | /gradle -------------------------------------------------------------------------------- /jaulp-wicket-base/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | 6 | 7 | de.alpharogroup 8 | jaulp-wicket 9 | 7.8.0 10 | 11 | 12 | jaulp-wicket-base 13 | 14 | ${project.artifactId} 15 | 16 | 17 | This project contains components that can be used widely for wicket applications. 18 | 19 | 20 | 21 | 22 | 23 | javax.servlet 24 | javax.servlet-api 25 | 26 | 27 | 28 | org.apache.wicket 29 | wicket-datetime 30 | 31 | 32 | 33 | org.apache.wicket 34 | wicket-extensions 35 | 36 | 37 | 38 | org.apache.wicket 39 | wicket-spring 40 | 41 | 42 | 43 | de.alpharogroup 44 | xml-extensions 45 | 46 | 47 | 48 | de.alpharogroup 49 | jcommons-lang 50 | 51 | 52 | 53 | org.wicketstuff 54 | wicketstuff-annotation 55 | 56 | 57 | 58 | org.apache.commons 59 | commons-lang3 60 | 61 | 62 | 63 | de.alpharogroup 64 | resourcebundle-inspector 65 | 66 | 67 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /jaulp-wicket-base/src/main/java/de/alpharogroup/wicket/base/BasePage.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | [title comes here] 5 | 6 | 7 | 10 | 11 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /jaulp-wicket-base/src/main/java/de/alpharogroup/wicket/base/BasePanel.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.base; 17 | 18 | import org.apache.wicket.markup.html.panel.GenericPanel; 19 | import org.apache.wicket.model.IModel; 20 | 21 | /** 22 | * The Class BasePanel. 23 | * 24 | * @param 25 | * the generic type of the model 26 | */ 27 | public abstract class BasePanel extends GenericPanel 28 | { 29 | 30 | /** 31 | * The serialVersionUID. 32 | */ 33 | private static final long serialVersionUID = 1L; 34 | 35 | /** 36 | * Instantiates a new {@link BasePanel}. 37 | * 38 | * @param id 39 | * the id 40 | */ 41 | public BasePanel(final String id) 42 | { 43 | this(id, null); 44 | } 45 | 46 | /** 47 | * Instantiates a new {@link BasePanel}. 48 | * 49 | * @param id 50 | * the component id 51 | * @param model 52 | * the model 53 | */ 54 | public BasePanel(final String id, final IModel model) 55 | { 56 | super(id, model); 57 | if (model != null) 58 | { 59 | setModel(model); 60 | } 61 | } 62 | 63 | } -------------------------------------------------------------------------------- /jaulp-wicket-base/src/main/java/de/alpharogroup/wicket/base/GenericBasePage.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | [title comes here] 5 | 6 | 7 | 10 | 11 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /jaulp-wicket-base/src/main/java/de/alpharogroup/wicket/base/IApplicationModel.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.base; 17 | 18 | import org.apache.wicket.Application; 19 | import org.apache.wicket.Session; 20 | 21 | /** 22 | * The Interface IApplicationModel holds methods for getting the Application and Session objects. 23 | * 24 | * @param 25 | * the generic type for the Wicket Application. 26 | * @param 27 | * the generic type for the Wicket Session. 28 | */ 29 | public interface IApplicationModel 30 | { 31 | 32 | /** 33 | * Gets the wicket application. 34 | * 35 | * @return the wicket application 36 | */ 37 | A getWicketApplication(); 38 | 39 | /** 40 | * Gets the wicket session. 41 | * 42 | * @return the wicket session 43 | */ 44 | S getWicketSession(); 45 | 46 | } -------------------------------------------------------------------------------- /jaulp-wicket-base/src/main/java/de/alpharogroup/wicket/base/pageparameters/ParameterKeys.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.base.pageparameters; 17 | 18 | /** 19 | * The Class ParameterKeys contains constants for the PageParameters keys. 20 | */ 21 | public class ParameterKeys 22 | { 23 | 24 | /** The Constant CONFIRMATION_CODE. */ 25 | public static final String CONFIRMATION_CODE = "forgotten"; 26 | 27 | /** The Constant USER_ID. */ 28 | public static final String USER_ID = "user_id"; 29 | 30 | /** The Constant USERNAME. */ 31 | public static final String USERNAME = "username"; 32 | 33 | /** The Constant ACTION. */ 34 | public static final String ACTION = "action"; 35 | 36 | /** The Constant INFO_MESSAGE. */ 37 | public static final String INFO_MESSAGE = "info_massage"; 38 | 39 | /** The Constant EMAIL. */ 40 | public static final String EMAIL = "email"; 41 | } -------------------------------------------------------------------------------- /jaulp-wicket-base/src/main/java/de/alpharogroup/wicket/base/pages/AbstractSiteMapPage.html: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | http://www.example.com/ 10 | [2009-01-01] 11 | monthly 12 | 0.8 13 | 14 | -------------------------------------------------------------------------------- /jaulp-wicket-base/src/main/java/de/alpharogroup/wicket/base/pages/SiteUrl.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.base.pages; 17 | 18 | /** 19 | * The Class SiteUrl. 20 | */ 21 | public class SiteUrl 22 | { 23 | 24 | /** The loc. */ 25 | private final String loc; 26 | 27 | /** 28 | * Instantiates a new site url. 29 | * 30 | * @param loc 31 | * the loc 32 | */ 33 | public SiteUrl(final String loc) 34 | { 35 | this.loc = loc; 36 | } 37 | 38 | /** 39 | * Gets the loc. 40 | * 41 | * @return the loc 42 | */ 43 | public String getLoc() 44 | { 45 | return this.loc; 46 | } 47 | } -------------------------------------------------------------------------------- /jaulp-wicket-base/src/main/java/de/alpharogroup/wicket/base/protocol/https/SSLable.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.base.protocol.https; 17 | 18 | import org.apache.wicket.protocol.https.RequireHttps; 19 | 20 | /** 21 | * Implement this interface if webpages should be accessible only over ssl(https). You can secure 22 | * webpages by implementing this interface. 23 | * 24 | * @author Asterios Raptis 25 | */ 26 | @RequireHttps 27 | public interface SSLable 28 | { 29 | } 30 | -------------------------------------------------------------------------------- /jaulp-wicket-base/src/main/java/de/alpharogroup/wicket/base/request/mapper/RequestMapperBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.base.request.mapper; 17 | 18 | import java.io.Serializable; 19 | 20 | import org.apache.wicket.request.IRequestMapper; 21 | import org.apache.wicket.util.lang.Args; 22 | 23 | import lombok.Getter; 24 | 25 | /** 26 | * Bean that holds the {@link IRequestMapper} and the compatibility score of it. 27 | */ 28 | public class RequestMapperBean implements Serializable 29 | { 30 | 31 | /** The serialVersionUID. */ 32 | private static final long serialVersionUID = 1L; 33 | 34 | /** 35 | * The compatibility score. 36 | */ 37 | @Getter 38 | private int compatibilityScore; 39 | 40 | /** 41 | * The mapper. 42 | */ 43 | @Getter 44 | private IRequestMapper mapper; 45 | 46 | /** 47 | * Instantiates a new {@link RequestMapperBean}. 48 | * 49 | * @param mapper 50 | * the mapper 51 | * @param compatibilityScore 52 | * the compatibility score 53 | */ 54 | public RequestMapperBean(final IRequestMapper mapper, final int compatibilityScore) 55 | { 56 | this.mapper = Args.notNull(mapper, "mapper"); 57 | this.compatibilityScore = compatibilityScore; 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /jaulp-wicket-base/src/main/java/de/alpharogroup/wicket/base/util/resource/DatabaseImageResource.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.base.util.resource; 17 | 18 | import org.apache.wicket.request.resource.ByteArrayResource; 19 | 20 | import lombok.Getter; 21 | 22 | /** 23 | * The Class DatabaseImageResource. 24 | * 25 | * @author Asterios Raptis 26 | */ 27 | public class DatabaseImageResource extends ByteArrayResource 28 | { 29 | 30 | /** 31 | * The serialVersionUID. 32 | */ 33 | private static final long serialVersionUID = 1L; 34 | 35 | /** The content type. */ 36 | @Getter 37 | private final String contentType; 38 | 39 | /** 40 | * Instantiates a new database image resource. 41 | * 42 | * @param contentType 43 | * the content type 44 | * @param data 45 | * the data 46 | */ 47 | public DatabaseImageResource(final String contentType, final byte[] data) 48 | { 49 | super(contentType, data); 50 | this.contentType = contentType; 51 | } 52 | 53 | /** 54 | * Gets the data. 55 | * 56 | * @return the data 57 | */ 58 | public byte[] getData() 59 | { 60 | return getData(null); 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /jaulp-wicket-base/src/main/java/de/alpharogroup/wicket/base/util/seo/DeviceDetector.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.base.util.seo; 17 | 18 | import java.io.Serializable; 19 | 20 | /** 21 | * The Class DeviceDetector. 22 | */ 23 | public class DeviceDetector implements Serializable 24 | { 25 | 26 | /** The Constant serialVersionUID. */ 27 | private static final long serialVersionUID = 1L; 28 | } 29 | -------------------------------------------------------------------------------- /jaulp-wicket-base/src/main/resources/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) ${year} ${owner} 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. -------------------------------------------------------------------------------- /jaulp-wicket-base/src/main/resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 -------------------------------------------------------------------------------- /jaulp-wicket-base/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.appender.Stdout=org.apache.log4j.ConsoleAppender 2 | log4j.appender.Stdout.layout=org.apache.log4j.PatternLayout 3 | log4j.appender.Stdout.layout.conversionPattern=%-5p - %-26.26c{1} - %m\n 4 | 5 | log4j.rootLogger=INFO,Stdout 6 | 7 | log4j.logger.org.apache.wicket=INFO 8 | log4j.logger.org.apache.wicket.protocol.http.HttpSessionStore=INFO 9 | log4j.logger.org.apache.wicket.version=INFO 10 | log4j.logger.org.apache.wicket.RequestCycle=INFO 11 | 12 | 13 | -------------------------------------------------------------------------------- /jaulp-wicket-base/src/test/java/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /jaulp-wicket-base/src/test/java/de/alpharogroup/wicket/base/util/parameter/PageParametersExtensionsTest.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.base.util.parameter; 17 | 18 | import org.apache.wicket.util.string.StringValue; 19 | import org.testng.AssertJUnit; 20 | import org.testng.annotations.Test; 21 | 22 | public class PageParametersExtensionsTest 23 | { 24 | 25 | @Test 26 | public void testIsNotNullOrEmpty() 27 | { 28 | boolean actual = PageParametersExtensions.isNotNullOrEmpty(null); 29 | AssertJUnit.assertFalse("Should be false.", actual); 30 | StringValue sv = StringValue.valueOf(""); 31 | actual = PageParametersExtensions.isNotNullOrEmpty(sv); 32 | AssertJUnit.assertFalse("Should be false.", actual); 33 | final String s = null; 34 | sv = StringValue.valueOf(s); 35 | actual = PageParametersExtensions.isNotNullOrEmpty(sv); 36 | AssertJUnit.assertFalse("Should be false.", actual); 37 | } 38 | 39 | @Test 40 | public void testIsNullOrEmpty() 41 | { 42 | boolean actual = PageParametersExtensions.isNullOrEmpty(null); 43 | AssertJUnit.assertTrue("Should be true.", actual); 44 | StringValue sv = StringValue.valueOf(""); 45 | actual = PageParametersExtensions.isNullOrEmpty(sv); 46 | AssertJUnit.assertTrue("Should be true.", actual); 47 | final String s = null; 48 | sv = StringValue.valueOf(s); 49 | actual = PageParametersExtensions.isNullOrEmpty(sv); 50 | AssertJUnit.assertTrue("Should be true.", actual); 51 | } 52 | 53 | } 54 | -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/.gitignore: -------------------------------------------------------------------------------- 1 | ################## 2 | # Compiled files # 3 | ################## 4 | *.class 5 | 6 | ################## 7 | # intellij files # 8 | ################## 9 | *.iml 10 | .idea 11 | */.idea 12 | 13 | ################# 14 | # eclipse files # 15 | ################# 16 | /.project 17 | /.classpath 18 | /.settings 19 | /.tern-project 20 | 21 | ################## 22 | # netbeans files # 23 | ################## 24 | /nb-configuration.xml 25 | 26 | ######################### 27 | # maven generated files # 28 | ######################### 29 | /target 30 | 31 | ############# 32 | # Zip files # 33 | ############# 34 | *.tar 35 | *.zip 36 | *.7z 37 | *.dmg 38 | *.gz 39 | *.iso 40 | *.jar 41 | *.rar 42 | 43 | ############## 44 | # Logs files # 45 | ############## 46 | *.log 47 | 48 | ################# 49 | # test-ng files # 50 | ################# 51 | /test-output 52 | 53 | ############################ 54 | # Binaries generated files # 55 | ############################ 56 | /bin 57 | 58 | ################ 59 | # gradle files # 60 | ################ 61 | /build 62 | /.gradle 63 | /gradle 64 | -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | 6 | 7 | de.alpharogroup 8 | jaulp-wicket 9 | 7.8.0 10 | 11 | 12 | jaulp-wicket-behaviors 13 | jar 14 | 15 | ${project.artifactId} 16 | 17 | 18 | 19 | 20 | de.alpharogroup 21 | jaulp-wicket-base 22 | 23 | 24 | 25 | org.odlabs.wiquery 26 | wiquery-core 27 | 28 | 29 | 30 | de.alpharogroup 31 | wicket-js-addons-core 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/main/java/de/alpharogroup/wicket/behaviors/DisplayNoneBehavior.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.behaviors; 17 | 18 | import org.apache.wicket.AttributeModifier; 19 | import org.apache.wicket.Component; 20 | import org.apache.wicket.model.Model; 21 | 22 | /** 23 | * The Class {@link DisplayNoneBehavior}. 24 | */ 25 | public class DisplayNoneBehavior extends AttributeModifier 26 | { 27 | 28 | /** The Constant serialVersionUID. */ 29 | private static final long serialVersionUID = 1L; 30 | 31 | /** 32 | * Factory method to create a new {@link DisplayNoneBehavior} object. 33 | * 34 | * @return the new {@link DisplayNoneBehavior} object. 35 | */ 36 | public static DisplayNoneBehavior of() 37 | { 38 | return new DisplayNoneBehavior(); 39 | } 40 | 41 | /** 42 | * Instantiates a new {@link DisplayNoneBehavior}. 43 | */ 44 | public DisplayNoneBehavior() 45 | { 46 | super("style", Model.of("display: none")); 47 | } 48 | 49 | /** 50 | * {@inheritDoc} 51 | */ 52 | @Override 53 | public boolean isTemporary(final Component component) 54 | { 55 | return true; 56 | } 57 | } -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/main/java/de/alpharogroup/wicket/behaviors/FaviconBehavior.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.behaviors; 17 | 18 | import org.apache.wicket.Component; 19 | import org.apache.wicket.behavior.Behavior; 20 | import org.apache.wicket.markup.head.IHeaderResponse; 21 | import org.apache.wicket.markup.head.StringHeaderItem; 22 | 23 | /** 24 | * The Class FaviconBehavior adds a StringHeaderItem for the Favicon. 25 | */ 26 | public class FaviconBehavior extends Behavior 27 | { 28 | 29 | /** The Constant serialVersionUID. */ 30 | private static final long serialVersionUID = 1L; 31 | 32 | /** 33 | * {@inheritDoc} 34 | */ 35 | @Override 36 | public void renderHead(final Component component, final IHeaderResponse response) 37 | { 38 | super.renderHead(component, response); 39 | response.render(new StringHeaderItem( 40 | "")); 41 | 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/main/java/de/alpharogroup/wicket/behaviors/GoogleAnalyticsBehavior.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.behaviors; 17 | 18 | import org.apache.wicket.Page; 19 | 20 | /** 21 | * The Class GoogleAnalyticsBehavior adds the application specific js script. 22 | */ 23 | public class GoogleAnalyticsBehavior extends JavascriptResourceReferenceAppenderBehavior 24 | { 25 | 26 | /** The Constant serialVersionUID. */ 27 | private static final long serialVersionUID = 1L; 28 | 29 | /** 30 | * Instantiates a new google analytics behavior. 31 | * 32 | * @param pageClass 33 | * the page class 34 | */ 35 | public GoogleAnalyticsBehavior(final Class pageClass) 36 | { 37 | super(pageClass, "gaq.js", "gaq"); 38 | } 39 | 40 | } -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/main/java/de/alpharogroup/wicket/behaviors/JavascriptBindEvent.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.behaviors; 17 | 18 | /** 19 | * The enum {@link JavascriptBindEvent} describes when the js will be bind. 20 | */ 21 | public enum JavascriptBindEvent 22 | { 23 | 24 | /** The binding for bind on event when the dom is ready. */ 25 | ONDOMREADY, 26 | 27 | /** The bind when an event occurs. */ 28 | ONEVENT, 29 | 30 | /** The bind when loading. */ 31 | ONLOAD 32 | } 33 | -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/main/java/de/alpharogroup/wicket/behaviors/MailtoBehavior.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.behaviors; 17 | 18 | import de.alpharogroup.wicket.behaviors.models.MailtoModel; 19 | import lombok.AllArgsConstructor; 20 | import lombok.Getter; 21 | import lombok.NonNull; 22 | 23 | /** 24 | * The class {@link MailtoBehavior} adds the email address and optional a subject and body to the a-tag. 25 | * 26 | * @param 27 | * the generic type 28 | * @author Asterios Raptis 29 | */ 30 | @AllArgsConstructor 31 | public class MailtoBehavior extends ComponentDecoratorBehavior 32 | { 33 | 34 | /** 35 | * The serialVersionUID. 36 | */ 37 | private static final long serialVersionUID = 1L; 38 | 39 | /** The mailto model. */ 40 | @Getter @NonNull 41 | private final T mailtoModel; 42 | 43 | /** 44 | * {@inheritDoc} 45 | */ 46 | @Override 47 | protected String onWriteBeforeRender() { 48 | return ""; 49 | } 50 | 51 | /** 52 | * {@inheritDoc} 53 | */ 54 | @Override 55 | protected String onWriteAfterRender() { 56 | return ""; 57 | } 58 | 59 | } 60 | -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/main/java/de/alpharogroup/wicket/behaviors/RequiredBehavior.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.behaviors; 17 | 18 | import org.apache.wicket.Component; 19 | import org.apache.wicket.behavior.Behavior; 20 | 21 | /** 22 | * The Class RequiredBehavior adds a span tag at the end of a component that markes it as required. 23 | */ 24 | public class RequiredBehavior extends Behavior 25 | { 26 | 27 | /** 28 | * The serialVersionUID. 29 | */ 30 | private static final long serialVersionUID = 1L; 31 | 32 | /** 33 | * Instantiates a new RequiredBehavior. 34 | */ 35 | public RequiredBehavior() 36 | { 37 | } 38 | 39 | /** 40 | * {@inheritDoc} for more information @see 41 | * org.apache.wicket.behavior.AbstractBehavior#afterRender(org.apache.wicket.Component) 42 | */ 43 | @Override 44 | public void afterRender(final Component component) 45 | { 46 | super.afterRender(component); 47 | component.getResponse().write("*"); 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/main/java/de/alpharogroup/wicket/behaviors/components/MailtoLabel.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.behaviors.components; 17 | 18 | import org.apache.wicket.markup.html.basic.Label; 19 | 20 | import de.alpharogroup.wicket.behaviors.MailtoBehavior; 21 | import de.alpharogroup.wicket.behaviors.models.MailtoModel; 22 | 23 | /** 24 | * The Class MailtoLabel. 25 | * 26 | * @author Asterios Raptis 27 | */ 28 | public class MailtoLabel extends Label 29 | { 30 | 31 | /** 32 | * The serialVersionUID. 33 | */ 34 | private static final long serialVersionUID = -3924484332764709856L; 35 | 36 | /** 37 | * Instantiates a new mailto label. 38 | * 39 | * @param id 40 | * the id 41 | * @param mailtoModel 42 | * the mailto model 43 | */ 44 | public MailtoLabel(final String id, final MailtoModel mailtoModel) 45 | { 46 | super(id, mailtoModel.getMailtoViewModel()); 47 | setOutputMarkupId(true); 48 | add(new MailtoBehavior(mailtoModel)); 49 | } 50 | 51 | } 52 | -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/main/java/de/alpharogroup/wicket/behaviors/css/RemoveCssClass.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.behaviors.css; 17 | 18 | import org.apache.wicket.AttributeModifier; 19 | import org.apache.wicket.model.Model; 20 | 21 | /** 22 | * The Class RemoveCssClass removes the given css classes. 23 | */ 24 | public class RemoveCssClass extends AttributeModifier 25 | { 26 | 27 | 28 | /** The Constant serialVersionUID. */ 29 | private static final long serialVersionUID = 1L; 30 | 31 | /** 32 | * Instantiates a new {@link RemoveCssClass}. 33 | * 34 | * @param cssClass 35 | * the css class 36 | */ 37 | public RemoveCssClass(final String cssClass) 38 | { 39 | super("class", new Model<>(cssClass)); 40 | } 41 | 42 | /** 43 | * {@inheritDoc} 44 | */ 45 | @Override 46 | protected String newValue(final String currentValue, final String cssClass) 47 | { 48 | if (currentValue != null) 49 | { 50 | return currentValue.replaceAll(cssClass, ""); 51 | } 52 | return ""; 53 | } 54 | } -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/main/java/de/alpharogroup/wicket/behaviors/datetime/datetime-plugin.js.tmpl: -------------------------------------------------------------------------------- 1 | $(document).ready(function () { 2 | setInterval(function () { 3 | var field = $("#${componentId}"); 4 | // show current time on field... 5 | $.setCurrentDateTime(field) 6 | // in a interval of one second(1000 milliseconds)... 7 | }, 1000); 8 | }); 9 | -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/main/java/de/alpharogroup/wicket/behaviors/datetime/jquery-datetime-plugin.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Asterios Raptis. 3 | */ 4 | jQuery.extend({ 5 | getCurrentDateTime: function () { 6 | var now = new Date(); 7 | var day = $.normalizeTimeUnit(now.getDate()); 8 | var month = $.normalizeTimeUnit(now.getMonth() + 1); 9 | var fullYear = now.getFullYear(); 10 | var hours = $.normalizeTimeUnit(now.getHours()); 11 | var minutes = $.normalizeTimeUnit(now.getMinutes()); 12 | var seconds = $.normalizeTimeUnit(now.getSeconds()); 13 | now = day + '.' + month + '.' + fullYear + ' ' + hours + ':' + minutes + ':' + seconds; 14 | return now; 15 | }, 16 | 17 | countdown: function() { 18 | 19 | }, 20 | 21 | normalizeTimeUnit: function (timeunit) { 22 | if (timeunit < 10) { 23 | return "0" + timeunit; 24 | } 25 | return timeunit; 26 | }, 27 | 28 | setCurrentDateTime: function (field) { 29 | field.text($.getCurrentDateTime()); 30 | } 31 | 32 | }); 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/main/java/de/alpharogroup/wicket/behaviors/events/PayloadBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.behaviors.events; 17 | 18 | import org.apache.wicket.ajax.AjaxRequestTarget; 19 | 20 | import lombok.AllArgsConstructor; 21 | import lombok.Builder; 22 | import lombok.EqualsAndHashCode; 23 | import lombok.Getter; 24 | import lombok.NonNull; 25 | import lombok.Setter; 26 | import lombok.ToString; 27 | 28 | /** 29 | * The class {@link PayloadBean} is an event payload that can be sent through the wicket event bus 30 | * system. 31 | * 32 | * @param 33 | * the generic type of the data to send with the payload 34 | */ 35 | @Getter 36 | @Setter 37 | @EqualsAndHashCode 38 | @ToString 39 | @AllArgsConstructor 40 | @Builder(toBuilder = true) 41 | public class PayloadBean 42 | { 43 | 44 | /** The payload. */ 45 | private T payload; 46 | 47 | /** The ajax request target. */ 48 | @NonNull 49 | private final AjaxRequestTarget target; 50 | } 51 | -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/main/java/de/alpharogroup/wicket/behaviors/events/RefreshPayload.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.behaviors.events; 17 | 18 | import org.apache.wicket.ajax.AjaxRequestTarget; 19 | 20 | /** 21 | * The class {@link RefreshPayload} is data bean for use with the wicket event bus system. 22 | * 23 | * @param 24 | * the generic type 25 | */ 26 | public class RefreshPayload extends PayloadBean 27 | { 28 | 29 | /** 30 | * Instantiates a new {@link RefreshPayload} payload. 31 | * 32 | * @param target the target 33 | */ 34 | public RefreshPayload(AjaxRequestTarget target) 35 | { 36 | this(null, target); 37 | } 38 | 39 | /** 40 | * Instantiates a new {@link RefreshPayload} payload. 41 | * 42 | * @param payload the payload 43 | * @param target the target 44 | */ 45 | public RefreshPayload(T payload, AjaxRequestTarget target) 46 | { 47 | super(payload, target); 48 | } 49 | 50 | } 51 | 52 | -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/main/java/de/alpharogroup/wicket/behaviors/models/MailtoModel.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.behaviors.models; 17 | 18 | import java.io.Serializable; 19 | 20 | import org.apache.wicket.model.IModel; 21 | 22 | import lombok.AllArgsConstructor; 23 | import lombok.Builder; 24 | import lombok.EqualsAndHashCode; 25 | import lombok.Getter; 26 | import lombok.NoArgsConstructor; 27 | import lombok.Setter; 28 | import lombok.ToString; 29 | 30 | /** 31 | * The Class MailtoModel. 32 | * 33 | * @author Asterios Raptis 34 | */ 35 | @Getter 36 | @Setter 37 | @EqualsAndHashCode 38 | @ToString 39 | @NoArgsConstructor 40 | @AllArgsConstructor 41 | @Builder 42 | public class MailtoModel implements Serializable 43 | { 44 | /** 45 | * The serialVersionUID. 46 | */ 47 | private static final long serialVersionUID = 1L; 48 | 49 | /** The mailto addres model. */ 50 | @Getter 51 | @Setter 52 | private IModel mailtoAddresModel; 53 | 54 | /** The mailto view model. */ 55 | @Getter 56 | @Setter 57 | private IModel mailtoViewModel; 58 | 59 | } 60 | -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/main/java/de/alpharogroup/wicket/behaviors/wrappers/Wrappers.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.behaviors.wrappers; 17 | 18 | import org.odlabs.wiquery.core.javascript.JsUtils; 19 | 20 | import de.alpharogroup.wicket.behaviors.BuildableChainableStatement; 21 | import de.alpharogroup.wicket.behaviors.JQueryJsAppenderBehavior; 22 | import de.alpharogroup.wicket.behaviors.JqueryStatementsBehavior; 23 | 24 | 25 | /** 26 | * The Class Wrappers. 27 | */ 28 | public final class Wrappers 29 | { 30 | 31 | /** The Constant PANEL_FOOTER_ELEMENT. */ 32 | public static final JqueryStatementsBehavior PANEL_FOOTER_ELEMENT = new JqueryStatementsBehavior() 33 | .add(new BuildableChainableStatement.Builder().label("wrap") 34 | .args(JsUtils.quotes("
")).build()); 35 | 36 | public static final JqueryStatementsBehavior FORM_GROUP_ELEMENT = new JqueryStatementsBehavior() 37 | .add(new BuildableChainableStatement.Builder().label("wrap") 38 | .args(JsUtils.quotes("
")).build()); 39 | public static final JQueryJsAppenderBehavior CONTROL_GROUP_ELEMENT = new JQueryJsAppenderBehavior( 40 | "wrap", "
"); 41 | 42 | public static final JQueryJsAppenderBehavior ROW_ELEMENT = new JQueryJsAppenderBehavior("wrap", 43 | "
"); 44 | 45 | /** 46 | * Private constructor. 47 | */ 48 | private Wrappers() 49 | { 50 | } 51 | } -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/main/resources/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) ${year} ${owner} 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/main/resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.appender.Stdout=org.apache.log4j.ConsoleAppender 2 | log4j.appender.Stdout.layout=org.apache.log4j.PatternLayout 3 | log4j.appender.Stdout.layout.conversionPattern=%-5p - %-26.26c{1} - %m\n 4 | 5 | log4j.rootLogger=INFO,Stdout 6 | 7 | log4j.logger.org.apache.wicket=INFO 8 | log4j.logger.org.apache.wicket.protocol.http.HttpSessionStore=INFO 9 | log4j.logger.org.apache.wicket.version=INFO 10 | log4j.logger.org.apache.wicket.RequestCycle=INFO 11 | 12 | 13 | -------------------------------------------------------------------------------- /jaulp-wicket-behaviors/src/test/java/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /jaulp-wicket-components/.gitignore: -------------------------------------------------------------------------------- 1 | ################## 2 | # Compiled files # 3 | ################## 4 | *.class 5 | 6 | ################## 7 | # intellij files # 8 | ################## 9 | *.iml 10 | .idea 11 | */.idea 12 | 13 | ################# 14 | # eclipse files # 15 | ################# 16 | /.project 17 | /.classpath 18 | /.settings 19 | /.tern-project 20 | 21 | ################## 22 | # netbeans files # 23 | ################## 24 | /nb-configuration.xml 25 | 26 | ######################### 27 | # maven generated files # 28 | ######################### 29 | /target 30 | 31 | ############# 32 | # Zip files # 33 | ############# 34 | *.tar 35 | *.zip 36 | *.7z 37 | *.dmg 38 | *.gz 39 | *.iso 40 | *.jar 41 | *.rar 42 | 43 | ############## 44 | # Logs files # 45 | ############## 46 | *.log 47 | 48 | ################# 49 | # test-ng files # 50 | ################# 51 | /test-output 52 | 53 | ############################ 54 | # Binaries generated files # 55 | ############################ 56 | /bin 57 | 58 | ################ 59 | # gradle files # 60 | ################ 61 | /build 62 | /.gradle 63 | /gradle 64 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/actions/AbstractActionPanel.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/actions/Action.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.actions; 17 | 18 | import org.apache.wicket.util.io.IClusterable; 19 | 20 | /** 21 | * The Interface Action implements the command Pattern. 22 | * 23 | * @author Asterios Raptis 24 | * @param 25 | * the generic type of the return type of the execute method. 26 | */ 27 | public interface Action extends IClusterable 28 | { 29 | 30 | /** 31 | * Execute a command. 32 | * 33 | * @return the optional return type of the command. 34 | */ 35 | R execute(); 36 | } -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/ajax/editable/tabs/AjaxAddableTabbedPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 24 |
25 |
26 | 27 |
28 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/ajax/editable/tabs/AjaxCloseableTabbedPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 16 |
17 |
18 | 19 |
20 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/ajax/editable/tabs/CloseableTab.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.ajax.editable.tabs; 17 | 18 | import org.apache.wicket.markup.html.WebMarkupContainer; 19 | import org.apache.wicket.model.IModel; 20 | 21 | import lombok.Getter; 22 | 23 | /** 24 | * The Class {@link CloseableTab}. Convenience class that takes care of closable ITab functionality. 25 | */ 26 | public abstract class CloseableTab implements ICloseableTab 27 | { 28 | 29 | /** The Constant serialVersionUID. */ 30 | private static final long serialVersionUID = 1L; 31 | 32 | /** The title of the tab. */ 33 | @Getter 34 | IModel title; 35 | 36 | /** The close title. */ 37 | @Getter 38 | IModel closeTitle; 39 | 40 | /** 41 | * Instantiates a new {@link CloseableTab}. 42 | * 43 | * @param title 44 | * IModel used to represent the title of the tab. Have to contain a string 45 | * @param closeTitle 46 | * title of close 47 | */ 48 | public CloseableTab(final IModel title, final IModel closeTitle) 49 | { 50 | this.title = title; 51 | this.closeTitle = closeTitle; 52 | } 53 | 54 | /** 55 | * {@inheritDoc} 56 | */ 57 | @Override 58 | public abstract WebMarkupContainer getPanel(final String panelId); 59 | 60 | /** 61 | * {@inheritDoc} 62 | */ 63 | @Override 64 | public boolean isVisible() 65 | { 66 | return true; 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/ajax/editable/tabs/ICloseableTab.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.ajax.editable.tabs; 17 | 18 | import org.apache.wicket.extensions.markup.html.tabs.ITab; 19 | import org.apache.wicket.model.IModel; 20 | 21 | /** 22 | * The Interface {@link ICloseableTab} to provide closable ITab functionality. 23 | */ 24 | public interface ICloseableTab extends ITab 25 | { 26 | 27 | /** 28 | * Gets the close title. 29 | * 30 | * @return the close title 31 | */ 32 | IModel getCloseTitle(); 33 | } -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/beaneditor/BeanEditorPanel.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 15 |
:
12 | 13 |
16 | 17 |
18 | 19 |
20 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/buttons/ButtonPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/captcha/draw/CaptchaModelBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.captcha.draw; 17 | 18 | import java.io.Serializable; 19 | 20 | import org.apache.wicket.extensions.markup.html.captcha.CaptchaImageResource; 21 | 22 | import de.alpharogroup.random.Constants; 23 | import de.alpharogroup.random.RandomExtensions; 24 | import lombok.Getter; 25 | import lombok.Setter; 26 | 27 | /** 28 | * The Class {@link CaptchaModelBean} holds captcha data. 29 | * 30 | * @author Asterios Raptis 31 | */ 32 | public class CaptchaModelBean implements Serializable 33 | { 34 | 35 | /** The Constant serialVersionUID. */ 36 | private static final long serialVersionUID = 1L; 37 | 38 | /** The captcha input. */ 39 | @Getter 40 | @Setter 41 | private String captchaInput; 42 | 43 | /** Random captcha password to match against. */ 44 | @Getter 45 | private String randomCaptchaString; 46 | 47 | /** The captcha image resource. */ 48 | @Getter 49 | private final CaptchaImageResource captchaImageResource; 50 | 51 | /** 52 | * Instantiates a new {@link CaptchaModelBean}. 53 | */ 54 | public CaptchaModelBean() 55 | { 56 | captchaImageResource = new CaptchaImageResource( 57 | randomCaptchaString = RandomExtensions.getRandomString(Constants.UCCHARSWN, 7)); 58 | } 59 | 60 | } 61 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/captcha/draw/CaptchaPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/captcha/draw/CaptchaPanel.properties: -------------------------------------------------------------------------------- 1 | captcha.label=Please replicate the text you see above 2 | captcha.error.label=Captcha input '{0}' is wrong. Correct input would be: '{1}' -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/captcha/recaptcha/ReCaptchaPanel.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/captcha/recaptcha/ReCaptchaPanel.properties: -------------------------------------------------------------------------------- 1 | 2 | kaptcha.invalid.label = Incorrect answer, type the words from the image again! 3 | kaptcha.label = Please type the text on image 4 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/deregistration/DeregistrationModelBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.deregistration; 17 | 18 | import org.apache.wicket.util.io.IClusterable; 19 | 20 | import lombok.Getter; 21 | import lombok.Setter; 22 | 23 | /** 24 | * The Class {@link DeregistrationModelBean} holds data for the deregistration. 25 | * 26 | * @author Asterios Raptis 27 | */ 28 | public class DeregistrationModelBean implements IClusterable 29 | { 30 | 31 | /** 32 | * The serialVersionUID. 33 | */ 34 | private static final long serialVersionUID = 1L; 35 | 36 | /** The motivation. */ 37 | @Getter 38 | @Setter 39 | private String motivation; 40 | 41 | } 42 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/deregistration/DeregistrationPanel.css: -------------------------------------------------------------------------------- 1 | 2 | div.deregistrationPanel { 3 | margin-top: 10px; 4 | width: auto; 5 | } -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/deregistration/DeregistrationPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |
6 |
7 | 8 | 11 | 12 |
13 | 14 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/deregistration/DeregistrationPanel.properties: -------------------------------------------------------------------------------- 1 | 2 | sem.main.info.frame.successful.deregistration.user.label=Your deregistration was successful. 3 | sem.main.global.deregistration.user.label=Confirm deregistration 4 | sem.main.info.frame.deregistration.user.label=Do you want to delete your user account on {0}? 5 | sem.main.header.deregistration.user.label=Please confirm the deregistration from {0}. 6 | sem.main.feedback.deregistration.user.label=Your Feedback is important for us. Tell us your motivation why you deregistrate from {0}. -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/deregistration/DeregistrationPanel_de.properties: -------------------------------------------------------------------------------- 1 | sem.main.info.frame.deregistration.user.label=M\u00F6chten Sie Ihren user account bei {0} l\u00F6schen? 2 | sem.main.global.deregistration.user.label=Deregistrierung best\u00E4tigen 3 | sem.main.header.deregistration.user.label=Best\u00E4tigen Sie bitte, dass Sie sich von {0} deregistrieren m\u00F6chten. 4 | sem.main.feedback.deregistration.user.label=Ihre Meinung ist uns wichtig. Nennen Sie bitte den Grund Ihrer Deregistrierung von {0}. 5 | global.enter.your.deregistration.motivation.label=Gib hier deine Motivation warum du dich deregistrierst. -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/deregistration/DeregistrationPanel_el.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Θέλετε να διαγράψετε το λογαριασμό χρήστη σας στο {0}? 6 | Επιβεβαιώστε την διαγραφή λογαριασμού 7 | Παρακαλώ επιβεβεώστε την διαγραφή άπο τον λογαριασμό 8 | σας {0}. 9 | Η γνώμη σου είναι σημαντική για μας. Πες μας πιο ήταν 10 | το κινητρο για την διαγραφή του λογαριασμό σου από το {0}. 11 | Πληκτρολόγησε εδώ τον λόγο για την διαγραφή 12 | λογαριασμού 13 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/download/DownloadModelBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.download; 17 | 18 | import java.io.Serializable; 19 | 20 | import lombok.AllArgsConstructor; 21 | import lombok.Builder; 22 | import lombok.EqualsAndHashCode; 23 | import lombok.Getter; 24 | import lombok.NoArgsConstructor; 25 | import lombok.NonNull; 26 | import lombok.Setter; 27 | import lombok.ToString; 28 | 29 | /** 30 | * The Class {@link DownloadModelBean} holds data for a download. 31 | * 32 | * @author Asterios Raptis 33 | */ 34 | @Getter 35 | @Setter 36 | @EqualsAndHashCode 37 | @ToString 38 | @NoArgsConstructor 39 | @AllArgsConstructor 40 | @Builder 41 | public class DownloadModelBean implements Serializable 42 | { 43 | 44 | /** 45 | * The serialVersionUID. 46 | */ 47 | private static final long serialVersionUID = 1L; 48 | 49 | /** 50 | * The file name. 51 | */ 52 | @NonNull 53 | private String filename; 54 | 55 | /** 56 | * The path of the file. 57 | */ 58 | @NonNull 59 | private String path; 60 | 61 | /** 62 | * The content type of the file. 63 | */ 64 | @NonNull 65 | private String contentType; 66 | } 67 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/download/DownloadPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/editable/checkbox/EditableCheckbox.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/editable/textarea/EditableTextArea.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/editable/textfield/EditableTextField.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/footer/FooterMenuPanel.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/footer/FooterPanel.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/form/checkbox/CheckGroupSelectorPanel.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/form/checkbox/CheckboxModelBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.form.checkbox; 17 | 18 | import java.io.Serializable; 19 | import java.util.List; 20 | 21 | import lombok.AllArgsConstructor; 22 | import lombok.Builder; 23 | import lombok.EqualsAndHashCode; 24 | import lombok.Getter; 25 | import lombok.NoArgsConstructor; 26 | import lombok.Setter; 27 | import lombok.ToString; 28 | 29 | /** 30 | * The Class {@link CheckboxModelBean} holds data for the checkbox and the selected items. 31 | * 32 | * @author Asterios Raptis 33 | */ 34 | @Getter 35 | @Setter 36 | @EqualsAndHashCode 37 | @ToString 38 | @NoArgsConstructor 39 | @AllArgsConstructor 40 | @Builder 41 | public class CheckboxModelBean implements Serializable 42 | { 43 | /** 44 | * The serialVersionUID 45 | */ 46 | private static final long serialVersionUID = 1L; 47 | /** The selected items. */ 48 | private List selectedItems; 49 | /** The choices. */ 50 | private List choices; 51 | /** The label property expression. */ 52 | private String labelPropertyExpression; 53 | } 54 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/form/checkbox/image/ImageCheckboxModelBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.form.checkbox.image; 17 | 18 | import java.io.Serializable; 19 | 20 | import org.apache.wicket.request.resource.ResourceReference; 21 | 22 | import lombok.AllArgsConstructor; 23 | import lombok.Builder; 24 | import lombok.EqualsAndHashCode; 25 | import lombok.Getter; 26 | import lombok.NoArgsConstructor; 27 | import lombok.Setter; 28 | import lombok.ToString; 29 | 30 | /** 31 | * The Class {@link ImageCheckboxModelBean} holds data for the checkbox with image. 32 | * 33 | * @author Asterios Raptis 34 | */ 35 | @Getter 36 | @Setter 37 | @EqualsAndHashCode 38 | @ToString 39 | @NoArgsConstructor 40 | @AllArgsConstructor 41 | @Builder 42 | public class ImageCheckboxModelBean implements Serializable 43 | { 44 | /** 45 | * The serialVersionUID 46 | */ 47 | private static final long serialVersionUID = 1L; 48 | 49 | /** 50 | * The image resource. 51 | */ 52 | private ResourceReference imageResource; 53 | 54 | /** The checked flag. */ 55 | @Builder.Default 56 | private Boolean checked = Boolean.FALSE; 57 | } -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/form/checkbox/image/ImageChoicesModelBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.form.checkbox.image; 17 | 18 | import java.io.Serializable; 19 | import java.util.List; 20 | 21 | import lombok.AllArgsConstructor; 22 | import lombok.Builder; 23 | import lombok.EqualsAndHashCode; 24 | import lombok.Getter; 25 | import lombok.NoArgsConstructor; 26 | import lombok.Setter; 27 | import lombok.ToString; 28 | 29 | /** 30 | * The Class {@link ImageChoicesModelBean} holds data for a list of checkbox with image and the 31 | * selected items. 32 | * 33 | * @author Asterios Raptis 34 | */ 35 | @Getter 36 | @Setter 37 | @EqualsAndHashCode 38 | @ToString 39 | @NoArgsConstructor 40 | @AllArgsConstructor 41 | @Builder 42 | public class ImageChoicesModelBean implements Serializable 43 | { 44 | /** 45 | * The serialVersionUID 46 | */ 47 | private static final long serialVersionUID = 1L; 48 | 49 | /** The choices. */ 50 | private List choices; 51 | 52 | /** The selected items. */ 53 | private List selectedItems; 54 | 55 | /** The label property expression. */ 56 | private String labelPropertyExpression; 57 | } 58 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/form/dropdown/OptGroup.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.form.dropdown; 17 | 18 | /** 19 | * The Interface {@link OptGroup} that have to implement objects that wants to be rendered in the 20 | * {@link OptGroupDropDownChoice}. 21 | */ 22 | public interface OptGroup 23 | { 24 | /** 25 | * Gets the label of the optgroup. 26 | * 27 | * @return the label of the optgroup. 28 | */ 29 | public String getLabel(); 30 | } -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/form/input/TwoFormComponentBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.form.input; 17 | 18 | import java.io.Serializable; 19 | 20 | import org.apache.wicket.model.IModel; 21 | 22 | import lombok.AllArgsConstructor; 23 | import lombok.Builder; 24 | import lombok.EqualsAndHashCode; 25 | import lombok.Getter; 26 | import lombok.NoArgsConstructor; 27 | import lombok.Setter; 28 | import lombok.ToString; 29 | 30 | /** 31 | * Bean that holds the content of the two FormComponent. 32 | * 33 | * @param 34 | * the generic type of the model from the left FormComponent 35 | * @param 36 | * the generic type of the model from the left FormComponent 37 | */ 38 | @Getter 39 | @Setter 40 | @EqualsAndHashCode 41 | @ToString 42 | @NoArgsConstructor 43 | @AllArgsConstructor 44 | @Builder 45 | public class TwoFormComponentBean implements Serializable 46 | { 47 | 48 | /** 49 | * The serialVersionUID 50 | */ 51 | private static final long serialVersionUID = 1L; 52 | 53 | /** The left content. */ 54 | IModel leftContent; 55 | 56 | /** The right content. */ 57 | IModel rightContent; 58 | 59 | } 60 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/form/input/TwoFormComponentPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/i18n/content/ContentModelBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.i18n.content; 17 | 18 | import java.io.Serializable; 19 | 20 | import de.alpharogroup.resourcebundle.locale.ResourceBundleKey; 21 | import lombok.AllArgsConstructor; 22 | import lombok.Builder; 23 | import lombok.EqualsAndHashCode; 24 | import lombok.Getter; 25 | import lombok.NoArgsConstructor; 26 | import lombok.NonNull; 27 | import lombok.Setter; 28 | import lombok.ToString; 29 | 30 | /** 31 | * The Class {@link ContentModelBean} holds data for the resource bundle keys of the header and 32 | * content area. 33 | * 34 | * @author Asterios Raptis 35 | */ 36 | @Getter 37 | @Setter 38 | @EqualsAndHashCode 39 | @ToString 40 | @NoArgsConstructor 41 | @AllArgsConstructor 42 | @Builder 43 | public class ContentModelBean implements Serializable 44 | { 45 | 46 | /** 47 | * The serialVersionUID 48 | */ 49 | private static final long serialVersionUID = 1L; 50 | 51 | /** 52 | * The resource bundle key for the header. 53 | */ 54 | @NonNull 55 | private ResourceBundleKey headerResourceKey; 56 | 57 | /** 58 | * The resource bundle key for the content. 59 | */ 60 | @NonNull 61 | private ResourceBundleKey contentResourceKey; 62 | 63 | } 64 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/i18n/content/ContentPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/i18n/dropdownchoice/EnumLocalizedDropdownChoicePanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/i18n/dropdownchoice/LocalizedDropdownChoicePanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/i18n/dropdownchoice/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | de.alpharogroup.wicket.components.dropdownchoice 6 | 7 | 8 | 9 | Provides components for dropdown choices. 10 | 11 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/i18n/link/LocaleLink.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.i18n.link; 17 | 18 | import java.util.Locale; 19 | 20 | import org.apache.wicket.markup.html.link.Link; 21 | import org.apache.wicket.util.lang.Args; 22 | 23 | /** 24 | * The Class {@link LocaleLink} can set a specific {@link Locale}. 25 | * 26 | * @param 27 | * the generic type of model object 28 | * @author Asterios Raptis 29 | */ 30 | public class LocaleLink extends Link 31 | { 32 | /** 33 | * The serialVersionUID. 34 | */ 35 | private static final long serialVersionUID = 1L; 36 | 37 | /** The locale. */ 38 | private Locale locale; 39 | 40 | /** 41 | * Instantiates a new {@link LocaleLink}. 42 | * 43 | * @param id 44 | * the id 45 | * @param locale 46 | * the locale to set. 47 | */ 48 | public LocaleLink(final String id, final Locale locale) 49 | { 50 | super(id); 51 | Args.notNull(locale, "locale"); 52 | this.locale = locale; 53 | } 54 | 55 | /** 56 | * {@inheritDoc} 57 | */ 58 | @Override 59 | public void onClick() 60 | { 61 | if (null != locale) 62 | { 63 | getSession().setLocale(locale); 64 | } 65 | } 66 | 67 | } -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/i18n/list/ContentListModelBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.i18n.list; 17 | 18 | import java.io.Serializable; 19 | import java.util.List; 20 | 21 | import de.alpharogroup.resourcebundle.locale.ResourceBundleKey; 22 | import lombok.AllArgsConstructor; 23 | import lombok.Builder; 24 | import lombok.EqualsAndHashCode; 25 | import lombok.Getter; 26 | import lombok.NoArgsConstructor; 27 | import lombok.NonNull; 28 | import lombok.Setter; 29 | import lombok.ToString; 30 | 31 | /** 32 | * The Class {@link ContentListModelBean} holds a list of the resource bundle keys of the content 33 | * area. 34 | * 35 | * @author Asterios Raptis 36 | */ 37 | @Getter 38 | @Setter 39 | @EqualsAndHashCode 40 | @ToString 41 | @NoArgsConstructor 42 | @AllArgsConstructor 43 | @Builder 44 | public class ContentListModelBean implements Serializable 45 | { 46 | 47 | /** 48 | * The serialVersionUID 49 | */ 50 | private static final long serialVersionUID = 1L; 51 | 52 | /** 53 | * The list of the resource bundle keys 54 | */ 55 | @NonNull 56 | private List contentResourceKeys; 57 | 58 | } 59 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/i18n/list/DivListPanel.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 |
5 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/i18n/list/DivListPanel.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.i18n.list; 17 | 18 | import java.util.List; 19 | 20 | import org.apache.wicket.model.IModel; 21 | 22 | import de.alpharogroup.wicket.components.listview.ListViewPanel; 23 | 24 | /** 25 | * The Class {@link DivListPanel} that holds the ListView in a div. 26 | * 27 | * @param 28 | * the generic type of the list 29 | */ 30 | public abstract class DivListPanel extends ListViewPanel 31 | { 32 | 33 | /** The Constant serialVersionUID. */ 34 | private static final long serialVersionUID = 1L; 35 | 36 | /** 37 | * Instantiates a new {@link DivListPanel}. 38 | * 39 | * @param id 40 | * the id 41 | * @param content 42 | * the model 43 | */ 44 | public DivListPanel(final String id, final IModel> content) 45 | { 46 | super(id, content); 47 | } 48 | 49 | /** 50 | * Instantiates a new {@link DivListPanel}. 51 | * 52 | * @param id 53 | * the id 54 | * @param list 55 | * the list 56 | */ 57 | public DivListPanel(final String id, final List list) 58 | { 59 | super(id, list); 60 | } 61 | 62 | } 63 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/i18n/list/HeaderContentListModelBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.i18n.list; 17 | 18 | import java.io.Serializable; 19 | import java.util.List; 20 | 21 | import de.alpharogroup.resourcebundle.locale.ResourceBundleKey; 22 | import lombok.AllArgsConstructor; 23 | import lombok.Builder; 24 | import lombok.EqualsAndHashCode; 25 | import lombok.Getter; 26 | import lombok.NoArgsConstructor; 27 | import lombok.NonNull; 28 | import lombok.Setter; 29 | import lombok.ToString; 30 | 31 | 32 | /** 33 | * The Class {@link HeaderContentListModelBean} holds data for the resource key of header and a list 34 | * of content objects. 35 | * 36 | * @author Asterios Raptis 37 | */ 38 | @Getter 39 | @Setter 40 | @EqualsAndHashCode 41 | @ToString 42 | @NoArgsConstructor 43 | @AllArgsConstructor 44 | @Builder 45 | public class HeaderContentListModelBean implements Serializable 46 | { 47 | 48 | /** 49 | * The serialVersionUID 50 | */ 51 | private static final long serialVersionUID = 1L; 52 | /** 53 | * The resource bundle key for the header. 54 | */ 55 | @NonNull 56 | private ResourceBundleKey headerResourceKey; 57 | 58 | /** 59 | * The list of resource bundle keys for the content. 60 | */ 61 | @NonNull 62 | private List contentResourceKeys; 63 | 64 | } 65 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/i18n/list/HeaderContentListPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/i18n/list/LinkListPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 9 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/i18n/list/ResourceBundleKeysPanel.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.i18n.list; 17 | 18 | import java.util.List; 19 | 20 | import org.apache.wicket.model.IModel; 21 | 22 | import de.alpharogroup.resourcebundle.locale.ResourceBundleKey; 23 | 24 | /** 25 | * The Class ResourceBundleKeysPanel takes a list of content resource keys that should be in a 26 | * resource bundle for i18n. 27 | */ 28 | public abstract class ResourceBundleKeysPanel extends DivListPanel 29 | { 30 | 31 | /** The Constant serialVersionUID. */ 32 | private static final long serialVersionUID = 1L; 33 | 34 | /** 35 | * Instantiates a new {@link ResourceBundleKeysPanel}. 36 | * 37 | * @param id 38 | * the id 39 | * @param content 40 | * the model 41 | */ 42 | public ResourceBundleKeysPanel(final String id, final IModel> content) 43 | { 44 | super(id, content); 45 | } 46 | 47 | /** 48 | * Instantiates a new {@link ResourceBundleKeysPanel}. 49 | * 50 | * @param id 51 | * the id 52 | * @param list 53 | * the list 54 | */ 55 | public ResourceBundleKeysPanel(final String id, final List list) 56 | { 57 | super(id, list); 58 | } 59 | 60 | } -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/i18n/list/UnorderedListPanel.html: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
  • 4 | 5 |
  • 6 |
7 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/imprint/ImprintModelBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.imprint; 17 | 18 | import java.io.Serializable; 19 | 20 | /** 21 | * The Class {@link ImprintModelBean}. 22 | */ 23 | public class ImprintModelBean implements Serializable 24 | { 25 | 26 | /** 27 | * The serialVersionUID. 28 | */ 29 | private static final long serialVersionUID = 1L; 30 | 31 | } 32 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/imprint/ImprintPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 |

6 | 7 |

8 |

9 | 10 |

11 |

12 | 13 |
14 | 15 |
16 | 17 |
18 | 19 |
20 | 21 |
22 | 23 | 24 |
25 |

26 | 27 |

28 | 29 |

30 |

31 | 32 |
33 | 34 |

35 | 36 |

37 | 38 |

39 |

40 | 41 |
42 | 43 |

44 | 45 |

46 | 47 |

48 |

49 | 50 |
51 | 52 |

53 | 54 |
55 | 56 |
57 | 58 |
59 | 60 |
61 | 62 |
63 | 64 |
65 | 66 |
67 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/indicator/AjaxIndicatorLoadingPanel.html: -------------------------------------------------------------------------------- 1 | 2 | loading... 3 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/indicator/AjaxIndicatorLoadingPanel.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.indicator; 17 | 18 | import org.apache.wicket.ajax.AbstractDefaultAjaxBehavior; 19 | import org.apache.wicket.markup.html.image.Image; 20 | import org.apache.wicket.markup.html.panel.Panel; 21 | 22 | /** 23 | * The Class AjaxIndicatorLoadingPanel. 24 | */ 25 | public class AjaxIndicatorLoadingPanel extends Panel 26 | { 27 | /** 28 | * The serialVersionUID. 29 | */ 30 | private static final long serialVersionUID = 1L; 31 | 32 | /** 33 | * Instantiates a new {@link AjaxIndicatorLoadingPanel}. 34 | * 35 | * @param id 36 | * the id 37 | */ 38 | public AjaxIndicatorLoadingPanel(final String id) 39 | { 40 | super(id); 41 | setOutputMarkupId(true); 42 | final Image ajaxindicator = new Image("ajaxindicator", 43 | AbstractDefaultAjaxBehavior.INDICATOR); 44 | add(ajaxindicator); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/labeled/LabeledTwoFormComponentPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/labeled/checkbox/LabeledCheckboxPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/labeled/checkbox/img/LabeledImageCheckboxModelBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.labeled.checkbox.img; 17 | 18 | import java.io.Serializable; 19 | 20 | import org.apache.wicket.request.resource.IResource; 21 | 22 | import lombok.AllArgsConstructor; 23 | import lombok.Builder; 24 | import lombok.EqualsAndHashCode; 25 | import lombok.Getter; 26 | import lombok.NoArgsConstructor; 27 | import lombok.Setter; 28 | import lombok.ToString; 29 | 30 | /** 31 | * The Class {@link LabeledImageCheckboxModelBean} holds the image resource and the value if it 32 | * checked. 33 | * 34 | * @author Asterios Raptis 35 | */ 36 | @Getter 37 | @Setter 38 | @EqualsAndHashCode 39 | @ToString 40 | @NoArgsConstructor 41 | @AllArgsConstructor 42 | @Builder 43 | public class LabeledImageCheckboxModelBean implements Serializable 44 | { 45 | /** 46 | * The serialVersionUID 47 | */ 48 | private static final long serialVersionUID = 1L; 49 | /** 50 | * The image resource 51 | */ 52 | private IResource imageResource; 53 | 54 | /** The checked flag. */ 55 | @Builder.Default 56 | private Boolean checked = Boolean.FALSE; 57 | } 58 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/labeled/checkbox/img/LabeledImageCheckboxPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/labeled/dropdown/LabeledEnumDropDownPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/labeled/dropdown/LabeledEnumDropDownPanel.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.labeled.dropdown; 17 | 18 | import org.apache.wicket.markup.html.form.DropDownChoice; 19 | import org.apache.wicket.markup.html.panel.Panel; 20 | import org.apache.wicket.model.IModel; 21 | 22 | /** 23 | * The Class {@link LabeledEnumDropDownPanel}. 24 | */ 25 | public class LabeledEnumDropDownPanel extends Panel 26 | { 27 | 28 | /** The serialVersionUID. */ 29 | private static final long serialVersionUID = 1L; 30 | 31 | /** 32 | * Instantiates a new {@link LabeledEnumDropDownPanel}. 33 | * 34 | * @param id 35 | * the id 36 | * @param model 37 | * the model 38 | * @param labelModel 39 | * the label model 40 | * @param choices 41 | * the choices 42 | */ 43 | @SuppressWarnings({ "unchecked", "rawtypes" }) 44 | public LabeledEnumDropDownPanel(final String id, final IModel model, 45 | final IModel labelModel, final IModel choices) 46 | { 47 | super(id, model); 48 | 49 | setOutputMarkupId(true); 50 | 51 | add(new DropDownChoice("edit", model, choices).setLabel(labelModel)); 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/labeled/label/LabeledEnumLabelPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/labeled/label/LabeledLabelPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/labeled/label/LabeledMultiLineLabelPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/labeled/textarea/LabeledTextAreaPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/labeled/textfield/LabeledAutoCompleteTextFieldPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/labeled/textfield/LabeledDateTextFieldPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/labeled/textfield/LabeledDateTimeFieldPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/labeled/textfield/LabeledEmailTextFieldPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/labeled/textfield/LabeledPasswordTextFieldPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/labeled/textfield/LabeledRequiredTextFieldPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/labeled/textfield/LabeledTextFieldPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/link/DefaultTargets.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.link; 17 | 18 | import lombok.Getter; 19 | 20 | /** 21 | * The Enum DefaultTargets holds the default targets for a link. There is still the possibility with 22 | * the frame name as value but is not provided in this enum. 23 | */ 24 | public enum DefaultTargets 25 | { 26 | 27 | /** The constant BLANK. It will open the linked document in a new window or tab. */ 28 | BLANK("_blank"), 29 | /** 30 | * The constant SELF. It will open the linked document in the same frame as it was clicked. This 31 | * is the default behavior. 32 | */ 33 | SELF("_self"), 34 | /** The constant PARENT. It will open the linked document in the parent frame. */ 35 | PARENT("_parent"), 36 | /** The constant TOP. It will open the linked document in the full body of the window. */ 37 | TOP("_top"); 38 | 39 | /** 40 | * Gets the target. 41 | * 42 | * @return the target 43 | */ 44 | @Getter 45 | private final String target; 46 | 47 | /** 48 | * Instantiates a new default targets. 49 | * 50 | * @param target 51 | * the target 52 | */ 53 | private DefaultTargets(final String target) 54 | { 55 | this.target = target; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/link/LinkPanel.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 |
5 |
6 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/link/PhoneLink.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.link; 17 | 18 | import org.apache.wicket.ajax.markup.html.AjaxLink; 19 | import org.apache.wicket.model.IModel; 20 | import org.apache.wicket.util.lang.Args; 21 | 22 | /** 23 | * The Class {@link PhoneLink} can create a link for a phone number. 24 | */ 25 | public abstract class PhoneLink extends AjaxLink 26 | { 27 | 28 | /** The Constant serialVersionUID. */ 29 | private static final long serialVersionUID = 1L; 30 | 31 | /** 32 | * Instantiates a new {@link PhoneLink}. 33 | * 34 | * @param id 35 | * the id 36 | * @param model 37 | * the model 38 | */ 39 | public PhoneLink(final String id, final IModel model) 40 | { 41 | super(id, model); 42 | Args.notNull(model, "model"); 43 | Args.notNull(model.getObject(), "model"); 44 | Args.notEmpty(model.getObject(), "model"); 45 | onValidate(model); 46 | } 47 | 48 | /** 49 | * Gets the url to use for this link. 50 | * 51 | * @return The URL that this link links to 52 | */ 53 | protected CharSequence getURL() 54 | { 55 | return getModelObject(); 56 | } 57 | 58 | /** 59 | * Callback method for opportunity to validate the given phone number. 60 | * 61 | * @param model 62 | * the model 63 | */ 64 | protected void onValidate(final IModel model) 65 | { 66 | } 67 | 68 | } -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/mailto/MailToPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/mailto/MailToPanel.properties: -------------------------------------------------------------------------------- 1 | contact.email.label=email: 2 | global.mailto.address=info@{0} 3 | global.compamy.mailto.view=info[at]{0} -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/mailto/MailToPanel.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | email: 6 | info[at]{0} 7 | info@{0} 8 | 9 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/mailto/MailToPanel_el.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | εμαιλ: 6 | info[at]{0} 7 | info@{0} 8 | 9 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/menu/suckerfish/LinkFragment.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.menu.suckerfish; 17 | 18 | import org.apache.wicket.MarkupContainer; 19 | import org.apache.wicket.markup.html.link.AbstractLink; 20 | import org.apache.wicket.markup.html.panel.Fragment; 21 | 22 | /** 23 | * The Class LinkFragment. 24 | * 25 | * @author Asterios Raptis 26 | */ 27 | public final class LinkFragment extends Fragment 28 | { 29 | 30 | /** The Constant serialVersionUID. */ 31 | private static final long serialVersionUID = 0L; 32 | 33 | /** 34 | * Instantiates a new {@link LinkFragment}. 35 | * 36 | * @param link 37 | * the link 38 | * @param markupProvider 39 | * the {@link MarkupContainer} 40 | */ 41 | public LinkFragment(final AbstractLink link, final MarkupContainer markupProvider) 42 | { 43 | super("linkfragment", "LINKFRAGMENT", markupProvider); 44 | add(link); 45 | } 46 | } -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/menu/suckerfish/MenuPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | link 10 |
    11 |
  • 12 | link 13 |
  • 14 |
15 |
16 | 17 | 18 | Link Text 19 | 20 | 21 | 22 | Link Text 23 | 24 |
25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/menu/suckerfish/MenuPanel.js: -------------------------------------------------------------------------------- 1 | myHover = function() { 2 | var sfEls = document.getElementById("nav").getElementsByTagName("LI"); 3 | for (var i=0; i 2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/radio/AjaxRadioPanel.js: -------------------------------------------------------------------------------- 1 | $('.image-radio-container').on('change click', 'label', function() { 2 | var $selectedRadioId = $(this).attr("for"); 3 | var $selectedRadio = $('.image-radio-container').find("#"+$selectedRadioId); 4 | var $radiogroupname = $selectedRadio.attr("name"); 5 | var $radios = $('.image-radio-container input[type="radio"]'); 6 | if($radios.is(':checked') === true) { 7 | $('input:radio[name='+ $radiogroupname +']') 8 | .each(function () { 9 | if($(this).is(':checked')){ 10 | $(this).prop('checked', false).removeAttr('checked'); 11 | } 12 | }); 13 | } 14 | $selectedRadio.prop('checked',true).attr('checked',true); 15 | }); -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/radio/RadioGroupModelBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.radio; 17 | 18 | import java.io.Serializable; 19 | import java.util.List; 20 | 21 | import lombok.AllArgsConstructor; 22 | import lombok.Builder; 23 | import lombok.EqualsAndHashCode; 24 | import lombok.Getter; 25 | import lombok.NoArgsConstructor; 26 | import lombok.Setter; 27 | import lombok.ToString; 28 | 29 | /** 30 | * The Class {@link RadioGroupModelBean}. 31 | * 32 | * @param 33 | * the generic type of model object. 34 | */ 35 | @Getter 36 | @Setter 37 | @EqualsAndHashCode 38 | @ToString 39 | @NoArgsConstructor 40 | @AllArgsConstructor 41 | @Builder 42 | public class RadioGroupModelBean implements Serializable 43 | { 44 | 45 | /** 46 | * The serialVersionUID. 47 | */ 48 | private static final long serialVersionUID = 1L; 49 | 50 | /** The selected model object. */ 51 | private T selected; 52 | 53 | /** The available radios. */ 54 | private List radios; 55 | 56 | /** The label property expression. */ 57 | private String labelPropertyExpression; 58 | 59 | } 60 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/radio/RadioGroupPanel.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/report/Effects.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.report; 17 | 18 | import org.apache.wicket.Component; 19 | import org.apache.wicket.ajax.AjaxRequestTarget; 20 | 21 | import de.alpharogroup.wicket.behaviors.DisplayNoneBehavior; 22 | import lombok.experimental.UtilityClass; 23 | 24 | /** 25 | * The Class {@link Effects}. 26 | */ 27 | @UtilityClass 28 | public class Effects 29 | { 30 | 31 | /** 32 | * Replace. 33 | * 34 | * @param target 35 | * the target 36 | * @param component 37 | * the component 38 | */ 39 | public static void replace(final AjaxRequestTarget target, final Component component) 40 | { 41 | component.add(new DisplayNoneBehavior()); 42 | target.add(component); 43 | target.appendJavaScript("jQuery('#" + component.getMarkupId() + "').slideDown(100);"); 44 | } 45 | } -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/report/ReportThrowablePanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
6 | 7 |
8 | 9 |
10 | 11 | Show exception 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/report/ReportThrowablePanel.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Upps! An error occured. 6 | Please provide here any useful information 7 | Enter here any useful information 8 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/report/ReportThrowablePanel_de.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Upps! Ein Fehler ist aufgetreten. 6 | Beschreibe uns wie es zu diesen Fehler gekommen ist 7 | Gib hier deine wertvollen Informationen ein 8 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/report/ReportThrowablePanel_el.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Upps! An error occured. 6 | Please provide here any useful information 7 | Enter here any useful information 8 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/report/ReportThrowablePanel_en.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Upps! An error occured. 6 | Please provide here any useful information 7 | Enter here any useful information 8 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/search/SimpleSearchModel.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.search; 17 | 18 | import org.apache.wicket.util.io.IClusterable; 19 | 20 | import lombok.AllArgsConstructor; 21 | import lombok.Builder; 22 | import lombok.EqualsAndHashCode; 23 | import lombok.Getter; 24 | import lombok.NoArgsConstructor; 25 | import lombok.Setter; 26 | import lombok.ToString; 27 | 28 | /** 29 | * The Class SimpleSearchModel. 30 | * 31 | * @author Asterios Raptis 32 | */ 33 | @Getter 34 | @Setter 35 | @EqualsAndHashCode 36 | @ToString 37 | @NoArgsConstructor 38 | @AllArgsConstructor 39 | @Builder 40 | public class SimpleSearchModel implements IClusterable 41 | { 42 | /** 43 | * The serialVersionUID. 44 | */ 45 | private static final long serialVersionUID = 1L; 46 | 47 | /** The searchtext. What im looking for. */ 48 | @Builder.Default 49 | private String searchtext = ""; 50 | 51 | 52 | } -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/search/SimpleSearchPanel.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 6 | 9 |
10 |
11 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/search/SimpleSearchPanel.properties: -------------------------------------------------------------------------------- 1 | global.button.search=Search -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/search/SimpleSearchPanel_de.properties: -------------------------------------------------------------------------------- 1 | global.button.search=Suche -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/search/SimpleSearchPanel_el.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Αναζήτηση 7 | 8 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/SigninPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |
6 | 7 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/SigninPanel.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Email 6 | Enter your email 7 | Password 8 | Enter your password 9 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/SigninPanel_de.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Email 6 | Gib deine Email ein 7 | Passwort 8 | Gib dein Passwort ein 9 | Passwort vergessen? 10 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/SigninPanel_el.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Εμαιλ 6 | Πληκτρολόγησε εδώ το εμαιλ 7 | Κωδικός πρόσβασης 8 | Πληκτρολόγησε εδώ τον κωδικό πρόσβασης 9 | Είσοδος 10 | Ξέχασα τον κωδικό μου πρόσβασης 11 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/SigninPanel_en.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Email 6 | Enter your email 7 | Password 8 | Enter your password 9 | Password forgotten 10 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/form/SigninFormPanel.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 7 |
8 |
9 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/form/SigninFormPanel.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Sign In 6 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/form/SigninFormPanel_de.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Anmelden 6 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/form/SigninFormPanel_el.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Είσοδος 6 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/form/SigninFormPanel_en.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Sign In 6 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/change/ChangePasswordFormPanel.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 7 |
8 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/change/ChangePasswordModelBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.sign.in.password.change; 17 | 18 | import java.io.Serializable; 19 | 20 | import lombok.AllArgsConstructor; 21 | import lombok.Builder; 22 | import lombok.EqualsAndHashCode; 23 | import lombok.Getter; 24 | import lombok.NoArgsConstructor; 25 | import lombok.Setter; 26 | import lombok.ToString; 27 | 28 | /** 29 | * The Class {@link ChangePasswordModelBean} captures the data for change the password of a user. 30 | * 31 | * @author Asterios Raptis 32 | */ 33 | @Getter 34 | @Setter 35 | @EqualsAndHashCode 36 | @ToString 37 | @NoArgsConstructor 38 | @AllArgsConstructor 39 | @Builder 40 | public class ChangePasswordModelBean implements Serializable 41 | { 42 | 43 | /** 44 | * The serialVersionUID. 45 | */ 46 | private static final long serialVersionUID = 1L; 47 | 48 | /** The current password of a user. */ 49 | @Builder.Default 50 | private String currentPassword = ""; 51 | 52 | /** The new password of a user. */ 53 | @Builder.Default 54 | private String newPassword = ""; 55 | 56 | /** The repeated new password of a user. */ 57 | @Builder.Default 58 | private String repeatNewPassword = ""; 59 | 60 | } 61 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/change/ChangePasswordPanel.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/change/ChangePasswordPanel.properties: -------------------------------------------------------------------------------- 1 | change.pw.current.password.label=Current password 2 | change.pw.new.password.label=New password 3 | change.pw.new.password.repeat.label=Repeat new password 4 | global.enter.current.password.label=Enter your current password 5 | global.enter.new.password.label=Enter your new password 6 | global.enter.new.password.repeat.label=Enter again your new password 7 | global.update.button.label=Update -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/change/ChangePasswordPanel_de.properties: -------------------------------------------------------------------------------- 1 | change.pw.current.password.label=Aktuelles Passwort 2 | change.pw.new.password.label=Neues Passwort 3 | change.pw.new.password.repeat.label=Neues Passwort wiederholen 4 | global.enter.current.password.label=Aktuelles Passwort hier eingeben 5 | global.enter.new.password.label=Neues Passwort hier eingeben 6 | global.enter.new.password.repeat.label=Neues Passwort nochmal hier eingeben 7 | global.update.button.label=Aktualisieren -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/change/ChangePasswordPanel_el.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Τωρινός κωδικός πρόσβασης 6 | Πληκτρολόγησε εδώ τον τωρινό κωδικό πρόσβασης 7 | Νέος κωδικός πρόσβασης 8 | Πληκτρολόγησε εδώ τον νέο κωδικό πρόσβασης 9 | Επανάληψη κωδικού προσβάσεως 10 | Πληκτρολόγησε εδώ ξανά τον νέο κωδικό πρόσβασης 11 | Αναβαθμίση 12 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/change/ChangePasswordPanel_en.properties: -------------------------------------------------------------------------------- 1 | change.pw.current.password.label=Current password 2 | change.pw.new.password.label=New password 3 | change.pw.new.password.repeat.label=Repeat new password 4 | global.enter.current.password.label=Enter your current password 5 | global.enter.new.password.label=Enter your new password 6 | global.enter.new.password.repeat.label=Enter again your new password 7 | global.update.button.label=Update -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/forgotten/AbstractPasswordForgottenPanel.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 |
7 | 8 |
9 | 10 | 13 | 14 |
15 |
16 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/forgotten/AbstractPasswordForgottenPanel.properties: -------------------------------------------------------------------------------- 1 | password.forgotten.content.label=Insert your email 2 | password.forgotten.label=Password forgotten 3 | global.button.send.email.label=Send email 4 | global.enter.your.email.label=Enter your email -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/forgotten/AbstractPasswordForgottenPanel_de.properties: -------------------------------------------------------------------------------- 1 | password.forgotten.content.label=Geben Sie Ihre email ein: 2 | password.forgotten.label=Passwort vergessen? 3 | global.button.send.email.label=E-Mail senden 4 | global.enter.your.email.label=E-Mail addresse eingeben 5 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/forgotten/AbstractPasswordForgottenPanel_el.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Εισάγεται το εμαιλ σας: 6 | Ξέχασα τον κωδικό μου πρόσβασης 7 | Αποστολή εμαιλ 8 | Εισάγεται το εμαιλ 9 | 10 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/forgotten/AbstractPasswordForgottenPanel_en.properties: -------------------------------------------------------------------------------- 1 | password.forgotten.content.label=Insert your email 2 | password.forgotten.label=Password forgotten 3 | global.button.send.email.label=Send email 4 | global.enter.your.email.label=Enter your email -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/forgotten/PasswordForgottenModelBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.sign.in.password.forgotten; 17 | 18 | import java.io.Serializable; 19 | 20 | import lombok.AllArgsConstructor; 21 | import lombok.Builder; 22 | import lombok.EqualsAndHashCode; 23 | import lombok.Getter; 24 | import lombok.NoArgsConstructor; 25 | import lombok.Setter; 26 | import lombok.ToString; 27 | 28 | 29 | /** 30 | * The Class {@link PasswordForgottenModelBean} captures the data for the password forgotten action. 31 | * 32 | * @author Asterios Raptis 33 | */ 34 | @Getter 35 | @Setter 36 | @EqualsAndHashCode 37 | @ToString 38 | @NoArgsConstructor 39 | @AllArgsConstructor 40 | @Builder 41 | public class PasswordForgottenModelBean implements Serializable 42 | { 43 | 44 | /** 45 | * The serialVersionUID. 46 | */ 47 | private static final long serialVersionUID = 1L; 48 | 49 | /** The email. */ 50 | private String email; 51 | 52 | } 53 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/reset/AbstractResetPasswordPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/reset/AbstractResetPasswordPanel.properties: -------------------------------------------------------------------------------- 1 | global.pw.successfully.changed.label=your password successfully changed 2 | global.pw.forgotten.send.mail.feedback.message=An email with your new password is send to your email account.\nPassword will be activated by clicking the activation link in the email. 3 | global.pw.reseted.pw.expired.feedback.message=The Password is reseted but expired. Go to the password forgotten Page and reset the password. 4 | global.pw.reseted.user.unknown.feedback.message=An internal error occurred. Please go to the password forgotten Page and reset the password. -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/reset/AbstractResetPasswordPanel_de.properties: -------------------------------------------------------------------------------- 1 | global.pw.successfully.changed.label=Ihr Passwort wurde erfolgreich aktualisiert. 2 | global.pw.forgotten.send.mail.feedback.message=Eine email mit einem neuen Passwort ist an Ihrer Email-Adresse versendet.\nGehen Sie zu Ihrem Postfach und klicken Sie auf den Aktivierungslink. 3 | global.pw.reseted.pw.expired.feedback.message=Das Passwort wurde zur\u00FCckgesetzt aber ist abgelaufen. Setzen Sie ihr Passwort nochmal zur\u00FCck. 4 | global.pw.reseted.user.unknown.feedback.message=Ein interner Fehler ist aufgetreten. Setzen Sie ihr Passwort nochmal zur\u00FCck. -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/reset/AbstractResetPasswordPanel_el.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Ο κωδικός πρόσβασης αποθηκεύθηκε επιτυχής. 6 | Ένα εμαιλ με το νέο κωδικό πρόσβασης ήδη στάλθηκε στο γραμματοκιβωτιο σας. Για να ενεργοποιήσετε το νέο κωδικό πρόσβασης κάντε ένα κλικ στο λινκ ενεργοποίησης. 7 | Ο παλιός κωδικός πρόσβασης σας διαγράφηκε και έληξε. Πηγαίνετε στη ιστοσελίδα για να ενεργοποιήσετε ένα νέο κωδικό πρόσβασης. 8 | Εμφανίστηκε ένα εσωτερικό λάθος. Πηγαίνετε στη ιστοσελίδα για να ενεργοποιήσετε ένα νέο κωδικό πρόσβασης. 9 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/in/password/reset/AbstractResetPasswordPanel_en.properties: -------------------------------------------------------------------------------- 1 | global.pw.successfully.changed.label=your password successfully changed 2 | global.pw.forgotten.send.mail.feedback.message=An email with your new password is send to your email account.\nPassword will be activated by clicking the activation link in the email. 3 | global.pw.reseted.pw.expired.feedback.message=The Password is reseted but expired. Go to the password forgotten Page and reset the password. 4 | global.pw.reseted.user.unknown.feedback.message=An internal error occurred. Please go to the password forgotten Page and reset the password. -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/up/SignupFormPanel.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 7 |
8 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/up/SignupPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |
6 | 7 |
8 | 9 |
10 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/up/SignupPanel.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Username 6 | Enter your username 7 | Repeat your password 8 | Enter again your password 9 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/up/SignupPanel_de.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Benutzername 6 | Registrieren 7 | Gib dein Benutzernamen ein 8 | Passwort wiederholen 9 | Gib dein Passwort nochmal ein 10 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/up/SignupPanel_el.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Καταγραφήτε 6 | Όνομα χρήστη 7 | Πληκτρολόγησε εδώ το όνομα χρήστη 8 | Επανάληψη του κωδικού προσβάσεως 9 | Πληκτρολόγησε εδώ ξανά τον κωδικό πρόσβασης 10 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/sign/up/SignupPanel_en.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Username 6 | Sign up 7 | Enter your username 8 | Repeat your password 9 | Enter again your password 10 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/socialnet/SocialNetworkModelBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.socialnet; 17 | 18 | import java.io.Serializable; 19 | 20 | import de.alpharogroup.wicket.components.socialnet.fb.like.and.share.FacebookLikeAndShareModelBean; 21 | import de.alpharogroup.wicket.components.socialnet.googleplus.share.GooglePlusShareModelBean; 22 | import de.alpharogroup.wicket.components.socialnet.twitter.follow.TwitterFollowModelBean; 23 | import de.alpharogroup.wicket.components.socialnet.twitter.share.TwitterShareModelBean; 24 | import lombok.Builder; 25 | import lombok.Data; 26 | 27 | /** 28 | * Model bean for the page SocialNetworks data. 29 | */ 30 | @Data 31 | @Builder 32 | public class SocialNetworkModelBean implements Serializable 33 | { 34 | 35 | /** The serialVersionUID. */ 36 | private static final long serialVersionUID = 1L; 37 | 38 | /** The model bean for the google plus share. */ 39 | private GooglePlusShareModelBean googlePlusShareModelBean; 40 | 41 | /** The model bean for the twitter share. */ 42 | private TwitterShareModelBean twitterShareModelBean; 43 | 44 | /** The model bean for the twitter follow. */ 45 | private TwitterFollowModelBean twitterFollowModelBean; 46 | 47 | /** The model bean for the facebook like and share. */ 48 | private FacebookLikeAndShareModelBean facebookLikeAndShareModelBean; 49 | } 50 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/socialnet/fb/like/and/share/FacebookLikeAndSharePanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/socialnet/fb/like/and/share/fbLikeShare.js: -------------------------------------------------------------------------------- 1 | window.fbAsyncInit = function() { 2 | FB.init({ 3 | appId : '1447784322113110', 4 | xfbml : true, 5 | version : 'v2.1' 6 | }); 7 | }; 8 | 9 | (function(d, s, id) { 10 | var js, fjs = d.getElementsByTagName(s)[0]; 11 | if (d.getElementById(id)) { 12 | return; 13 | } 14 | js = d.createElement(s); 15 | js.id = id; 16 | js.src = "//connect.facebook.net/en_US/sdk.js"; 17 | fjs.parentNode.insertBefore(js, fjs); 18 | }(document, 'script', 'facebook-jssdk')); -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/socialnet/fb/like/and/share/fbLikeShare.vm: -------------------------------------------------------------------------------- 1 |
6 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/socialnet/googleplus/share/GooglePlusSharePanel.html: -------------------------------------------------------------------------------- 1 | 2 | 4 |
5 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/socialnet/twitter/follow/TwitterFollowPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/socialnet/twitter/follow/follow.js: -------------------------------------------------------------------------------- 1 | !function(d, s, id) { 2 | var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' 3 | : 'https'; 4 | if (!d.getElementById(id)) { 5 | js = d.createElement(s); 6 | js.id = id; 7 | js.src = p + '://platform.twitter.com/widgets.js'; 8 | fjs.parentNode.insertBefore(js, fjs); 9 | } 10 | }(document, 'script', 'twitter-wjs'); -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/socialnet/twitter/share/TwitterSharePanel.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/socialnet/twitter/share/widgets.js: -------------------------------------------------------------------------------- 1 | window.twttr = (function(d, s, id) { 2 | var t, js, fjs = d.getElementsByTagName(s)[0]; 3 | if (d.getElementById(id)) 4 | return; 5 | js = d.createElement(s); 6 | js.id = id; 7 | js.src = "https://platform.twitter.com/widgets.js"; 8 | fjs.parentNode.insertBefore(js, fjs); 9 | return window.twttr || (t = { 10 | _e : [], 11 | ready : function(f) { 12 | t._e.push(f) 13 | } 14 | }); 15 | }(document, "script", "twitter-wjs")); -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/swap/ModeContext.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.swap; 17 | 18 | /** 19 | * The Enum {@link ModeContext} indicates in which mode a component is. 20 | */ 21 | public enum ModeContext 22 | { 23 | /** The view mode. */ 24 | VIEW_MODE, 25 | /** The edit mode. */ 26 | EDIT_MODE; 27 | } -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/swap/SwapAnimation.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.swap; 17 | 18 | import java.io.Serializable; 19 | 20 | import lombok.AllArgsConstructor; 21 | import lombok.Builder; 22 | import lombok.EqualsAndHashCode; 23 | import lombok.Getter; 24 | import lombok.Setter; 25 | import lombok.ToString; 26 | 27 | /** 28 | * The class {@link SwapAnimation} hold the duration for the animations. 29 | */ 30 | @Getter 31 | @Setter 32 | @EqualsAndHashCode 33 | @ToString 34 | @AllArgsConstructor 35 | @Builder(toBuilder = true) 36 | public class SwapAnimation implements Serializable { 37 | 38 | /** The Constant serialVersionUID. */ 39 | private static final long serialVersionUID = 1L; 40 | 41 | /** The view duration. */ 42 | private int viewDuration; 43 | 44 | /** The edit duration. */ 45 | private int editDuration; 46 | } 47 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/swap/SwapComponentsFragmentPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/termofuse/TermOfUsePanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |
6 | 7 |
8 | 9 |
10 | 11 |
12 | 13 |
14 | 15 |
16 | 17 |
18 | 19 |
20 | 21 |
22 | 23 |
24 | 25 |
26 | 27 |
28 | 29 |
30 | 31 |
-------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/termofuse/disclaimer/DisclaimerPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 |
7 |
8 | 9 | 10 | 11 | 12 |
13 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/termofuse/disclaimer/DisclaimerPanel_de.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Haftungshinweis: 8 | 9 | 10 | Trotz sorgfältiger inhaltlicher Kontrolle übernehmen wir keine Haftung für 11 | die Inhalte externer Links. 12 | Für den Inhalt der verlinkten Seiten sind ausschließlich deren Betreiber 13 | verantwortlich. 14 | 15 | 16 | Um Informationen über den Datenschutzerklärung zu lesen folgen Sie einfach diesen Link 17 | 18 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/termofuse/disclaimer/DisclaimerPanel_el.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Αποκλεισμός της ευθύνης: 7 | 8 | 9 | Οι σύνδεσμοι (λινκς) που βρίσκονται στην ιστοσελίδα μας πιθανόν να σας μεταφέρουν εκτός του δικτύου του. Παρόλου λεπτομερης ελένγους δεν αποδεχώμαστε καμία ευθύνη για το περιεχόμενο από εξωτερικούς σύνδεσμους (λινκς). Για το περιεχόμενο από εξωτερικούς σύνδεσμους (λινκς) ευθύνετε μόνο ο κάτοχος της εξωτερικής ιστοσελίδας. 10 | 11 | 12 | Πληροφορίες(μόνο στα αγγλικά και γερμανικά) για τη δήλωση προστασία δεδομένων μπορείτε να διαβάσετε εάν κλικάρετε το ακόλουθο σύνδεσμο(λινκ) 13 | 14 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/termofuse/disclaimer/DisclaimerPanel_en.properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Disclaimer: 7 | 8 | 9 | Despite careful control we assume no liability for the content of external links. For the content of linked pages their operators are responsible. 10 | 11 | 12 | Follow this link to get informations about privacy policy and data protection policy 13 | 14 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/termofuse/rightsandduties/RightsAndDutiesModelBean.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.termofuse.rightsandduties; 17 | 18 | import java.io.Serializable; 19 | 20 | import de.alpharogroup.wicket.components.i18n.list.ContentListModelBean; 21 | import de.alpharogroup.wicket.components.i18n.list.HeaderContentListModelBean; 22 | import lombok.AllArgsConstructor; 23 | import lombok.Builder; 24 | import lombok.EqualsAndHashCode; 25 | import lombok.Getter; 26 | import lombok.NoArgsConstructor; 27 | import lombok.Setter; 28 | import lombok.ToString; 29 | 30 | /** 31 | * The Class {@link RightsAndDutiesModelBean} captures the data for the rights and duties. 32 | * 33 | * @author Asterios Raptis 34 | */ 35 | @Getter 36 | @Setter 37 | @EqualsAndHashCode 38 | @ToString 39 | @NoArgsConstructor 40 | @AllArgsConstructor 41 | @Builder 42 | public class RightsAndDutiesModelBean implements Serializable 43 | { 44 | 45 | /** The Constant serialVersionUID. */ 46 | private static final long serialVersionUID = 1L; 47 | 48 | /** The introduction model. */ 49 | HeaderContentListModelBean introductionModel; 50 | 51 | /** The list model. */ 52 | ContentListModelBean listModel; 53 | 54 | /** The summary model. */ 55 | ContentListModelBean summaryModel; 56 | 57 | } 58 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/termofuse/rightsandduties/RightsAndDutiesPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/main/java/de/alpharogroup/wicket/components/velocity/VelocityFieldsPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/test/java/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/test/java/de/alpharogroup/wicket/components/i18n/content/ContentModelTest.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.i18n.content; 17 | 18 | import org.testng.annotations.Test; 19 | 20 | import de.alpharogroup.resourcebundle.locale.ResourceBundleKey; 21 | 22 | 23 | public class ContentModelTest 24 | { 25 | 26 | @Test 27 | public void testContentModelStringString() 28 | { 29 | ContentModelBean.builder() 30 | .headerResourceKey(ResourceBundleKey.builder().key("header.label").build()) 31 | .contentResourceKey(ResourceBundleKey.builder().key("content.label").build()).build(); 32 | } 33 | 34 | @Test(expectedExceptions = NullPointerException.class) 35 | public void testContentModelStringString1() 36 | { 37 | ContentModelBean.builder().build(); 38 | } 39 | 40 | @Test(expectedExceptions = NullPointerException.class) 41 | public void testContentModelStringString2() 42 | { 43 | ContentModelBean.builder() 44 | .headerResourceKey(ResourceBundleKey.builder().key("header.label").build()).build(); 45 | } 46 | 47 | @Test(expectedExceptions = NullPointerException.class) 48 | public void testContentModelStringString3() 49 | { 50 | ContentModelBean.builder() 51 | .contentResourceKey(ResourceBundleKey.builder().key("content.label").build()).build(); 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /jaulp-wicket-components/src/test/java/de/alpharogroup/wicket/components/search/SimpleSearchPanelTest.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.components.search; 17 | 18 | import org.apache.wicket.ajax.AjaxRequestTarget; 19 | import org.apache.wicket.util.tester.WicketTester; 20 | import org.testng.annotations.BeforeMethod; 21 | import org.testng.annotations.Test; 22 | 23 | /** 24 | * Test for the class SimpleSearchPanel. 25 | */ 26 | public class SimpleSearchPanelTest 27 | { 28 | private WicketTester tester; 29 | private SimpleSearchPanel simpleSearchPanel; 30 | 31 | @BeforeMethod 32 | public void setUp() 33 | { 34 | tester = new WicketTester(); 35 | simpleSearchPanel = new SimpleSearchPanel("simpleSearchPanel") 36 | { 37 | /** 38 | * The serialVersionUID 39 | */ 40 | private static final long serialVersionUID = 1L; 41 | 42 | /** 43 | * {@inheritDoc} 44 | */ 45 | @Override 46 | protected void onSearch(final AjaxRequestTarget target) 47 | { 48 | } 49 | }; 50 | } 51 | 52 | @Test 53 | public void testSimpleSearchPanel() 54 | { 55 | // start and render the test page 56 | tester.startComponentInPage(simpleSearchPanel); 57 | 58 | // assert rendered panel class 59 | tester.assertNoErrorMessage(); 60 | } 61 | 62 | 63 | } 64 | -------------------------------------------------------------------------------- /jaulp-wicket-data-provider/.gitignore: -------------------------------------------------------------------------------- 1 | ################## 2 | # Compiled files # 3 | ################## 4 | *.class 5 | 6 | ################## 7 | # intellij files # 8 | ################## 9 | *.iml 10 | .idea 11 | */.idea 12 | 13 | ################# 14 | # eclipse files # 15 | ################# 16 | /.project 17 | /.classpath 18 | /.settings 19 | /.tern-project 20 | 21 | ################## 22 | # netbeans files # 23 | ################## 24 | /nb-configuration.xml 25 | 26 | ######################### 27 | # maven generated files # 28 | ######################### 29 | /target 30 | 31 | ############# 32 | # Zip files # 33 | ############# 34 | *.tar 35 | *.zip 36 | *.7z 37 | *.dmg 38 | *.gz 39 | *.iso 40 | *.jar 41 | *.rar 42 | 43 | ############## 44 | # Logs files # 45 | ############## 46 | *.log 47 | 48 | ################# 49 | # test-ng files # 50 | ################# 51 | /test-output 52 | 53 | ############################ 54 | # Binaries generated files # 55 | ############################ 56 | /bin 57 | 58 | ################ 59 | # gradle files # 60 | ################ 61 | /build 62 | /.gradle 63 | /gradle 64 | -------------------------------------------------------------------------------- /jaulp-wicket-data-provider/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | 8 | de.alpharogroup 9 | jaulp-wicket 10 | 7.8.0 11 | 12 | 13 | jaulp-wicket-data-provider 14 | jar 15 | ${project.artifactId} 16 | 17 | 18 | 19 | 20 | 21 | 22 | org.apache.wicket 23 | wicket-extensions 24 | 25 | 26 | 27 | de.alpharogroup 28 | silly-collections 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /jaulp-wicket-data-provider/src/main/resources/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) ${year} ${owner} 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. -------------------------------------------------------------------------------- /jaulp-wicket-data-provider/src/main/resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 -------------------------------------------------------------------------------- /jaulp-wicket-data-provider/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.appender.Stdout=org.apache.log4j.ConsoleAppender 2 | log4j.appender.Stdout.layout=org.apache.log4j.PatternLayout 3 | log4j.appender.Stdout.layout.conversionPattern=%-5p - %-26.26c{1} - %m\n 4 | 5 | log4j.rootLogger=INFO,Stdout 6 | 7 | log4j.logger.org.apache.wicket=INFO 8 | log4j.logger.org.apache.wicket.protocol.http.HttpSessionStore=INFO 9 | log4j.logger.org.apache.wicket.version=INFO 10 | log4j.logger.org.apache.wicket.RequestCycle=INFO 11 | 12 | 13 | -------------------------------------------------------------------------------- /jaulp-wicket-data-provider/src/test/java/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /jaulp-wicket-dialogs/.gitignore: -------------------------------------------------------------------------------- 1 | ################## 2 | # Compiled files # 3 | ################## 4 | *.class 5 | 6 | ################## 7 | # intellij files # 8 | ################## 9 | *.iml 10 | .idea 11 | */.idea 12 | 13 | ################# 14 | # eclipse files # 15 | ################# 16 | /.project 17 | /.classpath 18 | /.settings 19 | /.tern-project 20 | 21 | ################## 22 | # netbeans files # 23 | ################## 24 | /nb-configuration.xml 25 | 26 | ######################### 27 | # maven generated files # 28 | ######################### 29 | /target 30 | 31 | ############# 32 | # Zip files # 33 | ############# 34 | *.tar 35 | *.zip 36 | *.7z 37 | *.dmg 38 | *.gz 39 | *.iso 40 | *.jar 41 | *.rar 42 | 43 | ############## 44 | # Logs files # 45 | ############## 46 | *.log 47 | 48 | ################# 49 | # test-ng files # 50 | ################# 51 | /test-output 52 | 53 | ############################ 54 | # Binaries generated files # 55 | ############################ 56 | /bin 57 | 58 | ################ 59 | # gradle files # 60 | ################ 61 | /build 62 | /.gradle 63 | /gradle 64 | -------------------------------------------------------------------------------- /jaulp-wicket-dialogs/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | 8 | de.alpharogroup 9 | jaulp-wicket 10 | 7.8.0 11 | 12 | 13 | jaulp-wicket-dialogs 14 | jar 15 | ${project.artifactId} 16 | 17 | 18 | Abstracts the dialogs from wicket. To see how it works see 19 | the 'jaulp-wicket-dialogs-examples' project. 20 | 21 | 22 | 23 | 24 | 25 | org.apache.wicket 26 | wicket-extensions 27 | 28 | 29 | 30 | de.alpharogroup 31 | jaulp-wicket-components 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /jaulp-wicket-dialogs/src/main/java/de/alpharogroup/wicket/dialogs/ajax/modal/BaseModalPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 |
16 | 17 |
-------------------------------------------------------------------------------- /jaulp-wicket-dialogs/src/main/java/de/alpharogroup/wicket/dialogs/ajax/modal/BaseModalWindow.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |
-------------------------------------------------------------------------------- /jaulp-wicket-dialogs/src/main/java/de/alpharogroup/wicket/dialogs/ajax/modal/ModalDialogFragmentPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /jaulp-wicket-dialogs/src/main/java/de/alpharogroup/wicket/dialogs/panels/confirm/YesNoPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /jaulp-wicket-dialogs/src/main/java/de/alpharogroup/wicket/dialogs/panels/confirm/YesNoPanel.properties: -------------------------------------------------------------------------------- 1 | global.yes.label=Yes 2 | global.no.label=No -------------------------------------------------------------------------------- /jaulp-wicket-dialogs/src/main/java/de/alpharogroup/wicket/dialogs/panels/confirm/YesNoPanel_de.properties: -------------------------------------------------------------------------------- 1 | global.yes.label=Ja 2 | global.no.label=Nein -------------------------------------------------------------------------------- /jaulp-wicket-dialogs/src/main/java/de/alpharogroup/wicket/dialogs/panels/info/InfoPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /jaulp-wicket-dialogs/src/main/java/de/alpharogroup/wicket/dialogs/panels/save/SaveDialogPanel.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 | 7 | 8 |
9 |
-------------------------------------------------------------------------------- /jaulp-wicket-dialogs/src/main/java/de/alpharogroup/wicket/dialogs/panels/save/SaveDialogPanel.properties: -------------------------------------------------------------------------------- 1 | save.description.label=Type a value in the textfield. 2 | main.global.form.textfield.label=Value 3 | main.global.cancel.button.label=Cancel 4 | main.global.save.button.label=Save -------------------------------------------------------------------------------- /jaulp-wicket-dialogs/src/main/resources/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) ${year} ${owner} 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. -------------------------------------------------------------------------------- /jaulp-wicket-dialogs/src/main/resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 -------------------------------------------------------------------------------- /jaulp-wicket-dialogs/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.appender.Stdout=org.apache.log4j.ConsoleAppender 2 | log4j.appender.Stdout.layout=org.apache.log4j.PatternLayout 3 | log4j.appender.Stdout.layout.conversionPattern=%-5p - %-26.26c{1} - %m\n 4 | 5 | log4j.rootLogger=INFO,Stdout 6 | 7 | log4j.logger.org.apache.wicket=INFO 8 | log4j.logger.org.apache.wicket.protocol.http.HttpSessionStore=INFO 9 | log4j.logger.org.apache.wicket.version=INFO 10 | log4j.logger.org.apache.wicket.RequestCycle=INFO 11 | 12 | 13 | -------------------------------------------------------------------------------- /jaulp-wicket-dropdownchoices/.gitignore: -------------------------------------------------------------------------------- 1 | ################## 2 | # Compiled files # 3 | ################## 4 | *.class 5 | 6 | ################## 7 | # intellij files # 8 | ################## 9 | *.iml 10 | .idea 11 | */.idea 12 | 13 | ################# 14 | # eclipse files # 15 | ################# 16 | /.project 17 | /.classpath 18 | /.settings 19 | /.tern-project 20 | 21 | ################## 22 | # netbeans files # 23 | ################## 24 | /nb-configuration.xml 25 | 26 | ######################### 27 | # maven generated files # 28 | ######################### 29 | /target 30 | 31 | ############# 32 | # Zip files # 33 | ############# 34 | *.tar 35 | *.zip 36 | *.7z 37 | *.dmg 38 | *.gz 39 | *.iso 40 | *.jar 41 | *.rar 42 | 43 | ############## 44 | # Logs files # 45 | ############## 46 | *.log 47 | 48 | ################# 49 | # test-ng files # 50 | ################# 51 | /test-output 52 | 53 | ############################ 54 | # Binaries generated files # 55 | ############################ 56 | /bin 57 | 58 | ################ 59 | # gradle files # 60 | ################ 61 | /build 62 | /.gradle 63 | /gradle 64 | -------------------------------------------------------------------------------- /jaulp-wicket-dropdownchoices/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | 8 | de.alpharogroup 9 | jaulp-wicket 10 | 7.8.0 11 | 12 | 13 | jaulp-wicket-dropdownchoices 14 | jar 15 | ${project.artifactId} 16 | 17 | 18 | 19 | 20 | de.alpharogroup 21 | jaulp-wicket-components 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /jaulp-wicket-dropdownchoices/src/main/java/de/alpharogroup/wicket/components/i18n/dropdownchoice/panels/DoubleDropDownPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /jaulp-wicket-dropdownchoices/src/main/java/de/alpharogroup/wicket/components/i18n/dropdownchoice/panels/DropdownAutocompleteTextFieldPanel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /jaulp-wicket-dropdownchoices/src/main/java/de/alpharogroup/wicket/components/i18n/dropdownchoice/panels/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Provides specialized components like panels or fragments for dropdown choices. 10 | 11 | -------------------------------------------------------------------------------- /jaulp-wicket-dropdownchoices/src/main/java/de/alpharogroup/wicket/model/dropdownchoices/SelectOptionModel.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.model.dropdownchoices; 17 | 18 | import java.io.Serializable; 19 | 20 | import lombok.AllArgsConstructor; 21 | import lombok.Builder; 22 | import lombok.EqualsAndHashCode; 23 | import lombok.Getter; 24 | import lombok.NoArgsConstructor; 25 | import lombok.Setter; 26 | import lombok.ToString; 27 | 28 | /** 29 | * The Class {@link SelectOptionModel}. 30 | */ 31 | @Getter 32 | @Setter 33 | @EqualsAndHashCode 34 | @ToString 35 | @NoArgsConstructor 36 | @AllArgsConstructor 37 | @Builder(toBuilder = true) 38 | public class SelectOptionModel implements Serializable 39 | { 40 | 41 | /** The Constant serialVersionUID. */ 42 | private static final long serialVersionUID = -7091799192618838124L; 43 | 44 | /** The key. */ 45 | private String key; 46 | 47 | /** The value. */ 48 | private String value; 49 | 50 | } 51 | -------------------------------------------------------------------------------- /jaulp-wicket-dropdownchoices/src/main/java/de/alpharogroup/wicket/model/dropdownchoices/StringTwoDropDownChoicesModel.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) 2010 Asterios Raptis 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package de.alpharogroup.wicket.model.dropdownchoices; 17 | 18 | import java.util.List; 19 | import java.util.Map; 20 | 21 | /** 22 | * The Class {@link StringTwoDropDownChoicesModel}. 23 | * 24 | * @author Asterios Raptis 25 | */ 26 | public class StringTwoDropDownChoicesModel extends TwoDropDownChoicesModel 27 | { 28 | 29 | /** The Constant serialVersionUID. */ 30 | private static final long serialVersionUID = 1L; 31 | 32 | /** 33 | * Instantiates a new {@link StringTwoDropDownChoicesModel}. 34 | * 35 | * @param selectedTrademark 36 | * the selected trademark 37 | * @param modelsMap 38 | * the models map 39 | */ 40 | public StringTwoDropDownChoicesModel(final String selectedTrademark, 41 | final Map> modelsMap) 42 | { 43 | super(selectedTrademark, modelsMap); 44 | } 45 | 46 | } -------------------------------------------------------------------------------- /jaulp-wicket-dropdownchoices/src/main/java/de/alpharogroup/wicket/model/dropdownchoices/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | de.alpharogroup.wicket.model.dropdownchoices 6 | 7 | 8 | 9 | Provides models for dropdown choices. 10 | 11 | -------------------------------------------------------------------------------- /jaulp-wicket-dropdownchoices/src/main/resources/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) ${year} ${owner} 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. -------------------------------------------------------------------------------- /jaulp-wicket-dropdownchoices/src/main/resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 -------------------------------------------------------------------------------- /jaulp-wicket-dropdownchoices/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.appender.Stdout=org.apache.log4j.ConsoleAppender 2 | log4j.appender.Stdout.layout=org.apache.log4j.PatternLayout 3 | log4j.appender.Stdout.layout.conversionPattern=%-5p - %-26.26c{1} - %m\n 4 | 5 | log4j.rootLogger=INFO,Stdout 6 | 7 | log4j.logger.org.apache.wicket=INFO 8 | log4j.logger.org.apache.wicket.protocol.http.HttpSessionStore=INFO 9 | log4j.logger.org.apache.wicket.version=INFO 10 | log4j.logger.org.apache.wicket.RequestCycle=INFO 11 | 12 | 13 | -------------------------------------------------------------------------------- /jaulp-wicket-dropdownchoices/src/main/webapp/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /src/launch/jaulp-wicket clean deploy.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/launch/jaulp-wicket clean install.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/launch/jaulp-wicket eclipse clean eclipse eclipse clean install.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/launch/jaulp-wicket eclipse clean eclipse eclipse.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/launch/jaulp-wicket javadoc.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/launch/jaulp-wicket update-child-modules.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/launch/jaulp-wicket update-license-header.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/main/resources/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) ${year} ${owner} 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. -------------------------------------------------------------------------------- /src/main/resources/jaulp.wicket eclipse clean eclipse eclipse clean install.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.appender.Stdout=org.apache.log4j.ConsoleAppender 2 | log4j.appender.Stdout.layout=org.apache.log4j.PatternLayout 3 | log4j.appender.Stdout.layout.conversionPattern=%-5p - %-26.26c{1} - %m\n 4 | 5 | log4j.rootLogger=INFO,Stdout 6 | 7 | log4j.logger.org.apache.wicket=INFO 8 | log4j.logger.org.apache.wicket.protocol.http.HttpSessionStore=INFO 9 | log4j.logger.org.apache.wicket.version=INFO 10 | log4j.logger.org.apache.wicket.RequestCycle=INFO --------------------------------------------------------------------------------