Hmm...
Open the resulting war file and check that the path is correct.
At the project im working on the CSS file is outside the
WEB-INF/classes folder and with the aproach i mentioned it works.
war structure is like this:
project.war - css
- WEB-INF
Because it is urgent, I tried some changes without success.
It seems to be the AjaxFallBackLink in the dataview, wich causes the table
not to be shown when the page shows up.
Is there any other possibility to show a modal window without an AjaxLink?
Here is some code of the dataview with the
We have a lot of Repeating views, which containing a lot of components,
which also contains repeatingviews.
To know would should be rendered, we load some hopefully small
(listsizes, objectbyId, ...) datas from DB in the constructor and/or in
onBeforeRender and in isVisible. You are right, this
We had the same problem. It probably can be solved in a better way (but
that would require a RFE and changes to Wicket), but we used a quick and
easy solution (tm).
Instead of actually setting isVisible() on the Date Picker, we just hide
it using CSS. I don't know if this is applicable in your
We have put all lookup in the wicket application class. Thus all pages
do: getApplication().getWhatEverService().
I belive this make unit testing a bit easier since you mock the
application the same way every time.
/Per
On Tue, Mar 23, 2010 at 6:05 PM, smallufo small...@gmail.com wrote:
Did you get a resolution to this issue? I have the same problem.
currently i am using this techniques to do the my stuff.But it
breaks when the user press return key.
// save this so we can call it later
var wicketOnClick = ajaxSubmitLink.onclick;
ajaxSubmitLink.onclick =
Hi,
I am new to the Wicket and am trying out the TreeTable example. I am facing
a more fundmental issue. I am unable to give a fixed width to the middle
columns. I can only specify the Unit as Proportional which is dividing the
columns proportionally within the available space. Because of this I
Hi Martin,
One reason for loading some data in contstructur or onBeforeRender is to
prevent creating huge hierarchies. This is faster than override
isVisible(), since isVisible would called more than one times.
why are you loading data in the component at all? There is this nice
Take a look at
http://www.wicketframework.org/wicket-extensions/apidocs/wicket/extensions/markup/html/tree/table/ColumnLocation.html
Specifying fixed size column should be no harder than adding them as LEFT
or RIGHT columns instead of MIDDLE Column. MIDDLE column cannot have a
fixed width.
Yes we use LoadableDetachableModel. But we also do some times
getModel().getObject() deeper in hierarchy inside the construction, to
e.g. set the visibility of a panel or to create just the right panel,
instead of creating e.g. ten panels and implement isVisible().
Martin
Jan Kriesten
I'd wrap the getModel().getObject() in accessor methods to hide the
fact that you do that. getContract() is so much more legible than
getModel().getObject()
Martijn
On Fri, Mar 26, 2010 at 10:59 AM, Martin Sachs sachs.mar...@gmail.com wrote:
Yes we use LoadableDetachableModel. But we also do
Uwe Schäfer schrieb:
Hi Cemal,
I was thinking that it could possibly be sensible to have another
project where we abstract out the mechanisms wiQuery provides for
resources and JavaScript statements.
to keep that topic alive: do you agree that providing a unified way for
component authors
Good morning,
Is there any way to test JavaScript code in WicketTester? I know of
Selenium-based solutions, but I think that's too much heavyweight. Plus, I'd
really like to unit test my rendering JS behavior. In a similar way than
with YUI test, but for my homegrown JS.
A recommandation,
Hello,
thanx for wicket!!! it is a joy working with this great framework!
I would need some help with an Ajax enabled table. It would be very great if
some one could give me a hint on this.
I have a DateTextField with a DatePicker, once the content is changed i want
the tabelcontent
Hi everyone,
I'm trying to run a simple Wicket Application with Facebook Connect on
Google App Engine.
So far it runs local, but when I deploy to Google Facebook Connect wont
work.
I cant find any examples for using wicket with gae and facebook on the
web. Is anyone here who successfully made
H... No responses. Maybe I can attack this little by little.
When an AJAX response is sent back to the browser, is there a way to stop
Wicket from sending the script
elements? These script elements are already there on the initial page
load so I don't see why it needs to send these again on
Can anyone tell me where I find a good documentation about this integration?
Thanks!
See wicket-examples project:
http://www.wicket-library.com/wicket-examples/velocity/
Regards,
Peter
2010-03-26 14:00 keltezéssel, Gustavo Henrique írta:
Can anyone tell me where I find a good documentation about this integration?
Thanks!
Uwe!
I was thinking in terms of a simple core, of well defined and limited
scope. It would provide a clear and well trodden way for people to
integrate their favourite JavaScript libraries with Wicket in a
consistent and effective, tried and tested way.
As you say, there are always going to be
you are aware of this?
http://www.danwalmsley.com/2009/04/08/apache-wicket-on-google-app-engine-for-java/
2010/3/26 christoph glass mail.kaffeeser...@googlemail.com
Hi everyone,
I'm trying to run a simple Wicket Application with Facebook Connect on
Google App Engine.
So far it runs local,
This sounds exactly like the thing I'm looking for. A small and simple
framework for HeaderContribution.
Stefan
-Ursprüngliche Nachricht-
Von: ce...@jweekend.com [mailto:ce...@jweekend.com] Im Auftrag von Cemal
Bayramoglu
Gesendet: Freitag, 26. März 2010 14:26
An: users
Betreff: Re:
Stefan,
... and encapsulating JavaScript statements; the two main concerns I'd
imagine anyone making an integration between Wicket and a JavaScript
library has.
Regards - Cemal
jWeekend
OO Java Technologies, Wicket
Consulting, Development, Training
http://jWeekend.com
On 26 March 2010 13:37,
the recommended way to handle this would be to cache the data not the
generated html
-igor
On Fri, Mar 26, 2010 at 1:11 AM, Martin Sachs sachs.mar...@gmail.com wrote:
We have a lot of Repeating views, which containing a lot of components,
which also contains repeatingviews.
To know would
because wicket doesnt track what has been sent or not, it simply
renders what you tell it to. the filtering of duplicates happens on
the client side where js knows whats is there and what is not.
-igor
On Fri, Mar 26, 2010 at 5:53 AM, T Ames tamesw...@gmail.com wrote:
H... No responses.
You solved it :)
I configured my project some days ago with the instructions from your
link. Now I checked everything carefully again, and noticed that I
forgott the following line in WicketApplication.java
---
super.init();
---
Now it seems to work.
Thank you very much!
Best regards
I've added a jira-issue
(https://issues.apache.org/jira/browse/WICKET-2806) for this.
Cheers
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Hi,
we're getting this exception in production sometimes, and today I
experienced it first hand.
We have a session of 60 mins set in the web.xml - however I got this
after just 5 mins:
org.apache.wicket.protocol.http.PageExpiredException: Cannot find the
rendered page in session
oh and I doubled check that all the classes implement Serializable
Wayne Pope-2 wrote:
Hi,
we're getting this exception in production sometimes, and today I
experienced it first hand.
We have a session of 60 mins set in the web.xml - however I got this
after just 5 mins:
Also on this subject -- if I want to prevent users from submitting wizard
(multi-page form) again via back button after they've submitted it once (or
in other conditions), what would be the best way to approach this problem?
And similarly -- if I want to prevent users from using back button at
Makes sense, but I need to override this behavior. Is there a way to stop
Wicket from sending the script elements at the time of the AJAX response?
On Fri, Mar 26, 2010 at 9:52 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
because wicket doesnt track what has been sent or not, it simply
One more bit of info - it was a ajax request that caused this.
Any ideas?
On Fri, Mar 26, 2010 at 3:42 PM, Wayne Pope waynemailingli...@gmail.com wrote:
oh and I doubled check that all the classes implement Serializable
Wayne Pope-2 wrote:
Hi,
we're getting this exception in
Hi,
I have a question concerning the serialization of subcomponents of ListView.
If I understand correctly, then the components that are added to a ListView in
the populateItem method should be stateless, since they are removed in the
onPopulate method each time the list view is rendered (as
Hi,
I'm building a new java project using all JEE6 technologies. That means
I'm using JPA, CDI, and JSF2 for example. Each layer came together great
with fully annotated classes until I got to the JSF2 layer which drove
me crazy because JSF wants to mess with HTML element ids and names. In
Weld has wicket support built-in I believe.
On Fri, Mar 26, 2010 at 12:52 PM, Ericksen, Mark W (IS)
mark.erick...@ngc.com wrote:
Hi,
I'm building a new java project using all JEE6 technologies. That means
I'm using JPA, CDI, and JSF2 for example. Each layer came together great
with
Weld claims support, I don't know about built-in.
When I use @Inject in a Wicket WebPage subclass the objects are null.
Like I mentioned below, I added weld-wicket.jar and subclassed the
WeldApplication and the injected objects in the Wicket WebPage subclass
are still null.
This was from
I started a JSR-299 integration project a while back, but at the time there
was no portable way (across vendors) to get to the stuff you needed to
inject into your components. I believe that's been fixed in the latest API,
but I haven't had a chance to dig in and verify that and then use it. My
Hi Michael,
there's no requirement for components inside ListView to be stateless -
I wonder were you got that from.
You can have Links, Buttons or anything else in there so removing all on
detach is a recipe for disaster for the next incoming request.
Sven
Michael Gottschalk wrote:
Hi,
I
Hi,
I am getting a really weird error in my web.xml file. So I have what
is copied below. I am getting an error message saying I have to be in either
development or deployment mode. (I tried switching putting deployment in and
it didn't work). I don't understand where my mistake was in
FWIW, this is happening because version/ is omitted in generated pom.xml
plugin/ tag. To fix:
change
plugin
groupIdorg.mortbay.jetty/groupId
artifactIdmaven-jetty-plugin/artifactId
I've been working on an existing wicket application and am banging my head
against the desk :)
I'm trying to have two different pages that handle the sign on for the
authenticated web session. One which is using ntlm with jcifs works fine.
However, I can't get any other forms to work. I see from
Warning: Long Response with sample code to illustrate issue.
I ran the following code in Glassfish v3 with the following jars:
portlet-api_2.0_spec-1.0.jar (someone is relying on this??)
slf4j-api-1.4.2.jar
slf4j-jdk14-1.4.2.jar
wicket-1.4.7.jar
Be sure to add an empty beans.xml to the WEB-INF
But why in repeating views are the components duplicated for each row?
Wicket should re-use the components - one instance for each row could
do all the rendering. Not one instance for each row which is a waste.
Caching is a different concept as it also preserves the data which is
not wanted in
Mark,
Try taking a look at the addComponentInstantiationListener method on the
Application class. It takes one parameter of type
IComponentInstantiationListener and that interface has one method which is
onInstantiation(Component component). Every time a component gets
instantiated it will be
Bryan,
Have you put a breakpoint in your onSubmit method of the form to see if it
is getting to that point? If it isn't then make sure you don't have a
validator failing and no feedback panel. I've made that mistake before.
Thanks,
Josh
-Original Message-
From: Bryan Montgomery
Hi Sven,
you wrote:
there's no requirement for components inside ListView to be stateless -
I wonder were you got that from.
I got that from the ListView class comment and from studying the code.
The comment says:
By default, setReuseItems is false, which has the effect that ListView
Hi Michael,
the only difference in my proposal is to call removeAll earlier:
not in onBeforeRender of the next request cycle, but in onDetach of
the current request cycle.
it makes a huge difference:
If you call removeAll in onDetach, the next request to a component
inside the ListView will
I am using a feedback border panel for some components (i.e. email) in a
repeating view (in this case a dataview). I am using a Email validator for
this component and when an error occurs it creates a red border and backround
around this component. Well it is supposed to but it isn't. I do
Thanks Josh.
With your idea in mind I dug deeper into what Weld's support for Wicket
is/was.
In the Weld download is a jar called weld-wicket.jar that has a
WeldApplication class for doing what you suggest. However following the
instruction for using their integration code only got me an
I¹m trying to drop in 1.3.7 to correct a number of AutoComplete-related
problems, and finding a new problem:
Whereas a FeedbackPanel used to contain paths like this:
feedback:feedbackul:messages:0:message
feedback:feedbackul:messages:1:message
And one could assertLabel on these, now the only
Hi Sven,
Am Freitag, 26. März 2010 schrieb Sven Meier:
the only difference in my proposal is to call removeAll earlier:
not in onBeforeRender of the next request cycle, but in onDetach of
the current request cycle.
it makes a huge difference:
If you call removeAll in onDetach, the next
repeaters support this, see listview.setreuseitems() and
refreshingview.setreuseitemstrategy()
-igor
On Fri, Mar 26, 2010 at 1:50 PM, b...@actrix.gen.nz wrote:
But why in repeating views are the components duplicated for each row?
Wicket should re-use the components - one instance for each
Igor,
I don't understand the optimal use of the different repeaters list
views in different scenarios well enough yet, so I would be greateful
if someone could provide a link for more documentation.
As far as I understand, though, refreshingview.setreuseitemstrategy()
is about re-using items -
Dear all,
Wicket page test 1.3 is now available. It is a library allowing you
to unit test your Wicket pages easily, supporting AJAX and
Javascript without changes to your pages.
New features implemented in this version:
* Provide a generic starter page to launch another page whose
I've got a working example with Weld. Check out:
http://svn.carmanconsulting.com/public/wicket-candi/trunk
There's a weld-example subdirectory in there. Currently, I don't have the
conversation stuff working, but the injections appear to be working.
Unfortunately, the implementation doesn't
set the reuse strategy to one that reuses components. we ship one,
look for implementations of the interface
-igor
On Fri, Mar 26, 2010 at 5:57 PM, b...@actrix.gen.nz wrote:
Igor,
I don't understand the optimal use of the different repeaters list
views in different scenarios well enough
55 matches
Mail list logo