On your MyLinkPage you can just setResponsePage...
So
if (gotoQuestionPage)
setResponsePage(QuestionPage.class);
else
setResponsePage(ErrorPage.class);
Is that what you're after?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Noob-question-Link-to-Page
sonoerin yahoo.com> writes:
>
>
> customerA.domain.com
> customerB.domain.com
>
> So I am not sure if its best to just have multiple deployments each with
> their own Wicket Application/homepage or if there is a way to bundle them
> all into a single app that handles each request/response base
he-wicket.1842946.n4.nabble.com/noob-question-tp2550377p2550377.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
I meant "Thx Martijn" - just noticed the spelling of your name !
- Original Message -
From: "Martijn Dashorst"
To: users@wicket.apache.org
Date: Sat, Jun 13, 2009 at 3:38 AM
Subject: Noob question: error on quickstart project with maven 2.1.0
and wicket 1.3.6
> f
Thx Martin - you nailed it.
Added
2.5.1
to the eclipse maven plugin in the pom.xml and all now works.
N
- Original Message -
From: "Martijn Dashorst"
To: users@wicket.apache.org
Date: Sat, Jun 13, 2009 at 3:38 AM
Subject: Noob question: error on quickstart project with maven
fill in version 2.5.1 in the ecliipse plugin configuration in your
pom. Maven automatically downloaded and used 2.6 for you, which is
completely and utterly borked. 2.7 is almost out, so in the near
future things will return to normal, but in the mean time you'll need
to fix your pom to use maven-e
r pure Maven. I recreated the quickstart
> > but did a mvn jetty:run in the project directory and all works fine.
> > Seems to be an issue with my Eclipse set-up.
> >
> >
> >
> > - Original Message -
> > From: "Bruno Ledesma"
> >
issue with my Eclipse set-up.
>
>
>
> - Original Message -
> From: "Bruno Ledesma"
> To: users@wicket.apache.org
> Date: Fri, Jun 12, 2009 at 10:40 PM
> Subject: Noob question: error on quickstart project with maven 2.1.0
> and wicket 1.3.6
>
>> For
12, 2009 at 10:40 PM
Subject: Noob question: error on quickstart project with maven 2.1.0
and wicket 1.3.6
> For the first exception that you posted, i would say that you're missing
> HomePage.html. Maybe the filename is a little bit different from the class
> name. But in the en
For the first exception that you posted, i would say that you're missing
HomePage.html. Maybe the filename is a little bit different from the class
name. But in the end you have commented that you already checked this. You
could try a mvn clean install just to make sure the jetty plugin is with
sy
I thought I'd give Wicket a whirl on a new project. Till now I've
predominantly used Spring, but I'm doing a small project so I thought
I'd see what wicket could do.
I'm getting an exception on the quickstart maven project.
The exception is
org.apache.wicket.markup.MarkupNotFoundException: Marku
ot;) {
> >>>> @Override
> >>>> protected void onSubmit() {
> >>>> setResponsePage( new LetterResult( someLetters,
> >>>> Integer.parseInt( letter.getValue() ) ) );
> >>>> }
> >>>> };
> >&g
}
>>>> };
>>>>
>>>> // LetterResult.java
>>>> public LetterResult(List someLetters, int letterId) {
>>>> String selectedLetter = someLetters.get( letterId );
>>>> }
>>>>
>>>> It appears you can pa
idden content in the generated
>>> LetterChoice webpage. Does this simply mean what I am doing i tied to my
>>> session by Wicket? Is there a way ensure there's no (or just a bare
>>> minimum) of session state between each request? In general, what is the
>>>
flash" memory.
>
--
View this message in context:
http://www.nabble.com/Noob-question%3A-Wicket-and-statefull-stateless-tp20578870p20582087.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe,
sponsePage( new LetterResult( someLetters,
>> >> Integer.parseInt( letter.getValue() ) ) );
>> >> }
>> >> };
>> >>
>> >> // LetterResult.java
>> >> public LetterResult(List someLetters, int letterId) {
>> >> String sel
both the model as well as the selection on to a
> >> new page, but there's no special/hidden content in the generated
> >> LetterChoice webpage. Does this simply mean what I am doing i tied to my
> >> session by Wicket? Is there a way ensure t
minimum) of session state between each request? In general, what is the
>> mission goal when it comes to statefullness/statelessness of Wicket?
>>
>> Thanks in advance,
>> Casper
>>
>>
>>
Tip: don't double post or some people will jump on you - it doesn't help you
get a good answer.
Anyway, for completely stateless page transitions, etc, and how to put data
into the URL rather than session, you need to use BookmarkablePageLink,
which will invoke the YourPage(PageParameters) constru
Pardon the (possible stupid) question, I'm new to Wicket but is quite
excited about the simplicity it seems to promote over JSF.
What's the usual way of pushing context on to a website and have it passed
along, such as to remain stateless? In JSF you would typically create a
request scoped backing
Pardon the (possible stupid) question, I'm new to Wicket but is quite
excited about the simplicity it seems to promote over JSF.
What's the usual way of pushing context on to a website and have it
passed along, such as to remain stateless? In JSF you would typically
create some hidden inputs w
21 matches
Mail list logo