Re: image folder causes ClassNotFoundException

2012-08-31 Thread Sven Meier
Do you have a stacktrace?

Sven

goyahklah gerhard.ruthm...@gmail.com schrieb:

Hello guys,

I have a problem, which is caused by the AuthorizationStrategy (I think so)

I have created an interface for the Pages, which are accessible only after
login:
Interface: AuthenticatedWebPage

When I try to access a Page, which implements AuthenticatedWebPage, the
*folder* where I have located some images causes a ClassNotFoundException.
The folder lies in the webapp folder. 
After the login, it doesn't make problems.

Any ideas?
More informations needed.
Thanks a lot


In my Application I have this code

getSecuritySettings().setAuthorizationStrategy(new IAuthorizationStrategy()
{
   public boolean isActionAuthorized(Component component, 
 Action action) {
   // authorize everything
   return true;
   }

   public T extends IRequestableComponent boolean
isInstantiationAuthorized(ClassT componentClass) {
   if 
 (AuthenticatedWebPage.class.isAssignableFrom(componentClass)) {
   if (((SignInSession) 
 Session.get()).isSignedIn()) {
   return true;
   }
   throw new
RestartResponseAtInterceptPageException(getApplicationSettings().getAccessDeniedPage());
   }

   return true;
   }
   });






--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/image-folder-causes-ClassNotFoundException-tp4651644.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket 6 and Atmosphere framework integration

2012-08-31 Thread esajjkh
Hello Martin,
I have never did it before, can you please help me how I can do that? thank
you



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-6-and-Atmosphere-framework-integration-tp4651637p4651670.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket 6 and Atmosphere framework integration

2012-08-31 Thread Martin Grigorov
http://wicket.apache.org/start/quickstart.html
http://wicket.apache.org/help/

On Fri, Aug 31, 2012 at 10:29 AM, esajjkh programmer.saj...@gmail.com wrote:
 Hello Martin,
 I have never did it before, can you please help me how I can do that? thank
 you



 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Wicket-6-and-Atmosphere-framework-integration-tp4651637p4651670.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Performance tuning Wicket[1.5]...

2012-08-31 Thread Alex Shubert
Maybe bottleneck is somewhere else? SQL request maybe? Some eager loading...

On 29 August 2012 10:31, nino martinez wael
nino.martinez.w...@gmail.com wrote:
 A little feedback. First I tried visualVM (did not provide enough detail
 for this extreme optimization), then jprofiler (had trouble getting it to
 work), but yourkit gave the best result. However there was little I could
 do, other than removing an unnecessary filter (character encoding fix for
 tomcat/wicket).. Other than that there werent many hotspots.

 regards Nino

 2012/8/27 nino martinez wael nino.martinez.w...@gmail.com

 Yup, I'll do that another round.. Although I'll use visualvm...


 2012/8/27 Martin Grigorov mgrigo...@apache.org

 Fire Yourkit/JProfiler and see what they say.

 On Mon, Aug 27, 2012 at 2:45 PM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
  Hi
 
  Im seeing a load on our server.
 
  Tried these settings in wicketapplication:
 
  getPageSettings().setVersionPagesByDefault(false);
  getStoreSettings().setInmemoryCacheSize(200);
  And in our MainPage:
  setVersioned(false);
 
  All of our services are being cached, so it's not the backend thats the
  problem.. Im using LDM's everywhere.
 
  Our main page are using ajax to refresh itself. And load
  turns linearly bad, until max load on somewhere around 100 sessions.
 
  Memory are not a problem, wicket app uses very little around 100 mb and
  server has 4gb. CPU are a AMD opteron 2.2 ghz.
 
 
  --
  Best regards / Med venlig hilsen
  Nino Martinez



 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 Best regards / Med venlig hilsen
 Nino Martinez




 --
 Best regards / Med venlig hilsen
 Nino Martinez



-- 
Best regards
Alexandr

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Performance tuning Wicket[1.5]...

2012-08-31 Thread nino martinez wael
No what I meant was that the system er performing as good as it can,
without clustering etc. There weren't much stuff to optimize on.

2012/8/31 Alex Shubert alex.shub...@gmail.com

 Maybe bottleneck is somewhere else? SQL request maybe? Some eager
 loading...

 On 29 August 2012 10:31, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
  A little feedback. First I tried visualVM (did not provide enough detail
  for this extreme optimization), then jprofiler (had trouble getting it
 to
  work), but yourkit gave the best result. However there was little I could
  do, other than removing an unnecessary filter (character encoding fix for
  tomcat/wicket).. Other than that there werent many hotspots.
 
  regards Nino
 
  2012/8/27 nino martinez wael nino.martinez.w...@gmail.com
 
  Yup, I'll do that another round.. Although I'll use visualvm...
 
 
  2012/8/27 Martin Grigorov mgrigo...@apache.org
 
  Fire Yourkit/JProfiler and see what they say.
 
  On Mon, Aug 27, 2012 at 2:45 PM, nino martinez wael
  nino.martinez.w...@gmail.com wrote:
   Hi
  
   Im seeing a load on our server.
  
   Tried these settings in wicketapplication:
  
   getPageSettings().setVersionPagesByDefault(false);
   getStoreSettings().setInmemoryCacheSize(200);
   And in our MainPage:
   setVersioned(false);
  
   All of our services are being cached, so it's not the backend thats
 the
   problem.. Im using LDM's everywhere.
  
   Our main page are using ajax to refresh itself. And load
   turns linearly bad, until max load on somewhere around 100 sessions.
  
   Memory are not a problem, wicket app uses very little around 100 mb
 and
   server has 4gb. CPU are a AMD opteron 2.2 ghz.
  
  
   --
   Best regards / Med venlig hilsen
   Nino Martinez
 
 
 
  --
  Martin Grigorov
  jWeekend
  Training, Consulting, Development
  http://jWeekend.com
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
  --
  Best regards / Med venlig hilsen
  Nino Martinez
 
 
 
 
  --
  Best regards / Med venlig hilsen
  Nino Martinez



 --
 Best regards
 Alexandr

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Best regards / Med venlig hilsen
Nino Martinez


Re: Performance tuning Wicket[1.5]...

2012-08-31 Thread Thomas Götz
Hm, Java leap second bug? 
http://blog.wpkg.org/2012/07/01/java-leap-second-bug-30-june-1-july-2012-fix/

   -Tom


On 31.08.2012, at 12:19, nino martinez wael nino.martinez.w...@gmail.com 
wrote:

 No what I meant was that the system er performing as good as it can,
 without clustering etc. There weren't much stuff to optimize on.
 
 2012/8/31 Alex Shubert alex.shub...@gmail.com
 
 Maybe bottleneck is somewhere else? SQL request maybe? Some eager
 loading...
 
 On 29 August 2012 10:31, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
 A little feedback. First I tried visualVM (did not provide enough detail
 for this extreme optimization), then jprofiler (had trouble getting it
 to
 work), but yourkit gave the best result. However there was little I could
 do, other than removing an unnecessary filter (character encoding fix for
 tomcat/wicket).. Other than that there werent many hotspots.
 
 regards Nino
 
 2012/8/27 nino martinez wael nino.martinez.w...@gmail.com
 
 Yup, I'll do that another round.. Although I'll use visualvm...
 
 
 2012/8/27 Martin Grigorov mgrigo...@apache.org
 
 Fire Yourkit/JProfiler and see what they say.
 
 On Mon, Aug 27, 2012 at 2:45 PM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
 Hi
 
 Im seeing a load on our server.
 
 Tried these settings in wicketapplication:
 
 getPageSettings().setVersionPagesByDefault(false);
 getStoreSettings().setInmemoryCacheSize(200);
 And in our MainPage:
 setVersioned(false);
 
 All of our services are being cached, so it's not the backend thats
 the
 problem.. Im using LDM's everywhere.
 
 Our main page are using ajax to refresh itself. And load
 turns linearly bad, until max load on somewhere around 100 sessions.
 
 Memory are not a problem, wicket app uses very little around 100 mb
 and
 server has 4gb. CPU are a AMD opteron 2.2 ghz.
 
 
 --
 Best regards / Med venlig hilsen
 Nino Martinez
 
 
 
 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
 --
 Best regards / Med venlig hilsen
 Nino Martinez
 
 
 
 
 --
 Best regards / Med venlig hilsen
 Nino Martinez
 
 
 
 --
 Best regards
 Alexandr
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
 -- 
 Best regards / Med venlig hilsen
 Nino Martinez


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Performance tuning Wicket[1.5]...

2012-08-31 Thread nino martinez wael
Nope this was just the app taking much resources.. It scales linearly with
number of sessions. Im using ajax on the main page, otherwise I would have
tried to make it stateless.

2012/8/31 Thomas Götz t...@decoded.de

 Hm, Java leap second bug?

 http://blog.wpkg.org/2012/07/01/java-leap-second-bug-30-june-1-july-2012-fix/

-Tom


 On 31.08.2012, at 12:19, nino martinez wael nino.martinez.w...@gmail.com
 wrote:

  No what I meant was that the system er performing as good as it can,
  without clustering etc. There weren't much stuff to optimize on.
 
  2012/8/31 Alex Shubert alex.shub...@gmail.com
 
  Maybe bottleneck is somewhere else? SQL request maybe? Some eager
  loading...
 
  On 29 August 2012 10:31, nino martinez wael
  nino.martinez.w...@gmail.com wrote:
  A little feedback. First I tried visualVM (did not provide enough
 detail
  for this extreme optimization), then jprofiler (had trouble getting
 it
  to
  work), but yourkit gave the best result. However there was little I
 could
  do, other than removing an unnecessary filter (character encoding fix
 for
  tomcat/wicket).. Other than that there werent many hotspots.
 
  regards Nino
 
  2012/8/27 nino martinez wael nino.martinez.w...@gmail.com
 
  Yup, I'll do that another round.. Although I'll use visualvm...
 
 
  2012/8/27 Martin Grigorov mgrigo...@apache.org
 
  Fire Yourkit/JProfiler and see what they say.
 
  On Mon, Aug 27, 2012 at 2:45 PM, nino martinez wael
  nino.martinez.w...@gmail.com wrote:
  Hi
 
  Im seeing a load on our server.
 
  Tried these settings in wicketapplication:
 
  getPageSettings().setVersionPagesByDefault(false);
  getStoreSettings().setInmemoryCacheSize(200);
  And in our MainPage:
  setVersioned(false);
 
  All of our services are being cached, so it's not the backend thats
  the
  problem.. Im using LDM's everywhere.
 
  Our main page are using ajax to refresh itself. And load
  turns linearly bad, until max load on somewhere around 100 sessions.
 
  Memory are not a problem, wicket app uses very little around 100 mb
  and
  server has 4gb. CPU are a AMD opteron 2.2 ghz.
 
 
  --
  Best regards / Med venlig hilsen
  Nino Martinez
 
 
 
  --
  Martin Grigorov
  jWeekend
  Training, Consulting, Development
  http://jWeekend.com
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
  --
  Best regards / Med venlig hilsen
  Nino Martinez
 
 
 
 
  --
  Best regards / Med venlig hilsen
  Nino Martinez
 
 
 
  --
  Best regards
  Alexandr
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
  --
  Best regards / Med venlig hilsen
  Nino Martinez


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Best regards / Med venlig hilsen
Nino Martinez


Re: Jqwicket

2012-08-31 Thread Alex
Wicket 6.0 has jQuery support by its own.

2012/8/30 Pierre Goupil goupilpie...@gmail.com

 Good evening,

 I have two simple questions regarding jqwicket:

 - are there any plans for Wicket 6.0? Or even a work in progress?

 - does it have a Git repository? Or is it just using SVN?

 Regards,

 Pierre



RE: override wicket mark up

2012-08-31 Thread Paul Bors
Have you checked the wiki page on the View Layer?
https://cwiki.apache.org/WICKET/view-layer.html

In your original e-mail you showed the following Wicket component tree:

[Panel let's call it TogglePanel.java]
  - propertyValue (let's call it ReadOnlyPanel.java)
- label
- label

And I believe you wanted to override it with the following Wicket
component tree:

[Panel]
  - propertyValue (let's call it EditGroupPanel.java)
- adminGroupTabs
  - adminGroupTabLink
- label
- adminGroupView
  - value

Obviously this is *not* an override, but a full replacement.
A true override would preserve the same Wicket component tree but replace
the HTML (ie: presentation layer) and your Java class would extend from the
class that's overriding and call super with not too much other work to do.

You got lucky because your panel in this case has a root component id of
propertyValue.

Thus all you would have to do is use the addOrReplace() inside the
TogglePanel.java and toggle the panel that will be added:
if(isReadOnly) {
  addOrReplace(new ReadOnlyPanel(propertyValue));
} else {
  addOrReplace(new EditGroupPanel(propertyValue));
}

For the JavaDoc on addOrReplace see:
http://wicket.apache.org/apidocs/1.5/org/apache/wicket/MarkupContainer.html#
addOrReplace(org.apache.wicket.Component...)

~ Thank you,
  Paul Bors

-Original Message-
From: ramlael [mailto:grambab...@gmail.com] 
Sent: Thursday, August 30, 2012 5:10 AM
To: users@wicket.apache.org
Subject: Re: override wicket mark up

Hi Martin,

Once I call super(model) in extended class, its expecting markup
(wicket:ids) should be in same order.

Please can you provide sample code, how the replace or replaceWith will
work.

Regards,
Rambabu



--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/override-wicket-mark-up-tp4651624
p4651640.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: override wicket mark up

2012-08-31 Thread Paul Bors
I just run into a use-case of addOrRemove() just now while refactoring some
code to support Accessibility and I through you might want to see some code
snippets:

ConfirmMessagePanel.html
...
form wicket:id=form
table width=100% height=200px
tr
td class=infobox align=center colspan=2
span wicket:id=iconimg
src=../../../../../../../../../../../../../src/web/images/help.gif//span
nbsp;nbsp;span class=infobox wicket:id=message[[message]]/span
/td
/tr
...

ConfirmMessagePanel.java
...
public ConfirmMessagePanel(String id, IModelString confirmMessageModel,
IModelString confirmBtnModel, IModelString cancelBtnModel) {
super(id);
form = new FormVoid(form);
form.add(new IconPanel(icon, TYPE.Help));
...

InfoMessagePanel extends ConfirmMessagePanel and this is how it looks like:

InfoMessagePanel.html (not too many changes here in this simple example, but
this can have other components added especially if you use wicket:extend
/)
...
form wicket:id=form
table width=100% height=200px
tr
td class=infobox align=center
span wicket:id=iconimg
src=../../../../../../../../../../../../../src/web/images/info.gif//span
nbsp;nbsp;span class=infobox wicket:id=message[[Info
Message]]/span
/td
/tr
...

InfoMessagePanel.java
...
public InfoMessagePanel(String id, IModelString message, IModelString
cancelBtnModel) {
super(id, message, cancelBtnModel, cancelBtnModel);
getForm().addOrReplace(new IconPanel(icon, TYPE.Info));
setConfirmationButtonVisible(false); // my own method not a Wiki one
}
...

Rambabu, I hope this feed your appetite :)

~ Thank you,
  Paul Bors

-Original Message-
From: Paul Bors [mailto:p...@bors.ws] 
Sent: Friday, August 31, 2012 12:03 PM
To: users@wicket.apache.org
Subject: RE: override wicket mark up

Have you checked the wiki page on the View Layer?
https://cwiki.apache.org/WICKET/view-layer.html

In your original e-mail you showed the following Wicket component tree:

[Panel let's call it TogglePanel.java]
  - propertyValue (let's call it ReadOnlyPanel.java)
- label
- label

And I believe you wanted to override it with the following Wicket
component tree:

[Panel]
  - propertyValue (let's call it EditGroupPanel.java)
- adminGroupTabs
  - adminGroupTabLink
- label
- adminGroupView
  - value

Obviously this is *not* an override, but a full replacement.
A true override would preserve the same Wicket component tree but replace
the HTML (ie: presentation layer) and your Java class would extend from the
class that's overriding and call super with not too much other work to do.

You got lucky because your panel in this case has a root component id of
propertyValue.

Thus all you would have to do is use the addOrReplace() inside the
TogglePanel.java and toggle the panel that will be added:
if(isReadOnly) {
  addOrReplace(new ReadOnlyPanel(propertyValue)); } else {
  addOrReplace(new EditGroupPanel(propertyValue)); }

For the JavaDoc on addOrReplace see:
http://wicket.apache.org/apidocs/1.5/org/apache/wicket/MarkupContainer.html#
addOrReplace(org.apache.wicket.Component...)

~ Thank you,
  Paul Bors

-Original Message-
From: ramlael [mailto:grambab...@gmail.com]
Sent: Thursday, August 30, 2012 5:10 AM
To: users@wicket.apache.org
Subject: Re: override wicket mark up

Hi Martin,

Once I call super(model) in extended class, its expecting markup
(wicket:ids) should be in same order.

Please can you provide sample code, how the replace or replaceWith will
work.

Regards,
Rambabu



--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/override-wicket-mark-up-tp4651624
p4651640.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Back button doesn't work with AjaxTabbedPanel

2012-08-31 Thread Alec Swan
So, is there an easy way to support Back button with AjaxTabbedPanel?

On Thu, Aug 30, 2012 at 1:04 PM, Alec Swan alecs...@gmail.com wrote:
 Well, I have other ajax interactions and I thought if I could fix Back
 button for AjaxTabbedPanel I'd be able to fix it for other ajax
 interactions.

 On Thu, Aug 30, 2012 at 12:51 PM, Sven Meier s...@meiers.net wrote:
 Silly question: Why don't you use a non-Ajax Tabbedpanel?

 Sven


 On 08/30/2012 08:45 PM, Alec Swan wrote:

 What can I do to allow user to go back to the previously selected tab
 with a Back button? I tried the following approach but it doesn't seem
 to work:
 http://grepcode.com/file/repo1.maven.org/maven2/org.wicketstuff/jquery-examples/1.4.7/org/wicketstuff/jquery/ajaxbackbutton/Page4AjaxBackButton.java

 On Thu, Aug 30, 2012 at 12:36 PM, Sven Meier s...@meiers.net wrote:

 Swapping components via Ajax will not change the browser's page history.
 Thus the Back button works as expected - it takes you to the previous
 url.

 Sven


 On 08/30/2012 07:55 PM, Alec Swan wrote:

 Hello,

 I am using AjaxTabbedPanel to implement an ajax-swappable menu on the
 Main page which is mounted with mountBookmarkablePage. For some reason
 the Back button in the browser  does not take the user to the
 previously selected tab. It takes them out to the page which was shown
 before user saw Main page for the first time.

 Should I be expecting the Back button to work on AjaxTabbedPanel? If
 so, why wouldn't it be working?

 Thanks,

 Alec

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Back button doesn't work with AjaxTabbedPanel

2012-08-31 Thread Paul Bors
Can't you just keep a reference to the backPage and then simply call
setResponsePage(backPage)?

~ Thank you,
  Paul Bors

-Original Message-
From: Alec Swan [mailto:alecs...@gmail.com] 
Sent: Friday, August 31, 2012 7:07 PM
To: users@wicket.apache.org
Subject: Re: Back button doesn't work with AjaxTabbedPanel

So, is there an easy way to support Back button with AjaxTabbedPanel?

On Thu, Aug 30, 2012 at 1:04 PM, Alec Swan alecs...@gmail.com wrote:
 Well, I have other ajax interactions and I thought if I could fix Back 
 button for AjaxTabbedPanel I'd be able to fix it for other ajax 
 interactions.

 On Thu, Aug 30, 2012 at 12:51 PM, Sven Meier s...@meiers.net wrote:
 Silly question: Why don't you use a non-Ajax Tabbedpanel?

 Sven


 On 08/30/2012 08:45 PM, Alec Swan wrote:

 What can I do to allow user to go back to the previously selected 
 tab with a Back button? I tried the following approach but it 
 doesn't seem to work:
 http://grepcode.com/file/repo1.maven.org/maven2/org.wicketstuff/jque
 ry-examples/1.4.7/org/wicketstuff/jquery/ajaxbackbutton/Page4AjaxBac
 kButton.java

 On Thu, Aug 30, 2012 at 12:36 PM, Sven Meier s...@meiers.net wrote:

 Swapping components via Ajax will not change the browser's page
history.
 Thus the Back button works as expected - it takes you to the 
 previous url.

 Sven


 On 08/30/2012 07:55 PM, Alec Swan wrote:

 Hello,

 I am using AjaxTabbedPanel to implement an ajax-swappable menu on 
 the Main page which is mounted with mountBookmarkablePage. For 
 some reason the Back button in the browser  does not take the user 
 to the previously selected tab. It takes them out to the page 
 which was shown before user saw Main page for the first time.

 Should I be expecting the Back button to work on AjaxTabbedPanel? 
 If so, why wouldn't it be working?

 Thanks,

 Alec

 --
 --- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 ---
 -- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org

 
 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



works in ff/chrome/safari but not IE

2012-08-31 Thread mlabs
simple form
AjaxButton for the submit button
OnSubmit() gets hit in the debugger for FF/chrome/safari, but NOT for IE9

any ideas?

TIA



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/works-in-ff-chrome-safari-but-not-IE-tp4651682.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: size method is being called multiple times in dataview

2012-08-31 Thread kshitiz
Hi,

Sorry for replying late ..:(...I am using wicket 1.5. I dont know what
causing this issue...but I am looking for other way around to solve my
purpose...



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/size-method-is-being-called-multiple-times-in-dataview-tp4651666p4651683.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: works in ff/chrome/safari but not IE

2012-08-31 Thread Martin Grigorov
Try with: form.setDefaultButton(theAjaxButton).

On Sat, Sep 1, 2012 at 4:40 AM, mlabs mlabs@gmail.com wrote:
 simple form
 AjaxButton for the submit button
 OnSubmit() gets hit in the debugger for FF/chrome/safari, but NOT for IE9

 any ideas?

 TIA



 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/works-in-ff-chrome-safari-but-not-IE-tp4651682.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org