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

Newbie Question

2018-05-05 Thread athageor
The question is about as simple as it gets: in the HelloWorld! example a single String is printed on the server by adding one new Label in the .java file in a such manner: add(new Label("id", "what I actualy want to print"); Therefore, in order to print a single string I must've predefined it

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

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

2014-06-09 Thread Tim Collins
I am rather new to wicket and am trying to do something that ought to be rather easy... I want to make the tabs I display show up vertically rather than horizontally. I am currently building a arraylist of tabs and then passing them to AjaxTabbedPanel, but as far as I can see there is no way t

Re: Newbie question: startup wicketapplication with loginform

2013-12-02 Thread Paul Bors
et/bookmarkable/org.apache.wicket.examples.authentication1.SignIn?0 > > > > - > Wicket-Java > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Newbie-question-startup-wicketapplication-with-loginform-tp4662641p4662685.html > Sent from the User

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

Re: Newbie question: startup wicketapplication with loginform

2013-11-25 Thread Gerrit Wassink
> Thanks in advance. > Gerrit > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Newbie-question-startup-wicketapplication-with-loginform-tp4662641.html > > Sent from the Users forum mailing list archive at Nabble.com.

Re: Newbie question: startup wicketapplication with loginform

2013-11-25 Thread Martin Grigorov
nForm.class; > } > > Because Form of "cannot convert from Class to Class Page>" > > How can i make this work?, or do i have to make a Loginform which extends > WebPage? > > Thanks in advance. > Gerrit > > > > -- > View th

Newbie question: startup wicketapplication with loginform

2013-11-25 Thread gerritqf
in context: http://apache-wicket.1842946.n4.nabble.com/Newbie-question-startup-wicketapplication-with-loginform-tp4662641.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: user

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

Newbie Question

2011-01-31 Thread Fernando O.
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 this anoying problem, I have as part of my html: I wanted to add to a page a button with a text, on click the button hits th

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

Newbie question anti-patterns and wicket, constructor component building

2010-06-15 Thread Brown, Berlin [GCG-PFS]
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 to test code because code in the constructor may fail and the object won't be created. Should I jus

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

Newbie Question about populating form values

2010-04-14 Thread David Hamilton
I'm a new Wicket using trying to figure out how to populate a form's initial value with data from a bean (that is in the session already). I've actually got it working, but I don't think I'm doing the best way. public final class EmployeeMain extends BasePage { public EmployeeMain() {

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

Newbie question - HTML Labels and IDs

2009-09-30 Thread Phillip Sacre
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 "recommended" way of solving this one is! I have the following HTML snippet in a component: Model

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
the APIdoc (see UploadProgressBar)! Stefan -Ursprüngliche Nachricht- Von: Ashika Umanga Umagiliya [mailto:auma...@biggjapan.com] Gesendet: Mittwoch, 19. August 2009 07:17 An: users@wicket.apache.org Betreff: Newbie question: fileupload AJAX progressbar ? Greetings all, I am new to Wi

RE: Newbie question: fileupload AJAX progressbar ?

2009-08-18 Thread Jing Ge (Besitec IT DEHAM)
ailto:auma...@biggjapan.com] Sent: Mittwoch, 19. August 2009 07:17 To: users@wicket.apache.org Subject: Newbie question: fileupload AJAX progressbar ? Greetings all, I am new to Wicket and I used 'UploadProgressBar' to create an AJAX brogressbar for fileupload.(refered example at wicket-li

RE: Newbie question: fileupload AJAX progressbar ?

2009-08-18 Thread Stefan Lindner
tefan -Ursprüngliche Nachricht- Von: Ashika Umanga Umagiliya [mailto:auma...@biggjapan.com] Gesendet: Mittwoch, 19. August 2009 07:17 An: users@wicket.apache.org Betreff: Newbie question: fileupload AJAX progressbar ? Greetings all, I am new to Wicket and I used 'UploadProgressBar' to

Newbie question: fileupload AJAX progressbar ?

2009-08-18 Thread Ashika Umanga Umagiliya
Greetings all, I am new to Wicket and I used 'UploadProgressBar' to create an AJAX brogressbar for fileupload.(refered example at wicket-library.org ) But when uploading a file, eventhough progreebar showed,theres no activity nor incrementation of the bar I have posted my code, what could be t

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

Fwd: NewBie question :Implementation of Collapsible Link

2009-03-31 Thread Ajayi Yinka
-- 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. I want a tree view (What I really want to implement is a collapsible list, whereby a click

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

NewBie question :Implementation of Collapsible Link

2009-03-30 Thread Ajayi Yinka
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 which I could not even trace or decipher the cause. Please, can anyone give me insight on the best way to implement the "collapsible link" Thanks. Yinka

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

newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Chenini, Mohamed
Hi, I setup the "quickstart" project using the imbedded jetty server and started the jetty server from inside Eclipse (Right-click on src/main/java and then click on "Run as" "Java Application" But when I enter on the browser (IE) this URL: http://localhost:8081/QuickStart I got this error: H

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
t; 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: Newbie question > > > Hello all, > > I'm

RE: Newbie question

2008-12-09 Thread Bruno Cesar Borges
t.apache.org Subject: Newbie question Hello all, I'm following the wicket in action book. I'm trying the cheese store in chapter 3. I was following along the code by reading a bit and coding a bit on my own. The code defining the ListView for the cheese cart is originally: add(new List

Newbie question

2008-12-09 Thread Mark Daniel
Hello all, I'm following the wicket in action book. I'm trying the cheese store in chapter 3. I was following along the code by reading a bit and coding a bit on my own. The code defining the ListView for the cheese cart is originally: add(new ListView("cart", new PropertyModel(this, "cart.cheese

Re: Newbie Question, Very Basic Model Use

2008-10-06 Thread Martijn Dashorst
Model(toggleableObject)); > //toggleableObject is a Boolean > > doesn't seem to change anything on form submit, that toggleable object only > dictates the initial state of the checkbox, but doesn't change with it > What am I missing? > > -- > View this message

Re: Newbie Question, Very Basic Model Use

2008-10-06 Thread Serkan Camurcuoglu
bject is a Boolean doesn't seem to change anything on form submit, that toggleable object only dictates the initial state of the checkbox, but doesn't change with it What am I missing? -- View this message in context: http://www.nabble.com/Newbie-Question%2C-Very-Basic-Model-Use-

Re: Newbie Question, Very Basic Model Use

2008-10-06 Thread Ryan Gravener
g", new Model(toggleableObject)); > //toggleableObject is a Boolean > > doesn't seem to change anything on form submit, that toggleable object only > dictates the initial state of the checkbox, but doesn't change with it > What am I missing? > > -- > View thi

Newbie Question, Very Basic Model Use

2008-10-06 Thread walnutmon
t What am I missing? -- View this message in context: http://www.nabble.com/Newbie-Question%2C-Very-Basic-Model-Use-tp19837933p19837933.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread walnutmon
uld 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. >>>> &

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread James Carman
.propertyeditor package in the wicket-rad-core module has a >>> bunch of Panels you might want to look at for your problem. >>> >>> The exact problem regarding Radio buttins you (Justin) are talking about can >>> be solved with the org.wicketrad.property

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread Igor Vaynberg
module has a >> bunch of Panels you might want to look at for your problem. >> >> The exact problem regarding Radio buttins you (Justin) are talking about can >> be solved with the org.wicketrad.propertyeditor.input.RadioGroupInput class >> (it uses an implementation o

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread wfaler
gt; bunch of Panels you might want to look at for your problem. >> >> The exact problem regarding Radio buttins you (Justin) are talking about >> can >> be solved with the org.wicketrad.propertyeditor.input.RadioGroupInput >> class >> (it uses an implementation of IC

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread James Carman
lass > (it uses an implementation of IChoiceSource to retrieve the number of radio > buttons). > -- > View this message in context: > http://www.nabble.com/Newbie-Question%3A--Dynamically-Building-Form-Elements-tp19447802p19451340.html > Sent from the Wicket - User mailing list arc

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread wfaler
The exact problem regarding Radio buttins you (Justin) are talking about can be solved with the org.wicketrad.propertyeditor.input.RadioGroupInput class (it uses an implementation of IChoiceSource to retrieve the number of radio buttons). -- View this message in context: http://www.nabble.c

Re: Newbie Question: Dynamically Building Form Elements

2008-09-11 Thread Jonathan Locke
ny number of radio button options >> based on a call to some psuedo function 'List >> getRadioButtonSelectionOptions();' >> >> I am unable to just call 'add(optionIndex, listOfOptions.getNext());' >> because there is nothing mapped to it in HTML, however, I

Re: Newbie Question: Dynamically Building Form Elements

2008-09-11 Thread Igor Vaynberg
Options.getNext());' > because there is nothing mapped to it in HTML, however, I can't put it in > HTML, because I don't know how many options there will be. > > Thanks! > Justin > -- > View this message in context: > http://www.nabble.com/Newbie-Qu

Re: Newbie Question: Dynamically Building Form Elements

2008-09-11 Thread James Carman
put it in > HTML, because I don't know how many options there will be. > > Thanks! > Justin > -- > View this message in context: > http://www.nabble.com/Newbie-Question%3A--Dynamically-Building-Form-Elements-tp19447802p19447802.html > Sent from the Wicket - User mailin

Newbie Question: Dynamically Building Form Elements

2008-09-11 Thread walnutmon
OfOptions.getNext());' because there is nothing mapped to it in HTML, however, I can't put it in HTML, because I don't know how many options there will be. Thanks! Justin -- View this message in context: http://www.nabble.com/Newbie-Question%3A--Dynamically-Building-Form-Elements-

Re: How does Wicket load an object and combine it with a user's web input? (newbie question)

2008-05-16 Thread Maurice Marrink
You do not need a hidden form parameter, wicket automatically resolves the form input with the component on the server side. On submit the model of the component is loaded and set with the new input. If you use a model such as LoadableDetachableModel, that knows how to get the latest object from th

How does Wicket load an object and combine it with a user's web input? (newbie question)

2008-05-16 Thread David Wicket
I just started learning Wicket. I have some experience with JSP+Spring. In Spring, based on a hidden id parameter from a form, I can use formBackingObject method to load the object. Spring combines a user's input in the form with the loaded object to form the latest version of this object and th

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

[newbie question] How to refresh Image using an AjaxLink

2008-02-27 Thread Karol Wrzesniewski
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(listaObrazow = new ListView("pics", obrazki) { public void populateItem(final ListItem listItem) {

  1   2   >