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
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,
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;
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
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
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 techlove...@gmail.com wrote:
Hi,
you can also view the below example code:
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:
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 gerrit.wass...@qfactors.nlwrote:
Hello usermembers,
I have a question about the startup page for my wicket webapplication.
I made a
Ok i will try.Thanks!
Martin Grigorov mgrigo...@apache.org , 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 gerrit.wass...@qfactors.nlwrote:
Hello
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
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
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
-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
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
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
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
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
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
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.
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
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
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
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
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
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.
@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
@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
@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
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
, 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
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
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
-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
-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
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
();
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
: 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
[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
/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
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
ListView.
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
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,
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
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
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
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 to work
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 to
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 Wicket, I've
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
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
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
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 number
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
suggesting
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
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 example,
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'm
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
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
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
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
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
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:
--
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
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
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
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
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
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
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
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
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)
{
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) {
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
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
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
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
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
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 through
//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
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
couple of input
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
couple of input textfield etc. then I get a error:
java.lang.IllegalStateException: Attempt to set model object on null model
81 matches
Mail list logo