Hello,
My homepage URL is http://server ip/awol, and it is linked to
MainPage.html and MainPage.java. I also have a HomePage.html/HomePage.java
that is essentially a login page and contains a LoginForm.
public Class? extends Page getHomePage() {
return MainPage.class;
Here is the flow of my app:
My Application class sets the home page to be MainPage:
public Class? extends Page getHomePage() {
return MainPage.class;
}
@Override
protected Class? extends WebPage getSignInPageClass() {
return
Hi Martin,
No, I did not use that.
My understanding is that the URL (http://my server ip/awol) takes me to
my app's home page (MainPage.class), but is intercepted by the login page
(HomePage.class in my case). After login is successful, the
continueToOriginalDestination() SOMETIMES does not
This could explain the intermittent nature of the problem. Thanks, Nick!
Could you elaborate on what you mean by stateless login page? Here is my
Login page and Login Form inside it. Could you please tell me what I need
to change?
public class HomePage extends WebPage {
public
OK, could it be as simple as changing the following line:
public class LoginForm extends FormLogin
to
public class LoginForm extends StatelessFormLogin
as you can see my login page (HomePage class) is really simple (only 3
components: a label, a LoginForm, a FeedbackPanel), right?
Thanks,
Just to make sure the problem I am seeing is due to the timed out Login
page...when you say
the original login page displayed would have timed out and the attempted
login wont succeed.
When your attempted login failed, does another page come up with some
generic browser error message or does it
Thanks - that sounds exactly what I observed in my case where the login page
(HomePage class) gets redisplayed after I entered the user name and
password.
I am looking at some sample code with Stateless login forms, in addition to
using StatelessForm instead Form, a bind() is called too after
I enter URL http://server ip/awol which should direct to my
application's home page which is set to be MainPage.class:
My Application class sets the home page to be MainPage:
public Class? extends Page getHomePage() {
return MainPage.class;
}
That was it! How did I not think of this? :-) Thanks Sven!
The only issue, as I found out quickly, is that I have to introduce the
MultiLineHeader inner class in many of my classes that extend WizardStep.
And since wicket id does not support different namespaces, I will have to
use different
Thanks Paul! For now, creating a MultiLineHeader class to replace Header
class, as Sven suggested, did the trick. But I will keep your point in mind
for any future customization of the default Wizard.
--
View this message in context:
Hi,
I am using wicket Wizard extension to create a create metaprofile wizard. I
am having trouble incorporating line breaks in the summary text of the
properties file. As you can see below, the summary text for the steps are
long, and I intended to break into several lines, but br/ does not
Thanks for the suggestion! Yes, I am extending WizardStep. Here is what I
did to my code following your suggestion (the Header class is a final class,
so I had to create a new MultiLineHeader class extends Panel directly to add
new MultiLineLabel instead of the default new Label line in Header
Thanks, Martin. I use wicket 6.3.0. I know 6.4.0 is out now, which jquery
version that goes with 6.4.0?
I tried putting the drop down directly under Form, it did not work, so that
was not the problem. I will try changing the event name as you suggested.
--
View this message in context:
Hi,
I have a DropDownChoice that I implemented an
AjxFormComponentUpdatingBehavior onUpdate() method. I have been battling
with a problem with its onUpdate() not being triggered/executed every time
user selects a choice from the DropDownChoice. In Firefox, it sometimes is
triggered, sometime
Thanks for your suggestions! I am trying to locate the source code for the
Wicket-extensions Wizard, and found the following at
http://svn.apache.org/viewvc/wicket/branches/wicket-1.5.x/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/Wizard.java?view=markup
I am using
Unfortunately, overriding the newForm() of Wizard as suggested did not do the
trick. Actually none of the buttons (Next, Cancel, Previous, ...) is
working so my initial hunch was incorrect.
Could you provide the location of the Wizard source code for wicket 6.x?
In the 1.5 version, I see a
Hi,
I am using the Wizard in 6.3.0 wicket-extensions in my code. After I
switched the header includes to Jquery Mobile CSS and js, the buttons in the
Wizard stopped working, i.e., clicking on them does not appear to do
anything. I think I might have to step through the Wizard source to see
what
Thanks, Paul.
The first div (profileTypeRow) has the correct styling. The only
difference between the profileTypeRow div and the oxeNodeRow div is
that profileTypeRow's visibility was never manipulated in the code, so it
is visible throughout while oxeNodeRow was initially hidden
The two divs are similar in the HTML:
div data-role=fieldcontain data-theme=b wicket:id=profileTypeRow
div data-role=fieldcontain data-theme=b wicket:id=oxeNodeRow
the data-theme attribute determines the style.
The wicket java code for the two divs are similar too, except the second div
was
I have a table that includes only two rows when it is first loaded, but
later, depending on the selected value of the first row, I will need to add
a number of rows to the table. I assume it is a quite common AJAX task, is
there a recommended way to do this? My existing way of handing this has
After a lot of tries, here is what I obeserved so far in my envionment.
Basically, it appears how the page with AJAX is loaded affects whether AJAX
listeners are enabled on the page. Could anyone please take a look at below
and let me know why this is the case and what I need to do to fix it?
Just to add a bit more info. The newmetaprofile link on the 8770main page
looks like the following:
li Create ./newmetaprofile /li
Any suggestions/ideas for me to try would be appreciated!
--
View this message in context:
I have a DropDownChoice box that loads a list of values on load(), but when I
selected a value from the list, the selected value does not show up in the
box, even though it appears that getModelObject() does return the correct
value (the value I selected). It's just the box does not display it.
I have a wicket application that implements a Form with multiple fields.
AJAX form updating behavior onChange() is implemented so that a value change
in one field will trigger reset of some other fields. All have been tested
working fine in wicket 1.5.5. Now I just migrated to 6.3.0, none of
Yes, it appears the onUpdate() was never called with wicket 6.3.0 when I
update the value in the DropDownChoice. I am not sure what I need to do to
get it working with wicket 6, it was working fine in 1.5.5.
--
View this message in context:
Well, maybe the problem is not in this part of wicket code. As I mentioned,
everything worked fine for me with wicket 1.5.5. And the problem occurred
right after I switched the wicket library from 1.5.5 to 6.3.0. Perhaps I
need to tweak my environment or configuration or set up somewhere, or
Just want to report that the #mountPage() option first suggested by Martin
seems to have done the trick for me.
Now I am hit with the AJAX onUpdate() not getting called problem with Wicket
6.3.0 after I tested the same wicket code fine in 1.5.5, see the new message
I posted with my code snippet:
I have in the HTML head:
meta name=viewport content=width=device-width, initial-scale=1,
maximum-scale=1.0, user-scalable=no
link rel=stylesheet
href=http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css; /
I need the jquery-mobile stuff, so should I just
Thanks, Martin!
I just updated wicket to 6.3.0 and removed the href=# from my html
template. Wicket does generate a relative url in href= relative to the
current url. This, however, does not solve the issue with JQuery Mobile,
which loads
I have an Apache Wicket-based application that I'd like to integrate with
JQuery Mobile on so it looks more pleasing on mobile devices.
Unfortunately, I am getting Error Loading Page errors for all the
bookmarkable page links, which I never had problems with before JQuery
Mobile was added to the
30 matches
Mail list logo