Did you take a look at
this:http://www.zeroturnaround.com/blog/javarebel-brings-class-reloading-to-java/?
Or the reloading wicket-filter?
Eelco
On 10/24/07, Mike03 <[EMAIL PROTECTED]> wrote:
>
> Hi, I'm at a new job that has a very ugly JSP presentation layer and I'm
> really missing Wicket. I
This is a problem of understanding, IMHO. :)
Actually, hot deploys are re-deploys. They are just re-deploys of one file.
The JSP will be recompiled, a new Servlet class will be generated on the fly
and then the page will be updated.
Even so, I agree that the hot deploy you are asking for, is good
For those who may be interested in JavaServer Faces or alternatives
frameworks like Wicket, I posted in my blog my point-of-view about the
differences, and why JSF is not cool (today).
http://blog.brunoborges.com.br/2007/10/jsf-today-standards-versus-oss.html
Regards,
--
Bruno Borges
blog.bruno
I use extensions TreeTable and populating the all nodes is quite expensive.
So I would like to display initially only first level of the nodes and keep
the nodes with children collapsed. Only if they are getting expanded, I
would populate the children of the currently expanded node. I have hard ti
My document is using charset utf-8, but the jquery.validate.js is
encoded with iso-8859-1. It caused javascript errors on ie6, and the
recommended resolution they had was to set the charset of the
I believe this is already fixed in trunk, so it will also be part of beta 5.
-Matej
On 10/24/07, marcus dickerhof <[EMAIL PROTECTED]> wrote:
> Thanks for the reply, but does apply to all ajax features?
> I am not using an Ajax Link explicitly.I add an AjaxEventBehavior to a radio
> component.
>
>
Why do you want to append the charset attribute? Why do you need it?
AFAIK if the charset is ommited the browser should use document
charset for the javascript as well. I don't understand the usecase
here.
-Matej
On 10/24/07, kent lai <[EMAIL PROTECTED]> wrote:
> Hmm, or maybe even subclassing do
Hi, I'm at a new job that has a very ugly JSP presentation layer and I'm
really missing Wicket. I think I can make a solid case for moving to Wicket
except for the issue of hot deploy. On the development side, a server
restart takes about 2 minutes so they need the hot deploy of JSP code for
rap
No, there shouldn't be as far as I know. This might be a regression
though, could you file a jira issue and attach a quickstart that
demonstrates the problem? Thanks.
-Matej
On 10/24/07, Thies Edeling <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> For validation purposes I've added a class exending Abs
Hi, unfortunately the Tree class is not able to grow horizontally,
neither it is possible for it to have a horizontal scrollbar. If you
need this features, you have to use the new LinkTree (or it's
superclass BaseTree) from wicket 1.3.
-Matej
On 10/24/07, David Struck <[EMAIL PROTECTED]> wrote:
>
Anybody know how to do this? I'm out of ideas right now.
Original Message
Subject: BookmarkablePageLink in 1.2.6 - how to remove pagemap parameter
from URL?
Date: Mon, 22 Oct 2007 00:31:04 +0200
From: Carl-Eric Menzel <[EMAIL PROTECTED]>
To: users@wicket.apache.org
Hi,
in my ap
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
It's been some time, but i believe it's enough to use css like this:
tree component goes here
Sorry if i rember that incorrectly but at least it's worth a try :-)
Kind regards,
Florian Sperber
David Struck schrieb:
> I've been able to g
Not at a computer, but have you tried:
button.add(new SimpleAttributeModifier("value", getString("your.key"));
Or
button.add(new SimpleAttributeModifier("value", new ResourceModel("your.key"));
It may not be called ResourceModel - the name is escaping me right now.
Jeremy Thomerson
-- sent fro
No, sorry should of specified, the output generated from a component.
On Wed, 2007-10-24 at 08:25 -0700, Igor Vaynberg wrote:
> you are talking about the markup for an actual component? you store
> that in the database?
>
> in that case let your component implement imarkupcachekeyprovider that
>
In case anyone needs to do the same thing, I managed to do it the following
way:
[i know it's kinda sucky... there's probably a better way to do this, but at
least i get what i need]
class MyAjaxFallbackDefaultDataTable extends DataTable {
private static final long serialVersionUID =
I've been able to get an AJAX tree up and running and I'm very happy
with how simple it was. My HTML is:
and my Java is:
...
public TreePage() {
DefaultMutableTreeNode root = ...
TreeModel treeModel = new DefaultTreeModel(root);
Tree tree = new Tree("myTree", treeModel);
Hi all,
For validation purposes I've added a class exending AbstractValidator to
a TextField. Feedback is provided by adding a
FormComponentFeedbackIndicator to the TextField, triggered by a
AjaxFormValidatingBehavior.addToAllFormComponents(etc...
This whole thing works with beta 3 however wit
Michael,
As I said I don't use the ChannelService myself, but I used to have similar
troubles with the PushService, which I think I finally fixed, but it wasn't
easy. Since the fix is in TimerChannelBehavior (which is used by both the
push and channel timer based implementation, it should work for
mehdi b wrote:
_
Hi All,
I have two questions:
1.How can we set focus on a component for example a text field, specially when
the form is shown for the first time?
2. I need a table, which I show my data. There is a column which has an "edit"
link for every ro
Hi All,
I have two questions:
1.How can we set focus on a component for example a text field, specially when
the form is shown for the first time?
2. I need a table, which I show my data. There is a column which has an "edit"
link for every row, when I clicked on that link, the row goes in edi
you can't keep hard (must be transient) references to those resources
so you always should be able to look it up again. by, for example, some id
that isn't transient
johan
On 10/24/07, WicketKeeper <[EMAIL PROTECTED]> wrote:
>
>
> Hi
>
> I'm new to Wicket to this might be an ultra-dum question
something wrong with the example data, got deleted or something
redeployed examples
johan
On 10/24/07, Roy van Rijn <[EMAIL PROTECTED]> wrote:
>
> Hey,
>
> Today I wanted to take a look at some of the Repeater View examples
> wicketstuff offers [http://www.wicketstuff.org/wicket13/repeater/].
>
you go to another page so the previous page is not in the session anymore
(wicket 1.3)
On 10/24/07, Suad AlShamsi <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>After submitting a form the input data will be persisted in the
> database and the user will be directed to another page. How can I clear
Thanks for adding this to the wiki!
Regards,
Erik.
Michael Sparer schreef:
and _not_ vice versa. otherwise the wicket servlet looks for authorities
that haven't been set yet.
... always the easy and logical things waste my time ;-)
--
Erik van Oosten
http://2008.rubyenrails.nl/
http://
Hey,
Today I wanted to take a look at some of the Repeater View examples
wicketstuff offers [http://www.wicketstuff.org/wicket13/repeater/].
But it seems they all give a Internal Error except the top one. :(
Roy
-
To unsubscribe
There's a Wicket / JasperReports library in SVN on SourceForget:
http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-contrib-jasperreports/
Sean
On 10/23/07, mehdi b <[EMAIL PROTECTED]> wrote:
>
> 1.How can I create report in a wicket web application? Is there any solution
Allright, I solved it.
The error was the order of the filters in the web.xml. It is _very_
important to let the acegi filter run _before_ the wicket filter.
e.g.
Acegi HTTP Request Security Filter
/*
wicket.iPlayQuizClient
/*
Hmm, or maybe even subclassing does not work as well digging into
the source, I might need to do my own custom renderHead to write that
out.
Of course, including it directly in the html might be a better idea
then... anyone got any thoughts?
On 25 Oct 2007, at 1:25 AM, kent lai wrote:
Hi,
I was using jquery validator plugin, and using wicket's
HeaderContributor.forJavascript to include my script file.
However, for IE, it was been recommended to append the attribute
charset="ISO-8859-1" to the script tag to enable it to work.
Is there a way (short of maybe subclassin
Hi,
I get the same Nullpointer when calling
SecurityContextHolder.getContext().getAuthentication().getAuthorities();
(getAuthentication returns null) when I do a _refresh_ on the page which is
displayed immediately after the login (and requires authorization), which
seems weird to me ... any sug
Matej,
Thanks for your assistance! I put together a blog post on how I went
about it. Critique welcome:
http://jlawmi.blogspot.com/2007/10/modifying-wicket-ajax-javascript-output.html
PS: Next problem. If I have a ModalWindow open, how can I make it close
automatically when the DIV/IFrame tha
I came to a similar conclusion shortly before reading this.
So now I seem to be updating in the correct place, but I'm having
trouble getting the image component to swap out within the
onClose(AjaxRequestTarget pTarget)
Inside the ModalWindow, assuming I previously did a setOutputMarkupId
on the
Just looking out for some suggestion. I have a situation where on successfull
navigation of a wizard like interface I want to expire all my previous page.
Like I am going from Page 1 to Page 2 to Page 3 and last Page. The user
should not be allowed to use the "browser back" and navigate to any of
you are talking about the markup for an actual component? you store
that in the database?
in that case let your component implement imarkupcachekeyprovider that
generates different keys based on some timeout or whatever it is you
need.
-igor
On 10/24/07, Joe Toth <[EMAIL PROTECTED]> wrote:
> Ho
i dont think this case warrants "repainting" the form component via
ajax when all you really have to do is write simple js that puts the
selected text into the textfield. that said, there are many ways to
skin the cat...
-igor
On 10/24/07, Swaroop Belur <[EMAIL PROTECTED]> wrote:
> Igor,
>
> Reg
Zdrasty
This is from beta4 (I BOLDED the important stuff):
case KEY_ENTER:
if(selected>-1){
obj.value=getSelectedValue();
hideAutoComplete();
hidingAutocomplete=1;
} else if (Wicket.AutoCompleteSettings.enterHidesW
Thanks for the reply, but does apply to all ajax features?
I am not using an Ajax Link explicitly.I add an AjaxEventBehavior to a radio
component.
Do you know if there is going to be a bugfix in Beta 5?
Thanks!
2007/10/24, Swaroop Belur <[EMAIL PROTECTED]>:
>
> FYI
>
> http://www.nabble.com/Wic
FYI
http://www.nabble.com/Wicket-Beta4-and-Ajax-Links-tf4616750.html
On 10/24/07, marcus dickerhof <[EMAIL PROTECTED]> wrote:
>
> Sorry I forgot to send some additional infos:
> I use Wicket 1.3 Beta 4
> The code looks like this
>
> Radio r = new Radio("radioCompany", new Model( company.getComp
Hi
I'm new to Wicket to this might be an ultra-dum question :)
I'm creating a wicket application that gets its data from an online
resource. The connection logic to that resource is in an external jar and
most of those classes don't implement Serializable. Fore ease of
explanation, let's call th
Sorry I forgot to send some additional infos:
I use Wicket 1.3 Beta 4
The code looks like this
Radio r = new Radio("radioCompany", new Model( company.getCompanyid() ));
r.add(new AjaxEventBehavior("onclick"){
protected void onEvent(AjaxRequestTarget target) {
final PartnerBasePage myPage = (Pa
Hi, my webapp works fine as long as I do not obfuscate the urls using
CryptedUrlWebRequestCodingStrategy.
When I use it, Ajax will not work. For instance when I want to update a
panel on my page,
the Ajax Response XML will be displayed instead
-
+
-
What am I doing wrong? Is this a bug?
Th
Well, you will have to deal with it. :)
Lots of re-deploys will increase the number of class objects in the PermGen.
You can increase with those parameters, but after 7823786 re-deploys you
will have to restart your application server :)
cheers
On 10/24/07, Suad AlShamsi <[EMAIL PROTECTED]> wrot
Hi
How can make a AutoCompleteTextField react on the Enter button and submit
the form?
Как сделать чтобы AutoCompleteTextField делал submit формы только с Enter ?
--
View this message in context:
http://www.nabble.com/AutoCompleteTextField-tf4683992.html#a13384570
Sent from the Wicket - User m
Please ignore this question, that was bad me at work ( very very stupid
question )
On 10/24/07, Dipu Seminlal <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I am trying to migrate my application to the latest version of wicket,
>
> I have something like this, which works as expected in wicket 1.2.6
Hi All,
After submitting a form the input data will be persisted in the
database and the user will be directed to another page. How can I clear
the input data from the session?!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Thanks
Jan Kriesten wrote:
How can I log to a file using log4j?!
documentation is found here: http://slf4j.org/
there's a wrapped implementation for log4j.
regards, --- jan.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Try increasing your PermGen:
-XX:PermSize=64m -XX:MaxPermSize=64m
The PermGen is not increased when you put parameters like -Xms and -Xmx.
These only manipulate the heap size (the total amount of Eden, Old and
Survivors).
This problem occurs in a development or deployment (production) environmen
Hi All,
I am getting this error often since I started using Wicket?! Any
idea what is the real cause for it?!
*type* Exception report
*message*
*description* _The server encountered an internal error () that
prevented it from fulfilling this request._
*exception*
javax.servlet.Servle
Igor,
Regarding the stated problem:
As we know ,the formcomponent's getValue method returns value from the model
for the component when rendering if raw input is equal to no raw input
constant. So basically the problem is that component's model should
not be updated until the user submits the for
Hi all,
I am trying to migrate my application to the latest version of wicket,
I have something like this, which works as expected in wicket 1.2.6
WebMarkupContainer logo = new WebMarkupContainer("ogo");
AttributeModifier am = new AttributeModifier("src", new Model(
ServletContext.getRealPath("
of course, you're right.
imho, the defaultNullLabel should really be a defaultNullOrEmptyLabel.
Gerolf
On 10/24/07, Jan Kriesten <[EMAIL PROTECTED]> wrote:
>
>
> hi gerolf,
>
> > hm, i thought that in the case of an empty string or null the
> > AjaxEditableLabel displays "..."
>
> no, it only d
If youre using ajax call you should use
tester.executeAjaxEvent(componentPath, event)
-Nino
Emanuele Gesuato wrote:
Hi there,
I'm writing a testcase but i don't know how to click in a
"type=button" input component.
If i have a component i can click on it
using something similar to:
For
hi gerolf,
> hm, i thought that in the case of an empty string or null the
> AjaxEditableLabel displays "..."
no, it only displays that if null, not on empty strings.
best regards, --- jan.
-
To unsubscribe, e-mail: [EMAIL PR
hm, i thought that in the case of an empty string or null the
AjaxEditableLabel displays "..."
Gerolf
On 10/24/07, Jan Kriesten <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I have the following problem:
>
> In a DataTable I have AjaxEditableLabel-Entries, which can be empty (i.e.
> not
> Null). I w
Hi,
I have the following problem:
In a DataTable I have AjaxEditableLabel-Entries, which can be empty (i.e. not
Null). I want to make them editable, but since there's nothing to click on, I
can't edit them.
Is there a way to handle this?
Best regards, --- Jan.
--
You can call setRedirect(false) during the request in the onSubmit
handler, that should prevent wicket from redirecting in that
particular case.
-Matej
On 10/24/07, Chris Lintz <[EMAIL PROTECTED]> wrote:
>
> Ok. Its a good thing.. I didnt know it was the default setting. I guess i
> should than
How would I render the component and stick the contents into a label?
If possible, I would like to do something like the following...
String render() {
String markup = cache.get();
if (cacheExpired || markup == null) {
markup = render();
}
return markup;
}
I know there i
Hi Xavier,
first of all thank you for the effort you've done for the push-project. Up
to now it really provided the features I need for my app. But now I'm kind
of stuck. My problem is: I have two panels on one page. Both panel subscribe
themselves as ChannelListener for the same channel. But un
What johan means is that you don't have to call getUser in the
onbeginrequest because your pages will already call getUser. hence the
user will be lazily loaded and possibly not on every request, just
when you need to. As opposed to calling getUser in the onbeginrequest
where it will be loaded ever
Hi there,
I'm writing a testcase but i don't know how to click in a "type=button"
input component.
If i have a component i can click on it using
something similar to:
FormTester form = tester.newFormTester("myformpath");
form.submit("mySubmitButtonId");
But using a component form.submit
> How can I log to a file using log4j?!
documentation is found here: http://slf4j.org/
there's a wrapped implementation for log4j.
regards, --- jan.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Hi All,
How can I log to a file using log4j?!
--
View this message in context:
http://www.nabble.com/Logging-to-a-File-tf4682704.html#a13380693
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe,