Well it's just java, listview just requires a list or model that
contains lists.. So give it a list:)
If you are building a menu you can take a look at the accordion menu on
wicket stuff...
Rick Shen wrote:
I am write a MenuPanel using ListView. How can I load the each menu item from
There should be a method that you can overwrite(although not so pretty
but it should work), there were that for the YUI rich editor...
Karen Schaper wrote:
Hi,
I've switched to using the YuiMenuBar in wicket stuff from directly using
the Yui javascript.
The YuiMenuBar automatically adds this
Hi Timo,
thanks for replying.
Normally you can just register converters in init() of your
Application subclass.
How is this done? What method do I call? The only way I see to add
your own converters is the way I described previously or explicitly
cast the IConverterLocator an
er... form.hasError()? form.onError()?
What do you mean by page? - are there lots of forms on the page all with
errors?
--
View this message in context:
http://www.nabble.com/How-to-identify-if-any-of-a-page%27s-components-failed-validation-after-a-submit-tp18599562p18605378.html
Sent from
I've just converted over a project to 1.4-m3 from m1. I skipped m2
because of the drastic changes between 1, 2 and 3.
I must say, I think generics at a component level - when I initially started
using it felt like unneeded overhead - but it became more and more useful.
now that I've
I wish to store the menu item information in the properties file, so when I
add or remove one it is easy.
Nino.Martinez wrote:
Well it's just java, listview just requires a list or model that
contains lists.. So give it a list:)
If you are building a menu you can take a look at the
Thinking about this - generifying panel would probably fix it - or i can just
make my own base panel with generics.
Ned Collyer wrote:
I've just converted over a project to 1.4-m3 from m1. I skipped m2
because of the drastic changes between 1, 2 and 3.
I must say, I think generics
I solved it on my project.
The problem was due to a conflict between inMethod's grid yui and wicket
yui. Although I updated both of them to use the same yui version, this
didn't fix my problem - the calendar would still not show.
Then I moved the code that generated the grid after the one that
Hi Sebastian,
If you intend to use Wicket's default detachable models to get data from
those services, they will be called sequentially. So those are out. I
see 2 options:
- In the panel constructor get the data in parallel threads through
standard java 5 constructs (dump all your
We followed the wiki:
http://cwiki.apache.org/WICKET/using-custom-converters.html
So in our Application class we have
@Override
protected IConverterLocator newConverterLocator() {
final ConverterLocator converterLocator=new ConverterLocator();
Hi everybody,
This may be an idiot question, but no matter how many articles and examples
I read about this, I seem not to be able to grasp how to use DropDownChoice
with PropertyModel.
I would very very highly appreciate if someone could point out to me why the
code below is not working as I
try using setResponsePage(TestPage.this);
the way you did is results in a redirect to a new instance of TestPage
regards,
Michael
pixologe wrote:
Hi everybody,
This may be an idiot question, but no matter how many articles and
examples I read about this, I seem not to be able to
setResponsePage(getPage().getClass()) is what you do wrong. This tells
wicket to render a bookmarkable response to your page - creates the
page again.
remove that call and it should work.
Martijn
On Wed, Jul 23, 2008 at 11:16 AM, pixologe [EMAIL PROTECTED] wrote:
Hi everybody,
This may be
this call is not necessary. Wicket defaults to rendering the current
page when no responsepage was set.
Martijn
On Wed, Jul 23, 2008 at 11:47 AM, Michael Sparer [EMAIL PROTECTED] wrote:
try using setResponsePage(TestPage.this);
the way you did is results in a redirect to a new instance of
yes, right, of course, i forgot :-)
Martijn Dashorst wrote:
this call is not necessary. Wicket defaults to rendering the current
page when no responsepage was set.
Martijn
On Wed, Jul 23, 2008 at 11:47 AM, Michael Sparer [EMAIL PROTECTED]
wrote:
try using
O, I forgot, be aware that Wicket does not really tolerate pages that take
too long to render. Make sure that the page rendering does not take more
then 60 seconds in total. (Luckily the Future#get method accepts a timeout
argument.)
Erik van Oosten wrote:
...dump all your Callables in a
I think users are less forgiving than Wicket :)
Martijn
On Wed, Jul 23, 2008 at 12:05 PM, Erik van Oosten [EMAIL PROTECTED] wrote:
O, I forgot, be aware that Wicket does not really tolerate pages that take
too long to render. Make sure that the page rendering does not take more
then 60
Maybe I didn't get the point, but why not subclassing and overriding the
method?
try {
super.decodeParameters(...);
} catch (...
or am I misunderstanding you completely?
w_user wrote:
hallo,
How can i override the
AbstractRequestTargetUrlCodingStrategy.decodeParameters() function to
Thanks a lot, Michael, that was very helpful :) I have spent quite some time
puzzling...
unfortunately, this raises another question right away:
there are methods:
setResponsePage(java.lang.Class cls)
setResponsePage(java.lang.Class cls, PageParameters parameters)
setResponsePage(Page page)
On Wed, Jul 23, 2008 at 12:25 PM, pixologe [EMAIL PROTECTED] wrote:
there are methods:
setResponsePage(java.lang.Class cls)
setResponsePage(java.lang.Class cls, PageParameters parameters)
setResponsePage(Page page)
but not:
setResponsePage(Page page, PageParameters parameters)
correct.
is
Thanks Martijn,
of course, you are right.
I came to put it in there after consulting the example at
http://www.wicket-library.com/wicket-examples/forminput/
where this call is inserted to ensure the responding page is still
bookmarkable, also I planned to hand over the PageParameters object in
Thanks, please ignore my latest message (I wrote it before seeing yours)
Of course, I want to use Wicket's state management, that's why I asked this
question in the first place :)
Just for explanation:
The page I am working on currently is a page that displays a list of
products, which displays
I've recently found this post on dzone:
http://java.dzone.com/news/this-time-last-year This time last year ...
What is your oppinion about this?
--
View this message in context:
http://www.nabble.com/%22This-time-last-year%22--is-Wicket-really-a-disappointment--tp18608440p18608440.html
no not at all. it's great.
Alex Objelean wrote:
I've recently found this post on dzone:
http://java.dzone.com/news/this-time-last-year This time last year ...
What is your oppinion about this?
--
View this message in context:
He's uninformed. Nobody is concerned about the future of wicket. At
least nobody I know (and I don't know him). He seems to drink the JSF
coolaid, and his co-workers the flex coolaid. Good for them, but that
doesn't mean a thing about the state of Wicket.
Any non-Sun/Adobe/Microsoft project has
For the last 7 months, the project we are working with uses JSF (Icefaces).
It indeed have nice features, but still it does not compare at all with
Wicket (easy of componet development, flexibility, testability, etc, etc). I
do love wicket, but I must agree that ..a lot but corporations still
On Wed, Jul 23, 2008 at 7:32 AM, Martijn Dashorst
[EMAIL PROTECTED] wrote:
Any non-Sun/Adobe/Microsoft project has problems growing their
community when put against the millions of marketing $$$. Take a look
at JavaOne: we submitted a proposal but were not admitted, however the
esplanade was
On Jul 23, 2008, at 13:19 , Alex Objelean wrote:
I've recently found this post on dzone:
http://java.dzone.com/news/this-time-last-year This time last year ...
What is your oppinion about this?
In short, I could compare (partially) it with my feelings about Apple.
I was so excited when I
The thing that really frustrates me is
the fact you're forcing me to use serializable objects, even if I
don't need to (and when I go with clustering, I'll use Terracotta).
But I'm confident I'll find some design work-around on that.
I don't agree with you in this point. The design
On Jul 23, 2008, at 13:52 , Michael Sparer wrote:
The thing that really frustrates me is
the fact you're forcing me to use serializable objects, even if I
don't need to (and when I go with clustering, I'll use Terracotta).
But I'm confident I'll find some design work-around on that.
I don't
I must also say that in our company the popularity of wicket is growing up.
We completed at least 3 small-medium sized projects using Wicket. There is
another project in progress and few prospects. Number of developers who had
a contact with wicket grew from 1 to 5 developers. It is not very
Hello all,
I have a class that holds two DropDownChoice object.
We have a generic behavior:
According to one DropDown value, we set the list to the other.
Here's a code snippet of the 1st component:
private DropDownChoice createUniverseDropDown() {
IModel universesModel =
One more thing,
If I put a break point in the onSubmit of the Button, the debugger doesn't
even reach it if the configuration DropDown is not chosen.
On Wed, Jul 23, 2008 at 3:34 PM, Eyal Golan [EMAIL PROTECTED] wrote:
Hello all,
I have a class that holds two DropDownChoice object.
We have a
override onError and set a breakpoint there. And add a feedbackpanel
to your page.
Martijn
On Wed, Jul 23, 2008 at 2:40 PM, Eyal Golan [EMAIL PROTECTED] wrote:
One more thing,
If I put a break point in the onSubmit of the Button, the debugger doesn't
even reach it if the configuration
I used M2 and had no problem with it. When I heard talk about
decoupling the components and the models, for M3, I thought that
seemed a good idea.
Now I use M3. It works fine, but I think generics for components is
implemented upside down. I think M3 should have been M2 with generics
turned
thanks,
It really stopped at the onError.
As I understand, and correct me if I'm wrong, I need to implement something
in that method.
Something like, check if the user pressed cancel, and if so, to continue to
whatever I want.
BTW, can I force the onSubmit of a button (my CANCEL button) even if
Hi,
I need your advice. I am using wicket for generating VoiceXML for my
application. In response my application sends some recorded audio as
multipart/form-data content. Another wicket page stores this audio to HDD. The
problem is that wicket returns HTTP status code 500, because there was
2 options:
1. don't use Wicket but a normal servlet for this
2. getRequestCycle().setRequestTarget(new EmptyRequestTarget());
#2 should work, but I haven't tried it :)
Martijn
On Wed, Jul 23, 2008 at 3:03 PM, Milan Křápek [EMAIL PROTECTED] wrote:
Hi,
I need your advice. I am using wicket
Hello,
I want to create markup with wicket components but I do not want to send it
to a browser, I want to store it in a String. Is there a way to do so?
With regards,
Enes F.
getRequestCycle().setRequestTarget(new StringRequestTarget());
On Wed, Jul 23, 2008 at 3:41 PM, Enes Fazli [EMAIL PROTECTED] wrote:
Hello,
I want to create markup with wicket components but I do not want to send it
to a browser, I want to store it in a String. Is there a way to do so?
With
Thanks Timo. I'm compiling on a mac using maven. This has not been a problem
before, so I simply didn't think of it.
My java source files are stored in iso-8859-1 (which gives less problems
when interacting with people using windows). I specified the encoding in the
maven pom-file, and that
Hi,
We have a page that has a form in it and also a FeedbackPanel.
The form has a button that can be pressed only 4 times (never mind why).
On the fifth press we call in the onSubmit of the button: error(my
message);
Break pointing stopped there.
The feedback panel wasn't shown.
I tried using
Anonymous inner classes are nice for their brevity but they are not
required. You can declare those as concrete classes. I'm not too sure
about Groovy but you should be able to put them in the same file.
-Original Message-
From: JulianS [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22,
Martijn,
This is what I was looking for:
myButton.setDefaultFormProcessing(false);
Thanks
On Wed, Jul 23, 2008 at 3:42 PM, Martijn Dashorst
[EMAIL PROTECTED] wrote:
override onError and set a breakpoint there. And add a feedbackpanel
to your page.
Martijn
On Wed, Jul 23, 2008 at 2:40 PM,
Ned Collyer wrote:
er... form.hasError()? form.onError()?
What do you mean by page? - are there lots of forms on the page all with
errors?
Thanks Ned for pointing out the form’s hasError() and onError(). I could
make use of these wtihin my visitor rather looking at all components.
Hello Martijn Dashorst,
thank you for your fast response, but I cannot see how this could solve my
problem as I do not want to send a String to the browser. I want to store
the Markup, which gets rendered by a panel for example, in a String.
Thank you in advance for any advice to this topic.
Why do you want to store it in a string?
Martijn
On Wed, Jul 23, 2008 at 4:27 PM, Enes Fazli [EMAIL PROTECTED] wrote:
Hello Martijn Dashorst,
thank you for your fast response, but I cannot see how this could solve my
problem as I do not want to send a String to the browser. I want to store
Hi James,
Op maandag 14-07-2008 om 11:15 uur [tijdzone -0400], schreef James
Carman:
It's just in the wicket-spring jar now, since we're JDK5+
But how about the Wicket quickstart archetype? Latest available appears
to be 1.4m2 still.
regards,
--
Reinout van Schouwen
I use rome to create Atom feeds and my intention was to use wicket generated
markup for the feed entries content.
On Wed, Jul 23, 2008 at 4:31 PM, Martijn Dashorst
[EMAIL PROTECTED] wrote:
Why do you want to store it in a string?
Martijn
On Wed, Jul 23, 2008 at 4:27 PM, Enes Fazli [EMAIL
Are you using wicketstuff-rome? Or building it yourself?
Martijn
On Wed, Jul 23, 2008 at 4:39 PM, Enes Fazli [EMAIL PROTECTED] wrote:
I use rome to create Atom feeds and my intention was to use wicket generated
markup for the feed entries content.
On Wed, Jul 23, 2008 at 4:31 PM, Martijn
As I understand wicketstuff- rome it is just used to create a webresource
from my feed and it provides a custom listmodel for consuming feeds. The
Feed itself gets build by me.
On Wed, Jul 23, 2008 at 4:43 PM, Martijn Dashorst
[EMAIL PROTECTED] wrote:
Are you using wicketstuff-rome? Or
Hi,
I have two questions (related) :
1.) Is there a way in wicket to get Not the raw markup but markup
*AFTER*the actual data has been inserted? (meaning the final HTML as
we see it on
the page?).
2.) Similar to above scenario, can you use container to spit out markup in
some other form, for
Is it an AjaxRequest and you're not adding the feedback panel?
or provide some code ... would be easier to find the fault ...
egolan74 wrote:
Hi,
We have a page that has a form in it and also a FeedbackPanel.
The form has a button that can be pressed only 4 times (never mind why).
On the
if you want the page to render all at once you have to spin off as
many threads as there are components and block rendering until all
threads are done. you can do this in page#onbeforerender() which is
called before any components start to render.
the problem with this is that if it takes a while
throw new AbortResponseWithStatusCode(HttpServletResponse.SC_OK); should do it
-igor
2008/7/23 Martijn Dashorst [EMAIL PROTECTED]:
2 options:
1. don't use Wicket but a normal servlet for this
2. getRequestCycle().setRequestTarget(new EmptyRequestTarget());
#2 should work, but I haven't
see IResponseFilter.
as far as spitting out text, wicket works with xml not plain text. but
if you call setrenderbodyonly(true) on all components there wont be
any xml tags left in the output.
-igor
On Wed, Jul 23, 2008 at 8:20 AM, Ricky [EMAIL PROTECTED] wrote:
Hi,
I have two questions
myrequestcycle extends requestcycle {
onbeginrequest() {
setresponse(new stringresponse());
}
onendrequest() {
string str=((stringresponse)getresponse()).getstring();
// do whatever
}
}
-igor
On Wed, Jul 23, 2008 at 6:41 AM, Enes Fazli [EMAIL PROTECTED] wrote:
Hello,
There should be a method that you can overwrite(although not so pretty
but it should work), there were that for the YUI rich editor...
I don't see any method to overwrite. These configuration values look
like
they are in the javascript files.
Maybe I am missing something?
we have released Brix 1.0 beta1 [1] yesterday. for those of you who do
not know what Brix is, it is an embeddable CMS for wicket apps based
on wicket (of course) and the jcr (jackrabbit). Brix is pretty much
feature-complete for 1.0, next we are going to focus on stabilizing it
for the 1.0
I believe (though I'm clearly wrong in that belief) that I have
everything properly configured to allow spring injection along the
lines of:
import com.foo.dao.UserDAO;
@Spring
private UserDAO userDAO;
Meaning that for a bean defined in the applicationContext as . . .
bean id=UserDAO
Have you tried using @SpringBean?
On Wed, Jul 23, 2008 at 12:04 PM, David Nedrow [EMAIL PROTECTED] wrote:
I believe (though I'm clearly wrong in that belief) that I have everything
properly configured to allow spring injection along the lines of:
import com.foo.dao.UserDAO;
@Spring
private
Well, it's easy enough to upgrade once you generate your project.
Just change the wicket version.
On Wed, Jul 23, 2008 at 10:30 AM, Reinout van Schouwen
[EMAIL PROTECTED] wrote:
Hi James,
Op maandag 14-07-2008 om 11:15 uur [tijdzone -0400], schreef James
Carman:
It's just in the
In case anybody is interested in what I ended up with:
I defined an inner class within the Page which declares the page state
properties (and defines their default values) for the enclosing page. An
instance of the state Object is stored in the session using memento pattern
(no longer within the
A co-worker who is not on the wicket user list asked me to ask:
How do you change the expires header being returned by the wicket
javascript (e.g.
/mytrip/app/resources/org.apache.wicket.markup.html.WebResource/wicket-event.js)?
Are there any options for this, or would we have to dig into the
Hey folks,
Teachscape is looking for someone with Wicket experience for a full
time position located in downtown New York City. Please see
http://newyork.craigslist.org/mnh/sof/759242907.html for details. Hope
to get some resumes! :-)
Cheers,
Eelco
thanks,
I'll look into it tomorrow
On Wed, Jul 23, 2008 at 6:21 PM, Michael Sparer [EMAIL PROTECTED]
wrote:
Is it an AjaxRequest and you're not adding the feedback panel?
or provide some code ... would be easier to find the fault ...
egolan74 wrote:
Hi,
We have a page that has a
Igor,
This looks like it's fast becoming another high quality and useful piece of
well conceived, professional equipment in the Wicket application developer's
arsenal. I've been keeping an eye on the project's progress, via SVN, and
how fast you guys have got this far has been impressive.
If
I think the package resources just does something default. Have to
check if this is already configurable. Check resource and resource
request target
On 7/23/08, Scott Swank [EMAIL PROTECTED] wrote:
A co-worker who is not on the wicket user list asked me to ask:
How do you change the expires
I'm new to wicket and although I have seen a bunch of examples using both
DropDownChoice and Palette I can not get the selected values from either
list. Currently this is what I'm doing:
this.setModel(new CompoundPropertyModel(profile));
ListPaletteObject paletteList = new
On Jul 23, 2008, at 12:10 PM, James Carman wrote:
Have you tried using @SpringBean?
On Wed, Jul 23, 2008 at 12:04 PM, David Nedrow [EMAIL PROTECTED]
wrote:
I believe (though I'm clearly wrong in that belief) that I have
everything
properly configured to allow spring injection along the
Should UserDAO in the XML be userDAO?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2008 3:14 PM
To: users@wicket.apache.org
Subject: Re: Spring injection not working
On Jul 23, 2008, at 12:10 PM, James Carman wrote:
Have you tried
Try downloading my example code from:
http://svn.carmanconsulting.com/public/wicket-advanced/trunk/
See if there's anything you're doing differently.
On Wed, Jul 23, 2008 at 3:13 PM, David Nedrow [EMAIL PROTECTED] wrote:
On Jul 23, 2008, at 12:10 PM, James Carman wrote:
Have you tried using
Thank you Johan.
On Wed, Jul 23, 2008 at 11:14 AM, Johan Compagner [EMAIL PROTECTED] wrote:
I think the package resources just does something default. Have to
check if this is already configurable. Check resource and resource
request target
On 7/23/08, Scott Swank [EMAIL PROTECTED] wrote:
A
Actually, if the class using userDAO doesn't extend Component, you have
to add InjectorHolder.getInjector().inject(this) in the constructor
of the calling class.
David Nedrow wrote:
I believe (though I'm clearly wrong in that belief) that I have
everything properly configured to allow
I'm new to wicket and although I have seen a bunch of examples using both
DropDownChoice and Palette I can not get the selected values from either
list. Currently this is what I'm doing:
this.setModel(new CompoundPropertyModel(profile));
ListPaletteObject paletteList = new
cemal,
thanks.
unfortunately i cant be in london at that time, so you will have to
see if matej can make it out. its a lot closer for him anyways :)
-igor
On Wed, Jul 23, 2008 at 11:08 AM, jWeekend [EMAIL PROTECTED] wrote:
Igor,
This looks like it's fast becoming another high quality and
you may also consider using a portal framework and portlets, for example
apache jetspeed portal (and possibly others) has parallel portlet
rendering option..
Igor Vaynberg wrote:
if you want the page to render all at once you have to spin off as
many threads as there are components and block
yes, that exactly what i wont to catch the exception. The problem is that i
have only wicket pages with some parameters and the exception occurs befor
the constructor in the page instance is called. so I wont to catch this
exception but i dont find the way or the position where to write the catch
Oops! Yeah non-component classes aren't injected automatically. In
this case, you might be able to use @configurable, as long as you
don't need to pass the reference to anyone else. But, what you're
doing might be easier.
On 7/23/08, David Nedrow [EMAIL PROTECTED] wrote:
On Jul 23, 2008, at
Another thing is that i have a wicket application and i would like to know
how to explitely assign the subclassed class that i override to the
application?
thanks for help!!
w_user wrote:
hallo,
How can i override the
AbstractRequestTargetUrlCodingStrategy.decodeParameters() function
On Wed, Jul 23, 2008 at 4:40 AM, James Carman
[EMAIL PROTECTED] wrote:
On Wed, Jul 23, 2008 at 7:32 AM, Martijn Dashorst
[EMAIL PROTECTED] wrote:
Any non-Sun/Adobe/Microsoft project has problems growing their
community when put against the millions of marketing $$$. Take a look
at JavaOne:
On Jul 23, 2008, at 3:27 PM, landry soules wrote:
Actually, if the class using userDAO doesn't extend Component, you
have to add InjectorHolder.getInjector().inject(this) in the
constructor of the calling class.
Is that in addition to addComponentInstantiationListener(), or in
The TestDataLoader is configured in the META-INF/beans.xml file:
http://svn.carmanconsulting.com/public/wicket-advanced/trunk/src/main/resources/META-INF/beans.xml
It's injected that way
On Wed, Jul 23, 2008 at 5:10 PM, David Nedrow [EMAIL PROTECTED] wrote:
On Jul 23, 2008, at 3:23 PM, James
Hi all,
im from a JSF background and so far ive been really impressed with what ive
seen on the Wicket side of things. Im a little confused on the pagable
lists, pagable datatables, ajax navigators etc. It seems that when
retrieving records, the 'paging' is more client-side. By that i mean it
Some of the components require you to pass in a list of objects to
page through (ListView for example). Others, like DataTable, etc.,
let you use an IDataProvider instance which allows you to let the
database do the paging. Take a look at my StudentDataProvider
implementation (an inner class):
My coworker says:
I see that one of the headers is being added from
WebRequestCycleProcessor but the other headers must be added using
something other than setHeader.
Where else might headers originate?
Thank you.
On Wed, Jul 23, 2008 at 11:14 AM, Johan Compagner [EMAIL PROTECTED] wrote:
I
https://issues.apache.org/jira/browse/WICKET-1602
http://www.nabble.com/Wicket-javascripts---reloading-every-one-hour-to17117009.html#a17137997
Hope this helps.
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Jul 23, 2008 at 5:58 PM, Scott Swank [EMAIL PROTECTED] wrote:
My coworker
Thank you Jeremy.
On Wed, Jul 23, 2008 at 4:17 PM, Jeremy Thomerson
[EMAIL PROTECTED] wrote:
https://issues.apache.org/jira/browse/WICKET-1602
http://www.nabble.com/Wicket-javascripts---reloading-every-one-hour-to17117009.html#a17137997
Hope this helps.
--
Jeremy Thomerson
88 matches
Mail list logo