is there a way to test Pages that have the @RequireHttps annotation?
You can try http://wicketpagetest.sourceforge.net which should support
https testing.
--
Kent Tong
Useful FREE software at http://www2.cpttm.org.mo/cyberlab/freeware
Page page = new Wicket.createPageSomeHow(pageStr);
Try reflection, e.g. Class.forName(pageStr).newInstance() for using a
parameterless constructor.
- Tor Iver
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For
Hi all,
Can anyone recommends a scripting language that can be used with Wicket for
productivity?
Regards,
James
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Scripting-language-tp2402957p2402957.html
Sent from the Wicket - User mailing list archive at
I am having a problem that my DropDownChoice is not selecting the item I
expect, only Choose one. Here is the code:
...
private ListLong accountList = new ArrayListLong();
private Long selectedAccount;
public AccountsDropDownChoice(String id, final Component component) {
super(id);
Should be working fine.
Are you sure you're showing the actual code, i.e. accountList vs
accountsList ?
BTW are you accounts really just represented as Longs?
Regards
Sven
On 09/01/2010 01:15 PM, drf wrote:
I am having a problem that my DropDownChoice is not selecting the item I
expect,
Thanks
No, it does not appear to be working
I have an Account object, but for the dropdown display I am just
extracting a list of Long values. Is that the correct thing to do?
The accountList v accountsList is just a typing error in the email
On Wed, Sep 1, 2010 at 2:26 PM, Sven Meier [via
So, just use reflection.
OK. I thought there might have been some Wicket oriented utility. But
I am OK with reflection.
-Original Message-
From: Wilhelmsen Tor Iver [mailto:toriv...@arrive.no]
Sent: Wednesday, September 01, 2010 4:03 AM
To: users@wicket.apache.org
Cc: Berlin Brown
I found solution for Glassfish
just write sun-web.xml this
?xml version=1.0 encoding=UTF-8?
!DOCTYPE sun-web-app PUBLIC -//Sun Microsystems, Inc.//DTD Application
Server 8.1 Servlet 2.4//EN
http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-1.dtd;
sun-web-app error-url=
We have this code working on jetty but not working on Tomcat. I was
thinking there might have been a serialization issue where code is
serialized on the server and the class data doesn't get updated. Is it
possible that class files are serialized on the Server. How would I
check where Wicket
Consider this javascript generated by AjaxFallbackLink:
wicketShow('overlapping-div');var
wcall=wicketAjaxGet('../../?x=Gusbl7hNSWOo5OPifLRHlQ',function() {
;wicketHide('overlapping-div');}.bind(this),function() {
;wicketHide('overlapping-div');}.bind(this), function() {return
Wicket.$('link8f')
Use setResponsePage(newPageClassName(params));
params depends on the Constructor of the WebPage class extension.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Dynamically-invoke-a-page-object-Reflection-tp2402302p2403066.html
Sent from the Wicket - User mailing
Hi all,
We have few radio buttons put in a form in a modal window. And we have a
problem with them.
When IN IE6 form in modal window is submitted we always get firstly added
radio button to the group.
...
From form = new Form(form, new CompoundPropertyModel(new SearchModel()));
add(form);
Hello,
You should use a DropDownChoiceAccount and use the constructor that
takes an IChoiceRendererAccount which allows you to define:
1. the text that is output for the account
2. the value that is output in the html for the account. This would be
the place to pull out the long.
I think
Mike
Thanks - not sure if the problem is with the fact that the code is in the
constructor:
1) the In Action book seems to setup dropdowns ect in the constructor -
where else would I define the drop down?
2) the debugger and syout both show that selectedAccount has the correct
value prior to
It depends, what do you want to do.
If you want to develop your site in some scripting language, then use
php or rails instead.
I have seen groovy in some projects build scripts.
Sigmar
On Wed, Sep 1, 2010 at 2:10 PM, james yong i_yon...@yahoo.com.sg wrote:
Hi all,
Can anyone recommends a
Hi,
your dropdown accesses the selected account via a model, so it should
work regardless when you initialize the selectedAccount variable.
Put a breakpoint on that line and check the return value of
getDefaultAccount().
BTW using ModelAccount and IChoiceRenderer gives you some advantages
I want to notify clients about their session timeout.If the user is idle and
his session is about to expire I want to warn users about this , can I do
this with wicket-cometd ?
--
View this message in context:
https://cwiki.apache.org/WICKET/wicket-15-ajax.html
On Wed, Sep 1, 2010 at 9:32 AM, Vladimir Kovalyuk koval...@gmail.com wrote:
Consider this javascript generated by AjaxFallbackLink:
wicketShow('overlapping-div');var
wcall=wicketAjaxGet('../../?x=Gusbl7hNSWOo5OPifLRHlQ',function() {
You indeed can use wicket-cometd on that, but why not setting a simple
Javascript timer on the page (set to your server-timeout configuratin) which
get reset on user interaction.
On Wed, Sep 1, 2010 at 11:21 AM, fachhoch [via Apache Wicket]
have a breakpoint on that line -
getDefaultAccount returns what I expect
On Wed, Sep 1, 2010 at 5:21 PM, Sven Meier [via Apache Wicket]
ml-node+2403250-1365512862-65...@n4.nabble.com wrote:
Hi,
your dropdown accesses the selected account via a model, so it should
work regardless when you
Mike may have been referring to the usage of this when he was
talking about the constructor. I create drop downs in constructors
with no issue, I have not however used a this with a property model.
Wild guess: possibly java is in the process of constructing the
object, but DropDownChoice cannot
I can do that, do you have any examples for java script notification when
session is about to timeoout ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/session-timeout-notification-using-cometd-tp2403249p2403332.html
Sent from the Wicket - User mailing list archive
You might want to try Scala/Wicket. Do some googling for Scala AND Wicket.
On Wed, Sep 1, 2010 at 7:10 AM, james yong i_yon...@yahoo.com.sg wrote:
Hi all,
Can anyone recommends a scripting language that can be used with Wicket for
productivity?
Regards,
James
--
View this message in
Of course you can use this inside the constructor.
I've thrown together the following example and it works (of course):
public class AccountPage extends WebPage
{
private ListLong accountList = new ArrayListLong();
private Long selectedAccount;
public AccountPage()
{
-1
On Wed, Aug 11, 2010 at 8:35 PM, Martin Grigorov mgrigo...@apache.orgwrote:
Hi,
I just created a ticket (https://issues.apache.org/jira/browse/WICKET-2976
)
to remove the support for Portlets in Wicket 1.5.
It is currently broken because of the re-work of WicketFilter and request
Usually -1 votes should be accompanied by a justification if you want
them to be considered seriously. Why are you voting -1?
On Wed, Sep 1, 2010 at 11:06 AM, Paul Szulc paul.sz...@gmail.com wrote:
-1
On Wed, Aug 11, 2010 at 8:35 PM, Martin Grigorov mgrigo...@apache.orgwrote:
Hi,
I just
Here is a very rough example, keep in mind there a several factors that
can reset the timeout to happen in the server and then you need to reset
your timer in the client, the most troublesome to handle are ajax
interaction and iframe.
So assuming you don't have any ajax component or iframe on
On Wed, Sep 1, 2010 at 8:31 PM, James Carman ja...@carmanconsulting.com wrote:
You might want to try Scala/Wicket. Do some googling for Scala AND Wicket.
Also, there is a Groovy + Wicket version of the hotel booking demo
app here (SVN):
that should be renamed to wicket-later, not happening in 1.5
-igor
On Wed, Sep 1, 2010 at 7:32 AM, Pedro Santos pedros...@gmail.com wrote:
https://cwiki.apache.org/WICKET/wicket-15-ajax.html
On Wed, Sep 1, 2010 at 9:32 AM, Vladimir Kovalyuk koval...@gmail.com wrote:
Consider this javascript
On Wed, Sep 1, 2010 at 11:34 AM, Peter Thomas ptrtho...@gmail.com wrote:
Done as an experiment a long time ago though, in a big hurry.
Personally, I didn't like the combination of Groovy + Wicket, for
reasons mentioned in the Scala + Wicket StackOverflow link below.
Others may have different
On Wed, Sep 1, 2010 at 9:08 PM, James Carman ja...@carmanconsulting.com wrote:
On Wed, Sep 1, 2010 at 11:34 AM, Peter Thomas ptrtho...@gmail.com wrote:
Done as an experiment a long time ago though, in a big hurry.
Personally, I didn't like the combination of Groovy + Wicket, for
reasons
It depends how much time you want to take to learn the language. With Groovy
you don't have to know anything but Java to start with and can learn more
about the language as needed or interested. Scala is nothing like Java or
any other language.
The issues Groovy had with inner classes almost all
On Wed, Sep 1, 2010 at 11:50 AM, Ben Tilford bentilf...@gmail.com wrote:
Whats better is going to come down to what your comfortable with, willing
to learn, and if squeezing a couple milliseconds of performance matters or
not.
That's one of the key points I think folks need to think about
On Wed, Sep 1, 2010 at 9:20 PM, Ben Tilford bentilf...@gmail.com wrote:
It depends how much time you want to take to learn the language. With Groovy
you don't have to know anything but Java to start with and can learn more
about the language as needed or interested. Scala is nothing like Java
Just curious: what makes you think that using a scripting language makes you
more productive than using Java? Do you mean productivity in the first two
days or in the long run?
Tom
On 01.09.2010 13:10, james yong wrote:
Hi all,
Can anyone recommends a scripting language that can be used
I would like to point out that Scala is far from what one might consider
a dynamic scripting language.
I haven't tried it, but you may see if Clojure works with Wicket. That
has some of the attributes where you can embed clojure into a java
application and change code on the fly.
Scala would
https://cwiki.apache.org/confluence/display/WICKET/Wicket+Ajax+rewriting
On Wed, Sep 1, 2010 at 12:34 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
that should be renamed to wicket-later, not happening in 1.5
-igor
On Wed, Sep 1, 2010 at 7:32 AM, Pedro Santos pedros...@gmail.com wrote:
Hi drf!
Have you checked the generated HTML? Is there any 'selected' attribute
in your option tags?
I am having a problem that my DropDownChoice is not selecting the item I
expect, only Choose one. Here is the code:
...
private ListLong accountList = new ArrayListLong();
private Long
the nexus repository browsers has all tabs any link opens in a new tab are
there any examples of that kind in wicket?
here a link for nexus repossitory
https://repository.jboss.org/nexus/index.html#view-repositories
--
View this message in context:
Try scala. Some people tried and it work.
-original message-
Subject: Re: Scripting language
From: Sigmar Muuga meedi...@gmail.com
Date: 01/09/2010 10:08 PM
It depends, what do you want to do.
If you want to develop your site in some scripting language, then use
php or rails instead.
I have
I have a form/page that can be invoked from different pages so I can't
easily specify which page should be returned to after submit.
Given that the simple javascript code:
history.go(-1)
takes the user 'back' to the previous page I was wondering if I could
somehow set up an IRequestTarget that
you would create one that would write out some html like
htmlheadscripthistory.go(-2);/script/headbody//html
-igor
On Wed, Sep 1, 2010 at 4:26 PM, Chris Colman
chr...@stepaheadsoftware.com wrote:
I have a form/page that can be invoked from different pages so I can't
easily specify which page
On 9/1/2010 7:26 PM, Chris Colman wrote:
I have a form/page that can be invoked from different pages so I can't
easily specify which page should be returned to after submit.
When I needed to do this, I passed the original page into the page constructor
where it was passed to the onSubmit()
do not pass the page, pass the page reference, see page#getpagereference()
-igor
On Wed, Sep 1, 2010 at 6:21 PM, Chris Merrill ch...@webperformance.com wrote:
On 9/1/2010 7:26 PM, Chris Colman wrote:
I have a form/page that can be invoked from different pages so I can't
easily specify which
44 matches
Mail list logo