How to test AjaxFormChoiceComponentUpdatingBehavior for Radio Button

2009-02-04 Thread techisbest

I have a RadioGroup with two Radio buttons inside a Form in a Panel.  I have
created an AjaxFormChoiceComponentUpdatingBehavior that has been added to
the RadioGroup.  This behavior is working fine and I am able to update my
Session with the new values when the user switches between the Radio
buttons.

I am having difficulty creating a Wicket test for this behavior.  I can not
seem to invoke the behavior when selecting a new button via the FormTester
for the panel containing the form.  I saw one thread here that suggested (by
the user asking the original question) using
tester.getLastRenderedPage().getBehaviors() to get at the behavior I want to
execute via tester.executeBehavior.  But the getBehaviors method is
returning an empty list.

Can someone please tell me how to test this behavior?
-- 
View this message in context: 
http://www.nabble.com/How-to-test-AjaxFormChoiceComponentUpdatingBehavior-for-Radio-Button-tp21833782p21833782.html
Sent from the Wicket - User 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



UploadProgressBar does not work in Safari browser?

2009-01-20 Thread techisbest

The UploadProgressBar does not seem to update in Safari Ver. 3.1.1 (525.17).

The bar shows up, but it never updates.

It is working in IE and Firefox.

Has anyone else experienced this?
-- 
View this message in context: 
http://www.nabble.com/UploadProgressBar-does-not-work-in-Safari-browser--tp21571997p21571997.html
Sent from the Wicket - User 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: getHttpsPort method

2008-12-11 Thread techisbest

Well that was an embarrassing post.

I noted the following below the code at that site:
There are 2 important pieces of configuration that will change based on your
environment.

1. SSL Port: There is no way to determine the SSL port being used via the
servlet spec API, so this needs to be set manually. Grab the SSL port from
your configuration. (Or better yet, set it with Spring in your
applicationContext.xml from a properties file)

(The embarrassing part was suggesting using the request's URL to get the
port when it is the port that needs to be changed based on the page type.)



techisbest wrote:
> 
> The information at this page:
> http://cwiki.apache.org/WICKET/how-to-switch-to-ssl-mode.html
> 
> includes the following:
> MyApplication.get().getHttpsPort()
> 
> Does anyone know where this getHttpsPort method went?  Or do I simply use
> the WebRequest to get the URL and use that to get the port?
> 

-- 
View this message in context: 
http://www.nabble.com/getHttpsPort-method-tp20964778p20964975.html
Sent from the Wicket - User 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



getHttpsPort method

2008-12-11 Thread techisbest

The information at this page:
http://cwiki.apache.org/WICKET/how-to-switch-to-ssl-mode.html

includes the following:
MyApplication.get().getHttpsPort()

Does anyone know where this getHttpsPort method went?  Or do I simply use
the WebRequest to get the URL and use that to get the port?
-- 
View this message in context: 
http://www.nabble.com/getHttpsPort-method-tp20964778p20964778.html
Sent from the Wicket - User 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