Re: hot deploy new/updated components?

2007-10-24 Thread Eelco Hillenius
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

Re: hot deploy new/updated components?

2007-10-24 Thread Bruno Borges
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

JSF: standards versus OSS

2007-10-24 Thread Bruno Borges
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

How do I dynamically populate TreeTable nodes

2007-10-24 Thread lubosp
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

Re: Setting charset of javascript includes?

2007-10-24 Thread kent lai
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

Re: Ajax Bug when using CryptedUrlWebRequestCodingStrategy ???

2007-10-24 Thread Matej Knopp
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. > >

Re: Setting charset of javascript includes?

2007-10-24 Thread Matej Knopp
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

hot deploy new/updated components?

2007-10-24 Thread Mike03
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

Re: FormComponentFeedbackIndicator not triggered with 1.3b4?

2007-10-24 Thread Matej Knopp
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

Re: Configuring AJAX tree

2007-10-24 Thread Matej Knopp
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: >

Re: BookmarkablePageLink in 1.2.6 - how to remove pagemap parameter from URL?

2007-10-24 Thread Carl-Eric Menzel
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

Re: Configuring AJAX tree

2007-10-24 Thread Florian Sperber
-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

RE: i18n feedbackmessages

2007-10-24 Thread Jeremy Thomerson
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

Re: Cache Panel

2007-10-24 Thread Joe Toth
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 >

Re: Javascript call on AjaxFallbackDefaultDataTable

2007-10-24 Thread Cristi Manole
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 =

Configuring AJAX tree

2007-10-24 Thread David Struck
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);

FormComponentFeedbackIndicator not triggered with 1.3b4?

2007-10-24 Thread Thies Edeling
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

Re: i18n feedbackmessages

2007-10-24 Thread nico
another issue, Button.onComponentTag states in its documentation tag: * NOTE. For a

Re: wicketstuff push and sharing an IChannelService

2007-10-24 Thread Xavier Hanin
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

Re: How to set focus; Editable Table

2007-10-24 Thread James Law
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

How to set focus; Editable Table

2007-10-24 Thread mehdi b
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

Re: Non-serializable objects and efficiency

2007-10-24 Thread Johan Compagner
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

Re: Most Repeater View examples on WicketStuff give Internal Errors

2007-10-24 Thread Johan Compagner
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/]. >

Re: Clearing Session

2007-10-24 Thread Johan Compagner
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

Re: Acegi and Wicket-auth-roles

2007-10-24 Thread Erik van Oosten
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://

Most Repeater View examples on WicketStuff give Internal Errors

2007-10-24 Thread Roy van Rijn
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

Re: Reporting Tool and Portal Integration

2007-10-24 Thread Sean Sullivan
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

Re: Acegi and Wicket-auth-roles

2007-10-24 Thread Michael Sparer
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 /*

Re: Setting charset of javascript includes?

2007-10-24 Thread kent lai
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:

Setting charset of javascript includes?

2007-10-24 Thread kent lai
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

Re: Acegi and Wicket-auth-roles

2007-10-24 Thread Michael Sparer
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

Re: javascript settimeout on ajaxeventtarget

2007-10-24 Thread James Law
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

Re: updating components on Page from ModalWindow's internal Page's components

2007-10-24 Thread Kirk Israel
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

Forcefull Expiration of Page on Navigation

2007-10-24 Thread alshamsi
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

Re: Cache Panel

2007-10-24 Thread Igor Vaynberg
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

Re: Refreshing components with new data w/o altering the backing model

2007-10-24 Thread Igor Vaynberg
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

Re: AutoCompleteTextField

2007-10-24 Thread Francisco Diaz Trepat - gmail
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

Re: Ajax Bug when using CryptedUrlWebRequestCodingStrategy ???

2007-10-24 Thread marcus dickerhof
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

Re: Ajax Bug when using CryptedUrlWebRequestCodingStrategy ???

2007-10-24 Thread Swaroop Belur
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

Non-serializable objects and efficiency

2007-10-24 Thread WicketKeeper
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

Re: Ajax Bug when using CryptedUrlWebRequestCodingStrategy ???

2007-10-24 Thread marcus dickerhof
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

Ajax Bug when using CryptedUrlWebRequestCodingStrategy ???

2007-10-24 Thread marcus dickerhof
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

Re: OutOfMemoryError

2007-10-24 Thread Bruno Borges
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

AutoCompleteTextField

2007-10-24 Thread MarinaKasatka
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

Re: getRealPath resolving differently on trunk

2007-10-24 Thread Dipu Seminlal
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

Clearing Session

2007-10-24 Thread Suad AlShamsi
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]

Re: Logging to a File

2007-10-24 Thread Suad AlShamsi
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

Re: OutOfMemoryError

2007-10-24 Thread Bruno Borges
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

OutOfMemoryError

2007-10-24 Thread Suad AlShamsi
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

Re: Refreshing components with new data w/o altering the backing model

2007-10-24 Thread Swaroop Belur
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

getRealPath resolving differently on trunk

2007-10-24 Thread Dipu Seminlal
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("

Re: AjaxEditableLabel on empty Labels (not Null)

2007-10-24 Thread Gerolf Seitz
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

Re: testcase click button

2007-10-24 Thread Nino Saturnino Martinez Vazquez Wael
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

Re: AjaxEditableLabel on empty Labels (not Null)

2007-10-24 Thread Jan Kriesten
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

Re: AjaxEditableLabel on empty Labels (not Null)

2007-10-24 Thread Gerolf Seitz
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

AjaxEditableLabel on empty Labels (not Null)

2007-10-24 Thread Jan Kriesten
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. --

Re: Button component bug - all uses of a Button cause a 302 redirect

2007-10-24 Thread Matej Knopp
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

Re: Cache Panel

2007-10-24 Thread Joe Toth
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

Re: wicketstuff push and sharing an IChannelService

2007-10-24 Thread Michael Sparer
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

Re: Accessing PageMap ?

2007-10-24 Thread Maurice Marrink
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

testcase click button

2007-10-24 Thread Emanuele Gesuato
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

Re: Logging to a File

2007-10-24 Thread Jan Kriesten
> 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

Logging to a File

2007-10-24 Thread alshamsi
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,