The the project claims that it cant find a file from
/project/secure/resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js
while i access my page from http://localhost:8080/project/secure/
Which resources folder is the project looking for?
Created the 2531. Thanks.
--
View this message in context:
http://www.nabble.com/DropDownChoice-and-null-value-internationalization-key-tp25924643p25954595.html
Sent from the Wicket - User mailing list archive at Nabble.com.
resources on Wicket are read from the classpath. Just open the class
WicketEventReference, if you have the sources installed, and you will
see wicket-event.js setting next to it.
Ernesto
On Mon, Oct 19, 2009 at 9:39 AM, ping ping sping_p...@hotmail.com wrote:
The the project claims that it
No, javadoc is ok. You are right. My mistake, sorry.
-Original Message-
From: Jeffrey Schneller [mailto:jeffrey.schnel...@envisa.com]
Then is the javadoc wrong?
This was taken right from the javadoc?
http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wic
Use the StringResourceModel with properties bundle, it is very powerful
because you can add dynamic data coming from the model. I've done some
things like this, assuming infoModel.dateFormat() returns a formated date :
new Label(tableTitle, new StringResourceModel(table.title, this, new
2009/10/16 Per Newgro per.new...@gmx.ch
Hi Olivier,
isn't mod_jk a bit heavyweight for this little usecase?
I don't know your case, for mine, every project I worked on already had a
mod_jk. And it is a common pattern with J2EE development : simply because
when you have static resources to
Hi Olivier
And the overload of getLocale() would'nt work ?
I don't see how it could solve my problem. What i try is to filter the
locales assignable to session.
It will be assigned in Application.newSession(Request, Response) by
usage of the Accepted-Langauge
value in header of response.
Hi Martin,
The System.out.println() calls are superfluous and will be removed in future
releases of Mistletoe. They might be replaced by logger call if and when
appropriate.
Your comment about the manual is duly noted. I'll try to put together something
more polished the next time.
I have a few questions regarding the wicket abstract/linked tree
1) I need to dynamically update wicket linked/abstract tree data, is that in
order to do that, the only way is to remove the abstract tree on the form based
on its ID, then adding it back to the form again, is there other
Hi,
how is it possible to submit TextField Input to the server without having a
Form (and submit) for this task?
I figured out, that AjaxButton only has onSubmit() Method -- I expected also
something like onClick --
-
To
1) I need to dynamically update wicket linked/abstract tree data, is that in
order to do that, the only way is to remove the abstract tree on the form
based on its ID, then adding it back to the form again, is there other
alternatives to resolve that?
I have it working just adding new nodes to
how is it possible to submit TextField Input to the server without having a
Form (and submit) for this task?
yes, you can use an AjaxFormComponentUpdatingBehavior for it
I figured out, that AjaxButton only has onSubmit() Method -- I expected also
something like onClick --
you can use
I'm not sure you can get rid of the form but you could use a JavaScript
like:
var url = this.url+ 'textField=' + textField.value;
wicketAjaxGet(url);
Where this.url is the URL of something implementing ILinkListener. The on
the onLinkClicked of the listener read you parameter for the request and
What do I do with a click-button? The User gets a new TextField when I try
to add an AjaxFormComponentUpdatingBehavior.
I just want to have a textfield and next to it a button, where it says save.
And this should happen without a form.
- Ursprüngliche Mail
Von: Pedro Santos
I have to correct myself: I get the right Button.
But the next question: how can I use the content of the textfield?
final TextField tagTitle = (TextField) new TextField(tagTitle,
Model.of()).setOutputMarkupId(true);
add(tagTitle);
add(new Button(tagSubmit).add(new
add(new Button(tagSubmit).add(new
AjaxFormComponentUpdatingBehavior(onclick) {
the AjaxFormComponentUpdatingBehavior are to textfield component
how can I use the content of the textfield?
new Button(tagSubmit).add(new AjaxEventBehavior(onclick)
{
@Override
thank you -- I will try your solution.
your question:
because I have already a form-tag in which I try to execute a seperated
business logic. And there is no form-nesting allowed...
- Ursprüngliche Mail
Von: Pedro Santos pedros...@gmail.com
An: users@wicket.apache.org
Gesendet:
Hi there, thanks for the reply.
As for question One, I was wondering that how to update parent node component
with Ajax. Dont seem to find any related resources to that
Date: Mon, 19 Oct 2009 08:59:01 -0200
Subject: Re: Wicket Abstract Tree Question
From: pedros...@gmail.com
To:
Hi,
Is there any confirmation component in wicket/wicket-stuff? As an
example, when user want to delete something, a popup window will come up
and ask user whether they are sure what they are doing or not (as like
JOptionPane in swing).
thanks!
//Jahid
Ho well, I didn't understood correctly your question, sorry.
Have you tried tho use a custom WebSession ?
- in your WebApplication class overload the newSession method :
@Override
public Session newSession(Request request, Response response) {
return new YourCustomSession(this,
hi pedro,
your code does not function properly (or I'm to stupid to use it :))
-- What is TAG_TITLE ? A constant? Why?
-- What does getCallbackURL do?
-- What shall I put into onUpdate() Method (tagTitle textfield)
many thanks in advance.
- Ursprüngliche Mail
Von: Pedro Santos
link.add(new SimpleAttributeModifier(onclick, return confirm('Are
you sure you want to play global thermonuclear war?');));
Martijn
On Mon, Oct 19, 2009 at 2:37 PM, Md. Jahid Shohel ja...@outscore.se wrote:
Hi,
Is there any confirmation component in wicket/wicket-stuff? As an
example, when
Hello,
I have a problem with the inmethod IDataSource. I've provided my own
implementation for it, including implementing the query method. But for
some reason, it only seems to want to return one row, while I know there
should be two. Can anybody tell me what I might be doing wrong? It must
-- What is TAG_TITLE ? A constant? Why?
A constant to encode/decode an get parameter on your behavior callback url
-- What does getCallbackURL do?
http://wicket.apache.org/docs/1.4/org/apache/wicket/behavior/AbstractAjaxBehavior.html#getCallbackUrl%28boolean%29
-- What shall I put into
haha! back to the 80'ies with that quote :))
Martijn Dashorst wrote:
link.add(new SimpleAttributeModifier(onclick, return confirm('Are
you sure you want to play global thermonuclear war?');));
Martijn
On Mon, Oct 19, 2009 at 2:37 PM, Md. Jahid Shohel ja...@outscore.se wrote:
Hi,
Is there
Martijn,
thanks, but i was looking for component, but not javascript, otherwise i
could use that alert right away, without asking. even more intellijent
way, i could use wicket-stuffs modal window to make my own confirmation
window. but my question more about is there any already?
but thanks
Does it also happen when you call result.setTotalCount(books.size())
before calling getCount()?
From IDataSource:
/**
* Sets the total items count. Alternatively, if the total item
count can't be determined,
* either {...@link #MORE_ITEMS} or
Hi Olivier,
you wrote exactly what i did. But if you check the extraction of locale
from request
to provide it in session, you can see that only first accepted language
is evaluated and used if not-null.
But if you assume that first accpeted language is CHINESE and second is
FRENCH and the
Well, you can't change the behaviour of ServletRequest.getLocale() unless
you want to patch your servlet container :)
But you make me think it would be great in the Servlet API to have something
like setAcceptedLocales(Enumeration e) and let the servlet container do the
work of matching the
The total count can not depend on query parameters. It is the total
count of all books that match the filter, regardless of offset and
pagesize.
-Matej
On Mon, Oct 19, 2009 at 4:16 PM, Linda van der Pal
lvd...@heritageagenturen.nl wrote:
The trouble is that getting the books is dependent on the
Hi list,
I'm trying to add to my page header a comment that contains some
informations extracted from my app, like this :
!-- App Version 1.0.0 - Build: 2009-10-19 16:20:00 --
But I just can't find a way to do this in Wicket : a component inside a
comment is not recognised, and there is no
add(new Label(comment, !-- foo bar --).setEscapeModelStrings(false));
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Oct 19, 2009 at 9:20 AM, Olivier Bourgeois olivier.bourgeois.pro@
gmail.com wrote:
Hi list,
I'm trying to add to my page header a comment that contains some
The trouble is that getting the books is dependent on the queryparam
variable.
Matej Knopp wrote:
Does it also happen when you call result.setTotalCount(books.size())
before calling getCount()?
From IDataSource:
/**
* Sets the total items count. Alternatively,
Thanks! I knew I was doing something stupid. :) It's working now.
Linda
Matej Knopp wrote:
The total count can not depend on query parameters. It is the total
count of all books that match the filter, regardless of offset and
pagesize.
-Matej
On Mon, Oct 19, 2009 at 4:16 PM, Linda van der
Ha thanks Jeremy !
And I didn't think of that :(
2009/10/19 Jeremy Thomerson jer...@wickettraining.com
add(new Label(comment, !-- foo bar --).setEscapeModelStrings(false));
--
Jeremy Thomerson
http://www.wickettraining.com
El lun, 19-10-2009 a las 09:29 -0500, Jeremy Thomerson escribió:
add(new Label(comment, !-- foo bar --).setEscapeModelStrings(false));
+ .setRenderBodyOnly(true)
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Oct 19, 2009 at 9:20 AM, Olivier Bourgeois olivier.bourgeois.pro@
Olivier Bourgeois schrieb:
Well, you can't change the behaviour of ServletRequest.getLocale() unless
you want to patch your servlet container :)
But you make me think it would be great in the Servlet API to have something
like setAcceptedLocales(Enumeration e) and let the servlet container do
It looks great, men! Which AJAX framework do you use?
Regards,
Pierre
On Tue, Oct 13, 2009 at 3:55 PM, Doug Leeper douglee...@yahoo.com wrote:
Thanks Sven!
Got it working.
--
View this message in context:
http://www.nabble.com/-ANN--wicket-dnd-project-tp25727819p25873355.html
Sent
Hi:
We've implemented the classic registration process:
- user registers
- app sends him an email with a generated link
- user clicks that link, which it's oppened in a new window/tab
- The UserActivationPage that responds to that link request does:
this.info(User account activated);
But as I see in org.apache.wicket.Component.info(String), that method
already adds that message to the session. Wouldn't be the same?
Vytautas Racelis escribió:
Hi,
maybe getSession().info http://this.info/(User account activated);
would help
On Mon, Oct 19, 2009 at 8:08 PM, Esteban Masoero
I have some huge files upto 50Mb in side my page instance , I have to
save them in page instance and I cannot reload it everytime from database
becasue other users might delete the file .
I am getting java.lang.OutOfMemoryError , only way I can resolve this is
increasing heap size but Is
Hi,
We are building a simple survey with Wicket.
Essentially, we have a lot of RadioGroup components repeated all over
the main survey page. Those components are in fact the same thing (to
score some item), but obviously, they reffer to different
subjects/groups. For example:
Are you happy
store them in a temp directory and only give your page the filename.
-igor
On Mon, Oct 19, 2009 at 10:55 AM, tubin gen fachh...@gmail.com wrote:
I have some huge files upto 50Mb in side my page instance , I have to
save them in page instance and I cannot reload it everytime from database
call radiogroup.setlabel()
-igor
On Mon, Oct 19, 2009 at 10:55 AM, Tomás Rossi tro...@mecon.gov.ar wrote:
Hi,
We are building a simple survey with Wicket.
Essentially, we have a lot of RadioGroup components repeated all over the
main survey page. Those components are in fact the same thing
I show these files in almost all my pages.So every page before it loads has
to create all these files in temp folder , please suggest me what should be
the identifier to recognize these files ,I actually have these files
inside PancelCachingTab , and this tab gets loaded only when user clicks
Well, Component.info takes WebPage as reporter.
Session.info reporter is null.
As i understand this will be rendered in session scope instead of single
page.
But i may be wrong :)
Esteban Masoero wrote:
But as I see in org.apache.wicket.Component.info(String), that method
already adds that
Sadly, you are not right, because I tried what you suggested and the
error kept appearing. Anyway, I just wanted to know whether the solution
I used was the proper one for this occasion. I didn't say that I'm using
wicket 1.3.7. Maybe that has something to do with it?
Thanks,
Esteban
you want the message to show on the loginpage or on the activation page?
-igor
On Mon, Oct 19, 2009 at 10:08 AM, Esteban Masoero
emaso...@getsense.com.ar wrote:
Hi:
We've implemented the classic registration process:
- user registers
- app sends him an email with a generated link
- user
- app sends him an email with a generated link
can this link encode an parameter like:isActivationFromEmail ?
so:
loginPageOrActivationPage.add(new Label(id,User account
activated).setVisible(getPageParameters().get(isActivationFromEmail));
On Mon, Oct 19, 2009 at 4:24 PM, Esteban Masoero
Then I'm unable to use the properties file for tweaking the string in
question.
What is the beauty of panels if they don't prefix its internal ids
automatically? Or am I getting it all wrong... :S
Tom;
Igor Vaynberg escribió:
call radiogroup.setlabel()
-igor
On Mon, Oct 19, 2009 at 10:55
I want it to be shown in the LoginPage, because the activation page does
not show anything, it only activates the user.
I tried something like:
LoginPage page = new LoginPage();
page.info(User account activated);
setResponsePage(page);
but it didn't work. Anyway, as I know, in order to leave a
Actually the panel wicket id is an parameter for panel constructor, can you
some code?
On Mon, Oct 19, 2009 at 5:07 PM, Tomás Rossi tro...@mecon.gov.ar wrote:
Then I'm unable to use the properties file for tweaking the string in
question.
What is the beauty of panels if they don't prefix its
I haven't thought of that. Thanks, that's another altenative.
However, I'll like yo see whether there's a solution using session
messages, because I think of them as a nicer alternative. If i don't
find a way of achieving this, I'll use the parameter option.
thanks,
Esteban
Pedro Santos
I have several pages which has links to uploaded files to download, I load
this from database and save it inside page instance as instance variable .
When user clicks on the download link I retrieve the byte array from the
page instance and call download. Several user have different
Why are you loading the files from the DB before the user asks for them
(clicks the download link)?
Why are you saving the byte arrays in the page instance? If you really must
load them from the DB before the user clicks the download link, save them to
a temp file and save only the path of the
Well, wicket-dnd combines Wicket's standard AJAX support, prototype's
Javascript enhancements and a few custom functions to move HTML elements
around.
I'm glad you like it.
Sven
Pierre Goupil wrote:
It looks great, men! Which AJAX framework do you use?
Regards,
Pierre
On Tue, Oct 13,
Why are you saving the byte arrays in the page instance?
I show these files to user with read-only permission , so this user can
just view these files ,the owner of these files can delete them anytime , so
If I go to database , upon user click , this file might have been
deleted by the
Here goes the java code...
RadioButtonGenerico.java (means GenericRadioButton):
public class RadioButtonGenericoT extends RadioGroupT {
private static final long serialVersionUID = -1725627853431547878L;
public RadioButtonGenerico(String id, ListString opciones,
IModelT modelo) {
I'd be interested to know if anyone else is using this technique for search
highlighting with a DataTable.
http://pastebin.com/m5446797d
The data in my grid may contain HTML, so that makes it considerably more
complicated (my first attempt didn't address this problem). I'd love to
know if
Perhaps you could use a jQuery plugin to do this? Something like [1] -
although this is just the first Google result that came up for me. I have
not tested this.
[1] -
http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html
--
Jeremy
you should call getsession().info() as mentioned in this thread.
when you call info() on a component, that messages is scoped to the
owning page. when you call getsession().info() the message is scoped
to the session and is kept there until rendered.
-igor
On Mon, Oct 19, 2009 at 12:12 PM,
what happens if the owner is deleting the file while you are copying
it to the temp dir???
-igor
On Mon, Oct 19, 2009 at 12:54 PM, fachhoch fachh...@gmail.com wrote:
Why are you saving the byte arrays in the page instance?
I show these files to user with read-only permission , so this
I added this:
getDebugSettings().setOutputComponentPath(true);
to my init() method but selenium is still not happy.
Do I have to run wicket it development mode or something to get these
settings to work?
D/
On Oct 15, 2009, at 11:19 AM, Igor Vaynberg wrote:
the only drawback is that it
you have to write your selenium tests to use that attribute instead of
the component id.
-igor
On Mon, Oct 19, 2009 at 1:39 PM, Douglas Ferguson
doug...@douglasferguson.us wrote:
I added this:
getDebugSettings().setOutputComponentPath(true);
to my init() method but selenium is still not
Ah...
I guess you can't use the selenium recorder then.
D/
On Oct 19, 2009, at 3:43 PM, Igor Vaynberg wrote:
you have to write your selenium tests to use that attribute instead of
the component id.
-igor
On Mon, Oct 19, 2009 at 1:39 PM, Douglas Ferguson
doug...@douglasferguson.us
I'm now calling getSession().info(). However, the message doesn't show up.
After debugging for a while I noticed that when de LogjnPage is created,
the message I added is there, and is perfectly rendered (I reached the
method
Does anybody have sample of how to do this?
I'm getting this error when I try to use the wicketpath
[error] Element //a
[...@wicketpath
=
'tablePanel_leftList_tableList_pojoList_18_nameCell_namePanelLink_name
']/div not found
On Oct 19, 2009, at 3:43 PM, Igor Vaynberg wrote:
you have
67 matches
Mail list logo