Re: non-bookmarkable pages with pageparameters?

2010-07-07 Thread Erik van Oosten
use the method setResponsePage(Class, PageParameters) Erik. Op 06-07-10 16:24, Muro Copenhagen schreef: Hi Erik, I tried that with no luck... How would i do this: setResponsePage(new DeliverySecure(deliveryInfo)), and at the same time send pageparameters to the same page? Best Regards

Re: Wicket Form problem

2010-07-07 Thread vov
Hi, is gramma mistace in your html form wicked:id=loginForm. Use wickeT:id Bu more closely in the future:) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Form-problem-tp2280712p2280730.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Single inheritence in parts

2010-07-07 Thread Erik van Oosten
I must have been listening to the wrong people then. Sorry to continue any false hopes. Too bad; there is only a small sweet spot for markup inheritance, but with this extension it would be very sweet indeed. Thanks for the link Jeremy. Regards, Erik. On 06-07-10 22:08, Jeremy

Re: Single inheritence in parts

2010-07-07 Thread Erik van Oosten
Indeed, multiple inheritance is not the correct term in this case. The point is that the parent class' markup may contain multiple places to place components from sub-classes. Regards, Erik. Op 06-07-10 18:03, Arjun Dhar wrote: On a last note; ..am confusedmultiple inheritance

Re: how to distinguish browser's tab?

2010-07-07 Thread nino martinez wael
hmm i see a couple of ways of solving this. - Mount a special facebook entry page, that setups your style etc.Use that as entry point for the facebook app - The session cookie approach, in my setups I have Apache HTTP infront, so again I would have two apps where a cookie are set

Re: Wicket Form problem

2010-07-07 Thread armandoxxx
ourajti den !!! .. 10x ! LP Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Form-problem-tp2280712p2280734.html Sent from the Wicket - User mailing list archive at Nabble.com. - To

Wicket Form problem

2010-07-07 Thread armandoxxx
Hi .. noob here with a problem ... I have a web page with Login link on it ... add(new LinkString(login-page-link) { public void onClick() { setResponsePage(Login.class); } }); and this link should open Login page

Re: ModalWindow - Question

2010-07-07 Thread Alis
Hello Martin, i´m use dialog(name ModalWindow).close(target)...thank you! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ModalWindow-Question-tp2279695p2280890.html Sent from the Wicket - User mailing list archive at Nabble.com.

SV: Wicket Form problem

2010-07-07 Thread Wilhelmsen Tor Iver
WicketMessage: Unable to find component with id 'user' in [Page class = com.dropchop.jop.kliping.web.pages.Login, id = 1, version = 0]. This means that you declared wicket:id=user in your markup, but that you either did not add the component to your page at all, or that the hierarchy does

Re: SV: Wicket Form problem

2010-07-07 Thread armandoxxx
Hey .. we fixed this .. I had a typo .. instead of wickeT:id I wrote wickeD:id in a HTML file for form :D but to answer your question, I'm using latest maven dependency (1.4.9) Kind regards Armando -- View this message in context:

Serialization of injected EJBs

2010-07-07 Thread Harald Wellmann
I'm using Wicket on Glassfish v3, injecting stateless session beans (using the no-interface view) into my Wicket components. For a component member @Inject private Foo foo; Glassfish generates a proxy which is not serializable, even though my class Foo is. Now the problem is

Re: Serialization of injected EJBs

2010-07-07 Thread Major Péter
Hi, you could try to use: http://wicketstuff.org/confluence/display/STUFFWIKI/JavaEE+Inject Regards, Peter 2010-07-07 16:42 keltezéssel, Harald Wellmann írta: I'm using Wicket on Glassfish v3, injecting stateless session beans (using the no-interface view) into my Wicket components. For a

Configuration Q re Maven Profiles and Start

2010-07-07 Thread Jim Pinkham
There must be something simple I'm missing - I'm fairly new to maven, but I love the profile feature for different client versions of a hosted turnkey app I'm working on. So, I build multiple war files specifying each -PprofileName and rename the WARs to the context root I want (usually same as

AW: Serialization of injected EJBs

2010-07-07 Thread Harald Wellmann
Is there any evidence that javaee-inject would solve the problem? The question is not how to inject the EJBs (this works fine with the wicket-cdi lib), but how to serialize the injected proxies. Regards, Harald -Ursprüngliche Nachricht- Von: Major Péter [mailto:majorpe...@sch.bme.hu]

Re: AW: Serialization of injected EJBs

2010-07-07 Thread Major Péter
JavaEE Inject generates a serializable proxy, so the injected references could be stored into session without problem. Peter 2010-07-07 17:07 keltezéssel, Harald Wellmann írta: Is there any evidence that javaee-inject would solve the problem? The question is not how to inject the EJBs (this

Re: AW: Serialization of injected EJBs

2010-07-07 Thread Martin Grigorov
On Wed, 2010-07-07 at 17:07 +0200, Harald Wellmann wrote: Is there any evidence that javaee-inject would solve the problem? The question is not how to inject the EJBs (this works fine with the wicket-cdi lib), but how to serialize the injected proxies. Yes, javaee-inject uses wicket-ioc which

RE: Application addRenderHeadListener causing error

2010-07-07 Thread vineetsemwal
i have the same problem ,can't make addRenderHeadListener and ajaxselfupdatingtimerbehavior work together, it's not due to race condition is what i know at least that is what exception is pointing .. any pointer will be appreciated .. thanks, -- View this message in context:

Re: how to distinguish browser's tab?

2010-07-07 Thread Fernando Wermus
Nino, I write down On Wed, Jul 7, 2010 at 8:36 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: hmm i see a couple of ways of solving this. - Mount a special facebook entry page, that setups your style etc.Use that as entry point for the facebook app This is the

AW: AW: Serialization of injected EJBs

2010-07-07 Thread Harald Wellmann
Hmmm, has anybody tried this on Glassfish? The exception I currently get is: org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: Unable to serialize class: com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate protected java.lang.reflect.InvocationHandler

Re: Serialization of injected EJBs

2010-07-07 Thread Major Péter
I'm using the lib in production with GlassFish v3 and for developing with GlassFish 3.0.1, and haven't seen this exception so far for my EJB's. Something is weird with your EJB... Could you check the javaee-inject-examples (1.4.10-SNAPSHOT) project with the same container? Thanks, Peter

ListView in a Form -- issue with properties

2010-07-07 Thread Trevor Baker
Hi, I have a form that has an ListView (wicket:id=”valueListView”) of a bunch of required text fields (wicket:id=”value”). In my WebApplication.properties, I have: form.valueListView.value.Required=Please enter the Value However when I submit the form, in my error feedback if the field is

Question - Does Wicket really initialize a page instance once?

2010-07-07 Thread 西门烧雪 Simon
I have read that in Wicket a page is only constructed once, from https://cwiki.apache.org/WICKET/reading-from-a-database.html So I did an experiment with the following class. When I press F5 twice in my browser to refresh, and I get the print out (see below) three times. So, is the statement in

Re: ListView in a Form -- issue with properties

2010-07-07 Thread Jeremy Thomerson
Try with just value.Required On Wed, Jul 7, 2010 at 11:57 AM, Trevor Baker amoebawo...@gmail.com wrote: Hi, I have a form that has an ListView (wicket:id=”valueListView”) of a bunch of required text fields (wicket:id=”value”). In my WebApplication.properties, I have:

Re: Question - Does Wicket really initialize a page instance once?

2010-07-07 Thread Jeremy Thomerson
2010/7/7 西门烧雪 Simon sekatsi...@gmail.com I have read that in Wicket a page is only constructed once, from https://cwiki.apache.org/WICKET/reading-from-a-database.html So I did an experiment with the following class. When I press F5 twice in my browser to refresh, and I get the print out

Re: Question - Does Wicket really initialize a page instance once?

2010-07-07 Thread Martin Makundi
But remember... not being reconstructed does not mean that you won't have MULTIPLE INSTANCES of the same page. ... thanks to serialization ;)) so be warned if you code something that depends on instances. ** Martin 2010/7/7 Jeremy Thomerson jer...@wickettraining.com: 2010/7/7 西门烧雪 Simon

AW: Serialization of injected EJBs

2010-07-07 Thread Harald Wellmann
Does javaee-inject support CDI at all? I cannot find any @Inject annotations in the examples you mentioned, they all seem to be in Java EE 5 style, not Java EE 6. Regards, Harald Von: Major Péter [majorpe...@sch.bme.hu] Gesendet: Mittwoch, 7. Juli 2010

Re: AW: Serialization of injected EJBs

2010-07-07 Thread Major Péter
Nope, it does not support CDI. AFAIK @EJB is not deprecated or old-style, and it's still available in Java EE 6. The thread was about injecting EJB's and JavaEE Inject does exactly that. You can always use lookups for your beans/CDI stuff... Regards, Peter 2010-07-07 19:34 keltezéssel, Harald

Re: Question - Does Wicket really initialize a page instance once?

2010-07-07 Thread James Carman
2010/7/7 Martin Makundi martin.maku...@koodaripalvelut.com: But remember... not being reconstructed does not mean that you won't have MULTIPLE INSTANCES of the same page. ... thanks to serialization ;)) so be warned if you code something that depends on instances. It's not just

Re: Question - Does Wicket really initialize a page instance once?

2010-07-07 Thread Martin Makundi
Also yes ;) 2010/7/7 James Carman ja...@carmanconsulting.com: 2010/7/7 Martin Makundi martin.maku...@koodaripalvelut.com: But remember... not being reconstructed does not mean that you won't have MULTIPLE INSTANCES of the same page. ... thanks to serialization ;)) so be warned if you

Add Any option to DropDownChoice

2010-07-07 Thread Matthew Welch
I'm sure this has been answered before but I've a good bit searching the list and can't seem to find it... I need to add an option to a DropDownChoice that displays the word Any and will be treated differently than the other options. I've hacked an IChoiceRenderer to death and managed to get the

AjaxLink that forces to login page before continuing

2010-07-07 Thread Jeffrey Schneller
I am looking for a way to have an AjaxLink or a regular link do the following: User clicks on link 1. If not logged in then show login page and allow user to login and then continue with #2 2. Perform some business logic 3. Show a message [if ajaxlink] or send to a page

Re: Add Any option to DropDownChoice

2010-07-07 Thread Igor Vaynberg
you need to have an actual value in the choices collection that represents the any option. you can do this by prepending null to your choices collection, letting the renderer render it as any and calling setnullvalid(true) on the ddc. -igor On Wed, Jul 7, 2010 at 1:55 PM, Matthew Welch

Re: Internationalizing a DDC

2010-07-07 Thread always_rick
very cool, but the options' values are force to 0, 1, 2, 3, 4 ... option value=0Day/option option value=1Week /option option value=2Fortnight/option option value=3Month/option option value=4Year/option I've tried the whole night, any help is appreciated. Sven Meier wrote: You can do

Form an external file or as inner class of page?

2010-07-07 Thread Gustavo Henrique
Hi! Is better put a class form as inner class in page or an external file imported in page? For example, I did have to add a cookie in onSubmit method so was need to put the form class inside an WebPage class. thanks!

Re: Which url coding strategy to make more restful in page with navigator?

2010-07-07 Thread Nowaker
I tried to use your BookmarkablePagingNavigator but it doesn't work. Clicking next, prev or page number has no effect. The panel itself renders OK. // It's org.wicketstuff.annotation @MountPath(path = oldest) @MountMixedParam(parameterNames = {page}) public class Oldest extends WebPage {

localize options DropDownChoice

2010-07-07 Thread always_rick
I am trying to localize select's option. Do I have to load several lists, which represent a different language? That's too complicated. e.g. option value=1day/option option value=7week/option option value=30month/option option value=365year/option to option value=1天/option option