Martin,
I could not find any help using this extension. May be I missed something
somewhere.
Let's look at a peice of code of what I am trying to do:
private void setScreen(String screen) {
try {
Panel myPanel;
myPanel = (Panel)
Foo.class.newInstance() will use zero arg constructor which is not
possible because
panel has no zero arg. constructor so basically you got the exception
at that line itself :)
just pass the panel id in screen method and one enum which helps you
in identifying the panel type you want to create
Vineet,
thank you for replying.
I don't think this is the issue, because the panels I am creating, have
their Id's set directly in the constructor. For example,
public EditUserScreen(){
super(workScreen);
setOutputMarkupPlaceholderTag(true);
setOutputMarkupId(true);
}
And basically
sorry i wrongly assumed you might not have defined zero arg constructor..
you dont need setOutputMarkupId(true) as you are already using
setOutputMarkupPlaceholderTag(true)
and yes you are using replacewith correctly ,i dont think there is any
problem in this code..
On Sun, Mar 27, 2011 at
Hello Vineet,
I resolved the issue. I didn't add the panel to the Ajax request target.
So
ajaxRequestTarget.add(currentPanel);
solved the issue.
Thank you.
On Sun Mar 27,2011 02:50 pm, vineet semwal wrote:
sorry i wrongly assumed you might not have defined zero arg constructor..
you
See Wizard component in wicket-extensions.
You'll need custom logic to check whether the previous/next wizard step
should be shown to the current user depending on its privileges.
On Fri, Mar 25, 2011 at 1:57 AM, Mansour Al Akeel mansour.alak...@gmail.com
wrote:
I do have the need to implement
Thank you Martin,
I had a quick look at extension. I will try a small application with it
soon. However my requirement are a bit more complex, as I need to load
Panels by string. So let's say I have a String called EditUserScreen,
then I need to dynamically load this panel. I am not sure yet if