No, I didn't mean the default output folder. For some reason, Maven added
also the target/classes folder as a source folder. I noticed also that
this was done only if I had a custom Maven plugin in the project (one of our
plugins), even if I used the quickstart Maven artifact. If I removed that
I really doubt that such an exception may be fixed by upgrading
jasperreport (NotSerializableException is pure wicket exception, not a
jasper one).
The stacktrace shows you that the problem is here:
final java.io.InputStream
com.homeaccount.web.jasper.JRResource$1.val$report
I've the same problem in one project but we are not using maven, instead
of it we use ant. For starting/stopping tomcat inside eclipse we use
wtp.
In development mode we could change the java file but not the html. I've
tried to remove the *.html to Filtered resources in
java-compiler-building
Well, my fault. I use DojoDatePicker (1.3.0) inside a Modal Window (1.3.5).
The Problem is, that the DatePicker stays in the background and is
deactivated.
Seems to be a z-index Problem. But changing z-index by wicket-head doesn't
helped.
Thats why i'm asking for an example.
Greets
What's taking so long in your isVisible() method?
The model object should be cached, and is isPositive() so expensive?
Sven
- Ursprüngliche Nachricht -
Von: Scott Swank
Gesendet: 16.01.09 02:06 Uhr
An: users@wicket.apache.org
Betreff: Re: Why you should not override isVisible
Hi Sébastien,
1) and 2) are already implemented, or something very close exists. 3)
may be a good improvement, maybe with a new wicket tag
(wicket:component type=com.me.MyCustomComp /). let's see what think
core developpers
hehe - that one already exists, too! :D
Best regards, --- Jan.
Sure! sorry, missed that one... Well, all requirements were already
implemented :D
If I were naughty, I would write rtfm ;)
Jan Kriesten wrote:
Hi Sébastien,
1) and 2) are already implemented, or something very close exists. 3)
may be a good improvement, maybe with a new wicket tag
Does RepeatingView or RefreshingView allow me to skip an item once
inside populateItem() ?
thanks.
On 15/01/2009, at 8:46 PM, Erik van Oosten wrote:
Perhaps it would be more natural to use RepeatingView (or
RefreshingView) in such cases.
Regards,
Erik.
Steve Swinsburg wrote:
Hi
Martijn,
I just went through the source (1.4-rc1) to trace a detach manually and
find suspect callers of isVisible. I found none during detach, but I did
find one call to isVisible /after/ detach. A simple run confirmed this.
The call to isVisible /after/ detach can be found in method
There is no such method as populateItem. With these components you just
add the sub-components you want to see. In other words, you do the
iteration yourself. See the javadoc of RepeatingView
Hi Jan,
Can you point to a place where this is documented? Its not on
http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html.
Regards,
Erik.
Jan Kriesten wrote:
3) may be a good improvement, maybe with a new wicket tag
(wicket:component type=com.me.MyCustomComp /). let's see what think
Thanx, I think I understand you, but still I'm not sure how to contribute
client custom JS script with WebPage class.
Additional code (JS) is:
function showUpdate(id) {
itemId = id;
var maskDiv = document.getElementById('maskDiv');
var asModalWindow =
Hello. Pardon me for jumping into this topic as I did not go through
previous posts.
But I did notice that the isVisible() is called at least three time when a
page is rendered
I have a SQL call inside the method and the sql log shows
multiple sqls were issued.
I am running wicket 1.3.5.
Thanks DVD, we already established that it is called more then once.
This discussion is talking about:
1. caching the visible value during the render phase to prevent the
potentially large performance hit of multiple invocations to isVisible
2. preventing calls to isVisible during or
Nope, the problem is that the model object *possibly* gets reloaded if
isVisible is called after the cached object got detached - and that's what
started the whole bunch of messages
Michael
svenmeier wrote:
What's taking so long in your isVisible() method?
The model object should
Hi Erik,
Can you point to a place where this is documented? Its not on
http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html.
actually, it is there. :)
---8---
Element wicket:component
wicket:component - Creates a Wicket component on the fly. Needs a class
attribute. Though this has been
Yep, I did see that. However, it does not describe the type attribute
Pills described:
Pills wrote:
3) may be a good improvement, maybe with a new wicket tag
(wicket:component type=com.me.MyCustomComp /). let's see what think
core developpers
Jan Kriesten wrote
Hi Erik,
Can you point
Hi Erik,
Yep, I did see that. However, it does not describe the type attribute
Pills described:
just replace 'type' with 'class' and you're there. Also, any other attribute you
put into the wicket:component tag is looked a setter on the class for, so you
can pass parameters in from you html
Hi,
My subject sums up my question. I'm about to create a new web system and it
will be accessed by clients using normal web browsers and mobile devices.
The normal browsers have varying screen resolutions with the lowest still at
800x600. When it comes to the mobile devices and their web
Your planing something quite impressive here ... or frightening ;)
My comments:
Lucene/Hibernate Search
I'd strongly disagree in using neither Lucene directly nor Hibernate Search.
I'd give +1000 to Compass (http://compass-project.org/) instead. I migrated
my projects completely from Hibernate
Jan Kriesten wrote:
just replace 'type' with 'class' and you're there. Also, any other attribute you
put into the wicket:component tag is looked a setter on the class for, so you
can pass parameters in from you html code.
Best regards, --- Jan.
Ouch, that is ugly. Now I understand why it
Ouch, that is ugly. Now I understand why it is deprecated.
It for sure is nothing meant to be used on a day-to-day basis, right. But there
are use cases where you're happy it exists.
Best regards, --- Jan.
-
To unsubscribe,
I am getting the above problem , can any one of please provide me the
solution as to how to fix this issue
ERROR - DiskPageStore - Error flushing page
java.lang.RuntimeException: java.io.FileNotFoundException:
The only time I have seen something under the target folder added as a
source folder in Eclipse is if it specifically configured that way in the
build section of the pom.xml. This is sometimes done if you are generating
sources or resources using something like JAXB, e.g.,
Using m2eclipse, you can also create a new Maven project using an archetype
from within Eclipse. Choose File New Maven Project Next, and select
the archetype you want to use. See:
http://books.sonatype.com/maven-book/reference/eclipse-sect-m2e-create-archetype.html
-Richard
On Fri, Jan 16,
Hi,
I am getting the above problem , can any one of please provide me the
solution as to how to fix this issue
since you didn't provide any further hints on what version of wicket you're
using, I suppose this issue has already been resolved with 1.3.5:
See: http://cwiki.apache.org/WICKET/calling-wicket-from-javascript.html
Or more generally: http://cwiki.apache.org/WICKET/ajax.html
-Richard
On Fri, Jan 16, 2009 at 4:29 AM, Sniffer cajic_aleksan...@yahoo.com wrote:
Thanx, I think I understand you, but still I'm not sure how to contribute
Ok, IMHO it's a bug that wicket calls isVisible() after detachment.
Thus caching isVisible() is not needed.
Sven
- Ursprüngliche Nachricht -
Von: Michael Sparer
Gesendet: 16.01.09 11:20 Uhr
An: users@wicket.apache.org
Betreff: Re: Re: Why you should not override isVisible
I think there already a lot of projects out there that try to optimize
web-development in Java.
Instead of starting yet another project I think it would be better to find out
which framework is most
flexible and has the best design architecture and philosophy and support this
project.
So far I
All you need is a RAD IDE that co-operates well with the typesafe wicket.
**
Martin
2009/1/16 Tobias Marx superoverdr...@gmx.de:
I think there already a lot of projects out there that try to optimize
web-development in Java.
Instead of starting yet another project I think it would be better
+1
-Original Message-
From: s...@meiers.net [mailto:s...@meiers.net]
Sent: Friday, January 16, 2009 7:47 AM
To: users@wicket.apache.org
Subject: Re: Why you should not override isVisible
Ok, IMHO it's a bug that wicket calls isVisible() after detachment.
Thus caching isVisible()
I don't think so. It would help you to write lots of code faster - but still
there is lots of code.
The more code the longer it takes for a (new) developer / freelancer to find
his way around ...and the more code you need to change if code changes are
necessary,
This is why I am not fan of
Please don't turn the logic around.
Caching is only needed because isVisible can be a performance hit.
/If/ you want caching /then/ isVisible should not be called after detach
as detach is needed to clear the cache.
Regards,
Erik.
s...@meiers.net wrote:
Ok, IMHO it's a bug that wicket
What I don't like about Wicket is, that it is like writing normal Java
applications - although rich clients applications are being replaced with
web-based solutions and there is a fundamental difference between
web-applications and normal java applications. If you have a java
application as
I think everyone should be allowed to use the tools they want to use..and I
think
people should do what they are supposed to be doing.
Webdesigners/HTMLers should work on the templates and design and programmers on
Java code.
Webdesigners should work with the tools they know and are
I don't think so. It would help you to write lots of code faster - but still
there is lots of code.
Whether you get a lot of code depends on your particular design or
wicketstuff/extensions library.
The more code the longer it takes for a (new) developer / freelancer to find
his way around
Hi Tobias,
I don't agree on a couple of points you made on Wicket.
Wicket is providing the GUI and you have to make sure your gluing to the backend
is as transparent as it can be. So, if you have your interfaces untouched, you
wont need to touch the Java code again for your 3-5 years. Also,
Brix only works the way it works because it does not need a database..with
a flexible achitecture and a database this would not be possible without too
many limitations either.
The ultimate goal would be a web-application builder...or at least a highly
configurable website (whatever kind
If only html dom was more flexible :)
**
Martin
2009/1/16 Tobias Marx superoverdr...@gmx.de:
I think everyone should be allowed to use the tools they want to use..and
I think
people should do what they are supposed to be doing.
Webdesigners/HTMLers should work on the templates and
I am using wicket1.3.5 version only , but still getting the problem , any
one please provide me the solution
--
View this message in context:
http://www.nabble.com/ERROR---DiskPageStoreError-flushing-page-tp21498004p21499158.html
Sent from the Wicket - User mailing list archive at
Sorry Sven,
You of course meant to say:
/If/ isVisible would no longer be called after detach /then/ it would be
possible to do the caching yourself (as you can use detach to clear the
cache).
/If/ you can cache yourself /then/ Wicket does not need to cache the
result of isVisible.
On Fri, Jan 16, 2009 at 7:47 AM, Tobias Marx superoverdr...@gmx.de wrote:
What about merging Wicket and Tapestry? Similiar to Wicket with Tapestry
templates?
I don't think this would work very well. The Tapestry team's
philosophy doesn't really work well with how the Wicket community
An ideal web-application is developed once and the Java code is never
touched again for 3-5 years until there are a lot of new features
necessary
where do you live?
thats not my experience. Yes after a while the web app code is pretty done
but then it did already run for 1 or 2 years in
Created an issue:
http://issues.apache.org/jira/browse/WICKET-2025
Regards,
Erik.
Erik van Oosten wrote:
Martijn,
I just went through the source (1.4-rc1) to trace a detach manually
and find suspect callers of isVisible. I found none during detach, but
I did find one call to isVisible
Kent Larsson-3 wrote:
Hi,
My subject sums up my question. I'm about to create a new web system and
it
will be accessed by clients using normal web browsers and mobile devices.
The normal browsers have varying screen resolutions with the lowest still
at
800x600. When it comes to the
... or conscious design debt... ;)
**
Martin
2009/1/16 Johan Compagner jcompag...@gmail.com:
An ideal web-application is developed once and the Java code is never
touched again for 3-5 years until there are a lot of new features
necessary
where do you live?
thats not my experience.
Sure these kinds of things exist. In Hippo CMS 7, we're nesting panels
that each have their own instance-specific configuration. Different
document types have a corresponding (admittedly quite simple) plugin
configuration that can be edited within the cms. The cms itself is
mostly a (more
Hi,
I have a panel that is on a page and the panel needs to be able to reference
another panel on the same page.
The panel is a detail form. The detail form contains a link back to the search
results. I want to put the link in the detail form since this is the only time
that it will appear,
The panel is a detail form. The detail form contains a link back to the
search results. I want to put the link in the detail form since this is the
only time that it will appear, but this link action needs a reference to the
search results panel to toggle the visibility back to true.
It
I have a panel that is on a page and the panel needs to be
able to reference another panel on the same page.
In the code, you can either keep instance variables pointing to the two
panels in the page source (since they are on the same page they are in
the same Page) and go via those in the
yes you are right. i was under the impression we were adding those
behaviors to the component, but looks like we are not. fixed in
1.3.x.and trunk. thanks for finding it.
-igor
On Thu, Jan 15, 2009 at 11:43 PM, Jonas barney...@gmail.com wrote:
Maybe I'm missing something, but looking at the
That comes from a CompoundPropertyModelCart and is bound to total.
So getModelObject() corresponds to cart.getTotal(). From there,
isPositive() is quite cheap.
And we can, of course, keep implementing ad hoc caching of visibility.
It's in no way complex, however it seems preferable to have
Hello Nick,
The new plugin installs fine. This is what works on my systems:
(a) ALT + SHIFT + W = switching between java and html files
(b) in the html file clicking on a wicket:id value = jumps to corresponding
Java code
(c) CTRL + SPACEBAR when inside a wicket:id value in the html file =
Thanks for the feedback Maarten. I'm going to publish the plugin today to
the IDEA site then work on fixing that bug as soon as I can.
On Fri, Jan 16, 2009 at 8:46 AM, Maarten Bosteels
mbosteels@gmail.comwrote:
Hello Nick,
The new plugin installs fine. This is what works on my systems:
Hallo,
i miss the (old) method newPage() in Release 1.4-rc1. Is it substituted by
another method?
my Save-Process: New Order - Save - modal window (feedback) - goTo
HomePage with table of my orders.
Problem: Linking is ok, but on HomePage the new Order is not visible. After
Refresh the Site
But the model's value is accessed by many other methods, not just
isVisible().
If you want to save the reflection overhead why don't you put a caching
model between your component and the CompoundPropertyModel?
Or access the model of the containing component if this is applicable:
public void
Probably our model should cache the result of cart.getTotal() since
that's the expensive bit.
That said, I see value in introducing visibility caching into Wicket
core. Others do not. I make my case, the core developers decide, we
move on. :)
Scott
On Fri, Jan 16, 2009 at 9:05 AM, Sven Meier
Hi all,
I have a link which, depending on certain conditions, I need unlinked
(ie disabled).
//link (if allowed, or none, just the label)
Link link = new Link(link) {
public void onClick() {
setResponsePage(new ViewProfile((String)getModelObject()));
}
};
Override isVisible()? Or, do you want it to show text, just not be clickable?
On Fri, Jan 16, 2009 at 12:51 PM, Steve Swinsburg
s.swinsb...@lancaster.ac.uk wrote:
Hi all,
I have a link which, depending on certain conditions, I need unlinked (ie
disabled).
//link (if allowed, or none, just
Yeah It needs to show the label and not be clickable if there is no
link, or link and the label if there is to be a link
e.g. in Facebook, a search shows a user's name but it may or may not
be clickable depending on their privacy settings.
thanks,
Steve
On 16 Jan 2009, at 17:54,
I am seeking a solution and found this mail.
This is a very useful implementation.
I strongly suggest future wicket to include this Component.
Thank you , Jeremy
--
smallufo
2008/10/8 Jeremy Thomerson jer...@wickettraining.com
This doesn't preload the images, but it is a simple way to do a
Check out AbstractLink#setBeforeDisabledLink()
and AbstractLink#setAfterDisabledLink(). I believe you can set the markup
you want to appear there. This defaults to em. Or just go directly
to AbstractLink#disableLink() and get the behaviour you want there.
I think you can also do it application
Here is what I see in Diana #9647 build on Windows XP.
Class/HTML Switching (WORKS)
Alt + Shift + W switch between class and markup/html.
Inspections (PARTLY WORKS)
It seems to work in markup/html files, but not in source files for missing
Wicket IDs.
Goto (DOES NOT APPEAR TO WORK AT ALL)
Thanks, this did the trick:
getMarkupSettings().setDefaultBeforeDisabledLink(null);
getMarkupSettings().setDefaultAfterDisabledLink(null);
cheers,
Steve
On 16 Jan 2009, at 18:05, Matthew Hanlon wrote:
Check out AbstractLink#setBeforeDisabledLink()
and AbstractLink#setAfterDisabledLink().
Yes, it sounds like caching. But it's not my browser: even if someone hits
the page from a totally different computer or another browser, I get the
same results: whatever was served first from that file is stuck, and nobody
ever gets any different result. (If the first browser was not logged in
Hi!
I would like to ignore page expired on certain pages. What I mean is
that in general it is ok to follow the instruction:
getApplicationSettings().setPageExpiredErrorPage(LoginPage.class);
However, on certain pages where the session is not so important, I
would like to redirect back to the
how about
class varsmodel extends abstractreadonlymodel {
object getobject() {
user currentUser=session.get().getuser();
HashMapString,Object vars = new HashMapString,Object();
vars.put(password, currentUser.getPassword());
return vars;
}
}
TextTemplateResourceReference
when you hit pageexpired exception you do not know which page caused it
-igor
On Fri, Jan 16, 2009 at 11:18 AM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Hi!
I would like to ignore page expired on certain pages. What I mean is
that in general it is ok to follow the
Great!
Are there any demo/reference websites that run Hippo CMS or Hippo Portal?
Original-Nachricht
Datum: Fri, 16 Jan 2009 16:12:13 +0100
Von: Frank van Lankvelt f.vanlankv...@onehippo.com
An: users@wicket.apache.org
Betreff: RE: Things I miss in Wicket
Sure these kinds
i dont think you have ever had a designer go in and edit php scripts
from your applications :)
in the old times i have worked on tons of jsp projects where, even
though we tried very hard to keep logic down to a minimum inside the
jsp itself, the designers went in and completely foobarred it,
by class proliferation you mean having to extend a base class?
well, I mean using three classes to do what I've been accomplishing with one
- it struck me as off, but I'm sure you guys know what you're about :)
Jonathan, thanks for the advise.
when you hit pageexpired exception you do not know which page caused it
Is it possible that there could be some query parameters that could be
used to deduce such information?
**
Martin
On Fri, Jan 16, 2009 at 11:18 AM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Hi!
I would
Specifically, if it is a Mounted Bookmarkable page, the page name
should be available in the url?
**
Martin
2009/1/16 Martin Makundi martin.maku...@koodaripalvelut.com:
when you hit pageexpired exception you do not know which page caused it
Is it possible that there could be some query
bookmarkable urls do not generate a page expired error, the urls that
do generally look like this:
?wicket:interface=2:ff.sdfsdf.sdf:ILinkListener
where the only information you have about the page is 2.
you can write your own coding strategy that always appends the class
name of the last
I would like to open a modelwindow, but not with a link since I do not want any
form data to be lost.
Does anyone have an example or pointer?
I did manage to open a modalwindow using an ajaxsubmit button, but the content
of my dialog gets written to my page and the dialog is empty!
Thanks!
I am having the same issue with multiple drop downs with ajax, when trying to
unit test.
tbt wrote:
Hi
I have coded two dropdown boxes similar to the example provided at
http://http://www.wicket-library.com/wicket-examples/ajax/choice.1
The hotel dropdown is populated once a country
Nobody here with an answer?
Problem still open here.
Marc S. wrote:
I have the same problem now with Wicket 1.4-rc1.
Anyone knows if this is a bug or am I doing something wrong?
Thanks,
Marc
hbf wrote:
I have a shared resource that I add in my application's init() method
I think you'll need to use the ajax submit, or else dig into the wicket JS
to see if there's another way.
But - ajax submit should be fine - you won't lose any form data - it will
be submitted. What was the problem with using it? (caveat: unless you have
a file upload - which doesn't work in
That seems consistent with the problem I was having. I removed
several plugins from the pom and got things working. Like you, for
now I'm leaving adding those plugins back in until another day.
Tauren
On Thu, Jan 15, 2009 at 11:59 PM, noon rami.muurim...@gmail.com wrote:
No, I didn't mean
Richard,
Thanks for your comments. I'm still used to using maven on the
command line, but it is good to know that I can do it all within the
eclipse UI.
Tauren
On Fri, Jan 16, 2009 at 4:29 AM, Richard Allen
richard.l.al...@gmail.com wrote:
Using m2eclipse, you can also create a new Maven
That seems consistent with the problem I was having. I removed
several plugins from the pom and got things working. Like you, for
now I'm leaving adding those plugins back in until another day.
Thanks,
Tauren
On Thu, Jan 15, 2009 at 11:59 PM, noon rami.muurim...@gmail.com wrote:
No, I
Hi Stefan,
Your planing something quite impressive here ... or frightening ;)
It does sound quite ambitious, doesn't it? Truthfully, I am a bit
frightened... :) In reality, we aren't planning to roll out all of
these features all at once. But we are trying to create a roadmap for
future
Is it possible that it occurs when a user stays on a bookmarkable page
for a long time (the page having forms) and then clicks trying to
submit the form after the session has expired? Could I just nest a
hidden form field that I could use to determine the page? What would
be the right place to
83 matches
Mail list logo