I normally use css for print friendly pages:
http://meyerweb.com/eric/articles/webrev/21.html
http://alistapart.com/articles/goingtoprint/
Frank
On 1/21/07, MClark00 [EMAIL PROTECTED] wrote:
Hi,
I'd like to support the ability to have a 'Printable Version' link on all
pages which make
Let me further explain the trouble that I'm struggling...
When I was still using ResourceStreamLocator, everything works fine. The I
just renamed ResourceStreamLocator to ResourceStreamFactory because it seems
that that's the only change to do in my part. Just renaming didn't work. I
did a
Thanks a lot Eelco and Igor.
add(new Label(username, new PropertyModel(this,
customSession.user.firstName))) works very well.
Eelco Hillenius a écrit :
LOL. Of course.
Eelco
On 1/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
pfft
add(new Label(username, new PropertyModel(this,
i already fixed this by not using a file at all but just directly the
inputstream
All test are running fine now on my windows machine. Can somebody with a mac
or linux
look why there are still one or two test failing?
It has to do something with encoding i guess.
johan
On 1/16/07, Frank
Hi! I'm a newbie to wicket and I'd like to know how to get multiple inputs
into a single form validation class.
eg:- i have several components in a form and in order to validate one
component, i need the input of several other components. currently i'm
extending AbstractValidator and implementing
On 1/22/07, Johan Compagner [EMAIL PROTECTED] wrote:
i already fixed this by not using a file at all but just directly the
inputstream
Yeah saw that. :)
All test are running fine now on my windows machine. Can somebody with a mac
or linux
look why there are still one or two test failing?
see: http://wicketstuff.org/bamboo/start.action
and then:
http://wicketstuff.org/bamboo/browse/WICKET2X-WICKET/latest
don't look at the 85 errors. as far as i can see it is only one. But thats a
Bamboo bug.
johan
On 1/22/07, Frank Bille [EMAIL PROTECTED] wrote:
On 1/22/07, Johan
Hi Tbt,
You can work with form validators:
http://cwiki.apache.org/WICKET/validating-related-fields.html
Regards,
Erik.
tbt schreef:
Hi! I'm a newbie to wicket and I'd like to know how to get multiple inputs
into a single form validation class.
eg:- i have several components in a form
On 1/22/07, Johan Compagner [EMAIL PROTECTED] wrote:
http://wicketstuff.org/bamboo/browse/WICKET2X-WICKET/latest
Ok, that one. I'll take a look at that tonight. Btw has anyone reported that
test count bug in bamboo?
Frank
Hi,
I'm using an Include component to include some 'static' html file. The
problem is that the html file references path that depend on the context
path of the application so I would like to dynamically replace some text
in the html file with the context path. i.e.: a
Hi
I want to append something on my RadioChoice's onclick method. If I just add
the attributeappender then the base markup container gets appended:
div wicket:id=radiochoice onclick=showlayerinput a/input/div
Problem is that I have a sort of div layer that needs to be triggered once
Hello all,
Is there any way to abort the xmlhttprequest in
wicket. As XMLHttpRequest object has got abort()
method to abort the request. Can it be used in wicket.
We won't tell. Get more on shows you hate to
Why do you need to cancel it?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Prashant Khanal
Sent: 22. januar 2007 12:09
To: wicket-user@lists.sourceforge.net
Subject: [Wicket-user] how to abort the xmlhttprequest
Hello all,
Is there any way to abort
Hi,
I've used
PackagedTextTemplatehttp://wicketframework.org/wicket-extensions/apidocs/wicket/extensions/util/resource/PackagedTextTemplate.htmla
couple of times in the past to include some macro like replacements.
You
can use the string from the template in a label and use
Just renaming doesn't work. ResourceStreamFactory implements Wickets
default implementation. I guess you forgot to call super.locate(...)
in your factory?
regards
Juergen
On 1/22/07, Otan [EMAIL PROTECTED] wrote:
Let me further explain the trouble that I'm struggling...
When I was still using
Hi Ivo,
Thanks! Lennaert had a similar problem and was able to solve it using
TextTemplate.
I solved my problem by creating an override of Include.onComponentTagBody :
add(new Include(include, index.html) {
@Override
protected void
THanks for your help. It worked.
Gennadiy
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT business topics through brief
use RadioGroup and append it on all the Radio's instead of the group.
johan
On 1/22/07, Nino Wael [EMAIL PROTECTED] wrote:
Hi
I want to append something on my RadioChoice's onclick method. If I just
add the attributeappender then the base markup container gets appended:
div
yes:
http://jira.atlassian.com/browse/BAM-732
they say it is a maven error???
johan
On 1/22/07, Frank Bille [EMAIL PROTECTED] wrote:
On 1/22/07, Johan Compagner [EMAIL PROTECTED] wrote:
http://wicketstuff.org/bamboo/browse/WICKET2X-WICKET/latest
Ok, that one. I'll take a look at that
Hi,
One of the recent mailing-list messages had a very nice solution to add css
behavior so that error form fields get highlighted - e.g. red border.
(Thanks Igor!)
Now suppose I have a form + feedbackPanel with many fields that have the
RequiredValidator error. Instead of showing a repetitive
On 1/22/07, Johan Compagner [EMAIL PROTECTED] wrote:
yes:
http://jira.atlassian.com/browse/BAM-732
they say it is a maven error???
Yeah it looks like it. Have never seen it before. Take a look at the
attached file which is taken from the latest build.
I'll take a look at this as well
Hi!
I want to load an XML-file from a wicket page concerning the html page
parameters with javascript. The javascript part (load and parse xml)
works fine and also the generated xml file is okay.
I just always get an
java.lang.IllegalStateException: getOutputStream() has already been
called for
On 22/01/07, Juergen Donnerstag [EMAIL PROTECTED] wrote:
Just renaming doesn't work. ResourceStreamFactory implements Wickets
default implementation. I guess you forgot to call super.locate(...)
in your factory?
Ok. It's a mistake in my part. That refactoring in wicket made me
aggressively
I agree with that.
- P
On 1/21/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
I have some examples for beanpanels, but I'd like to wait some weeks
just to have some more stable code.
Sounds good. But it would be great to consider making them part of
the wicket-contrib-examples project by
Hi,
I had a strange error I have a Panel with 3 radiobuttons. They let
me choose whether I want to pay by debit or credit or if I want to be
billed later.
When I click on either of the radiobuttons, the corresponding input
fields get enabled via JavaScript.
On the Wicket side, I add
new
Oh, sorry. I'm using version 1.2.4.
Johannes Fahrenkrug wrote:
Hi,
I had a strange error I have a Panel with 3 radiobuttons. They let
me choose whether I want to pay by debit or credit or if I want to be
billed later.
When I click on either of the radiobuttons, the corresponding
I already fixed it
The surefire plugin now uses a bit older version:
version2.1.3/version
And suddenly everything is cleaned up (see bamboo)
now really only one thing is failing.
johan
On 1/22/07, Frank Bille [EMAIL PROTECTED] wrote:
On 1/22/07, Johan Compagner [EMAIL PROTECTED] wrote:
what you can do is make required field error message same for all fields
(not have ${label} or ${value} in the message) and then just filter messages
- filtering out duplicates
-igor
On 1/22/07, Peter Thomas [EMAIL PROTECTED] wrote:
Hi,
One of the recent mailing-list messages had a very
I think the mail didn't pass through sf.net. So, I try again.
Marc
On 1/16/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:
Here is the example.
Open two tabs with the same page, in each one of them, click on page 2,
and see the page map being the same :)
Marc
P.S. : I included only the
can you check if the value is actually being submitted by the browser?
-igor
On 1/22/07, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
Hi,
I had a strange error I have a Panel with 3 radiobuttons. They let
me choose whether I want to pay by debit or credit or if I want to be
billed
Yes, that was also the first thing I thought of: I checked it with
livehttpheaders and yes: they are being submitted by the browser.
- Johannes
Igor Vaynberg wrote:
can you check if the value is actually being submitted by the browser?
-igor
On 1/22/07, *Johannes Fahrenkrug* [EMAIL
I was developing from home for my work last week and since I'm not a Windows
fan, I developed under OsX using Firefox, everything was great. Today, I
got an issue with AjaxEventBehavior. It seem's that the event is not
generated the same way between firefox and IE7. Can somebody tell me how I
i dont see where we read the disabled attribute in our code, can you try
branch-1.x? or see where in wicket's code it thinks its disabled?
-igor
On 1/22/07, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
Yes, that was also the first thing I thought of: I checked it with
livehttpheaders and
use onclick instead of onchange
-igor
On 1/22/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:
I was developing from home for my work last week and since I'm not a
Windows fan, I developed under OsX using Firefox, everything was great.
Today, I got an issue with AjaxEventBehavior. It seem's
and btw this is not a wicket bug, just different browser behavior
-igor
On 1/22/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
use onclick instead of onchange
-igor
On 1/22/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:
I was developing from home for my work last week and since I'm not a
I will. I'm already looking at the FormComponent code. I have to go now,
but I'll get back to it tomorrow.
- Johannes
Igor Vaynberg wrote:
i dont see where we read the disabled attribute in our code, can you
try branch-1.x? or see where in wicket's code it thinks its disabled?
-igor
On
Thanks a lot Igor, your the master! It work exactly as it should :)
And see, the object of the email : Ie7 bug, not wicket bug! :) Maybe it is
not clear, but that was what I thought when I type it.
Marc
On 1/22/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
and btw this is not a wicket bug,
Hehe ok. I guess I'll fix it tonight is to late for you, huh? ;o)
Frank
On 1/22/07, Johan Compagner [EMAIL PROTECTED] wrote:
I already fixed it
The surefire plugin now uses a bit older version:
version2.1.3/version
And suddenly everything is cleaned up (see bamboo)
now really only one thing
Eelco Hillenius a écrit :
I just filed http://issues.apache.org/jira/browse/WICKET-227, which we
are considering because of an offline discussion we had on how to cut
down on maintenance for the core projects.
I think we can do much the same for the Wicket-stuff projects. There
are a couple
Hi,
I am very newbie on Wicket. I am reading the Pro Wicket book. I want the
.java and .html page files in two different directories for obvious reasons.
I read the following in the book:
The HTML template needs to be in the same package as the corresponding Page
class.
An internal Wicket
yes i see it, will look it at asap
On 1/22/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:
I think the mail didn't pass through sf.net. So, I try again.
Marc
On 1/16/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:
Here is the example.
Open two tabs with the same page, in each one of them,
We advise you to not do this until you are absolutely sure you need
it, especially as a newbie to the framework. Obvious reasons are not
so obvious in a Wicket context.
- packaging your components in a jar
- having to mimick the package/directory structure
- looking up your HTML (which is
yes, all newbies start to do this and eventually go back, but oh well
if you still want to shoot yourself in the foot what you do is this:
implement IResourceStreamLocator and make it take a delegate
then in your app's init do this
application.init() {
MyResourceStreamLocator locator=new
And there is an example of it in Wicket-examples called 'custom
template loading'. But yes, it is recommended to use the defaults
instead; that auto discovery pattern is there to save you precious
development time, make things easier to look up (at least for
developers) and to make packaging
Hi,
... Wicket allows you to easily customize this default behavior though.
...
NOT! ( Why did he write that anyway? Perhaps as an excuse. He might have
considered it a design error. It is dirty, a bit. ) I hope the rest of the
book has better advice.
I'll leave the .html and .java mixed up in
hi all,
i got some strange behaviour here. i have a page with a compound
property model including some textfields and dropdownchoices and a
button, which redirects to another page. after coming back to the first
page by using getPage().continueToOriginalDestination() the textfields
are
are you using Page.before/afterCallComponent? and if so what is the usecase?
-igor
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions
I updated my copy of trunk, and I kept on getting this message:
java.lang.UnsupportedOperationException
java.util.concurrent.CopyOnWriteArrayList$COWIterator.remove(CopyOnWriteArrayList.java:937)
wicket.Session.cleanupFeedbackMessages(Session.java:1067)
Tracked it down to
your fix wont do, the list needs to be threadsafe
can you please paste the stacktrace so we can see where the remove() is
being called from?
-igor
On 1/22/07, TimOBrien [EMAIL PROTECTED] wrote:
I updated my copy of trunk, and I kept on getting this message:
never use it! (what is that ? :-p
On 1/23/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
are you using Page.before/afterCallComponent? and if so what is the
usecase?
-igor
-
Take Surveys. Earn Cash. Influence the Future of
if you dont use it then dont worry about it :) im trying to get rid of it.
-igor
On 1/22/07, Ingram Chen [EMAIL PROTECTED] wrote:
never use it! (what is that ? :-p
On 1/23/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
are you using Page.before/afterCallComponent? and if so what is the
You better not look at it either as we're thinking about removing it! :)
Eelco
On 1/22/07, Ingram Chen [EMAIL PROTECTED] wrote:
never use it! (what is that ? :-p
On 1/23/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
are you using Page.before/afterCallComponent? and if so what is the
usecase?
it is strange isn't it
now you fixed it so it works on the server
and now i get the error:
---
Battery: wicket.markup.html.basic.SimplePageTest
No doubt, I don't have the stack trace at hand, but I can point you to line
1066 in cleanupFeedbackMessages() in Session. The issue here is that the
Iterator returned from the a CopyOnWriteArrayList throws this exception from
a call to remove, set, or add. Here's the quote from
strange, you seem to have a pretty old copy
here what the latest looks like [1], notice line 1066 doesnt match what you
have
also have a look at how the messages are cleared [2] ... iterator is not
used in clearRendered() which is what session.cleanupMessages() calls
[1]
looks like you are trying to output your xml too late in the game (wicket
has already written something to the request). what triggers that code? also
our wiki has an example of a wicket rss page
-igor
On 1/22/07, Daniel Nüst [EMAIL PROTECTED] wrote:
Hi!
I want to load an XML-file from a
instead of doing all that redirect foo why dont you pass the instance of the
current page to the new page you are redirecting to when the button is
pressed. then to go back just set response page to that passed in instance.
class NextPage extends WebPage {
public NextPage(final Page prev) {
I've saved my rewritten version. (See
http://cwiki.apache.org/confluence/display/WICKET/Working+with+Wicket+models)
Comments by everyone from experts to complete newbies
are most welcome. Doubtless there are things that are confusing or flat-out
wrong.
In addition to rephrasing or rewriting a
Looks great, thanks a lot. I added a few notes about models in Wicket
2.0. If other people have more such notes they would be welcome.
Eelco
On 1/22/07, Loren Rosen [EMAIL PROTECTED] wrote:
I've saved my rewritten version. (See
Ok the main problem is that i want to include some
timeout mechanism for ajax operation and to abort the
request in case it takes considerable time.
As can be done with XMLHttpRequest using setTimeOut,
is there any way that i can achive this in wicket.
So the main reason to cancel is for those
no it is not supported right now, but it can be built. open up a new feature
request in our jira and we will look into it. also outline how you would
like the api to look, how are you going to wire it in your javascript. do
you want to basically just set the timeout? or be able to cancel on a
there have been many changes to the palette in the recent past, give it
another try.
-igor
On 10/18/06, samyem [EMAIL PROTECTED] wrote:
Hi Igor,
No that didn't work. You have just added a new constructor signature, but
not fixed the real problem. The problem is that when Palette is
Nice work. I made a few small changes and rephrased the first paragraph to
be even more specific. Maybe it could be tweaked a little more, but I think
this sums it up better now:
In Wicket, a model holds a value for a component to display and/or edit.
How exactly this value is held is
nice work!
-igor
On 1/22/07, Loren Rosen [EMAIL PROTECTED] wrote:
I've saved my rewritten version. (See
http://cwiki.apache.org/confluence/display/WICKET/Working+with+Wicket+models
)
Comments by everyone from experts to complete newbies
are most welcome. Doubtless there are things that are
Made a few more changes. I think it's getting shorter/better.
My one regret looking at this documentation is that I wish
IModel.get/setObject were actually IModel.get/setValue. Or was there some
crazy reason we didn't do this? It would be much easier and more natural to
talk about a
We did already break the model contract with 1.2/1.3... would
get/setObject-get/setValue be a huge hassle? Or am I spacing something
here?
Jonathan Locke wrote:
Made a few more changes. I think it's getting shorter/better.
My one regret looking at this documentation is that I wish
In the description of the PropertyModel there is an implicit example, that
might as well be spelled out.
personForm.add(new RequiredTextField(personName, new
PropertyModel(person, name)));
I also changed the id of the field to personName to distinguish it
from the property: name.
On 1/22/07,
i'd like us to vote on changing IModel to this in 2.0 (i know it's very
late, but please at least read my argument below and think about it for a
moment):
public interface IModelV extends IDetachable
{
V getValue();
void setValue(V value);
}
we would also change getModelObject() to
Thanks for the note. I've gone ahead with my own implementation of Palette
since my last comment to satisfy my particular needs which were beyond the
scope of what Wicket provided.
igor.vaynberg wrote:
there have been many changes to the palette in the recent past, give it
another try.
Typo correction...
class NextPage extends WebPage {
public NextPage(final Page prev) {
add(new Link(back) {
public onclick() { setResponsePage(prev); }
}
}
}
On 1/22/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
instead of doing all that redirect foo why dont you pass
-1
I'm sorry, although I totally understand your argument, and how it may help
new users, but this will break already written code, will not add additional
level of functionality, and really it's just a matter of reading to
understand how IModel works, I did have difficulties when I started to
Hi,
I was wondering if any off you guys would be interested in some wicket
expertise, located somewhere near Copenhagen-Frederikssund in Denmark. Our
current wicket project are almost running out, and the next project im off to
do aren't wicket in fact im not even sure it's java based:-( So
Hi
I have some components that migth be interesting for others to have. The best
one I'll describe below:
Currently called dropdownpalette, and it's a combination of Igor's
palette(although rewritten a bit, I belive that Igor have fixed the original
palette so we should use that one)
We use css here as well this works very well.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank Bille
Sent: 22. januar 2007 09:31
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Strategy for printable pages
I normally
Hmm i think this circles around the worker thread, we disscussed earlier when
talking about a cancel button...
Regards Nino
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan Compagner
Sent: 21. januar 2007 13:11
To:
Why not use a worker thread?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Prashant Khanal
Sent: 23. januar 2007 04:41
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] how to abort the xmlhttprequest
Ok the main problem is that i want
76 matches
Mail list logo