Questions tagged [wicket-7]

83 questions
0
votes
2 answers

Wicket dynamic ListView - default item won't get updated by Ajax

I have a ListView starting with one item being displayed, where I append every new item with an AjaxSubmitLink, which works fine. Inside the ListView I have two DropDownChoices, the first triggering the choices of the second via…
mvheyl
  • 1
  • 1
  • 4
0
votes
0 answers

WildFly 12 Wicket 7.10 - Why does only the first thread have access to Application?

Each request attempts to create new instances of Singletons, which fail because they use Application.get() which fails with error: There is no application attached to current thread default Same code works in WildFly 8.2 and Wicket 6.20. So two…
Roberto Murphy
  • 456
  • 5
  • 15
0
votes
2 answers

Is there a method of BreadCrumbBar I can overload to add an extra Component to be refreshed?

I have a wicket page with a data panel that makes use of the BreadCrumbBar (org.apache.wicket.extensions.breadcrumb). If I go down a level a new breadcrumb is automatically added and the data panel is refreshed. If I click on one of the previous…
0
votes
1 answer

Java Wicket 7 can't use addKey(String key) method

in wicket 7 addKeyMessage(String key) method is deprecated from IValidationError interface. What I can use instead of this?
Sharofiddin
  • 340
  • 2
  • 14
0
votes
1 answer

Display feedback within modalwindow before close

Given the following structure within a ModalWindow I like to make use of the forms toastfeedback panel to display feedback messages before closing the ModalWindow, so i don't have to delegate them to a parent container: ModalWindow └─ Content └─…
Imperative
  • 3,138
  • 2
  • 25
  • 40
0
votes
1 answer

Is passing objects to constructor better left as object or as serialized object in pageparameters?

I need to pass an object A to a constructor of class B. Usually its best practice to use Wickets PageParameters class to pass arguments, but PageParameters saves its parameter values as Strings, so an error accurs if the object is passed as it is. A…
melanzane
  • 483
  • 1
  • 6
  • 16
0
votes
1 answer

Check which Button is active in Wicket

I have a ListView. This is the populateItem-Method: @Override protected void populateItem(ListItem test) { // TODO Auto-generated method stub Test t = test.getModelObject(); IndicatingAjaxFallbackLink link = new…
greedsin
  • 1,252
  • 1
  • 24
  • 49
0
votes
1 answer

Apache Wicket - Forms

Hello I am new to Apache Wicket, can someone help me find some documentation or examples related to Apache Wicket Forms where I can navigate between a flow of screens having Text fields, Drop downs, Back and Next button. I tried a simple example…
Bhagat
  • 11
  • 3
0
votes
0 answers

@Interceptors ignored in Wicket subclass WebPage

I have an external CDI Component (jee6) which I use as a Maven dependency. This component contains an Object A , which when Injected in a subclass from a Wicket WebPage works as expected. So far So good. This CDI component also provides some…
Bgvv1983
  • 1,256
  • 1
  • 13
  • 27
0
votes
1 answer

Wicket AjaxEventBehavior with History API

I am using Wicket 7.x with the History API. I am currently trying to wire up an AjaxEventBehavior for "onpopstate". I have code that adds an object whenever I do history.pushState, my problem is I can't access this extra information from the Java…
Greg
  • 3
  • 1
0
votes
1 answer

Wicket: Create control that swaps between a TextBox and a Label

I have a Panel that has an edit state and a view state. I need a control that swaps between TextField and Label based on the Panel's state. For example, in edit state the Panel would display as a TextField and the same field would display as a Label…
JeredM
  • 897
  • 1
  • 14
  • 25
0
votes
1 answer

A generic internal error page should be shown when an unexpected exception is thrown in wicket6.x or wicket7.7?

protected void init() { getApplicationSettings().setInternalErrorPage(BnafInternalErrorPage.class); getApplicationSettings().setPageExpiredErrorPage(BnafAccessDeniedErrorPage.class); …
0
votes
0 answers

Replacement of SimpleAttributeModifier in wicket 6.x or 7.x

I came to know SimpleAttributeModifier is depricated in wicket 1.5,So i tried to write below code in new version of wicket WebMarkupContainer expHidden = new WebMarkupContainer("exp"); expHidden.add(new SimpleAttributeModifier("value",…
S.P. ROOPESH
  • 65
  • 11
0
votes
1 answer

isTransparentResolver() in wicket 6.x or 7.x

I have below code need to change it to wicket 6.6, but isTransparentResolver() is removed and I am trying according to this link https://www.mail-archive.com/commits@wicket.apache.org/msg17546.html but no use, anybody have solution for below…
S.P. ROOPESH
  • 65
  • 11
0
votes
1 answer

PageMap in wicket 6.x or 7.x

I am trying to convert below code into wicket 6.x, But I am unable to find some required methods, does anybody have any solution for this? PopupSettings popupSettings = new PopupSettings(PageMap.forName("popuppagemap"),…
S.P. ROOPESH
  • 65
  • 11