Nobody knows how to do that?
In the source code i've found this comment :
The message can be overridden using the NavigatorLabel property
key, the default message is used is of the
format Showing ${from} to ${to} of ${of}
So i guess it should work, i must have missed something...
On Mon, Feb 2
Bad it seem that we have a lot of clashes.. So the libs needs to be
cleaned.. I know Jeremy has done an effort in wicket core by supplying a
common js library..
TH Lim wrote:
Hi Nino,
I took your advice and tried mootips and prototips. Wicket's Prototips does
not work so well with IE8. I als
On Tue, 24 Feb 2009, carlo c wrote:
> I know that this might sound a little strange. but i need to be able to show
> the error of
> the system even during deployment mode. I have to show them the stacktrace.
You should see the setting that does this and enable it
while staying in deployment mode
Maybe this helps
http://www.nabble.com/How-to-catch-the-error-in-custome-error-page--td9645296.html
-Heikki
-Original Message-
From: carlo c [mailto:carlo.camer...@gmail.com]
Sent: 25. helmikuuta 2009 7:16
To: users@wicket.apache.org
Subject: How to Show Error Of Page In Deployment MOd
hi everyone,
I know that this might sound a little strange. but i need to be able to show
the error of
the system even during deployment mode. I have to show them the stacktrace.
The Thing that's preventing us from using development mode is that the
application
always gets an outofmemoryerror
On Tue, 24 Feb 2009, novotny wrote:
> I tried to do something like ExternalLink("link", "http://www.gohere.com";, "
> \"images/logos/" "); but it escaped the img I tried to pass in as a label.
setEscapeModelStrings(false) ?
Best wishes,
Timo
--
Timo Rantalaiho
Reaktor Innovations Oy
On Tue, 24 Feb 2009, Matthew Hanlon wrote:
> I've always handled the typing problem with DropDownChoice and my list
> models by "just ignoring it" and not applying type parameters to the
> DropDownChoice. This is because if I use the same IModel Foo>> for a ListView, then I get an error in the Lis
Even NetBeans is not that straitforward, but it is less problematic
than eclipse IMHO.
There are ways to acomplish what you ask. NetBeans will copy content
under 'webapp/WEB-INF' to 'target' on changes, but not under 'java'.
Bad NetBeans Bad.
I will give it a shot in a couple of days and let you kn
Hi Nino,
I took your advice and tried mootips and prototips. Wicket's Prototips does
not work so well with IE8. I also tested IE8 with
http://www.nickstakenburg.com/projects/prototip/ and it didn't work either.
I switched to mootips and recompiled my entire code based to
Wicket-1.4-SNAPSHOT. It
If you run the Start.java file included in a quickstart under **debug mode**
in Eclipse it starts up a Jetty server for you and **recognizes changes
immediately** in both class files and html files.
Just running the app in development mode under any container should make
html changes appear immedi
Jeremy, you're the man! That works!
Thanks a bunch, Jason
Jeremy Thomerson-5 wrote:
>
> Sorry, missed that - but found the issue - stop passing your link the
> label
> - the link is trying to replace it's body with your label rather than the
> markup you wrote. Do this:
>
> ExternalLink lin
I deal directly with HTML coders and I want to bring to them an easy
of use project build / run. I don't want to be called every time a new
HTML join to the project team because he doesn't have the setup of the
project. I think that maven help me a lot with it but I'm a little bit
afraid of the bui
Sorry, missed that - but found the issue - stop passing your link the label
- the link is trying to replace it's body with your label rather than the
markup you wrote. Do this:
ExternalLink link = new ExternalLink("bankURL", lender.getWebsite());
StaticImage image = new StaticImage("bank", "image
Hi
I am using import org.apache.wicket.markup.html.link.ExternalLink;
in my import but I do have a custom StaticImage class:
public class StaticImage extends WebComponent {
private String url;
private String alt;
public StaticImage(String id, String url, String alt) {
sup
Wait - I just realized that your "ExternalLink" class is custom. That's the
culprit. Show us the code.
On Tue, Feb 24, 2009 at 6:15 PM, novotny wrote:
>
> Thanks, however I still get the same error:
>
> WicketMessage: Expected close tag for ' target="_new">' Po
Thanks, however I still get the same error:
WicketMessage: Expected close tag for '' Possible attempt to embed component(s) '' in the body of this component
which discards its body
and my code looks like:
Ex
I think your problem is that in your long add() call, you are actually
adding the image to your outer container rather than the link. The code is
formatted poorly in the email. Try this:
ExternalLink link = new ExternalLink(..)
link.add(new StaticImage(..))
add(link);
On Tue, Feb 24, 20
That's exactly what I tried and I get
WicketMessage: Expected close tag for '' Possible attempt to embed component(s) '' in the body of this component
which discards its body
here's my java
add(new Externa
the bottom of that page shows you how to embed an external image into
an external link.
-igor
On Tue, Feb 24, 2009 at 3:24 PM, novotny wrote:
>
> Hi all,
>
> Apologies for such a simple question but I couldn't find anything-- the
> closet was http://cwiki.apache.org/WICKET/how-to-load-an-extern
Hi,
I have two forms on one page and need to toggle visibility of a
container depending on which form was submitted.
Is there a way to I find out which form was posted?
Thank you in advance or any help,
Alex
__
"A designer knows h
Hi all,
Apologies for such a simple question but I couldn't find anything-- the
closet was http://cwiki.apache.org/WICKET/how-to-load-an-external-image.html
but it just didn't work for me.
Here's the html I want:
I tried to do so
Hi all,
Apologies for such a simple question but I couldn't find anything-- the
closet was http://cwiki.apache.org/WICKET/how-to-load-an-external-image.html
but it just didn't work for me.
Here's the html I want:
http://www.gohere.com images/logo.gif
I tried to do something like ExternalLi
I've always handled the typing problem with DropDownChoice and my list
models by "just ignoring it" and not applying type parameters to the
DropDownChoice. This is because if I use the same IModel> for a ListView, then I get an error in the ListView's constructor.
Is there a good solution for both
Hi Valentine,
If you for example have spring inject a dependency into your
WebApplication instance and then pass this into a page like:
private SpringBean serviceReference;
public MyPage () {
SpringBean bean =
((MyApplication)Application.get()).getNonProxiedSpringBean();
this.servi
Hi Guys
Im going to a course next week in us, and were wondering is there are any
users around NYC preferably Long Island area?
I might have time in the evening to goto a WUG (wicket user group).. So?
I can talk about javascript integration etc with wicket, I guess that my
specialty.. If you can
http://www.nabble.com/Re%3A-inmethod---grid-website--p20093086.html
On Tue, Feb 24, 2009 at 10:15 PM, miro wrote:
>
> I searched google inmethod Datagrid that did not help me is there any
> example with demo and code like other wicket examples if so please provide
> the link
>
> PY wrote:
> >
I searched google inmethod Datagrid that did not help me is there any
example with demo and code like other wicket examples if so please provide
the link
PY wrote:
>
> The inmethod Datagrid has this functionality. ( adjustable column width)
>
>
> miro wrote:
>>
>> Are there any adjustable
This should help:
Searching: http://www.google.com/search?q=wicket+springbean
Leads you to this as the first result:
http://cwiki.apache.org/WICKET/spring.html
And this quote: "Using annotation-based approach, you should not worry about
serialization/deserialization of the injected dependencies a
In my case no, since the whole idea are to share statistics. Only diff
between the 2 are some forum rights and the small title...
If you want the same application to run with different databases I
suggest you do one of these:
* Custom request cycle (do something with your injection framewo
I am confused on this topic.
1. In "Wicket In Action", this is a statement in "13.2.3 Using proxies
instead of direct references":
"Be careful never to hold a reference to a Spring bean in your components."
2. However, in "13.2.5 Wicket's Spring bean annotations", a reference to a
Spring bean i
Is this browser dependent?
Thomas
On Tue, Feb 24, 2009 at 4:23 PM, jensiator wrote:
>
> Hi.
> I got a modal window with a form(a search function). The modal window is
> opened from a wizard step that uses non ajax submitbuttons. When I press
> the
> enter key inside my modal search form, the u
Damn! I'm alway surprised about the turnaround times on this mailing list!
One nice thing about Wicket is that there are few privileged parties.
Usuallly you have a default implementation for some interface, but the
default implementation doesn't enjoy any special privileges. Eat your own
dogfood!
Ooh, that's a good idea, although I just got the JavaScript working to do
exactly the same thing with an appendJavascript() call.
svenmeier wrote:
>
> Why not keep the fixed settings in a style class and just update the
> style attribute with the current value (utilizing an AttributeModifier)?
If I have understood Mr. Heptagon right the needle position depends on
server side state. What I would do is look at the source of
AttributeModifier and do something similar, but just take the existing style
attribute and replace the "left" value (using an regex or such). If
something usable result
Why not keep the fixed settings in a style class and just update the
style attribute with the current value (utilizing an AttributeModifier)?
.Needle {
z-index: 1;
width: 2px;
...
}
Seven Corners schrieb:
I have a control with a needle that moves. The needle's value is continually
changi
The nice thing about wicket is that you don't need tools. It's just Java and
just HTML, so anything will do. "discover the simplicity" would be the
slogan ;-) (Cue video of good looking people enjoying the simple pleasures
of life)
Thomas
On Mon, Feb 23, 2009 at 8:19 PM, Eduardo Nunes wrote:
>
Thanks for responding, but that link is closed to me, and I get this error
message:
"Sorry, but access to this page is closed now. If you search study
materials or ebooks for cisco certification - request it in our Cisco Career
Certifications forum"
I'm fiddling right now with the JavaScript.
Hm, wouldn't this leave the "old" versions of the markup in the cache?
And also require a check of the last modified date every time a page
gets created?
I was rather thinking of a timer based solution that checks the last
modified date periodically and removes it from the cache if the file
Hello,
As Martin says use javascript, if you really want it easy use jQuery,
you can do something like $('#myElem').css( ... ); and do the
calculation in javascript. Check the docs on the exact syntax
(docs.jquery.com),
Martijn
On Tue, Feb 24, 2009 at 8:00 PM, Martin Makundi
wrote:
> You could
You could use javaScript
http://docstore.mik.ua/orelly/webprog/jscript/ch18_03.htm
**
Martin
2009/2/24 Seven Corners :
>
> I have a control with a needle that moves. The needle's value is continually
> changing, so on a timer I ask the server its value and set its position with
> the "left" CSS
> What do you mean? there is!
> public static final String CONFIGURATION = "configuration";
> (Application.java line 119 on 1.3.5)
Exactly - I was looking for 'wicket.configuration' rather than just
'configuration.
> BTW, there is a getConfigurationType() method in WebApplication, which
> should
I have a control with a needle that moves. The needle's value is continually
changing, so on a timer I ask the server its value and set its position with
the "left" CSS attribute, as in:
.Needle
{
z-index: 1;
width: 2px;
...
left: 20%;
}
I do have a bean that returns a percentage stri
On Tue, Feb 24, 2009 at 11:49 AM, Eyal Golan wrote:
> Thanks Marcelo and James.
>
> I still prefer the solution we have come to:
> In the web.xml put deployment and in the Jetty plugin (StartWebServer) put
> the development.
Thats a best practice AFAIK
> My question was why Application.java does
I didn't think IDEA users would fall for such an obvious trap.
On Tue, Feb 24, 2009 at 10:21 AM, PY wrote:
>
> +1 for IDEA.
> The wicket plugin is really simple but allow to match up markup id from
> HTML
> to Java code.
> Netbeans is cool too.
>
>
> Maarten Bosteels wrote:
> >
> > IDEA users, d
+1 for IDEA.
The wicket plugin is really simple but allow to match up markup id from HTML
to Java code.
Netbeans is cool too.
Maarten Bosteels wrote:
>
> IDEA users, don't be shy ! ;-)
>
> Probably nobody dared to mention it because it's not free.
> But guess what. It is free for Open Source d
IDEA users, don't be shy ! ;-)
Probably nobody dared to mention it because it's not free.
But guess what. It is free for Open Source development (and a personal
license costs only 225 euro)
I think IDEA is really fantastic.
It has great maven support out-of-the-box, it will also download sources
On Tue, Feb 24, 2009 at 12:55 PM, Brill Pappin wrote:
> If your on Netbeans, I think Maven will generate Netbeans project files for
> you as well (it will do so for eclipse), so you could actually flip back and
> forth if you wanted.
Netbeans does NOT need any other project files. It just need th
The codehaus eclipse plugin has worked quite ok for us, but we didn't
dare to upgrade from Eclipse 3.1 ;) It didn't seem to work in others.
**
Martin
2009/2/24 James Carman :
> +1! We had an awful lot of trouble getting it to work for us.
>
> On Tue, Feb 24, 2009 at 12:38 PM, Martijn Dashorst
>
The inmethod Datagrid has this functionality. ( adjustable column width)
miro wrote:
>
> Are there any adjustable tables in the sense adjust width of the column,
> provided by wicket, an example is Sonatype Nexus Repository manager
>
--
View this message in context:
http://www.nabble.com/
well you can create a markup cache key that is based on the
lastmodified date of the file that contains the markup.
-igor
On Tue, Feb 24, 2009 at 9:53 AM, Markus Strickler wrote:
> Hi-
>
> thanks for your reply.
> I'm not quite sure how IMarkupCacheKeyProvider fits in here. I'm actually
> lookin
Hi-
thanks for your reply.
I'm not quite sure how IMarkupCacheKeyProvider fits in here. I'm
actually looking for a way to invalidate the cache, in case the markup
has changed.
Thanks,
-markus
Zitat von "Igor Vaynberg" :
see IMarkupCacheKeyProvider, you can let pages that load markup fro
+1! We had an awful lot of trouble getting it to work for us.
On Tue, Feb 24, 2009 at 12:38 PM, Martijn Dashorst
wrote:
> m2eclipse is absolutely worthless for anything beyond a quickstart. It
> is constantly reparsing poms, grinding eclipse to a halt. It failed to
> generate the right project d
m2eclipse is absolutely worthless for anything beyond a quickstart. It
is constantly reparsing poms, grinding eclipse to a halt. It failed to
generate the right project dependencies for our multimodule project
that consists of 2 multimodule child projects. It failed miserably to
uninstall, needing
Brill,
What I did is exactly so we don't need to change the source for dev / prod
environments.
When we develop we use the jetty plugin so we set hard-coded the environment
to DEVELOPMENT.
The production is a WAR (actually an EAR) file.
So the web.xml has configuration set to deployment.
That way
On Tue, Feb 24, 2009 at 7:49 AM, Eyal Golan wrote:
> My question was why Application.java doesn't have 'wicket.configuration' as
> a static field.
> Wouldn't it be nice?
no, it wouldnt be nice. why would you have a name of a *system
property* defined as a public field? the usecase is not that som
Already answered the static field thing... but just curious why you
think its better to have modify your source tree just to switch from
dev to prod?
Wouldn't your dev/qa/deploy cycle be simpler if you didn't have to
modify the source?
- Brill pappin
On 24-Feb-09, at 10:49 AM, Eyal Golan
IMO I like it the way it is because it makes it very simple to change
it at runtime... in your case you simply run jety, adding a param tot
eh comamnd line: eg.
java -Dwicket.configuration=deployment com.jetty.Start
I can do that easily at any time and reconfigure things on various
servers
Oh nice...
I was just thinking that it would be nice to have a plugin that would
rename the html files when i renamed the class... I hadn't tried
Wicket Bench yet...
Guess what I'm doing today?
- Brill
On 23-Feb-09, at 5:40 PM, Vit Rozkovec wrote:
But in the eclipse version 3.4 when renam
I should add something about the Eclipse maven plugins... don't go for
the official eclipse Q4 plugin... use the "Maven Integration 4
Eclipse" plugin (and actually the development version if your jiggy
with it, it works and gets updated/fixed way more often).
If your on Netbeans, I think Ma
see IMarkupCacheKeyProvider, you can let pages that load markup from
the filesystem implement this.
-igor
On Tue, Feb 24, 2009 at 3:57 AM, Markus Strickler wrote:
>
> Hi-
>
> I'm currently implementing a way to load page templates provided from a CMS
> that exports the statically to the file sys
IMHO sharing JARs across J2EE apps is not worth the trouble.
- it messes up some JARs (commons-logging is a classic example)
- it forces you to keep your dependent JAR versions in sync across
applications. This is particularly important in an enterprise
environment where changing a dependent
OK,
after some source code research it seems to boil down to the question:
Can I safely use ModificationWatcher in a live environment?
And is there a way to make it watch only certain resources, so that it
doesn't have to check all the resources that cannot change anyway?
Thanks,
-markus
Z
I've been thinking about this in the past. Our use case was a post while not
logged in. I guess retaining post data is not really a problem. Since the
Restart...Exception is under user control, the application would be
responsible for not sending megs and megs. Since there is exactly one
request pe
Thanks Marcelo and James.
I still prefer the solution we have come to:
In the web.xml put deployment and in the Jetty plugin (StartWebServer) put
the development.
My question was why Application.java doesn't have 'wicket.configuration' as
a static field.
Wouldn't it be nice?
Eyal Golan
egola...@
Hi.
I got a modal window with a form(a search function). The modal window is
opened from a wizard step that uses non ajax submitbuttons. When I press the
enter key inside my modal search form, the underlying wizard step submits.
Happens even when the AjaxButton is in focus in the modal window. Is
I am using an AjaxLink which has a javascript for onclick event now i want to
add AjaxFormValidatingBehavior to this link on the same event "onclick"
...i tried adding the same...but the link does not work properly...i think
the actual javascript is replacedcan any one please help me how to
Hello,
I have a problem with the wicket - spring integration in wicket 1.4 rc2 , i
think its similar to https://issues.apache.org/jira/browse/WICKET-1848
The use case is like this :
I have 2 simple applications running in a jetty server.
To keep things simple , i added the spring and wicket lib
I am using tomcat. I just append -Dwicket.configuration=development on
the start script. Perhaps you can append it to the jetty start as
well.
On Tue, Feb 24, 2009 at 8:35 AM, Eyal Golan wrote:
> Hi,
> It's been a long time since I've written in this mailing list.
>
> Here's my question:
> I was
The problem with returning to the original request is that it can be
anything, including a post. While this is an interesting idea, I think
there are hairy issues to be resolved before this can become in a
workable state. Currently Wicket doesn't support it.
Hairy stuff:
- retaining post data (fo
I am a NetBeans user, and I have been for a long time. The maven
integration in NetBeans is excelent.
Works with profiles, downloads sources and javadoc, quickstart is
right there when creating a new project, code-completes the pom.xml
including dependency names and keywords (like "compile" or "run
Sorry for stepping in here, but this interest me too ;)
do you map these different domains to different databases,
but using only one application deployment?
if so, i would like to know how you did this...
thanks
-
To unsubscri
If you're using Spring, you can set up your application instance in
your spring context and then use a PropertyPlaceholderConfigurer to
substitute in what you want. Wicketopia's archetype uses this method
(along with Maven profiles to choose which property files to include).
On Tue, Feb 24, 2009
Hi,
It's been a long time since I've written in this mailing list.
Here's my question:
I was looking for a way to set the mode to DEVELOPMENT in the Jetty starter
while setting DEPLOYMENT in the web.xml.
I encountered the following thread:
http://www.nabble.com/dummy-question%2C-how-to-set-wicket-
Hi-
I'm currently implementing a way to load page templates provided from
a CMS that exports the statically to the file system.
The loading part itself already works fine, now I'm looking for a good
way to refresh the markup cache, if the template files have changed.
Before I roll my own sol
The chief problem in constructing pages with a consistent tabindex is
that you must:
1. Know from which parent component you are basing your numbering.
2. Handle ajax insertions of of components within your current
tabindex strategy.
Our current code has edge conditions where it fails, and is on
75 matches
Mail list logo