Re: Newbie Question

2018-05-05 Thread Sven Meier
Hi, Wicket can repeat markup, see here: https://ci.apache.org/projects/wicket/guide/8.x/single.html#_displaying_multiple_items_with_repeaters Have fun sven Am 05.05.2018 um 22:56 schrieb athag...@csd.auth.gr: The question is about as simple as it gets: in the HelloWorld! example a single St

Re: Newbie question : How do I display a tabbed list vertically rather than horizontally?

2014-06-10 Thread Paul Bors
Extend the Wicket class you want like the AjaxTabbedPanel in Java (Model and Controller) and change the HTML (viewer) as you please. You would need access to Wicket’s source code thus if you use Maven see the sources classifier at: http://maven.apache.org/pom.html Perhaps your IDE (Eclipse, Ne

Re: Newbie question : How do I display a tabbed list vertically rather than horizontally?

2014-06-09 Thread Mihir Chhaya
With CSS I provided, were you able to view your tab controls position changing any bit? Though you don't need any kind of animation here; Translate might be helpful. Something like below in 'div.tabpanel div.tab-row' (in CSS)? Here is one for chrome: -webkit-transform: translate(Xpx,Ypx); You wil

Re: Newbie question : How do I display a tabbed list vertically rather than horizontally?

2014-06-09 Thread Tim Collins
Hmmm That did not work. To be clear, this is what the code looks like : package com.charityusa.janus.page.home; import com.charityusa.config.AppConfig; import com.charityusa.janus.panel.footer.Footer; import com.charityusa.janus.panel.vendor.CoolibarUpload; import com.charityusa.janus.panel

Re: Newbie question : How do I display a tabbed list vertically rather than horizontally?

2014-06-09 Thread Mihir Chhaya
Tim, Do you need to show only titles in vertical or tabs in vertical with title displayed horizontally? You can do that with CSS itself as below. div.tabpanel div.tab-row { float: left; background: #F2F9FC url("../images/tabs/bg.gif") repeat-x bottom; line-height: normal; /*-webkit-transform:rota

Re: Newbie question: startup wicketapplication with loginform

2013-12-02 Thread Paul Bors
See also the Wicket Guide: http://wicket.apache.org/guide/guide/chapter3.html#chapter3_3 On Tue, Nov 26, 2013 at 10:36 AM, Seçil Aydın wrote: > Hi, > you can also view the below example code: > > > http://www.wicket-library.com/wicket-examples/authentication1/wicket/bookmarkable/org.apache.wick

Re: Newbie question: startup wicketapplication with loginform

2013-11-26 Thread Seçil Aydın
Hi, you can also view the below example code: http://www.wicket-library.com/wicket-examples/authentication1/wicket/bookmarkable/org.apache.wicket.examples.authentication1.SignIn?0 - Wicket-Java -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Newbie-question-star

Re: Newbie question: startup wicketapplication with loginform

2013-11-25 Thread Gerrit Wassink
Ok i will try.Thanks! Martin Grigorov , 25-11-2013 10:55: Hi, You should use the form in a page. Create a proper page, add the form to it, and use that page as a home page. On Mon, Nov 25, 2013 at 11:44 AM, gerritqf wrote: > Hello usermembers, > > I have a question about the startu

Re: Newbie question: startup wicketapplication with loginform

2013-11-25 Thread Martin Grigorov
Hi, You should use the form in a page. Create a proper page, add the form to it, and use that page as a home page. On Mon, Nov 25, 2013 at 11:44 AM, gerritqf wrote: > Hello usermembers, > > I have a question about the startup page for my wicket webapplication. > I made a Loginform class and a L

Re: Newbie Question

2011-01-31 Thread Fernando O.
Thanks!!! worked! On Mon, Jan 31, 2011 at 9:50 PM, Igor Vaynberg wrote: > onclick (target) { setvisible(false); target.add(this); } > > -igor > > On Mon, Jan 31, 2011 at 4:46 PM, Fernando O. wrote: > > Hi All, how are you? > > > > I'm new in this list, actually I'm new to wicket and I'm trying

Re: Newbie Question

2011-01-31 Thread Igor Vaynberg
onclick (target) { setvisible(false); target.add(this); } -igor On Mon, Jan 31, 2011 at 4:46 PM, Fernando O. wrote: > Hi All, how are you? > >   I'm new in this list, actually I'm new to wicket and I'm trying to learn > it. So far I hadn't found any issues and it worked great until I came across

RE: Newbie Question - Wicket Session Growth

2010-11-20 Thread Chris Colman
That would be great - just had to do another server reboot due to low memory again. >-Original Message- >From: Jeremy Thomerson [mailto:jer...@wickettraining.com] >Sent: Friday, 19 November 2010 10:29 AM >To: users@wicket.apache.org >Subject: Re: Newbie Question - Wicket

Re: Newbie Question - Wicket Session Growth

2010-11-19 Thread Martin Grigorov
https://issues.apache.org/jira/browse/WICKET-3136 is marked as "to be fixed in 1.4.14" but I personally didn't have a look what is the problem there. On Fri, Nov 19, 2010 at 12:29 AM, Jeremy Thomerson < jer...@wickettraining.com> wrote: > On Thu, Nov 18, 2010 at 7:24 AM, Chris Colman > wrote: > >

Re: Newbie Question - Wicket Session Growth

2010-11-18 Thread Jeremy Thomerson
On Thu, Nov 18, 2010 at 7:24 AM, Chris Colman wrote: > >if you use Wicket 1.4.13 then you maybe hitting > >https://issues.apache.org/jira/browse/WICKET-3160 > > > >1.4.14 will be > released > >soon. > > That would be great. I think we're seeing sy

RE: Newbie Question - Wicket Session Growth

2010-11-18 Thread Chris Colman
>if you use Wicket 1.4.13 then you maybe hitting >https://issues.apache.org/jira/browse/WICKET-3160 > >1.4.14 will be released >soon. That would be great. I think we're seeing symptoms of a leak now in our production app. When do you think 1.4.14

Re: Newbie Question - Wicket Session Growth

2010-11-17 Thread Pedro Santos
ample page does not change > between successive refreshes, it was pointless to store multiple versions of > it. > > Cheers, > > Andrew. > > > -Original Message- > From: Pedro Santos [mailto:pedros...@gmail.com] > Sent: 17 November 2010 12:11 > To: users@

RE: Newbie Question - Wicket Session Growth

2010-11-17 Thread Andrew Hall
[mailto:pedros...@gmail.com] Sent: 17 November 2010 12:11 To: users@wicket.apache.org Subject: Re: Newbie Question - Wicket Session Growth You has an statefull page in the quickstart, so each refresh generates a new page version. As you are tracking the file maintained by the DiskPageStore, you are

Re: Newbie Question - Wicket Session Growth

2010-11-17 Thread Martin Grigorov
rect - I am using Wicket 1.4.13, however as you suggested, > I've > > changed my test case to use Wicket 1.4.12 and the situation is still the > > same. > > > > Thanks, > > > > Andrew. > > > > -Original Message- > > From: Martin Grigorov

Re: Newbie Question - Wicket Session Growth

2010-11-17 Thread Pedro Santos
13, however as you suggested, I've > changed my test case to use Wicket 1.4.12 and the situation is still the > same. > > Thanks, > > Andrew. > > -Original Message- > From: Martin Grigorov [mailto:mgrigo...@apache.org] > Sent: 17 November 2010 11:15 &g

RE: Newbie Question - Wicket Session Growth

2010-11-17 Thread Andrew Hall
Sent: 17 November 2010 11:15 To: users@wicket.apache.org Subject: Re: Newbie Question - Wicket Session Growth if you use Wicket 1.4.13 then you maybe hitting https://issues.apache.org/jira/browse/WICKET-3160 <https://issues.apache.org/jira/browse/WICKET-3160>1.4.14 will be released soon. Unt

Re: Newbie Question - Wicket Session Growth

2010-11-17 Thread Martin Grigorov
if you use Wicket 1.4.13 then you maybe hitting https://issues.apache.org/jira/browse/WICKET-3160 1.4.14 will be released soon. Until then you may use 1.4.12 for your application. On Wed, Nov 17, 2010 at 11:46 AM, Andrew Hall wrote: > Hi – I’m

Re: Newbie question anti-patterns and wicket, constructor component building

2010-06-15 Thread Jeremy Thomerson
> > > Well, the second version uses constructer injection. Some frameworks > prefer that approach. > > But, I see your point. > You should not be calling a service or dao directly in your constructor, regardless of whether you are using dependency injection or not. This is bad. That's what mode

Re: Newbie question anti-patterns and wicket, constructor component building

2010-06-15 Thread Jeremy Thomerson
> > > Well, the second version uses constructer injection. Some frameworks > prefer that approach. > > But, I see your point. > You should not be calling a service or dao directly in your constructor, regardless of whether you are using dependency injection or not. This is bad. That's what mode

RE: Newbie question anti-patterns and wicket, constructor component building

2010-06-15 Thread Brown, Berlin [GCG-PFS]
-Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, June 15, 2010 3:25 PM To: users@wicket.apache.org Subject: Re: Newbie question anti-patterns and wicket, constructor component building On Tue, Jun 15, 2010 at 2:11 PM, Brown, Berlin [GCG-PFS

Re: Newbie question anti-patterns and wicket, constructor component building

2010-06-15 Thread Jeremy Thomerson
On Tue, Jun 15, 2010 at 2:11 PM, Brown, Berlin [GCG-PFS] < berlin.br...@primerica.com> wrote: > I am sorry, am just getting used to Wicket but I notice a lot of use of > calling a lot of code in the constructor. Does it really matter? I > mention it because this kind of style makes it difficult

Re: Newbie Question about populating form values

2010-04-14 Thread James Carman
That's one of the key concepts of Wicket models. On Wed, Apr 14, 2010 at 2:04 PM, Nikita Tovstoles wrote: > Yeah, guess you could do that too, but then you'd have to wrap one model > into another (since LDM does not do property matching like CPM) + you've to > extend LDM. > > On Wed, Apr 14, 2010

Re: Newbie Question about populating form values

2010-04-14 Thread Nikita Tovstoles
Yeah, guess you could do that too, but then you'd have to wrap one model into another (since LDM does not do property matching like CPM) + you've to extend LDM. On Wed, Apr 14, 2010 at 9:24 AM, James Carman wrote: > Why not use a LoadableDetachableModel instead of setting on > onBeforeRender()? >

Re: Newbie Question about populating form values

2010-04-14 Thread James Carman
Why not use a LoadableDetachableModel instead of setting on onBeforeRender()? On Wed, Apr 14, 2010 at 12:10 PM, Nikita Tovstoles wrote: > If you're using a CPM there's no need to explicitly set models  for child > components. Also think about what you want to happen on page reload. > Generally I'

Re: Newbie Question about populating form values

2010-04-14 Thread Nikita Tovstoles
If you're using a CPM there's no need to explicitly set models for child components. Also think about what you want to happen on page reload. Generally I'd imagine you want current data, so set CPM's object on Page.onBeforeRender(): public class EmployeeMain extends BasePage{ final private Form

RE: Newbie question - HTML Labels and IDs

2009-09-30 Thread Phillip Sacre
That's great, thanks - I knew there must be a simple way of doing it! Phill -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: 30 September 2009 16:36 To: users@wicket.apache.org Subject: Re: Newbie question - HTML Labels and IDs see FormComponentLabe

Re: Newbie question - HTML Labels and IDs

2009-09-30 Thread Igor Vaynberg
see FormComponentLabel and SimpleFormComponentLabel -igor On Wed, Sep 30, 2009 at 8:34 AM, Phillip Sacre wrote: > Hi, > > I've been using Wicket now for a couple of weeks and am getting on > pretty well with it. I still run into issues occasionally though, and > I'd like to know what the "recomm

Re: Newbie question: fileupload AJAX progressbar ?

2009-08-20 Thread Robin Sander
cumentation because I was not sure if using UploadWebRequest has any side effects. Does not seem so. Stefan -Ursprüngliche Nachricht- Von: Ashika Umanga Umagiliya [mailto:auma...@biggjapan.com] Gesendet: Mittwoch, 19. August 2009 09:10 An: users@wicket.apache.org Betreff: Re: Newbie question: fileup

Re: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Ashika Umanga Umagiliya
9. August 2009 09:10 An: users@wicket.apache.org Betreff: Re: Newbie question: fileupload AJAX progressbar ? Thanks Stefan, That solved my problem. Since UploadProgreeBar is a component of 'wicket-extensions', i refered documentation at http://www.wicketframework.org/wicket-extensions/

Re: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Robin Sander
9. August 2009 09:10 An: users@wicket.apache.org Betreff: Re: Newbie question: fileupload AJAX progressbar ? Thanks Stefan, That solved my problem. Since UploadProgreeBar is a component of 'wicket-extensions', i refered documentation at http://www.wicketframework.org/wicket-extensions/ which is

Re: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Robin Sander
Nachricht- Von: Ashika Umanga Umagiliya [mailto:auma...@biggjapan.com] Gesendet: Mittwoch, 19. August 2009 09:10 An: users@wicket.apache.org Betreff: Re: Newbie question: fileupload AJAX progressbar ? Thanks Stefan, That solved my problem. Since UploadProgreeBar is a component of 'wicket

RE: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Stefan Lindner
@wicket.apache.org Betreff: Re: Newbie question: fileupload AJAX progressbar ? Thanks Stefan, That solved my problem. Since UploadProgreeBar is a component of 'wicket-extensions', i refered documentation at http://www.wicketframework.org/wicket-extensions/ which is kind of updated (versoi

Re: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Ashika Umanga Umagiliya
Thanks Stefan, That solved my problem. Since UploadProgreeBar is a component of 'wicket-extensions', i refered documentation at http://www.wicketframework.org/wicket-extensions/ which is kind of updated (versoin 1.2) . I had to download documentation for 1.4 from the maven repository. Thanks

RE: Newbie question: fileupload AJAX progressbar ?

2009-08-18 Thread Jing Ge (Besitec IT DEHAM)
Hi, Add this in your application class "SVRWebApplication": @Override protected WebRequest newWebRequest(HttpServletRequest servletRequest) { return new UploadWebRequest(servletRequest); } Best regards! Jing -Original Message- From: Ashika Umanga Umagiliya [mailto:auma...@biggjapan.

RE: Newbie question: fileupload AJAX progressbar ?

2009-08-18 Thread Stefan Lindner
You need @Override protected WebRequest newWebRequest(HttpServletRequest servletRequest) { return new UploadWebRequest(servletRequest); } In your Application's class. I think you should definitly read the APIdoc (see UploadProgressBar)! Stefan -Urspr

Re: NewBie question :Implementation of Collapsible Link

2009-03-31 Thread Ajayi Yinka
> wrote: > > -- Forwarded message -- > > From: Ajayi Yinka > > Date: Tue, Mar 31, 2009 at 9:01 AM > > Subject: Re: NewBie question :Implementation of Collapsible Link > > To: users@wicket.apache.org > > > > > > > > Thanks so much

Re: NewBie question :Implementation of Collapsible Link

2009-03-31 Thread James Carman
Are you looking for a menu system? On Tue, Mar 31, 2009 at 4:04 AM, Ajayi Yinka wrote: > -- Forwarded message -- > From: Ajayi Yinka > Date: Tue, Mar 31, 2009 at 9:01 AM > Subject: Re: NewBie question :Implementation of Collapsible Link > To: users@wi

Re: NewBie question :Implementation of Collapsible Link

2009-03-30 Thread Jeremy Thomerson
More details necessary. An accordion panel or tree view? Etc... -- Jeremy Thomerson http://www.wickettraining.com On Mon, Mar 30, 2009 at 3:19 AM, Ajayi Yinka wrote: > I am trying to see if i can implement collapsible link in my page. > > i had tried to use Link Tree, but I was getting error

Re: newbie question: HTTP 404 on the quickstart project

2009-03-25 Thread Jeremy Thomerson
t see how can I refer to the "jetty-config.xml" in the > Start.java file. > > Regards. > Mohamed > > > -Original Message- > From: Jeremy Thomerson [mailto:jer...@wickettraining.com] > Sent: Tuesday, March 24, 2009 4:44 PM > To: users@wicket.apache.org > Sub

RE: newbie question: HTTP 404 on the quickstart project

2009-03-25 Thread Chenini, Mohamed
ig.xml" in the Start.java file. Regards. Mohamed -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, March 24, 2009 4:44 PM To: users@wicket.apache.org Subject: Re: newbie question: HTTP 404 on the quickstart project Because you're not usi

RE: newbie question: HTTP 404 on the quickstart project

2009-03-25 Thread Chenini, Mohamed
9:29 AM To: users@wicket.apache.org Subject: Re: newbie question: HTTP 404 on the quickstart project Pro Wicket has been written during Wicket 1.2 availability. Therefore you should not expect everything to work directly. If you use the wicket-quickstart download from Wicket 1.2 the example sh

Re: newbie question: HTTP 404 on the quickstart project

2009-03-25 Thread Martijn Dashorst
he example from the book works. > > Thanks for your feedback. > > Regards, > Mohamed > > -Original Message- > From: Jeremy Thomerson [mailto:jer...@wickettraining.com] > Sent: Tuesday, March 24, 2009 4:44 PM > To: users@wicket.apache.org > Subject: Re: newbie

RE: newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Chenini, Mohamed
- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, March 24, 2009 4:44 PM To: users@wicket.apache.org Subject: Re: newbie question: HTTP 404 on the quickstart project Because you're not using jetty-config.xml - look at Start.java - you are mounting the app on / W

Re: newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Jeremy Thomerson
has this entry: > > > >/QuickStart >src/webapp > > > -Original Message- > From: Jeremy Thomerson [mailto:jer...@wickettraining.com] > Sent: Tuesday, March 24, 2009 4:30 PM > To: users@wicket.apache.org > Subject: Re: newbie question: HTTP 404 on the quickst

RE: newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Chenini, Mohamed
24, 2009 4:30 PM To: users@wicket.apache.org Subject: Re: newbie question: HTTP 404 on the quickstart project Okay - you found it. What's the question? -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 24, 2009 at 3:28 PM, Chenini, Mohamed wrote: > > Launching http:

Re: newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Jeremy Thomerson
// } >server.stop(); >server.join(); >} catch (Exception e) { > e.printStackTrace(); >System.exit(100); > } >} > } > > > ---

RE: newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Chenini, Mohamed
(Exception e) { e.printStackTrace(); System.exit(100); } } } -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, March 24, 2009 4:23 PM To: users@wicket.apache.org Subject: Re: new

Re: newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Jeremy Thomerson
ion > > > > > wicket.QuickStart >/* > > > > -Original Message- > From: Jeremy Thomerson [mailto:jer...@wickettraining.com] > Sent: Tuesday, March 24, 2009 4:17 PM > To: users@wicket.apache.org > Subject: Re: newbie question: HTTP 404 on the quickst

RE: newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Chenini, Mohamed
/* -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, March 24, 2009 4:17 PM To: users@wicket.apache.org Subject: Re: newbie question: HTTP 404 on the quickstart project Have you tried going to http://localhost:8081/quickstart ? or simply http

Re: newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Jeremy Thomerson
Have you tried going to http://localhost:8081/quickstart ? or simply http://localhost:8081 ? -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 24, 2009 at 3:09 PM, Chenini, Mohamed wrote: > Hi, > > I setup the "quickstart" project using the imbedded jetty server and > started the j

Re: Newbie question

2008-12-09 Thread Mark Daniel
By original source, I meant I just tried it on the book source code download. On Wed, Dec 10, 2008 at 1:20 AM, Mark Daniel <[EMAIL PROTECTED]> wrote: > Hi Igor, > > I just changed one line the original source (in my original post), and > built a war and deployed on tomcat, and got the behavior I

Re: Newbie question

2008-12-09 Thread Mark Daniel
Hi Igor, I just changed one line the original source (in my original post), and built a war and deployed on tomcat, and got the behavior I mentioning. I think they both point to the same list. On Wed, Dec 10, 2008 at 1:12 AM, Igor Vaynberg <[EMAIL PROTECTED]>wrote: > you gave listview a list ins

Re: Newbie question

2008-12-09 Thread Igor Vaynberg
you gave listview a list instance, but its probably not the same instance of list you are adding items to. that is why the original code uses a model to give listview the list. read the models chapter... -igor On Tue, Dec 9, 2008 at 12:23 PM, Mark Daniel <[EMAIL PROTECTED]> wrote: > Hello all, >

RE: Newbie question

2008-12-09 Thread Bruno Cesar Borges
don't know if for Repeaters would make sense to return how many items they contain. Probably not. -Original Message- From: Mark Daniel [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2008 6:35 PM To: users@wicket.apache.org Subject: Re: Newbie question Hi, Basically, ge

Re: Newbie question

2008-12-09 Thread Mark Daniel
Hi, Basically, getCart().getCheeses().size() != cartListView.size() On Wed, Dec 10, 2008 at 12:31 AM, Bruno Cesar Borges < [EMAIL PROTECTED]> wrote: > I think you are talking about the 'viewSize' property of ListView. > > This indicates how many "viewable" items will be displayed within a > Li

RE: Newbie question

2008-12-09 Thread Bruno Cesar Borges
I think you are talking about the 'viewSize' property of ListView. This indicates how many "viewable" items will be displayed within a ListView. -Original Message- From: Mark Daniel [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2008 6:23 PM To: users@wicket.apache.org Subject: N

Re: Newbie Question, Very Basic Model Use

2008-10-06 Thread Martijn Dashorst
see the models page on the wiki and read the javadoc for CompoundPropertyModel Martijn On Mon, Oct 6, 2008 at 3:26 PM, walnutmon <[EMAIL PROTECTED]> wrote: > > After using property models, it's nice to have automatic binding to variables > in objects... However, I can't seem to get the same thing

Re: Newbie Question, Very Basic Model Use

2008-10-06 Thread Serkan Camurcuoglu
Model assigns a new object as the model object, and I think java.lang.Boolean is immutable so it can't change after it's constructed anyway. So instead of checking the value of toggleableObject I think you can check myCheckbox.getModelObject() == Boolean.TRUE etc.. Ryan Gravener wrote: If y

Re: Newbie Question, Very Basic Model Use

2008-10-06 Thread Ryan Gravener
If you would like the property model to work with local variables do new propertymodel(this,"property") On 10/6/08, walnutmon <[EMAIL PROTECTED]> wrote: > > After using property models, it's nice to have automatic binding to > variables > in objects... However, I can't seem to get the same thing t

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread walnutmon
Haha, first off, thanks for all the responses, I'm glad the community is active :) I took a look at the Wicket Rad, it looks pretty cool, I think he referenced it so that I can actually see how some of that stuff works, and get a handle on what Wicket is capable of, it was a bit over my head. I

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread James Carman
Where's the fun in that? ;) Sorry, I should have mentioned that you need to setup your ListView to reuse the items if you're doing things as you say. On Fri, Sep 12, 2008 at 10:10 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > did you also explain about setreuseitems(true) to them after > suggest

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread Igor Vaynberg
did you also explain about setreuseitems(true) to them after suggesting a listview? -igor On Fri, Sep 12, 2008 at 3:35 AM, James Carman <[EMAIL PROTECTED]> wrote: > Does this person really need a RAD tool for what they're trying to do? > All they need to do is display a list of an arbitrary numb

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread wfaler
Nope, probably not, but he can take a look at the code for a sample on how to achieve exactly what he wants. jwcarman wrote: > > Does this person really need a RAD tool for what they're trying to do? > All they need to do is display a list of an arbitrary number of radio > buttons. Wouldn't L

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread James Carman
Does this person really need a RAD tool for what they're trying to do? All they need to do is display a list of an arbitrary number of radio buttons. Wouldn't ListView suffice in this situation? That's all they asked for. The XP folks would say, "Do the simplest thing that works." On Fri, Sep

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread wfaler
Jonathan Locke wrote: > > also see wicket-rad if appropriate > A http://sites.google.com/site/wicketrad URL could be useful, so here it is . :) The org.wicketrad.propertyeditor package in the wicket-rad-core module has a bunch of Panels you might want to look at for your problem. The exact p

Re: Newbie Question: Dynamically Building Form Elements

2008-09-11 Thread Jonathan Locke
also see wicket-rad if appropriate igor.vaynberg wrote: > > have a look see here for an example > > https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-crud/ > > -igor > > On Thu, Sep 11, 2008 at 6:29 PM, walnutmon <[EMAIL PROTECTED]> > wrote: >> >> Very new to W

Re: Newbie Question: Dynamically Building Form Elements

2008-09-11 Thread Igor Vaynberg
have a look see here for an example https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-crud/ -igor On Thu, Sep 11, 2008 at 6:29 PM, walnutmon <[EMAIL PROTECTED]> wrote: > > Very new to Wicket, I've been reading about it for a few days, I'm really > excited now that I

Re: Newbie Question: Dynamically Building Form Elements

2008-09-11 Thread James Carman
Take a look at ListView. On Thu, Sep 11, 2008 at 9:29 PM, walnutmon <[EMAIL PROTECTED]> wrote: > > Very new to Wicket, I've been reading about it for a few days, I'm really > excited now that I'm using it. > > The stuff I do requires that you be able to create dynamic form elements... > as an exam

Re: [Newbie question] How to avoid empty boxes?

2008-03-15 Thread Kaspar Fischer
Another possibility: /** * A panel whose visibility is on iff at least one of its subcomponents is visible. */ public class Envelope extends Panel { private static final long serialVersionUID = -6422145787799831814L; public Envelope(String id) { super(id); } public Envelope(S

Re: [newbie question] How to refresh Image using an AjaxLink

2008-02-29 Thread Nino Saturnino Martinez Vazquez Wael
Could you create a quickstart? The great thing with quickstarts, are that sometimes you discover whats wrong, and if not we will:) You can use the maven quickstart archetype to get going fast... It defiantly sounds like a caching error of somesort... regards Nino Karol Wrzesniewski wrote: ok

Re: [newbie question] How to refresh Image using an AjaxLink

2008-02-29 Thread Karol Wrzesniewski
ok - that's how it looks: this is a ListView on the panels left side: add(listaObrazow = new ListView("pics", obrazki) { public void populateItem(final ListItem listItem) { fina

Re: [newbie question] How to refresh Image using an AjaxLink

2008-02-29 Thread Nino Saturnino Martinez Vazquez Wael
Could you show us some code? regards Karol Wrzesniewski wrote: Thanks for all your help. NonCachingImage is exacly what I wanted. It works fine but only after I open modal window, call setImageResource, close modal and reopen it again. After first call of modal window default image is crea

Re: [newbie question] How to refresh Image using an AjaxLink

2008-02-29 Thread Nino Saturnino Martinez Vazquez Wael
https://issues.apache.org/jira/browse/WICKET-1382 Igor Vaynberg wrote: most people want stable urls for their images i would imagine, so they can be cached by the browser. in case of ajax this doesnt work because the url has to change so that browser needs to know to refresh it. maybe image ca

Re: [newbie question] How to refresh Image using an AjaxLink

2008-02-28 Thread Karol Wrzesniewski
Thanks for all your help. NonCachingImage is exacly what I wanted. It works fine but only after I open modal window, call setImageResource, close modal and reopen it again. After first call of modal window default image is created, when I'm trying to change it "nothing happens" exacly like

Re: [newbie question] How to refresh Image using an AjaxLink

2008-02-28 Thread Nino Saturnino Martinez Vazquez Wael
:) I think thats the point of noncaching image thats already there, it's just that people gets confused by this... Bernard Niset wrote: Hi, I had the same issue yesterday and found a solution somewhere else in this mailing list. Adding some random query to the url forces the browser not to re

Re: [newbie question] How to refresh Image using an AjaxLink

2008-02-27 Thread Bernard Niset
Hi, I had the same issue yesterday and found a solution somewhere else in this mailing list. Adding some random query to the url forces the browser not to reuse a cached image. To achieve that you have to subclass Image and override onComponentTag like this: @Override protected void onC

Re: [newbie question] How to refresh Image using an AjaxLink

2008-02-27 Thread Igor Vaynberg
most people want stable urls for their images i would imagine, so they can be cached by the browser. in case of ajax this doesnt work because the url has to change so that browser needs to know to refresh it. maybe image can know if its requested within an ajax request and automatically add rando

Re: [newbie question] How to refresh Image using an AjaxLink

2008-02-27 Thread Nino Saturnino Martinez Vazquez Wael
Should nocachingImage be default, and then have a cachingImage? Or would that result in the same amount of confusion? WDYT? As a couple of people has been confused by this... regards Nino Igor Vaynberg wrote: use NonCachingImage -igor On Wed, Feb 27, 2008 at 2:43 AM, Karol Wrzesniewski <[E

Re: [newbie question] How to refresh Image using an AjaxLink

2008-02-27 Thread Igor Vaynberg
use NonCachingImage -igor On Wed, Feb 27, 2008 at 2:43 AM, Karol Wrzesniewski <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having problems with refreshing an Image using AjaxLink. > > I have a ModalWindow. On it's left side theres a ListView containing Ajax > links: > > -- > add

Re: [Newbie question] How to avoid empty boxes?

2008-02-26 Thread Kaspar Fischer
Dear Bernd, Gerolf, Nino, Thanks a lot for your replies: in two minutes I learnt a lot! For my particular needs, wicket:enclosure is not the perfect solution: I have several children, but using the child='...' syntax, the visibility is coupled to a specific child while I nee

Re: [Newbie question] How to avoid empty boxes?

2008-02-26 Thread Nino Saturnino Martinez Vazquez Wael
hmm why do it complicated, just create a panel, and if your rules decide it then call setvisible(false)... then no markup will be visible from that component... Kaspar Fischer wrote: I have just started looking at Wicket and have a basic question. My page displays an article with meta-data fr

Re: [Newbie question] How to avoid empty boxes?

2008-02-26 Thread Gerolf Seitz
hi, if no ajax is involved, i suggest reading [0] about wicket:enclosure. this should do the trick. cheers, gerolf [0] http://www.systemmobile.com/?page_id=253 On Tue, Feb 26, 2008 at 10:47 AM, Kaspar Fischer <[EMAIL PROTECTED]> wrote: > I have just started looking at Wicket and have a basic

Re: Newbie question. Override class attributes from a tabPanel component

2008-01-03 Thread Igor Vaynberg
if you update to trunk there is a new overridable protected LoopItem newTabContainer(int tabIndex); -igor On Jan 3, 2008 2:19 PM, Fernando Wermus <[EMAIL PROTECTED]> wrote: > Great! I will take a look at that. Thanks! > > It seems to be hardcoded the tabbedPanel class attribute :( > > Looking at

Re: Newbie question. Override class attributes from a tabPanel component

2008-01-03 Thread Fernando Wermus
Great! I will take a look at that. Thanks! It seems to be hardcoded the tabbedPanel class attribute :( Looking at the code tabbedPanel constructor, protected LoopItem newItem(int iteration) { return new LoopItem(iteration) {

Re: Newbie question. Override class attributes from a tabPanel component

2008-01-03 Thread Martijn Dashorst
Take a look at AttributeAppender, AttributeModifier or SImpleAttributeModifier. You can add them to a component and they allow you to modify tag attributes. Martijn On Jan 3, 2008 10:45 PM, Fernando Wermus <[EMAIL PROTECTED]> wrote: > I am trying to use the themes from Drupal in a wicket app. I n

Re: Newbie question - how to create a Default Data Table with onmouseover row style changes + link per row

2007-10-22 Thread Igor Vaynberg
On 10/22/07, Chris Ainsley <[EMAIL PROTECTED]> wrote: > > I started to implement this change and found that there is no IClickListener > as part of Wicket 1.2.6. I assume this class must be part of 1.3.0 so I will > check now. Its a shame because 1.3.0+ seems to carry with it a lot more jar > depen

Re: Newbie question - how to create a Default Data Table with onmouseover row style changes + link per row

2007-10-22 Thread Chris Ainsley
I started to implement this change and found that there is no IClickListener as part of Wicket 1.2.6. I assume this class must be part of 1.3.0 so I will check now. Its a shame because 1.3.0+ seems to carry with it a lot more jar dependencies. Also - do you have any suggestions with how to implem

Re: Newbie question - how to create a Default Data Table with onmouseover row style changes + link per row

2007-10-22 Thread Igor Vaynberg
create a subclass of defaultdatatable, override newrowitem to be like this: component newrowitem(...) { return new clickableitem(...) { onclick() { // implement onclick } } } class clickableitem extends item implements iclicklistener { oncomponenttag(tag) { tag.put("onclick","window

Re: Newbie Question Loading localization Resources from Database

2007-10-02 Thread Frank Bille
On 10/2/07, marcus dickerhof <[EMAIL PROTECTED]> wrote: > > Hi I just found out that this issue should be fixed in wicket 1.3.0 beta 4 > (wicket-issue 936). Where can I get that? beta4 is not released yet. If nothing comes in the way I will release beta4 this weekend. Frank

Re: Newbie Question Loading localization Resources from Database

2007-10-02 Thread marcus dickerhof
Hi I just found out that this issue should be fixed in wicket 1.3.0 beta 4 (wicket-issue 936). Where can I get that? Which is the current release, best suited for a production environment? Thanks! Marcus 2007/10/2, marcus dickerhof <[EMAIL PROTECTED]>: > > So, > I looked at the sources of Local

Re: Newbie Question Loading localization Resources from Database

2007-10-02 Thread marcus dickerhof
So, I looked at the sources of Localizer, for "Tried to retrieve a localized string for a component that has not yet been added to the page. " which is the warning i get. In this case the Localizer calls loader.loadStringResource(component, key); without passing a locale. That's why I always get t

Re: Newbie Question Loading localization Resources from Database

2007-10-02 Thread marcus dickerhof
Hi Cristina, thanks for your reply. The problem is, that the session locale is changed, but somehow there seems to be another locale present which is then passed to the IStringResourceLoader.loadStringResource implementation. Have you got any ideas? Thanks a lot Marcus 2007/10/2, Cristina <[EMAIL

Re: Newbie Question Loading localization Resources from Database

2007-10-02 Thread marcus dickerhof
Hi Eleco, I' sorry somehow the problem with the locale being null is solved. I cannot reconstruct it. But the problem with the locale passed to IStringResourceLoader.loadStringResource(..) being DE remains. I have the feeling that the SessionLocale is not used. I verified this by putting a label o

Re: Newbie Question Loading localization Resources from Database

2007-10-01 Thread Eelco Hillenius
> //funny effect locale.getLanguage() --> Nullpointer Exception > //I have to call locale.clone().getLanguage(). Is that normal? ? Could you give us the full stack trace please? Eelco - To unsubscribe, e-mail: [EMAIL PROTECT

Re: Newbie Question Loading localization Resources from Database

2007-10-01 Thread Cristina
Hi Marcus, marcus dickerhof wrote: > > [...] > Question: Can it be, that the Session-Locale is not used, because of the > Localizer-Problem? Which locale is used instead? > If you're setting the Locale in your Session (probably a class that extends WebSession) and then getting the Locale thro

Re: newbie question about using WizardStep, help! thanks!

2007-09-25 Thread raybristol
Great! that's what I want, thanks so much and sorry for my stupid questions :) Eelco Hillenius wrote: > >> Hi experts, >> >> I want to implement a wizard, user need to input some data, I can do it >> with >> a single page using form, but I don't know how to do it in wizard, I put >> a >> coupl

  1   2   >