I haven't used tree from inmethod myself but I would bet that what you
see is the result of DetachableTagGroupModel(tg.toString())... So
either override your toString or change DetachableTagGroupModel to
return what you want... (maybe look at the implementation to see how the
node's text is
If you need to decorate AJAX callback JavaScript, take a look at the
IAjaxCallDecorator family of interfaces/classes.
Regards - Cemal
http://www.jWeekend.com jWeekend
rag...@directi wrote:
thx a lot Timo for ur reply
yea i agree that it is meant for submittingbut what i meant was to
You might also configure the filter such that it is not active for paths
where you are sure you don't need the filter (think
Web-Content/StaticImages/*.jpg or other static content)
Thomas
On Thu, Feb 5, 2009 at 3:56 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
a single request is processed
Let me know if you'd like to join us on Wednesday evening, at jWeekend's
office in London, for our inaugural session designed to go over selected
Wicket Jira issues (1.4 fixes to start with).
The idea is to dig into how things work with Al and I, understand the
problems, work out how things hang
In lots of books about wicket I can see a Page implementation declaring a
Form as an inner class of the Page.
Of course that this is, in part, a personal preference.
I think, in my opinion, that the approach of declaring the Form as an inner
class makes the code more dirty. I mean, the Page class
Daniel Ferreira Castro wrote:
In lots of books about wicket I can see a Page implementation declaring a
Form as an inner class of the Page.
Of course that this is, in part, a personal preference.
I think, in my opinion, that the approach of declaring the Form as an inner
class makes the code
I prefer to declare the Form as a top class instead inner class.
That is ok. This way you can also re-use the same form from different
pages/panels.
If I declare a Form as a top class should I have a markup html for it
because this form will be treated as a component?
Depends on your
If I declare a Form as a top class should I have a markup html for it
because this form will be treated as a component?
Wicket works both ways.
No, Form doesn't extend WebMarkupContainerWithAssociatedMarkup.
Ah.. might be true, if you want it to have its own markup, you will
embed it into
Hi,
i've a simple form with only one button.
i wan't to test the submit method of button, so i call formtester.submit().
validation is executed and
alsotester.assertNoErrorMessage(); is called. but the submit method of
button wasn't called.
thanks alex
--
View this message in context:
Since you have:
feedback.setOutputMarkupId(true);
is it possible that some AJAX behaviour is clearing the messages before you
notice them?
Either way, the technique described at
http://wicket.apache.org/quickstart.html
is very simple, quick and useful.
You can make the simplest possible app
again thx to all the people so helpful on this mailing list!! this fact was
an important argument to convince my customer to take wicket into account!
i migrated a little part of our old struts1 app to both seam/jsf and
seam/wicket to compare the performance degradation when going from naked
I created a quickstart project to reproduce the error. Curiously, the problem
does not show up in the automated test case. It does show up however if you
run jetty and then click TabbedPanels--intercept--Tabbed Panel.
The difference between the test case and the browser variant seems to be
that
dear community,
still working on a reimplementation of a former jsf gui i have some more
questions about how to implement it correctly in wicket;
* simple components:
in my html i have many lines where i need just little modifications of the
html:
e.g. in jsf i had 10 lines like: link
There is QueryStringUrlCodingStrategy if that is what you mean... if
you just want to construct a query url (GET).
In my understanding POST must come from the client browser so it
cannot be constructed by Wicket as such.
**
Martin
2009/2/5 Steve Swinsburg s.swinsb...@lancaster.ac.uk:
Hi all,
in wicket i tried: style a{color: span wicket:id=linkColor/; }/style
Have you tried wicket:container wicket:id=linkColor/ ?
**
Martin
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands,
I would use:
http://hc.apache.org/httpclient-3.x/
Ryan Gravener
http://ryangravener.com/flex | http://twitter.com/ryangravener
On Thu, Feb 5, 2009 at 7:45 AM, Steve Swinsburg s.swinsb...@lancaster.ac.uk
wrote:
Hi all,
just wondering if there is any API in Wicket that wraps up making a HTTP
Thanks all. need POST so will use httpclient (need to make another
request to an external service after a form is submitted)
cheers,
Steve
On 5 Feb 2009, at 13:15, Martin Makundi wrote:
There is QueryStringUrlCodingStrategy if that is what you mean... if
you just want to construct a
Thanks. That makes a lot of sense. Sometimes the simplest approaches are the
ones I forget.
Matt
igor.vaynberg wrote:
public mypage extends webpage {
private boolean filter;
public mypage() {
add(new dataview(dataview, new dataprovider()) {});
}
private class
All,
I am working with a domain where the POJOs have a method that checks there
values, and throws an exception with the error message if there is a problem
with one of there property values. I am using panels to model these
objects, is there something I can do to utilize this behavior when a
i just tried it, the parser seems to ignore it,
i find the
wicket:container wicket:id=linkColor/
unchanged in the html if i dont add a omponent to the page, and if i add the
component wicket complains that he cannot find the associated component in
the html (just as before)
On Thu, Feb 5,
That works. I'll do that.
Thanks Igor.
igor.vaynberg wrote:
you can mount the pages so you have well known urls to them and build
them manually.
-igor
--
View this message in context:
http://www.nabble.com/Using-urlFor-tp21842522p21852518.html
Sent from the Wicket - User mailing
Thanks for sharing your Info.
best regards
Janos Cserep-2 wrote:
Hi,
I'm running www.szeretgom.hu on a two year old Sun Fire X2100 (1.8 ghz
dual core Opteron, 4 GB RAM) running OpenSolaris, Postgresql,
Glassfish v3 Prelude. The application runs on Wicket 1.4rc1 using
EclipseLink with
class myform extends form {
public void process() {
try {
super.process();
} catch (basedomainexception e) {
error(e.getusermessage());
}
}
}
-igor
On Thu, Feb 5, 2009 at 5:49 AM, walnutmon justin.m.boy...@gmail.com wrote:
All,
I am working with
Hi,
I am Testing the new Portlet 2.0 with Liferay and have some problems with
Ajax-calls.
I am using wicket 1.4-SNAPSHOT(Revision 741130) and Liferay Portal Standard
Edition 5.2.1 (Augustine / Build 5201 / February 3, 2009).
I have a simple page with one label and one Ajaxlink:
public
Hi,
We have a big SpringMVC based web project. And we are developing new modules
with wicket and including them to current View-Engine by using
request.include(). (We have some customizations of course.)
The problem is about header resources, when i include a wicket component, it
is also adding
feel free to work on any open bug, even if it has been assigned to
someone (as long as it is not in progress)
-igor
On Thu, Feb 5, 2009 at 1:39 AM, jWeekend jweekend_for...@cabouge.com wrote:
Let me know if you'd like to join us on Wednesday evening, at jWeekend's
office in London, for our
Please use commons HttpClient, with the standard Java client you
have no control over timeouts potentially hanging your application.
Is this still true?
I found that at least in Java 6 there is
URLConnection.setConnectTimeout(int)
Cheers
Peter
Am 05.02.2009 um 14:12 schrieb Erik van
add an rfe into jira to break this out into a setting
-igor
On Thu, Feb 5, 2009 at 7:40 AM, based fatih.incefi...@eu.sony.com wrote:
Hi,
We have a big SpringMVC based web project. And we are developing new modules
with wicket and including them to current View-Engine by using
On Thu, Feb 5, 2009 at 4:43 AM, janneru jan.ne...@googlemail.com wrote:
* simple components:
in my html i have many lines where i need just little modifications of the
html:
e.g. in jsf i had 10 lines like: link rel=stylesheet type=text/css
href=#{mediaPath.cssFolder}/header.css /
kinabalu wrote:
Can you elaborate
on your current architecture so we can let you know how Wicket can
achieve this?
There are two categories pages on the site.
1) dynamic content - jsp/servlet
2) static content - html
Both categories of pages only display the content. Navigation
Don't forget setReadTimeout(int)
Also very important.
On Thu, Feb 5, 2009 at 11:42 AM, Peter Ertl pe...@gmx.org wrote:
Please use commons HttpClient, with the standard Java client you have no
control over timeouts potentially hanging your application.
Is this still true?
I found that at
thanks igor,
it's always so refreshing how easy things can be done in wicket with the
right hint
perhaps this is usefull for somebody, so i post the code here (as i work
with seam i use org.jboss.el.lang.ExpressionBuilder.Expressions):
public class ReplaceElContainer extends WebComponent{
wicket also has a MapVariableInterpolator that can take care of ${var}
substitutions
-igor
On Thu, Feb 5, 2009 at 9:18 AM, uwe janner ujan...@googlemail.com wrote:
thanks igor,
it's always so refreshing how easy things can be done in wicket with the
right hint
perhaps this is usefull
simply have a generic StaticContentPage that can load static content
from anywhere.
-igor
On Thu, Feb 5, 2009 at 7:53 AM, Vika victoria.elin...@nasa.gov wrote:
kinabalu wrote:
Can you elaborate
on your current architecture so we can let you know how Wicket can
achieve this?
There are
This is an issue with Liferay (see
http://issues.liferay.com/browse/LPS-1911)
You can probably fix it by making sure that portlet-name (in
portlet.xml) and the wicketfilter mapping url-pattern are identical
(portlet.xml web.xml)
On 2/5/09 4:30 PM, Benjamin Ernst wrote:
Hi,
I am Testing
Hi all,
I am looking for a DropDownChoice component replacement to work around
the nasty z-index bug in IE6 (SELECT elements are always shown on top of
everything else and completely ignore the z-index setting).
I tried DojoDropDownChoice, but it does not work on IE6 due to
Javascript errors.
What is the html tag that you are using. If u r using button change to
input type=submit and try
also u can test with findSubmitButton().
//N
alexander.elsholz wrote:
Hi,
i've a simple form with only one button.
i wan't to test the submit method of button, so i call
Does your model have getName() , if so why dont you try with that instead of
.toString().
//N
Penn wrote:
Hi all,
I am working with wicket tree based on the inmethod tree example.I have
just 2 level tree with taggroup and tags. I have issue in just displaying
the name, rather I get a
Vicky,
Take a look at http://www.wicket-library.com/wicket-examples/staticpages/
too.
Regards - Cemal
http://www.jWeekend.co.uk jWeekend
Vika wrote:
kinabalu wrote:
Can you elaborate
on your current architecture so we can let you know how Wicket can
achieve this?
What I would have tried is this: have a list view of web markup containers.
As a list item, create a WebMarkupContainer (mapped to the link tag). Add
an attribute modifier that fixes up the href attribute of the link tag.
You get the filename (header.css) from the ListView's model. Or am I
Extending org.apache.wicket.spring.SpringWebApplication, used abator to
generate generated DAOs, beans, and _SqlMap.xml files, but deploying the
app, get following error:
17:58:31,025 ERROR [[/JPS]] StandardWrapper.Throwable
java.lang.IllegalStateException: bean of type
Hi guys, I have a simple question.
I´m using a ListMultipleChoice in my form.
The selected items should be binded to Car.color as ListCar cars.
If I bind the ListMultipleChoice to cars, I´ll get a
java.lang.ClassCastException
because wicket trys to map a ListString to ListCar.
I am in the midst of deciding on the technology to use for an
application that must be (i) cheap to host and (ii) must be deployable
on USB sticks (Windows/Mac), for use in ad hoc networks. Options
include Wicket/Hibernate/Spring or a PHP framework like Drupal, in
some web container like
I use eapps.com for hosting. Not sure what the problem is with USB drives,
since you can get a 2GB drive for $6.
On Thu, Feb 5, 2009 at 1:29 PM, Kaspar Fischer fisch...@inf.ethz.ch wrote:
I am in the midst of deciding on the technology to use for an application
that must be (i) cheap to
Stack trace please?
On Thu, Feb 5, 2009 at 10:16 PM, Agent Mahone maho...@yahoo.de wrote:
Hi guys, I have a simple question.
I´m using a ListMultipleChoice in my form.
The selected items should be binded to Car.color as ListCar cars.
If I bind the ListMultipleChoice to cars, I´ll get a
And a little bit of example's code too.
-Ursprüngliche Nachricht-
Von: tomlist0...@gmail.com [mailto:tomlist0...@gmail.com] Im Auftrag von Thomas
Mäder
Gesendet: Donnerstag, 5. Februar 2009 23:38
An: users@wicket.apache.org
Betreff: Re: java.lang.ClassCastException in ListMultipleChoice
I use slicehost. $20 a month 10gb/100gb + 250mb.. You have to set up
everything yourself except dns.
On 2/5/09, Nick Heudecker nheudec...@gmail.com wrote:
I use eapps.com for hosting. Not sure what the problem is with USB drives,
since you can get a 2GB drive for $6.
On Thu, Feb 5, 2009 at
I think it is rather a Wicket/Spring integration question. Thus look at
http://cwiki.apache.org/WICKET/spring.html
You have to
1) Declare your wicket application in your application context, e.g.
bean id=wicketApplication class=project.MyApplication/
2) Install a SpringComponentInjector in your
I did a test deploy on slicehost an it was great outside of disk space
issues. Ultimately it was cheaper for me to pay ~$70 a month to cari.net for
a dedicated server.
Slicehost is great though, highly recommended if you have data storage
requirements.
J
On Thu, Feb 5, 2009 at 2:45 PM, Ryan
I meant 'if you have low data storage requirements'. The bump from 10GB to
20GB starts to erode the price competitiveness pretty quickly.
J
On Thu, Feb 5, 2009 at 3:05 PM, John Armstrong siber...@siberian.orgwrote:
I did a test deploy on slicehost an it was great outside of disk space
issues.
Looking for samples or advice for unit testing DataViews. I've been using
ListViews, since they are easy to test.
Thanks
On Thu, 05 Feb 2009, alexander.elsholz wrote:
i wan't to test the submit method of button, so i call formtester.submit().
validation is executed and
also tester.assertNoErrorMessage(); is called. but the submit method of
button wasn't called.
formtester.submit(buttonId);
If it doesn't work,
hi!
so, im using wicket together with guice for DI.
i really wondered that the correct approach is here.
at first i thought it way easy to do this, but it turns out it is more
complicated..- at least more complicated to understand.
my typical page looks like this:
public class StartPage
On Thu, 05 Feb 2009, Erick Fleming wrote:
Looking for samples or advice for unit testing DataViews. I've been using
ListViews, since they are easy to test.
What exactly do you want to test? That the data rendered
is displayed correctly?
Can you show some example code that you'd like to test?
On Fri, 06 Feb 2009, Andreas Petersson wrote:
so, im using wicket together with guice for DI.
i really wondered that the correct approach is here.
http://wicketstuff.org/wicket13/guice/
http://cwiki.apache.org/WICKET/wicket-guice-and-ibatis-example.html
Best wishes,
Timo
--
Timo Rantalaiho
Timo Rantalaiho schrieb:
On Fri, 06 Feb 2009, Andreas Petersson wrote:
so, im using wicket together with guice for DI.
i really wondered that the correct approach is here.
http://wicketstuff.org/wicket13/guice/
http://cwiki.apache.org/WICKET/wicket-guice-and-ibatis-example.html
Best
Hi there,
I am looking for a small hint about how to do the next step, if possible. I
know, it looks a bit like the old please do my homework-question, duh, but
I am a beginner and working on my first big project.
I can't come up with any new idea because it is a bit too complicated for my
own
On Fri, 06 Feb 2009, Andreas Petersson wrote:
i wonder: myDao is most likely not serializable.
WebPage is.
WebPage should get serialized.
so why the heck does this not throw an error? what kind of magic is going
on here?
Look at what GuiceComponentInjector does (or something it
calls).
once again trying to send this mail
thanks!
Von: Agent Mahone maho...@yahoo.de
An: us...@wicket..apache.org
Gesendet: Freitag, den 6. Februar 2009, 01:06:50 Uhr
Betreff: AW: java.lang.ClassCastException in ListMultipleChoice
Hi, here my example:
###
Hello all,
My colleagues Markus Hjort and Marko Sibakov and I are
holding a full-day training session on applying the JDave
Behavior-Driven Development (BDD) framework for developing
Apache Wicket applications. This will take place in the
ApacheCon EU 2009 conference in Amsterdam on Tuesday 24
Timo Rantalaiho schrieb:
On Fri, 06 Feb 2009, Andreas Petersson wrote:
i wonder: myDao is most likely not serializable.
WebPage is.
WebPage should get serialized.
so why the heck does this not throw an error? what kind of magic is going
on here?
Look at what GuiceComponentInjector
Your code's looking good - you're on the right track. The ease of the next
step will blow your mind and you'll love wicket even more (I hope :)
NonCachingImage image = new NonCachingImage(attachment,
new AbstractReadOnlyModel() {
@Override
public Object getObject()
I'm new to unit testing and just trying to get my feet wet. The actual code
under test would be a panel that should display some data. I guess I don't
really care to test wicket's dataview but whether or not my panel is
actually displaying the data. Should I mock the IDataProvider and verify
Thanks Peter, Marcelo,
Still learning every day...
Regards,
Erik.
Marcelo Morales wrote:
Don't forget setReadTimeout(int)
Also very important.
On Thu, Feb 5, 2009 at 11:42 AM, Peter Ertl pe...@gmx.org wrote:
Please use commons HttpClient, with the standard Java client you have no
Andreas Petersson wrote:
hi timo, thanks for the links.
well, i've modeled my application after reading the mentioned example.
from Wicket, Guice and Ibatis example:
public class MyPage extends WebPage {
@Inject
protected MyDao myDao;
---
i wonder: myDao is most likely not
igor:
Thank you very much , it works !
BR
--
smallufo
2009/2/5 Igor Vaynberg igor.vaynb...@gmail.com
remove border.settransparentresolver(true);
instead of
add(listViewContainer.add(listView));
do
border.add(listViewContainer.add(listView));
now your component hierarchy is proper,
slicehost.com. easy.
and at Mystic we've had several web applications written in Wicket
deployed on external media, with a running system behind it of course :)
On Feb 5, 2009, at 1:29 PM, Kaspar Fischer wrote:
I am in the midst of deciding on the technology to use for an
application
I was just going to do it in a different thread, make a void function then it
can take as long as it needs without having timeouts. Might still have a
timeout just in case though ;)
cheers.
-Original Message-
From: Erik van Oosten [mailto:e.vanoos...@grons.nl]
Sent: Fri 2/6/2009 5:40
Hi Igor,
Thanks for your reply, I have created the jira rfe. To be able to continue
to development, i created a new IResponseFilter to remove head tags from
responseBuffer.
Do you see any concern in this?
Thanks in advance
igor.vaynberg wrote:
add an rfe into jira to break this out into a
69 matches
Mail list logo