Re: Redirecting with original query string

2008-12-14 Thread Arie Fishler
this is version 1.3.5 I am using

On Mon, Dec 15, 2008 at 9:46 AM, Arie Fishler  wrote:

>  Basically I do not find this class you mention.
>
> I am using AuthenticatedWebApplication which is calling another (similar?)
> class which is RestartResponseAtInterceptPageException.
>
> This exception handles the redirectToInterceptPage method...which saves the
> continuation URL and just redirects to the relevant page (in the
> authnetication case this is the sign in page).
> I did not find any indication that passes the query string parameters to
> the sign in page.
>
> Can you elaborate on this please?
>
> Thanks,
> Arie
>
>   On Sun, Dec 14, 2008 at 8:37 PM, Martijn Dashorst <
> martijn.dasho...@gmail.com> wrote:
>
>> This is default behavior with at least wicket auth-roles. See
>> RedirectToInterceptPageException
>>
>> Martijn
>>
>> On Sun, Dec 14, 2008 at 7:27 PM, Arie Fishler  wrote:
>> > Hi,
>> >
>> > In the authentication mechanism, there is apossibility to define a Sign
>> In
>> > page. when user has no sufficient permission he is automatically
>> redirected
>> > to that page.
>> >
>> > Is it possible that the sign in page will have the original query string
>> of
>> > the the request?
>> >
>> > Like having a sign in page with PageParameters or just ensuring that the
>> > redirect to the sign in page will consist the original query string.
>> >
>> > Thanks.
>> >
>>
>>
>>
>> --
>> Become a Wicket expert, learn from the best: http://wicketinaction.com
>> Apache Wicket 1.3.4 is released
>> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>


Re: Redirecting with original query string

2008-12-14 Thread Arie Fishler
Basically I do not find this class you mention.

I am using AuthenticatedWebApplication which is calling another (similar?)
class which is RestartResponseAtInterceptPageException.

This exception handles the redirectToInterceptPage method...which saves the
continuation URL and just redirects to the relevant page (in the
authnetication case this is the sign in page).
I did not find any indication that passes the query string parameters to the
sign in page.

Can you elaborate on this please?

Thanks,
Arie

On Sun, Dec 14, 2008 at 8:37 PM, Martijn Dashorst <
martijn.dasho...@gmail.com> wrote:

> This is default behavior with at least wicket auth-roles. See
> RedirectToInterceptPageException
>
> Martijn
>
> On Sun, Dec 14, 2008 at 7:27 PM, Arie Fishler  wrote:
> > Hi,
> >
> > In the authentication mechanism, there is apossibility to define a Sign
> In
> > page. when user has no sufficient permission he is automatically
> redirected
> > to that page.
> >
> > Is it possible that the sign in page will have the original query string
> of
> > the the request?
> >
> > Like having a sign in page with PageParameters or just ensuring that the
> > redirect to the sign in page will consist the original query string.
> >
> > Thanks.
> >
>
>
>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> Apache Wicket 1.3.4 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: How to donate to Wicket Project

2008-12-14 Thread Nino Saturnino Martinez Vazquez Wael



James Carman wrote:

Of course, the ASF would always love donations:

http://www.apache.org/foundation/contributing.html

Also, you can buy from the Wicket store and part of the proceeds will
help the ASF (I believe that's how it's set up):

http://www.cafepress.com/apachewicket

The coffee mug is very nice and I also have the golf shirt!  Wish I
had a chance to play golf.
  
Yup the idea for the store are that I donate 5% of the proceeds to ASF 
and the rest to the WICKET core team somehow, im up for ideas. However 
we are talking very small amounts, for each product sold the shop earns 
something like a buck, so it'll be a while before I can buy them a new 
car :) However the the store sort of manages itself so thats nice.




On Sat, Dec 13, 2008 at 8:23 AM, Bruno Borges  wrote:
  

I don't think the project would accept money that way. If you really wanna
do that, just buy the book Wicket in Action and Eelco and Martijn will be
more than happy. =D

But, the best way to really contribute to the project is
- submitting bugs
- fixing them
- helping writing documentation
- spreading the word (blogging)

=) Good luck with that! And thanks for showing us your willing to
contribute.

Best regards,
Bruno Borges
blog.brunoborges.com.br
+55 21 76727099

"The glory of great men should always be
measured by the means they have used to
acquire it."
- Francois de La Rochefoucauld


On Sat, Dec 13, 2008 at 8:14 AM, Ayodeji Aladejebi wrote:



Hi,
I am really grateful for the Wicket Project and really feel like buying
beer
for the wicket team but when i checked sponsorship under the Wicket Site,

it saw too much information except paying methods

I don't use PayPal as I am not transferring money from US or europe, i
rather require an international Wire transfer account.

Thank you for the Wicket Project


--
Aladejebi Ayodeji A.,
DabarObjects Solutions
Phone: +234 9 481 7 156
Mobile: +234 803 589 1780
Email: d...@dabarobjects.com
Web: www.dabarobjects.com
Blog: blog.dabarobjects.com

Participate, Collaborate, Innovate
Join Community:
http://www.cowblock.net/

Get A Free Blog:
http://blogs.cowblock.net/

  


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

  


--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: [OT] wicket users around the world

2008-12-14 Thread Quan Zhou
Beijing China.I'm using wicket to develop webgame named FBM
(www.wedomo.com),it's
600,000 registers, and about 10,000 players online in average.
I also develop my game master tools and log analyzers with wicket.
I love it so much.

2008/12/15 Juri Prokofjev 

> Estonia, Tallinn
>
> I've tried many frameworks, but wicket is one of my favorite.
>
> On Mon, Dec 15, 2008 at 8:39 AM, Ashika Umanga Umagiliya
>  wrote:
> > Sri Lankan ,working in Japan
> >>
> >> Kathmandu, Nepal
> >>
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
>
>
> --
> http://www.autoladu.ee  - kõik varuosad ühes kohas
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: [OT] wicket users around the world

2008-12-14 Thread Wayne Pope
Brit, working down here in france with the original Mr Francisco T, on
an uber web2.0 app. ;-)


Ah monday morning, back to technical things...


On Mon, Dec 15, 2008 at 8:01 AM, Juri Prokofjev  wrote:
> Estonia, Tallinn
>
> I've tried many frameworks, but wicket is one of my favorite.
>
> On Mon, Dec 15, 2008 at 8:39 AM, Ashika Umanga Umagiliya
>  wrote:
>> Sri Lankan ,working in Japan
>>>
>>> Kathmandu, Nepal
>>>
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
>
>
> --
> http://www.autoladu.ee  - kõik varuosad ühes kohas
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: [OT] wicket users around the world

2008-12-14 Thread Juri Prokofjev
Estonia, Tallinn

I've tried many frameworks, but wicket is one of my favorite.

On Mon, Dec 15, 2008 at 8:39 AM, Ashika Umanga Umagiliya
 wrote:
> Sri Lankan ,working in Japan
>>
>> Kathmandu, Nepal
>>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>



-- 
http://www.autoladu.ee  - kõik varuosad ühes kohas

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: [OT] wicket users around the world

2008-12-14 Thread Ashika Umanga Umagiliya

Sri Lankan ,working in Japan

Kathmandu, Nepal
  



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Recording component paths for WicketTester

2008-12-14 Thread Martin Makundi
Tnx, luckily I am using 1.4-rc1.

2008/12/15 James Carman :
> What version of Wicket are you running?  There was a JIRA request to
> spit out the component paths in development mode:
>
> https://issues.apache.org/jira/browse/WICKET-1830
>
> Apparently it was fixed in 1.3.5 and 1.4-rc1.
>
>
> On Sun, Dec 14, 2008 at 6:41 PM, Martin Makundi
>  wrote:
>> Hi!
>>
>> I often find myself spending a tremendeous amount of time
>> mind-boggling with Component:paths for my WicketTester tests.
>>
>> I assume that it would be pretty easy to code a 'WicketTest recorder'.
>>
>> The solution would probably be some kind of filter properly attached
>> into the wicket framework at runtime, and it would produce
>> assertComponent() and assertRenderedPage() statements for all of the
>> clicked elements in the desired clicking order.
>>
>> This could significantly simplify making UI tests for lengthly
>> sequences and processes...
>>
>> Has anybody tried this before? Any pointers?
>>
>> **
>> Martin
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Recording component paths for WicketTester

2008-12-14 Thread James Carman
What version of Wicket are you running?  There was a JIRA request to
spit out the component paths in development mode:

https://issues.apache.org/jira/browse/WICKET-1830

Apparently it was fixed in 1.3.5 and 1.4-rc1.


On Sun, Dec 14, 2008 at 6:41 PM, Martin Makundi
 wrote:
> Hi!
>
> I often find myself spending a tremendeous amount of time
> mind-boggling with Component:paths for my WicketTester tests.
>
> I assume that it would be pretty easy to code a 'WicketTest recorder'.
>
> The solution would probably be some kind of filter properly attached
> into the wicket framework at runtime, and it would produce
> assertComponent() and assertRenderedPage() statements for all of the
> clicked elements in the desired clicking order.
>
> This could significantly simplify making UI tests for lengthly
> sequences and processes...
>
> Has anybody tried this before? Any pointers?
>
> **
> Martin
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Question re wicket:enclosure tag and resource resolution with wicket:message tags

2008-12-14 Thread Ned Collyer

I think it would be useful if the message resolution inside a
wicket:enclosure used the "child" (or implicit child) as the component that
is sent thru the localiser.

This is the scenario

OverviewPanel extends Panel









 # [name] 













 # [name] 






ProductsListView.properties
  name=Product

CustomersListView.properties
  name=Customers

I think what's happening at the moment is the OverviewPanel instance is
passed through to the localiser, and as such, its trying to resolve the
wicket:message tag "name" against the OverviewPanel.

If the child element of the enclosure was sent to the localiser, then it
would make the above example work  (This is a  sensible usecase IMO).

Any missing resources would then try to be resolved against the parent - aka
OverviewPanel.

Any thoughts around this?
-- 
View this message in context: 
http://www.nabble.com/Question-re-wicket%3Aenclosure-tag-and-resource-resolution-with-wicket%3Amessage-tags-tp21008465p21008465.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



Recording component paths for WicketTester

2008-12-14 Thread Martin Makundi
Hi!

I often find myself spending a tremendeous amount of time
mind-boggling with Component:paths for my WicketTester tests.

I assume that it would be pretty easy to code a 'WicketTest recorder'.

The solution would probably be some kind of filter properly attached
into the wicket framework at runtime, and it would produce
assertComponent() and assertRenderedPage() statements for all of the
clicked elements in the desired clicking order.

This could significantly simplify making UI tests for lengthly
sequences and processes...

Has anybody tried this before? Any pointers?

**
Martin

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: WicketForge - Wicket Plugin for IDEA

2008-12-14 Thread Don Hass

No problem on the delay we were just worried that the code was not being
supported over on Google code anymore.

I will go and post there since there is a thread of several folks wondering. 
It will definitely be a nice present for the end of the year!

Thank you for all your efforts!


/Don


Nick Heudecker wrote:
> 
> Hi Don,
> 
> I've been working on migrating it to IDEA 8 but I haven't had much time
> lately.  My schedule will open up at the end of this week and I'm hoping
> to
> finish porting the code shortly.  Apologies for the delay.
> 
> 
> 
> On Sun, Dec 14, 2008 at 11:07 AM, Don Hass  wrote:
> 
>>
>> Does anyone know if the development of wicketforge going to continue so
>> it
>> supports the new release of Intellij 8?  We haven't heard anything from
>> Nick
>> on the Google code since end of July.
>>
>> I know there are several of us that would love to see it updated to
>> support
>> 8, since the .40 release is broken because of entire plugin api changes.
>>
>>
>> Thanks,
>>
>> /Don
>>
>>
>>
>> Nick Heudecker wrote:
>> >
>> > All:
>> >
>> > I've taken the old Wicket Assistant code from Wicket Stuff and create a
>> > new
>> > version of the plugin called WicketForge.  You can download it using
>> > IDEA's
>> > plugin manager interface and look for the WicketForge plugin. 
>> Additional
>> > information can be found here: http://code.google.com/p/wicketforge/
>> >
>> > Suggestions for additional features are welcome.
>> >
>> > -Nick
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/WicketForge---Wicket-Plugin-for-IDEA-tp12287617p21003466.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
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/WicketForge---Wicket-Plugin-for-IDEA-tp12287617p21005285.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: WicketForge - Wicket Plugin for IDEA

2008-12-14 Thread Nick Heudecker
Hi Don,

I've been working on migrating it to IDEA 8 but I haven't had much time
lately.  My schedule will open up at the end of this week and I'm hoping to
finish porting the code shortly.  Apologies for the delay.



On Sun, Dec 14, 2008 at 11:07 AM, Don Hass  wrote:

>
> Does anyone know if the development of wicketforge going to continue so it
> supports the new release of Intellij 8?  We haven't heard anything from
> Nick
> on the Google code since end of July.
>
> I know there are several of us that would love to see it updated to support
> 8, since the .40 release is broken because of entire plugin api changes.
>
>
> Thanks,
>
> /Don
>
>
>
> Nick Heudecker wrote:
> >
> > All:
> >
> > I've taken the old Wicket Assistant code from Wicket Stuff and create a
> > new
> > version of the plugin called WicketForge.  You can download it using
> > IDEA's
> > plugin manager interface and look for the WicketForge plugin.  Additional
> > information can be found here: http://code.google.com/p/wicketforge/
> >
> > Suggestions for additional features are welcome.
> >
> > -Nick
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/WicketForge---Wicket-Plugin-for-IDEA-tp12287617p21003466.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: Using ajax for generating a pdf

2008-12-14 Thread Emanuele Gesuato

Emanuele Gesuato ha scritto:





I forgot to mention i'm using the yui-context menu related to the wicket 
branch 1.3.0 of wicket-stuff. The ajax link i'm mentioning is just a 
menu item of the context menu that display a pdf.


Tomorrow i'll try to use a simple ajax link and let you know what happens :)


Any help would be appreciated,
Thanks,
Emanuele Gesuato

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



SV: How to update base page panel from child page?

2008-12-14 Thread Wilhelmsen Tor Iver
> My question is how to ask the cart section to updates its 
> state (and redraw it) from a child page?

Just add the superclass element to the AjaxRequetTarget parameter. This
means either holding a reference to it (e.g. a protected instance field)
or better, use get("path:to:cart") to get at it. Remember that all
elements that should be updated via Ajax needs to have called
setOutputMarkupId(true) on them so that the Javascript libraries can
adddress them.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: WicketForge - Wicket Plugin for IDEA

2008-12-14 Thread Don Hass

Does anyone know if the development of wicketforge going to continue so it
supports the new release of Intellij 8?  We haven't heard anything from Nick
on the Google code since end of July.

I know there are several of us that would love to see it updated to support
8, since the .40 release is broken because of entire plugin api changes.


Thanks,

/Don



Nick Heudecker wrote:
> 
> All:
> 
> I've taken the old Wicket Assistant code from Wicket Stuff and create a
> new
> version of the plugin called WicketForge.  You can download it using
> IDEA's
> plugin manager interface and look for the WicketForge plugin.  Additional
> information can be found here: http://code.google.com/p/wicketforge/
> 
> Suggestions for additional features are welcome.
> 
> -Nick
> 
> 

-- 
View this message in context: 
http://www.nabble.com/WicketForge---Wicket-Plugin-for-IDEA-tp12287617p21003466.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: Getting API/Wiki pages for offline reading

2008-12-14 Thread dtoffe

http://repo2.maven.org/maven2/org/apache/wicket/wicket/

There you have folders for each release, and inside are the javadoc
jars, I dont know if wiki pages are provided in this way.

HTH

Daniel



HHB wrote:
> 
> Hey,
> Why Wicket package doesn't include the API and Wiki pages (like Struts2
> for example)?
> Any ideas how to get them for late night offline reading?
> Thanks.
> 

-- 
View this message in context: 
http://www.nabble.com/Getting-API-Wiki-pages-for-offline-reading-tp20998576p21003229.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: Redirecting with original query string

2008-12-14 Thread Martijn Dashorst
This is default behavior with at least wicket auth-roles. See
RedirectToInterceptPageException

Martijn

On Sun, Dec 14, 2008 at 7:27 PM, Arie Fishler  wrote:
> Hi,
>
> In the authentication mechanism, there is apossibility to define a Sign In
> page. when user has no sufficient permission he is automatically redirected
> to that page.
>
> Is it possible that the sign in page will have the original query string of
> the the request?
>
> Like having a sign in page with PageParameters or just ensuring that the
> redirect to the sign in page will consist the original query string.
>
> Thanks.
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Redirecting with original query string

2008-12-14 Thread Arie Fishler
Hi,

In the authentication mechanism, there is apossibility to define a Sign In
page. when user has no sufficient permission he is automatically redirected
to that page.

Is it possible that the sign in page will have the original query string of
the the request?

Like having a sign in page with PageParameters or just ensuring that the
redirect to the sign in page will consist the original query string.

Thanks.


Re: wickethub.org

2008-12-14 Thread dtoffe

I like your idea, there are many wicket related projects in sourceforge
and googlecode, some are empty but some are very interesting. Added three
links.
Please check the Topics field, I cannot modify a value and have the old
values erased, they keep appearing and acumulating with the new values.

Cheers,

Daniel


francisco treacy-2 wrote:
> 
> i came up with an idea during the last weeks, having some trouble
> finding wicket resources.
> 
> although we have wicketstuff (which is great, and even more now with
> jeremy's awesome job of reorganizing it)  i feel there are still lots
> of components, plugins or tools that are lost in cyberspace. thought
> it would be neat to keep a sort of "registry" with useful information
> for wicket developers.
> 
> so i decided to quickly put some bits together from an old project and
> rebaptised it as "the wicket hub" - a simple prototype @
> http://wickethub.org.
> it's meant to be flexible, so except for the title there are no
> required fields when you add/edit a "module". there are already some
> examples.
> 
> let me know what you think about features, its relation with
> wicketstuff and if it's usable, etc. or even if the whole thing makes
> no sense - any suggestions appreciated.
> 
> francisco
> 
> ps: goes without saying, but [disclaimer: it's completely
> experimental] and be aware the place it's hosted is more like a
> shoebox than a server :)
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/wickethub.org-tp20995774p2059.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: [OT] wicket users around the world

2008-12-14 Thread tsuresh

Kathmandu, Nepal
-- 
View this message in context: 
http://www.nabble.com/-OT--wicket-users-around-the-world-tp20962108p20999323.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



Getting API/Wiki pages for offline reading

2008-12-14 Thread HHB

Hey,
Why Wicket package doesn't include the API and Wiki pages (like Struts2 for
example)?
Any ideas how to get them for late night offline reading?
Thanks.
-- 
View this message in context: 
http://www.nabble.com/Getting-API-Wiki-pages-for-offline-reading-tp20998576p20998576.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



How to update base page panel from child page?

2008-12-14 Thread HHB

Hey,
I use inheritance to do layout.
The base page containing main section that should contains child's markup,
and  cart section.
Child pages are supposed to perform operations that will update the cart
section (lets say via Ajax).
My question is how to ask the cart section to updates its state (and redraw
it) from a child page?
I'm new to Wicket so forgive my questions :)
Thanks for your time.
-- 
View this message in context: 
http://www.nabble.com/How-to-update-base-page-panel-from-child-page--tp20998486p20998486.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



When to pass object instance /class type?

2008-12-14 Thread HHB

Hey,
What is the difference between:
setResponsePage(CoolPage.class)
and
setResponsePage(new CoolPage())
?
When to use each one?
Thanks.

-- 
View this message in context: 
http://www.nabble.com/When-to-pass-object-instance--class-type--tp20998410p20998410.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: No WebApplicationContext found: no ContextLoaderListener registered?

2008-12-14 Thread Marat Radchenko
You didn't init spring in your web.xml
See 
http://static.springframework.org/spring/docs/2.5.x/reference/beans.html#beans-factory-scopes-other-web-configuration

2008/12/13 wicketworker :
>
> I am getting the following exception while starting my jetty server :
>
> java.lang.IllegalStateException: No WebApplicationContext found: no
> ContextLoaderListener registered?
>at
> org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:70)
>at
> org.apache.wicket.spring.SpringWebApplicationFactory.createApplication(SpringWebApplicationFactory.java:83)
>at 
> org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:543)
>at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
>at 
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>at
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:620)
>at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
>
> Basically i was able to get @SpringBean annotation working, now i am trying
> to append scope="session" to one of my bean in the spring config.. Following
> is what i have done:
>
> In Web.xml
> -
> 
>  wicket.uti-webapp
>  org.apache.wicket.protocol.http.WicketFilter
>  
>  applicationFactoryClassName
>
> org.apache.wicket.spring.SpringWebApplicationFactory
>  
>  
>applicationBean
>wicketApplication
>  
> 
>
> 
>
> org.springframework.web.context.request.RequestContextListener
> 
>
> In Spring-Config
> 
>   class="com.uprr.app.uti.webapp.UtiWebApplication">
>  
>
>
> Can someone please tell me whats wrong?
>
>
>
>
>
>
>
>
>
>
>
>
> --
> View this message in context: 
> http://www.nabble.com/No-WebApplicationContext-found%3A-no-ContextLoaderListener-registered--tp20984524p20984524.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
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org