I have not try it.but wicket component doc say supporting:
Style - The style (skin) for a component is available through getStyle(),
which is equivalent to getSession().getStyle(). Styles are intended to give a
particular look to a Component or Resource that is independent of its Locale.
For
columns.add(new LinkPropertyColumntest(new StringResourceModel(one, this,
null), ONE, one){
private static final long serialVersionUID = 1L;
@Override
public void onClick(Item item, String componentId, IModeltest model) {
try {
new
It depends on whether your themes can be purely defined by styles or
whether some layout changes are also required to support different
themes. Often our themes have required some layout changes in
combination with style changes and so we use markup 'variations' to
handle that.
-Original
You guys should check out this site:
http://www.csszengarden.com/
Note the links on the right. Click them - they'll turn same site into a
completely different themes (not even close) by using nothing but CSS.
So if you code your site right for CSS, swapping/adding themes should be a
no-brainer!
Hi.
Was writing some code and encountered that
org.apache.wicket.model.Model T
Always uses direct references to 'object' variable directly. And never as
getObject().
This may hinder overriding methods.
(I found this cause I overwrote getObject() and NOTHING changed :)
I then looked at the
I did something similar and it works.
**
Martin
2010/6/15 Alex Rass a...@itbsllc.com:
Hi.
Was writing some code and encountered that
org.apache.wicket.model.Model T
Always uses direct references to 'object' variable directly. And never as
getObject().
This may hinder overriding methods.
You should consider that 2 users can be doing it at the same time.
Which will lead to serious errors.
I would suggest using a random file name (or one with session hash in the
filename) so you avoid userA downloading userB's download.zip
I would think that you should be able to just stream it
No, Martin, it can't work.
Look at the implementation.
ALL other methods use object directly.
SO if you just override getObject you'll endup with a broken:
equals(), hashCode(), toString() methods (which breaks any form of caching)
detach() would also be broken.
So no, it can't work.
You HAVE to
I concur.
**
Martin
2010/6/15 Alex Rass a...@itbsllc.com:
No, Martin, it can't work.
Look at the implementation.
ALL other methods use object directly.
SO if you just override getObject you'll endup with a broken:
equals(), hashCode(), toString() methods (which breaks any form of caching)
I would like to support multiple themes in Wicket application like
Wordpress, Drupal. Could you please give me suggestion?
I would make sure that every element has class set. I would also recommend
always setting component.setMarkupId(String id) for your components so that you
can style on
Hi,
is there another wicketstuff-repo (a mirror for example)? Wicketstuff is now
down for some days and
I'll need some artifacts from the repo.
marc
someone mentioned sonatype..Search the list for sonatype..
2010/6/15 Marc Ende mli...@e-beyond.de
Hi,
is there another wicketstuff-repo (a mirror for example)? Wicketstuff is
now
down for some days and
I'll need some artifacts from the repo.
marc
Ah, I've found it:
http://repo1.maven.org/maven2/org/wicketstuff/
Thanks
marc
2010/6/15 nino martinez wael nino.martinez.w...@gmail.com
someone mentioned sonatype..Search the list for sonatype..
2010/6/15 Marc Ende mli...@e-beyond.de
Hi,
is there another wicketstuff-repo (a mirror
Hello,
The release artifacts for wicketstuff-core since 1.4.7 have been
deployed through sonatype and are available through maven central.
http://repo2.maven.org/maven2/org/wicketstuff/
This is only for the projects in wicketstuff-core directory structure,
if you are looking at one of the
On Tue, Jun 15, 2010 at 5:24 AM, Alex Rass a...@itbsllc.com wrote:
You should consider that 2 users can be doing it at the same time.
Which will lead to serious errors.
I would suggest using a random file name (or one with session hash in the
filename) so you avoid userA downloading userB's
Fellow Wicket Users,
Just in case anybody here needs more help with arguing for Wicket in
their companies:
Not only is Walmart Mobile (http://mobile.walmart.com) using Wicket, but
it also helped the site to be ranked No. 1 in performance by Gomez:
I was a little confused about page layouts and markup inheritance. I
was thinking that a I could take a piece of HTML markup and reuse that
component when I need to, and use it multiple times within page without
ever having to create the content.
I was not able to do this. What I have now,
On Tue, Jun 15, 2010 at 10:07 AM, Brown, Berlin [GCG-PFS]
berlin.br...@primerica.com wrote:
I was a little confused about page layouts and markup inheritance. I
was thinking that a I could take a piece of HTML markup and reuse that
component when I need to, and use it multiple times within
Giovanni,
I am one of the developers of mobile.walmart.com. We are using Wicket to
support all types of cell phones, but most of our traffic is from smart
phones. If you point to our site using iPhone, Blackberry, and Motorola
Razor you get three different experience. All three experiences are
-Original Message-
From: Jeremy Thomerson [mailto:jer...@wickettraining.com]
Sent: Tuesday, June 15, 2010 11:26 AM
To: users@wicket.apache.org
Cc: Berlin Brown
Subject: Re: Question about markup inheritance and page layouts
On Tue, Jun 15, 2010 at 10:07 AM, Brown, Berlin [GCG-PFS]
On Tue, Jun 15, 2010 at 10:26 AM, Joachim F. Kainz j...@jolira.com wrote:
We have nothing to do with visural wicket
Oops - my bad. Jolira / Visural - all the names jumble in my head after a
while.
--
Jeremy Thomerson
http://www.wickettraining.com
Where did you place the wicket:panel tags in your markup?
--
Jeremy Thomerson
http://www.wickettraining.com
They are in the SomePage:
SomePage.html:
wicket:extend
div
div wicket:id=myPanel/div
div wicket:id=myPanel1/div
/div
/wicket:extend
No, the wicket:panel tags
Hi Giovanni,
on what basis do you do the device recognition and classification?
Currently we are looking into wurfl http://wurfl.sourceforge.net/
Any opion on tha? Or do you know of an alternative to wurfl?
mf
2010/6/15 Joachim F. Kainz j...@jolira.com
Giovanni,
I am one of the developers
-Original Message-
From: Jeremy Thomerson [mailto:jer...@wickettraining.com]
Sent: Tuesday, June 15, 2010 11:34 AM
To: users@wicket.apache.org
Cc: Berlin Brown
Subject: Re: Question about markup inheritance and page layouts
Where did you place the wicket:panel tags in your markup?
Are you sure you want to override Model in the first place?
Di you see LoadableDetachableModel ?
Model is not ment to be an abstract class,
I would argue its not a bug, but that would be a whole other debate...
On Tue, 2010-06-15 at 06:56 -0400, Alex Rass wrote:
No, Martin, it can't work.
it is a bug, open a jira issue
-igor
On Tue, Jun 15, 2010 at 9:03 AM, Rodolfo Hansen kry...@gmail.com wrote:
Are you sure you want to override Model in the first place?
Di you see LoadableDetachableModel ?
Model is not ment to be an abstract class,
I would argue its not a bug, but that
Another option would be to directly implement IModelT.
On Tue, Jun 15, 2010 at 7:04 PM, Rodolfo Hansen [via Apache Wicket]
ml-node+2256139-803998731-293...@n4.nabble.comml-node%2b2256139-803998731-293...@n4.nabble.com
wrote:
Are you sure you want to override Model in the first place?
Di you
I'm trying to send a file 2G using ResourceStreamRequestTarget +
FileResourceStream, but the content-type is always set to a big negative
value typical of a long(2G) to int conversion.
This is non-standard and the proxy we use refuses it (most browser just
ignore it, but the RFC states that the
yes, and attach your fix.
-igor
On Tue, Jun 15, 2010 at 10:47 AM, Louis Letourneau
louis.letourn...@mail.mcgill.ca wrote:
I'm trying to send a file 2G using ResourceStreamRequestTarget +
FileResourceStream, but the content-type is always set to a big negative
value typical of a long(2G) to
On Tue, Jun 15, 2010 at 12:47 PM, Louis Letourneau
louis.letourn...@mail.mcgill.ca wrote:
I'm trying to send a file 2G using ResourceStreamRequestTarget +
FileResourceStream, but the content-type is always set to a big negative
value typical of a long(2G) to int conversion.
This is
I wonder - would there be any problem just changing that to *always* set the
header to Long.toString(foo)?
On Tue, Jun 15, 2010 at 12:57 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
yes, and attach your fix.
-igor
On Tue, Jun 15, 2010 at 10:47 AM, Louis Letourneau
Martin,
WURFL is a great solution, but there are some problems with keeping it
up-to-date for commercial applications.
http://www.mobileaware.com/ is a good commercial vendor I have used for
m.wellsfarg.com and other sites. They have an extensive
device-repository and a lot of other useful
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
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
Hi all,
The web app I've been working on has some issues with the back button. For
instance, when using DefaultDataView, if a user goes back a page after
clicking a column heading, and then clicks a different link on the page, it
would cause an error. This problem was easily solved manually by
I do not know wghy is not rendering my property field, I was doing a king
prove of concept, and I ahve this 2 files: ( I do not have border and
nothing, can you see a anything¿?
**Home.java***
*/
public class HomePage extends WebPage {
private static final long
On Tue, Jun 15, 2010 at 4:03 PM, Victor_Trapiello vic...@trapiello.netwrote:
I do not know wghy is not rendering my property field, I was doing a king
prove of concept, and I ahve this 2 files: ( I do not have border and
nothing, can you see a anything¿?
**Home.java***
Hello mate, thank you very much for your fast reply
I´m asking why my messages (the ones that I put in my property file are not
appearing), as you can see I have put the same name in both files,
Home.java and Home.properties I´m doing somethiong wrong... I know but..
what¿?
cheersss
--
View
Hi all,
For some reason *dataView* always passed first=0 and count=0.
This is my code
add(new DataView(amistades, new AmistadesProvider()) {
private static final long serialVersionUID = 5328267159730501362L;
public void populateItem(Item item) {
User user=(User)item.getModelObject();
On Tue, Jun 15, 2010 at 4:30 PM, Fernando Wermus
fernando.wer...@gmail.comwrote:
Hi all,
For some reason *dataView* always passed first=0 and count=0.
This is my code
add(new DataView(amistades, new AmistadesProvider()) {
private static final long serialVersionUID = 5328267159730501362L;
On Tue, Jun 15, 2010 at 4:25 PM, Victor_Trapiello vic...@trapiello.netwrote:
Hello mate, thank you very much for your fast reply
I´m asking why my messages (the ones that I put in my property file are not
appearing), as you can see I have put the same name in both files,
Home.java and
I have two validations on a textbox. One is extended from the
EmailValidation class that comes with wicket and works fine. The
other is an extension of AbstractValidator. That one never gets
called. It never gets to the onValidate(). Why would one validator
get invoked and function perfectly
hahahhaha true, that was my mistake, I had the same mistake in my source
code! it is HomePage, and I my property file I just put Home.properties, now
It should work fine!! thank you very much guys, and sorry for this stupid
mistake, bus sometimes it is good to talk with someone!!
--
View this
On Tue, Jun 15, 2010 at 4:57 PM, Brian Mulholland blmulholl...@gmail.comwrote:
I have two validations on a textbox. One is extended from the
EmailValidation class that comes with wicket and works fine. The
other is an extension of AbstractValidator. That one never gets
called. It never
thanks
On Tue, Jun 15, 2010 at 6:38 PM, Jeremy Thomerson jer...@wickettraining.com
wrote:
On Tue, Jun 15, 2010 at 4:30 PM, Fernando Wermus
fernando.wer...@gmail.comwrote:
Hi all,
For some reason *dataView* always passed first=0 and count=0.
This is my code
add(new
The two are added to the same component, but have no direct
relationship to each other. It IS true that the non-working one is
added 2nd. However in the test where I am trying to get control to
the 2nd one, I typed input that did not evoke a message from the first
validator.
But could you
On Tue, Jun 15, 2010 at 5:24 PM, Brian Mulholland blmulholl...@gmail.comwrote:
The two are added to the same component, but have no direct
relationship to each other. It IS true that the non-working one is
added 2nd. However in the test where I am trying to get control to
the 2nd one, I
:-)
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
sorry the URL is http://football4all.net
Am 16.06.2010 00:56, schrieb Jens Zastrow:
:-)
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
--
dipl.
it's also still a beta-version !
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Could anybody suggest how to create a popup button. I read in the forum that
a link can be attached to a button. But it did not help me.
Not sure, where is the mistake in the below code.
html code
--
//having a link id inside a button..
input type=button wicket:id=mawbNotes
Try button wicket:id=mawbNotesMawb Notes/button
On Tue, Jun 15, 2010 at 7:42 PM, jammyjohn jchinnas...@yahoo.com wrote:
Could anybody suggest how to create a popup button. I read in the forum that
a link can be attached to a button. But it did not help me.
Not sure, where is the mistake in
On Tue, Jun 15, 2010 at 6:42 PM, jammyjohn jchinnas...@yahoo.com wrote:
Could anybody suggest how to create a popup button. I read in the forum
that
a link can be attached to a button. But it did not help me.
Not sure, where is the mistake in the below code.
html code
--
Hello,
I've staged and promoted a new release of wicketstuff-core version
1.4.9.1. It is available in maven central now.
All of the artifacts are available from maven central like this:
dependency
groupIdorg.wicketstuff/groupId
artifactIddatatable-autocomplete/artifactId
Hello,
I add a CSS class to component dynamcially the following way:
inputComponent.add(new AttributeAppender(class, new
ModelString(errorField), ));
How can I remove this CSS class in java code?
Best!
-
To
onComponentTag(...) {
tag.remove(class);
}
On Wed, Jun 16, 2010 at 12:37 AM, David Chang david_q_zh...@yahoo.comwrote:
Hello,
I add a CSS class to component dynamcially the following way:
inputComponent.add(new AttributeAppender(class, new
ModelString(errorField), ));
How can I remove
Jeremy, glad to hear from you!
My situation is a little different. The CSS class is added in the following
way. Please see the following code.
protected void onBeforeRender() {
super.onBeforeRender();
if (inputComponent.getFeedbackMessage() != null) {
On Wed, Jun 16, 2010 at 12:48 AM, David Chang david_q_zh...@yahoo.comwrote:
Jeremy, glad to hear from you!
My situation is a little different. The CSS class is added in the following
way. Please see the following code.
protected void onBeforeRender() {
61 matches
Mail list logo