Re: Newbie Question

2018-05-06 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

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

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,

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

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;

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

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

Re: Newbie question: startup wicketapplication with loginform

2013-12-02 Thread Paul Bors
/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 Users forum mailing list archive at Nabble.com

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

Newbie question: startup wicketapplication with loginform

2013-11-25 Thread gerritqf
-- 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. - To unsubscribe, e

Re: Newbie question: startup wicketapplication with loginform

2013-11-25 Thread Martin Grigorov
LoginForm.class; } Because Form of cannot convert from ClassLoginForm to Class? extends Page How can i make this work?, or do i have to make a Loginform which extends WebPage? Thanks in advance. Gerrit -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Newbie

Re: Newbie question: startup wicketapplication with loginform

2013-11-25 Thread Gerrit Wassink
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

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

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. fot...@gmail.com 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

Re: Newbie Question

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

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

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 to

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
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 models are

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 models are

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 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

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 nikita.tovsto...@gmail.com 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

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 jcar...@carmanconsulting.comwrote: Why not use a LoadableDetachableModel instead of

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 nikita.tovsto...@gmail.com 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.

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: tr td label

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 psa...@clifford-thames.com 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

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 FormComponentLabel

Re: Newbie question: fileupload AJAX progressbar ?

2009-08-20 Thread Robin Sander
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: fileupload AJAX progressbar ? Thanks Stefan

RE: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Stefan Lindner
-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 create an AJAX

RE: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Jing Ge (Besitec IT DEHAM)
...@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-library.org ) But when uploading

Re: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Ashika Umanga Umagiliya
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 Wicket and I used

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 (versoin 1.2) . I

Re: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Robin Sander
@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 (versoin 1.2) . I had

Re: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Ashika Umanga Umagiliya
@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 (versoin 1.2

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

Fwd: NewBie question :Implementation of Collapsible Link

2009-03-31 Thread Ajayi Yinka
-- Forwarded message -- From: Ajayi Yinka iamstyaj...@googlemail.com 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

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 iamstyaj...@googlemail.com wrote: -- Forwarded message -- From: Ajayi Yinka iamstyaj...@googlemail.com Date: Tue, Mar 31, 2009 at 9:01 AM Subject: Re: NewBie question :Implementation of Collapsible

Re: NewBie question :Implementation of Collapsible Link

2009-03-31 Thread Ajayi Yinka
, Ajayi Yinka iamstyaj...@googlemail.com wrote: -- Forwarded message -- From: Ajayi Yinka iamstyaj...@googlemail.com 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

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 Martijn Dashorst
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 question: HTTP 404 on the quickstart project Because you're

RE: newbie question: HTTP 404 on the quickstart project

2009-03-25 Thread Chenini, Mohamed
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 should match

RE: newbie question: HTTP 404 on the quickstart project

2009-03-25 Thread Chenini, 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 using jetty-config.xml - look at Start.java - you are mounting

Re: newbie question: HTTP 404 on the quickstart project

2009-03-25 Thread Jeremy Thomerson
-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 using jetty-config.xml - look at Start.java - you

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 mchen...@geico.comwrote: Hi, I setup the quickstart project using the imbedded jetty server and

RE: newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Chenini, Mohamed
(); 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: newbie question: HTTP 404 on the quickstart project Try http://localhost:8080

Re: newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Jeremy Thomerson
: Tuesday, March 24, 2009 4:23 PM To: users@wicket.apache.org Subject: Re: newbie question: HTTP 404 on the quickstart project Try http://localhost:8080 and http://localhost:8081 The answer really will be in Start.java - see what port it is on and where the app is mounted. Then make

RE: newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Chenini, Mohamed
[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 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

Re: newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Jeremy Thomerson
/Arg Argsrc/webapp/Arg /Call -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 quickstart project Okay - you found it. What's the question

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,

Re: Newbie question

2008-12-09 Thread Mark Daniel
. -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 following the wicket in action book. I'm trying the cheese store in chapter 3. I was following along

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, getCart

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 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

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

Newbie Question, Very Basic Model Use

2008-10-06 Thread walnutmon
: 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-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Newbie Question, Very Basic Model Use

2008-10-06 Thread Serkan Camurcuoglu
, 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-tp19837933p19837933.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Newbie Question, Very Basic Model Use

2008-10-06 Thread Ryan Gravener
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-tp19837933p19837933.html Sent from the Wicket - User mailing list

Re: Newbie Question, Very Basic Model Use

2008-10-06 Thread Martijn Dashorst
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-tp19837933p19837933.html Sent from the Wicket - User mailing list

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread Jonathan Locke
, listOfOptions.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-tp19447802p19447802

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread wfaler
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.com/Newbie-Question

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread James Carman
this message in context: http://www.nabble.com/Newbie-Question%3A--Dynamically-Building-Form-Elements-tp19447802p19451340.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread wfaler
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.com/Newbie-Question%3A--Dynamically-Building-Form-Elements-tp19447802p19451340.html Sent from the Wicket - User mailing

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread Igor Vaynberg
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.com/Newbie-Question%3A--Dynamically-Building-Form-Elements-tp19447802p19451340.html Sent

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread James Carman
(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 archive at Nabble.com

Re: Newbie Question: Dynamically Building Form Elements

2008-09-12 Thread walnutmon
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 archive at Nabble.com

Newbie Question: Dynamically Building Form Elements

2008-09-11 Thread walnutmon
, listOfOptions.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: Newbie Question: Dynamically Building Form Elements

2008-09-11 Thread James Carman
this message in context: http://www.nabble.com/Newbie-Question%3A--Dynamically-Building-Form-Elements-tp19447802p19447802.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: Newbie Question: Dynamically Building Form Elements

2008-09-11 Thread Igor Vaynberg
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-tp19447802p19447802.html Sent from the Wicket - User mailing list archive at Nabble.com

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

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

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

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

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

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) { final

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

[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) {

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: --

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

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

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

[Newbie question] How to avoid empty boxes?

2008-02-26 Thread Kaspar Fischer
I have just started looking at Wicket and have a basic question. My page displays an article with meta-data from the database. I display the meta-data in a box (a div.../div). If no meta-information is present, I don't want the box (the div) to appear at all. Is there a generic,

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

2008-02-26 Thread Bernd Mrohs
of the Component's tag. Then, there is nothing left on your page... Kind regards, Bernd -Ursprüngliche Nachricht- Von: Kaspar Fischer [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 26. Februar 2008 10:47 An: users@wicket.apache.org Betreff: [Newbie question] How to avoid empty boxes? I have

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] 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

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, wicket:enclosure child='child1' div wicket:id=child1/div div wicket:id=child2/div

Newbie question. Override class attributes from a tabPanel component

2008-01-03 Thread Fernando Wermus
I am trying to use the themes from Drupal in a wicket app. I need then to override the class tag attributes for the ones named in the themes. But I don't know how to do it, for instance in tabpanel tags such as li and ul. I imagine is pretty easy. for instance, li class=tab0 selected to li

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

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 the

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) {

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

2007-10-22 Thread Chris Ainsley
to know what is possible and what is not possible in Wicket due to lack of detailed user manual. I am currently using version 1.2.6. If anyone can help then I will be extremely grateful. Thanks, Chris. -- View this message in context: http://www.nabble.com/Newbie-question---how-to-create-a-Default

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

2007-10-22 Thread Igor Vaynberg
manual. I am currently using version 1.2.6. If anyone can help then I will be extremely grateful. Thanks, Chris. -- View this message in context: http://www.nabble.com/Newbie-question---how-to-create-a-Default-Data-Table-with-onmouseover-row-style-changes-%2B-link-per-row-tf4675145.html

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

Re: Newbie Question Loading localization Resources from Database

2007-10-02 Thread marcus dickerhof
-resource-strings? I believe .properties files are a better way to get localized strings... Is there any reason why you can't/shouldn't use them? Hope this helps, Cristina -- View this message in context: http://www.nabble.com/Newbie-Question-Loading-localization-Resources-from-Database

Re: Newbie Question Loading localization Resources from Database

2007-10-02 Thread marcus dickerhof
: Is there a better way to get database-resource-strings? I believe .properties files are a better way to get localized strings... Is there any reason why you can't/shouldn't use them? Hope this helps, Cristina -- View this message in context: http://www.nabble.com/Newbie-Question

Re: Newbie Question Loading localization Resources from Database

2007-10-02 Thread marcus dickerhof
://www.nabble.com/Newbie-Question-Loading-localization-Resources-from-Database-tf4548742.html#a12990188 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

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

Newbie Question Loading localization Resources from Database

2007-10-01 Thread marcus dickerhof
Hi, could you please help me with the following problem: I use wicket 1.3.0 beta 3 + java 1.4.2 + tomcat 5.5 I wrote a small page that has a wicket:message key=helloWorld when running tomcat I get: [Localizer] Tried to retrieve a localized string for a component that has not yet been added to

Re: Newbie Question Loading localization Resources from Database

2007-10-01 Thread Cristina
believe .properties files are a better way to get localized strings... Is there any reason why you can't/shouldn't use them? Hope this helps, Cristina -- View this message in context: http://www.nabble.com/Newbie-Question-Loading-localization-Resources-from-Database-tf4548742.html#a12990188 Sent

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

  1   2   >