I enter URL "http:///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 getHomePage() {
return MainPage.class;
}
@Override
protected C
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
auth
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 i
OK, could it be as simple as changing the following line:
public class LoginForm extends Form
to
public class LoginForm extends StatelessForm
as you can see my login page (HomePage class) is really simple (only 3
components: a label, a LoginForm, a FeedbackPanel), right?
Thanks,
Shi-Min
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 HomePag
Hi Martin,
No, I did not use that.
My understanding is that the URL ("http:///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 seem to con
Here is the flow of my app:
My Application class sets the home page to be MainPage:
> public Class getHomePage() {
> return MainPage.class;
> }
>
> @Override
> protected Class getSignInPageClass() {
> return HomePage.class;
>
Hello,
My homepage URL is "http:///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 getHomePage() {
return MainPage.class;
}
@Ove
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:
http://apache-wicket.1842946.n4.nabble.com/How-to-add-line-
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 w
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 cl
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 does not seem to
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:
http
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 no
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
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 Wicket
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
The two divs are similar in the HTML:
the data-theme attribute determines the style.
The wicket java code for the two divs are similar too, except the second div
was hidden, made visible later in an ajax onUpdate().
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.c
Thanks, Paul.
The first (profileTypeRow) has the correct styling. The only
difference between the "profileTypeRow" and the "oxeNodeRow" is
that "profileTypeRow"'s visibility was never manipulated in the code, so it
is visible throughout while "oxeNodeRow" was initially hidden
(setVisible(fal
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 ru
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
Just to add a bit more info. The newmetaprofile link on the "8770main" page
looks like the following:
Create <./newmetaprofile>
Any suggestions/ideas for me to try would be appreciated!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/A
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?
Th
I have in the HTML head:
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 comment out the ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AJAX-not-working-afte
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:
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
any
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:
http://apache-wicket.1842946.n4.nabble.com/AJAX-not-w
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 thi
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
href="com.alcatel_lucent.nms8770.awol.client.web.pa
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