Hi!
If a form validator depends on a nested form's components, it will
assume they are valid because the nested form's components are
validated after the parent form?
**
Martin
-
To unsubscribe, e-mail:
I believe it must be something extremely simple.
I set up a project in Eclipse Galileo using m2eclipse from Sonatype.
I'm trying to debug the wicket class. I set breakpoints and the execution
stops exactly at those points. The wicket sources are actually attached. I
can see the source code. But
El mar, 29-09-2009 a las 11:47 +0400, Vladimir Kovalyuk escribió:
I believe it must be something extremely simple.
I set up a project in Eclipse Galileo using m2eclipse from Sonatype.
I'm trying to debug the wicket class. I set breakpoints and the execution
stops exactly at those points. The
Hi,
We have been developing a few useful archetypes for our own client projects
and courses.
Amongst others, we have
Wicket/Guice
Wicket/Guice/Warp/Hibernate
Wicket/Guice/Warp/JPA
Wicket/Spring/JPA
Spring/JPA/openJPA
Spring/JPA/EclipseLink
Spring/JDBC
All include a running sample application
Great! So should these be merged into Iolite? Anyhow the nice thing would
be to put it into wicketstuff..
regards Nino
2009/9/29 richardwilko richardjohnwilkin...@gmail.com
Hi,
We have been developing a few useful archetypes for our own client projects
and courses.
Amongst others, we have
I don't use m2eclipse, but I have this in my pom.xml...
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-eclipse-plugin/artifactId
configuration
downloadSourcestrue/downloadSources
downloadJavadocstrue/downloadJavadocs
May help:
http://javathoughts.capesugarbird.com/2007/08/branding-wicket-application-take-2.html
On Tue, Sep 29, 2009 at 2:03 AM, pete swulius pswul...@gmail.com wrote:
All,
I am trying to use an AttributeModifier to change the stylesheet used on a
Page of mine.
WebComponent styleComponent
You need to find if the component who throw the exception is the same agent
constructed with lines you report and on what moment the component lost his
model.
On Mon, Sep 28, 2009 at 11:28 PM, Sam Barrow s...@sambarrow.com wrote:
I'm getting this exception:
java.lang.IllegalStateException:
So sometimes validators will process formcomponents whose input has not been
converted??
Sometimes the form component validation method will test himself and
children for validations errors reported, before and after the user input
get converted.
On Tue, Sep 29, 2009 at 2:04 AM, Martin Makundi
Ah yes, but it does not actually validate. Very funny results. Is this
ok or am I doing something wrong?
Principally what I have is:
parent form
nested form - one per row
rowName
parentForm.add(duplicateRowValidator);
None of the rows is allowed to have duplicate names so what I
Hi Martin,
Ah yes, but it does not actually validate.
you refers to validate method from FormComponent right? The javadoc says:
Performs full validation of the form component, which consists of calling
validateRequired(),
convertInput(), and validateValidators(). This method should only be used
Hi,
on the wiki[1] it is described how to get rid of wicket markup such as
wicket:id attributes on a page basis.
The solution looks like a dirty hack to me which may go wrong when for
instance exceptions occur. Does anybody know of a better way?
For completeness sake, here is the code duplicated
BUT, is this necessary? Is there a framework method to do this for me?
http://static.ddpoker.com/javadoc/wicket/1.4-rc2/org/apache/wicket/markup/html/form/FormComponent.html#getConvertedInput%28%29
That is not the same. This is convertedINPUT. It will not give
anything if input has not been
In some situations during development...
With that in mind, this solution is absolutely ok.
2009/9/29 Antoine van Wel antoine.van@gmail.com
Hi,
on the wiki[1] it is described how to get rid of wicket markup such as
wicket:id attributes on a page basis.
The solution looks like a dirty
Hi,
I found on https://issues.apache.org/jira/browse/WICKET a release 1.4.2 of
wicket, but it's not on the official page, nor on the mirror sites. Is it a
public release or are the sites just not updated yet?
regards
Tomek
Maybe this thread will explain why
http://www.nabble.com/-vote--release-1.4.2-td25636013.html
http://www.nabble.com/-vote--release-1.4.2-td25636013.html
Best,
Ernesto
On Tue, Sep 29, 2009 at 2:38 PM, Tomek Sniadach
tomek.sniad...@googlemail.com wrote:
Hi,
I found on
A release is not done until officially announced at annou...@wicket.apache.org
Martijn
On Tue, Sep 29, 2009 at 2:38 PM, Tomek Sniadach
tomek.sniad...@googlemail.com wrote:
Hi,
I found on https://issues.apache.org/jira/browse/WICKET a release 1.4.2 of
wicket, but it's not on the official page,
Thanks for the lightning fast reply.
Yes it works fine under development. Still I don't like it - after all these
statements are also executed during production mode, and even though they
can't do any harm there, I'd rather not see them there at all. More a matter
of personal taste I guess.
Thanks Ernesto. :-)
2009/9/29 Ernesto Reinaldo Barreiro reier...@gmail.com
Maybe this thread will explain why
http://www.nabble.com/-vote--release-1.4.2-td25636013.html
http://www.nabble.com/-vote--release-1.4.2-td25636013.html
Best,
Ernesto
On Tue, Sep 29, 2009 at 2:38 PM, Tomek
I don't see how this can work reliably when there is more than 1 user, AFAIK
wicket has no synchronization in place that prevents 2 pages from going through
the render phase at the same time. So if one page finishes rendering and
changes the setting to false while another page has just started
on the wiki[1] it is described how to get rid of wicket markup such as
wicket:id attributes on a page basis
page basis is an specific page on your project, or you want to strip wicket
tags to all pages?
you can override application init method and put your configuration lines:
When writing an autocomplete textfield on a form that is first visible,
and after an ajax call rendered invisible, the autocomplete textfields
on this form get rendered anyway in the ajax response.
The method renderAutocompleteHead in AbstractAutocompleteBehavior gets
executed,
even if the
Padova :)
Paolo Di Tommaso wrote:
Roma (~)
On Thu, Sep 24, 2009 at 8:46 AM, francesco dicarlo
evilsephir...@gmail.comwrote:
Hi, i've just worked on a project with wicket for a software house in Bari.
But now i'm in Rome.
Hope to see you in an event XD
2009/9/24 Luca Provenzani
please open a jira issue.
-igor
On Tue, Sep 29, 2009 at 7:59 AM, Ann Baert ann.ba...@tvh.be wrote:
When writing an autocomplete textfield on a form that is first visible,
and after an ajax call rendered invisible, the autocomplete textfields
on this form get rendered anyway in the ajax
Ah, thank you. I will look into using HeaderContributor instead. I have a
good feeling that will take care of my problem. I will post back my
findings this afternoon.
--pete
Hi everyone,
We have this requirement in which we cannot allow the customer to copy
paste the url that's appearing in the address bar into the same
browser. For example in a different tab or in a new window. This can
easily be done in Wicket Framework since the url has a corresponding
page
We have this requirement in which we cannot allow the customer to copy
paste the url that's appearing in the address bar into the same
browser.
Crazy thing. How about to include an request counter to your url
encode/decode strategy?
On Tue, Sep 29, 2009 at 1:41 PM, Carlo Camerino
On Tue, Sep 29, 2009 at 6:48 PM, Pedro Santos pedros...@gmail.com wrote:
We have this requirement in which we cannot allow the customer to copy
paste the url that's appearing in the address bar into the same
browser.
Crazy thing. How about to include an request counter to your url
could'nt he just have a page map with a size of 0? Of course reloads
would'nt work and probably a bunch of other stuff too.. Seems like at
strange thing to limit on though.
2009/9/29 Matej Knopp matej.kn...@gmail.com
On Tue, Sep 29, 2009 at 6:48 PM, Pedro Santos pedros...@gmail.com wrote:
We
ya it's sort of our requirement i don't think i would set my pagemap to 0.
i'm thinking of a control i could use in order to determine that this
page is accessed. i'm thinking of the best way to do it though.
i could maybe include a hidden field in each of my form that i have to
check each
I'm guessing they are trying to limit users from taking a test in one window
and seeing the previous answers in another.
-Clint
On Tue, Sep 29, 2009 at 12:29 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
could'nt he just have a page map with a size of 0? Of course reloads
Ahh good example for usage :)
2009/9/29 Clint Checketts checke...@gmail.com
I'm guessing they are trying to limit users from taking a test in one
window
and seeing the previous answers in another.
-Clint
On Tue, Sep 29, 2009 at 12:29 PM, nino martinez wael
nino.martinez.w...@gmail.com
Okay in that case you should be able to use some of the stuff that are used
in apps that are supposed be *cross*-*site* request *forgery proof*, search
the list for that.
2009/9/29 Carlo Camerino carlo.camer...@gmail.com
ya it's sort of our requirement i don't think i would set my pagemap
Your options here are rather limited. Wicket or not, it is still a web
application. HTTP is a stateless protocol. There are ways/hacks to
detect opening page in new window/tab but they require javascript and
are not 100% bullet proof. If you need real solution for this forget
about web
protected final void validate()
{
if (isEnabledInHierarchy() isVisibleInHierarchy())
{
// since this method can be called directly by users,
this additional
check is needed
validateComponents();
I'm bringing up my old thread here, as I found something that works
well enough, and it might help someone to have it in the list
archive.)
2009/9/15 Pedro Santos pedros...@gmail.com:
On the other hand, maybe that whole criteria panel is deselected, in
which case I want to be able to stop the
I'm using the AjaxPagingNavigation component and it works well, but when I
click on one of the links, my url is replaced with
/?wicket:interface=:3:4:::
You refers to html A tag generated by navigations links. What you got on
onclick tag attribute on your rendered page?
On Mon, Sep 28, 2009 at
Is anybody successfully using this and witnessing ajax calls?
I can't figure out why it isn't using Ajax as the name implies. I
tried overriding the onAjaxEvent method, but it is never called.
Douglas
On Sep 28, 2009, at 7:57 PM, Douglas Ferguson wrote:
I'm using the AjaxPagingNavigation
Hello list,
I'm currently working on some ideas for building apps with fairly
complex workflows. My aim is to find a nice pattern/framework for
building apps where each unit of work involves many panels, several
forms, lots of decisions and so on. In particular I'm aiming at apps
where you need
If you're using Spring, the dependency injection issue for
non-component items can be solved by adding the following line to the
object's constructor:
InjectorHolder.getInjector().inject(this);
where InjectorHolder is org.apache.wicket.injection.web.InjectorHolder
. I'm afraid I don't have any
HeaderContributor is the answer.
add( CSSPackageResource.getHeaderContribution( css/ + style.getName() +
/promo.css ) );
The javadocs explicitly state that a css location that does not begin will a
leading / (slash) will be have it's relative path prepended to it.
I am not aware that Wicket has direct support for this kind of
(mis-)behavior.
You can, however employ some kind of cheating here. if you set the http
headers to no-cache with the help of a servlet filter, the browser will
not allow the page to be copy-pasted from local cache, and will
What happens if the user (perhaps accidentally) refreshes page?
-Matej
On Tue, Sep 29, 2009 at 11:43 PM, Andreas Petersson
andr...@petersson.at wrote:
I am not aware that Wicket has direct support for this kind of
(mis-)behavior.
You can, however employ some kind of cheating here. if you set
Matej Knopp schrieb:
What happens if the user (perhaps accidentally) refreshes page?
-Matej
he would get an error page using the described approach. clearly not
what you would want in a general-purpose web app.
BR
Andreas
-
2009/9/29 Carlo Camerino carlo.camer...@gmail.com:
Hi everyone,
We have this requirement in which we cannot allow the customer to copy
paste the url that's appearing in the address bar into the same
browser. For example in a different tab or in a new window. This can
easily be done in Wicket
Phil,
Would an event-centric approach simplify things? I'm thinking that
you could then have multiple listeners for a given event and the
various listeners would not have to be aware of one another. This
might reduce the task/sub-task interactions. Adding errors, or
refreshing components could
I want to create a list of radio buttons [I have that working] and an
ajax event to fire whenever a radio button is clicked [I have this
working]. If the radio button matches the one I am interested in then I
want to display additional information that must be filled in. A radio
button selection
2009/9/29 Scott Swank scott.sw...@gmail.com:
Phil,
Would an event-centric approach simplify things? I'm thinking that
you could then have multiple listeners for a given event and the
various listeners would not have to be aware of one another. This
might reduce the task/sub-task
there is really no point in having your tasks be components. why not simply
repeatingview rv=..
for (task t:tasks) {
if (t.hasUIComponent()) {
rv.add(t.getUIComponent());
}
}
-igor
On Tue, Sep 29, 2009 at 2:11 PM, Phil Housley undeconstruc...@gmail.com wrote:
Hello list,
I'm
Have you thought about using Spring Web Flow for this? I'm not a SWF expert,
but it sounds like something well-tailored to your needs. For example, a
flow can have steps that don't have UIs.
Our group at work is looking into Wicket SWF integration. I have a seen a
few comments on the web from
So validateComponents() validates also nested components if current
form depends on them?
**
Martin
2009/9/29 Jonathan Locke jonathan.lo...@gmail.com:
protected final void validate()
{
if (isEnabledInHierarchy() isVisibleInHierarchy())
{
51 matches
Mail list logo