Just one idea:
1-implement your own IStringResourceLoader that reads messages from where
you need
2-register it on Application.init().
e.g.
getResourceSettings().addStringResourceLoader(GetTextResourceLoader.getInstance());
I see no reason why wicket:message should not work as expected if you
Actually I am using .class files as translation resources(gettext-commons
generates them).
I use lib called gettext-commons with ant (
http://code.google.com/p/gettext-commons/).
I translate all translations with poEdit.
Sigmar
On Wed, Mar 17, 2010 at 8:13 AM, Ernesto Reinaldo Barreiro
Anteoine,
thanks for the reply. It worked great.
Cheers.
On Tue, Mar 16, 2010 at 5:21 PM, Antoine van Wel
antoine.van@gmail.com wrote:
When you have a stateless page, no session is created when you land on
such a page first, or to be more precise: a temporary session is
created. So that
Thanks, Erik, that code would do the trick, too. I've implemented
a different workaround, though. In the next release of wicket (1.4.8),
WicketSessionFilter will 'expose' both the session and the application, Igor
already resolved my JIRA Issue [1]. BTW: Thanks to Igor for picking that
up so
Hi,
in my Application I need an Window/Tab-Scope to store data which is only
relevant for the current window/tab. So I tried what Johan said:
I made an override of createPageMap() in the SecondLevelCacheSessionStore
an wrapped the SecondLevelCachePageMap with my own IPageMap.
Now want to put my
Thanks Igor!
It was div in tr
igor.vaynberg wrote:
i have seen that happen when you have invalid markup. like a div
inside a span, or a div directly inside a tr. check your page for
stuff like that.
-igor
On Tue, Mar 16, 2010 at 10:02 AM, Martin Grigorov mcgreg...@e-card.bg
wrote:
I have container and buttons element in my template:
div wicket:id=container
span
...
/span
span wicket:id=buttons style=display: none;
a href=# wicket:id=editE/a
a
As part of a product purchase workflow I require users to sign-in or register a
new account in order to continue.
In my purchase page I'm checking if the user is already signed-in and if not I
send them to a SignInOrRegisterPage which has the @RequireHttps annotation.
BookingPage dest = new
Hello, guys!
I'm, wondering if I could prevent my sessionExpiredPage from opening in a modal
window. In case the user opens a modal window and goes away for a while and in
the meantime the session gets expired, I don't want when he comes back and
clicks inside the modal window to see the
Thank you, I ended up doing it client-side, but I appreciate the feedback,
I'm sure it will be useful in another moment.
Cheers,
Xavier
2010/3/16 Igor Vaynberg igor.vaynb...@gmail.com
you can override onbeforerender, call super first, then iterate over
the children and do what you need to.
Hi Martijn,
I have two problems with your filter:
1) The main problem is that our pages does not have XHTML doctype.
The pages are XML well formed but this is not enough.
I tried once to set this doctype and the browsers rendered them in a
very funny (and broken) way. The HTML and probably CSS
i m working on the datatable and provide links to every link through panel
but when click on it it fetch error that wicket id of link not found in FF
but working fine inIE
--
View this message in context:
Hi all,
I am using wicket 1.4.7.
I have problems getting a security certificate into the session object.
Doing it the wicket way would be to do it in the newSession method of
the Application - I think:
@Override
public Session newSession(Request request, Response response) {
On Wed, Mar 17, 2010 at 10:28 AM, Martin Grigorov mcgreg...@e-card.bg wrote:
Hi Martijn,
I have two problems with your filter:
1) The main problem is that our pages does not have XHTML doctype.
The pages are XML well formed but this is not enough.
I tried once to set this doctype and the
You can solve this using Wickets PropertyModels. Map the Components
that are part
of your domain models as usual (CompoundPropertyModel?) and use
PropertyModels for the others:
TextFieldString tf = new TextFieldString(myWicketID, new
PropertyModel(PageOrComponent.this, spezialAttribute));
than
That sounds great. Could you update the wiki page with the specifics for
Wicket 1.4.8?
Regards,
Erik.
Op 17-03-10 08:20, Jonas schreef:
Thanks, Erik, that code would do the trick, too. I've implemented
a different workaround, though. In the next release of wicket (1.4.8),
I just reviewed the code Igor for the fix Igor implemented [1], and I
don't think
it will be a drop-in replacement for the code in the wiki, since it only exposes
the application if there's an active HttpSession. The code from the wiki on the
other hand always exposes the Application.
In the patch
Hello, I understand that there must be a solution for this. I googled for some
time and found one or two results that seem to match what I am looking but they
did not answer my question. Tried myself, not successful. So I want to ask
folks here. I have a form and it has a dropdown list. Here
Hi,
Is there any documentation around wicket-jmx? I've found only a few blog
entry so far, but not much in detail... (e.g. how to initialize it)
Thanks,
Istvan
Hi, David!
Let's presume your webapplication class is called WebApp.java. In the same
directory where it is present, create WebApp.properties with the following line:
null=
that way every single 'choose one' label will be replaced with .
P.S. Don't forget to include the props files in the pom
It's just a localization property dropdownchoice-id.null or
dropdownchoice-id.nullValid if that's what you want to change?
**
Martin
2010/3/17 David Chang david_q_zh...@yahoo.com:
Hello, I understand that there must be a solution for this. I googled for
some time and found one or two results
Martin,
Thanks so much for chiming in. I tried the
null=
approach. The blank line in the dropdown list simply disappears. As I said in
my requirements, I hope to have it there no matter whether a value is selected
or not, no matter whether it is a required field or not.
Again, thanks for
You have to add a selection choice that is just a blank line option.
This is a typical requirement for any dropdown if you wan the use to
be able to clear their choice.
On Mar 17, 2010, at 8:47 AM, David Chang wrote:
Martin,
Thanks so much for chiming in. I tried the
null=
approach.
Hi
I have got a refreshingView with a delete link in each row and only one
AddLink,AddLink adds the
row properly but deleteRow everytime deletes the last row,its driving me
crazy,I have posted my
code also.I will apprecaite if any one can help me in this.
Honestly its not that easy the way
Hi Team,
Also i dont want to remove values , i want to remove the entire row.
My row contains(TextBox and option group)
Thanks
Prati
prati wrote:
Hi
I have got a refreshingView with a delete link in each row and only one
AddLink,AddLink adds the
row properly but deleteRow
Hi,
Been there, pal, believe me, been there. :))
See https://issues.apache.org/jira/browse/WICKET-2432 quickstart.zip
Remove the FileUpload and this should do it for you. :)
Best Regards,
Peter
2010-03-17 15:10 keltezéssel, prati írta:
Hi
I have got a refreshingView with a delete link in
I don't understand , Chang...
If you want non selection to be , then say
null= (without the quotes)
Otherwise if you don't want null selection, you say
component.setNullValid(false); and you're fine
Best,
Martin
-Original Message-
From: David Chang [mailto:david_q_zh...@yahoo.com]
To answer my own question: just put the wicket-jmx.jar in the
classpath and enable the JMX server. That is it, really :)
Regards,
Istvan
On Wed, Mar 17, 2010 at 2:04 PM, Istvan Soos istvan.s...@gmail.com wrote:
Hi,
Is there any documentation around wicket-jmx? I've found only a few blog
Also setNullValid(true) otherwise the blank option will disappear once you have
made a choice or the model has a value.
- Tor I.
-Opprinnelig melding-
Fra: Martin Asenov [mailto:mase...@velti.com]
Sendt: 17. mars 2010 15:23
Til: users@wicket.apache.org
Emne: RE: Replace Choose one
Martin,
According to what you said, do I need to add special processing in
ChoiceRenderer if this blank line is the selected and I need to convert
selected value to object?
Thanks,
David
--- On Wed, 3/17/10, Martin Phee mp...@objectivearts.com wrote:
From: Martin Phee
David, please describe the use case in more depths.
1)
You want a dropdownchoice with null selection, which is ?
2)
You don't want a null selection to be there at all, but show the first element.
Best,
Martin
-Original Message-
From: David Chang [mailto:david_q_zh...@yahoo.com]
Sent:
Hi ListView/Refreshing View any willd o
but dont know how to solve this.
Thanks
P
prati wrote:
Hi Team,
Also i dont want to remove values , i want to remove the entire row.
My row contains(TextBox and option group)
Thanks
Prati
prati wrote:
Hi
I have got a
Hello,
I have noticed that in opera gmap2 is more slow that in FF. I have checked
maps.google.com and it seems to be faster.
Does any1 know what could be the cause of the problem?
Thank you
I tried this one. It works. Summarized what I did based on input from folks
here:
1. set null = in property file (remove properties file)
2. call setNullValid(true) on the DropDownChoice object.
Thanks for help!!!
Regards.
--- On Wed, 3/17/10, Wilhelmsen Tor Iver toriv...@arrive.no wrote:
Martin,
Very sorry for being confusing to you. Here is what I want:
I want blank line is always there, no matter whether a value is selected or
not, no matter whether the field is required or not.
I am using ChoiceRenderer to convert a selected option to objects.
Thanks, David
--- On Wed,
you can add a bit of js to your custom pageexpiredpage, something that
looks like this:
if (window.opener!=null) { window.opener.location=window.location; }
-igor
On Wed, Mar 17, 2010 at 2:23 AM, Martin Asenov mase...@velti.com wrote:
Hello, guys!
I'm, wondering if I could prevent my
whats the use of having an application object if there is no session object?
-igor
On Wed, Mar 17, 2010 at 6:03 AM, Jonas barney...@gmail.com wrote:
I just reviewed the code Igor for the fix Igor implemented [1], and I
don't think
it will be a drop-in replacement for the code in the wiki,
Thanks , Igor!
I did it that way:
head
script type=text/javascript
function checkIfParentIsModal() {
if (window.opener!=null) { window.opener.location=window.location; }
}
/script
/head
body onload=checkIfParentIsModal()/body
Hopefully that works!
Best,
Martin
-Original
Really, it should match what's at trunk of Wicket, which should be
1.5-SNAPSHOT. There should be a branch for 1.4.x that is 1.4-SNAPSHOT.
But, nobody is really maintaining it any more, so it's a free-for-all.
That's always been the problem with WicketStuff.
--
Jeremy Thomerson
Do you allow moving of markers or use other Ajax notifications?
Once the map is set up in there should be no performance difference
between wicket-gmap2 and using gmap2 directly on a web page.
Sven
Gatos wrote:
Hello,
I have noticed that in opera gmap2 is more slow that in FF. I have
Sorry! It actually does happen in the inmethod grid examples. Marsha found a
scenario:
Here is the scenario, I used the wicket examples provided online
(http://wicketstuff.org/grid-examples/data-grid/simple.0;jsessionid=319CDEAD389BDC44FC4D07FE9E0C938B),
viewed the styles using the IE8
Hello,
http://www.nofailtime.com/appmonitor is a web application developed with wicket
framework. It basically checks the web site downtime and notifies the users
about the failure.
It uses wicket, yahoo library(YUI), Spring and Cayenne as ORM. I used modal
windows heavily to implement
It sounds like whoever is responsible for wicketstuff needs to make a
clear choice here.
Is Wicketstuff going to be maintained as a place where lots of useful
add-ons will live? If so, it needs someone to take a slightly more
active role as curator; make sure the releases are done in
I always thought, that Jeremy was the maintainer of WicketStuff. Guess I
was wrong. :)
Sidenote:
Also, I really wanted to write docs for the javaee-inject project, but I
don't have confluence access, and the signup gives:
org.springframework.transaction.UnexpectedRollbackException: Transaction
We are a Wicket shop and for one of our clients have been running a
Wicket application successfully for over 2 years. We are now at
version 1.4.0. The traffic on the system is increasing and we are now
seeing an increased frequency of pagemap locking which is beginning to
be a serious problem for
Comments inline
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Mar 17, 2010 at 2:25 PM, Boris Goldowsky bgoldow...@cast.orgwrote:
It sounds like whoever is responsible for wicketstuff needs to make a clear
choice here.
The community is responsible for WicketStuff. This
See other reply to Boris. Anyone can pick it up and become the maintainer
of WS. But it's going to take a group of people who set some rules about it
and then follow them. The problem with that is that then people *will*
whine because they always wanted WicketStuff to be a no-rules repo. I
Can you add it to the wiki of sites powered by Wicket?
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Mar 17, 2010 at 1:52 PM, voltron kocam...@yahoo.com wrote:
Hello,
http://www.nofailtime.com/appmonitor is a web application developed with
wicket framework. It basically checks
In IE7 (win XP), I get a javascript error on the PGMainScreen after logging in:
Line 10, Char 4265
Invalid callback for subscriber to 'DOMReady'
RUSSELL E. MORRISEY
Programmer Analyst Professional
Mission Solutions Engineering, LLC
| russell.morri...@missionse.com | www.missionse.com
304 West
Hi there, I have a question about URL coding strategies
I have decided to use IndexedParamUrlCodingStrategy for friendly URL's.
I have set PageParameters for this strategy in the following way:
PageParameters pageParameters = new PageParameters();
i fixed 2075 so that it should always unlock the pages.
Problem is that you still could get weird errors because that page is not in
a valid state in the session.
So if back buttons/page versions are used it could be that that doesnt work
So what should be fixed is the original problem
On
Wicket is just java, just html. Just add the JS to your HTML file. Don't
add an AjaxEventBehavior in java - because you don't want Ajax, and you
don't need to do it in the java.
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Mar 17, 2010 at 4:05 AM, marioosh.net
voltron kocamane at yahoo.com writes:
Hello,
http://www.nofailtime.com/appmonitor is a web application
developed with wicket framework.
.
I would be happy if you try the site and give feedback. You
can login the site with account;
username = demo
password = demo
Thanks,
Hi,
I'm trying to get the google annotated time line to work in a wicket page.
When I created a page with just the html and javascript it works. However,
when I try to create a behavior that renders the javascript to the head it
doesn't work. Here is a link to the google html and javascript:
It works great and look fine in safari
On Wed, Mar 17, 2010 at 9:46 PM, Daniel Toffetti dto...@yahoo.com.arwrote:
voltron kocamane at yahoo.com writes:
Hello,
http://www.nofailtime.com/appmonitor is a web application
developed with wicket framework.
.
I would be happy if you
55 matches
Mail list logo