Re: wicket security future - contribute!

2010-01-13 Thread Martin Grigorov
On Thu, 2010-01-14 at 08:14 +0100, Adrian Wiesmann wrote: > Hi Alex > > > i think we will not find one person who develops wicket-security allone - so > > who's interested? > > its not the part brings the most fun in wicket development area but a very > > very > > important part of every enterpri

Re: [release] Wicket Security 1.3.1

2010-01-13 Thread Sergey Podatelev
Great news. -- sp - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: wicket security future - contribute!

2010-01-13 Thread Adrian Wiesmann
Hi Alex i think we will not find one person who develops wicket-security allone - so who's interested? its not the part brings the most fun in wicket development area but a very very important part of every enterprise application - so contribute! lets define a security-subteam. I started with

Re: clearing a TextField

2010-01-13 Thread Steve Swinsburg
Thanks, it does work, I was just clarifying whether the other methods should work as well. I am using a simple property model that contains one field (the string that is entered). cheers, Steve On 14/01/2010, at 4:14 PM, Eyal Golan wrote: > If you are working with PropertyModel / CompoundPro

Re: clearing a TextField

2010-01-13 Thread Eyal Golan
If you are working with PropertyModel / CompoundPropertyModel, then just set your field to null. Add the textField (or its container) to the Ajax-Target. That should work. Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save

clearing a TextField

2010-01-13 Thread Steve Swinsburg
Hello all, I have a list of items and an ajax form at the bottom so you can add items to the list, containing a single textfield and a submit button. On successful submit, the item is saved and the list is redrawn. Great! I want to clear the textfield though so new items can be added, since the

Re: A problem with ListView in a StatelessForm

2010-01-13 Thread Cemal Bayramoglu
Kirill, You may get some useful ideas at http://wicketinaction.com/tag/listeditor/ . Regards - Cemal jWeekend OO & Java Technologies, Wicket Consulting, Development, Training http://jWeekend.com 2010/1/13 kirillkh : > Hi Per, > > I've seen this mentioned in the javadocs, but it can't possibly

Re: Authentication and bookmarkable pages

2010-01-13 Thread Cemal Bayramoglu
Kirill, You should probably be not authorising component instantiation (Page is a Component) instead, in your IAuthorizationStrategy#isInstantiationAuthorized implementation. Whether "render" is permitted is checked later in the lifecycle of a component, as you say. Regards - Cemal jWeekend OO &

Re: switch css of option element in dropdownchoice

2010-01-13 Thread Cemal Bayramoglu
Alex, Take a look at the last few slides on"Wicket Select and SelectOption" at http://jWeekend.com/dev/ArticlesPage. Regards - Cemal jWeekend OO & Java Technologies, Wicket Consulting, Development, Training http://jWeekend.com 2010/1/13 Alexander Elsholz : > Igor Vaynberg gmail.com> writes: >

Re: switch css of option element in dropdownchoice

2010-01-13 Thread Alexander Elsholz
Igor Vaynberg gmail.com> writes: > > then you are stuck doing what you are doing. you can request for some > methods to be added into ichoicerenderer such as getoptgroup() and > getcssclass(). maybe we can do that in 1.5 > > -igor hi igor, done. https://issues.apache.org/jira/browse/WICKET-26

Re: Ajax and form handling and clearInput

2010-01-13 Thread Alexander Elsholz
Igor Vaynberg gmail.com> writes: > > this is by design. formcomponents buffer input that is in error so it > can be redisplayed. you can use either form.clearinput() or for your > usecase a bit more appropriate form.modelchanged() to notify the model > that you have changed the backing model obj

Re: switch css of option element in dropdownchoice

2010-01-13 Thread Igor Vaynberg
then you are stuck doing what you are doing. you can request for some methods to be added into ichoicerenderer such as getoptgroup() and getcssclass(). maybe we can do that in 1.5 -igor On Wed, Jan 13, 2010 at 3:37 PM, Alexander Elsholz wrote: > Igor Vaynberg gmail.com> writes: >> >> use css se

Re: Ajax and form handling and clearInput

2010-01-13 Thread Igor Vaynberg
this is by design. formcomponents buffer input that is in error so it can be redisplayed. you can use either form.clearinput() or for your usecase a bit more appropriate form.modelchanged() to notify the model that you have changed the backing model object and it should drop any buffered state -ig

Re: switch css of option element in dropdownchoice

2010-01-13 Thread Alexander Elsholz
Igor Vaynberg gmail.com> writes: > > use css selectors > > -igor > hi igor, thanks for really fast reply;-) i forgot - the css switchs programmatically (for different options, not all). so static selectors doesn't help thanks alex ---

Ajax and form handling and clearInput

2010-01-13 Thread Alexander Elsholz
Hi, i use a drop-down to switch some data in view. replace data in my model-bean class (pojo wraps different business objects) and repaints the form via ajax-on change event. (data binded via propertymodel) some fields are required. 1. all fields are valid, works fine 2. clear one field and try

Re: switch css of option element in dropdownchoice

2010-01-13 Thread Igor Vaynberg
use css selectors -igor On Wed, Jan 13, 2010 at 3:18 PM, Alexander Elsholz wrote: > hi, > > i need to switch the style of an option element. > > i override the > > AbstractChoice#appendOptionHtml(...) > > copied the code and put my stuff in the middle. any other ideas? > > thanks alex > > >

switch css of option element in dropdownchoice

2010-01-13 Thread Alexander Elsholz
hi, i need to switch the style of an option element. i override the AbstractChoice#appendOptionHtml(...) copied the code and put my stuff in the middle. any other ideas? thanks alex - To unsubscribe, e-mail: users-unsubsc

wicket security future - contribute!

2010-01-13 Thread Alexander Elsholz
hi wicket folks, in my last wicket projects i used wicket-auth roles and swarm/wasp. i think swarm/wasp is a really good base for larger web-applications. but we all know about the problem with swarm/wasp. i developed a few extensions for swarm, but its a lot of code and so nobody starts to mainta

Re: filter options in available side of palette w/o losing selected options

2010-01-13 Thread wic...@geofflancaster.com
So I've got it partly working. It works after I submit the form (using IndicatingAjaxButton). If I filter the available items before submitting, the selected items are cleared. Which leads me to the question, what is executed during an onSubmit() that is not during an OnChangeAjaxBehavior.onUpdate

Re: filter options in available side of palette w/o losing selected options

2010-01-13 Thread Fatih Mehmet UCAR
if you can paste some code and it will help us understand the problem better. fmu - Original Message - From: To: Sent: Wednesday, January 13, 2010 8:23 PM Subject: Re: filter options in available side of palette w/o losing selected options I've tried that as well but when my onUp

Re: filter options in available side of palette w/o losing selected options

2010-01-13 Thread wic...@geofflancaster.com
I've tried that as well but when my onUpdate method is called, i call palette.getDefaultModelObject() and cast it to a list (the same way I do on form submit) but it acts as if there are no selections. Original Message: - From: Fatih Mehmet UCAR fmu...@gmail.com Date: Wed, 13 Jan 2

Re: filter options in "available" side of palette w/o losing selected options

2010-01-13 Thread Fatih Mehmet UCAR
you keep your original objects in another list so you can put them back into palette's model when you need fmu - Original Message - From: To: Sent: Wednesday, January 13, 2010 8:10 PM Subject: filter options in "available" side of palette w/o losing selected options I'm using a t

filter options in "available" side of palette w/o losing selected options

2010-01-13 Thread wic...@geofflancaster.com
I'm using a text field to filter the available options in a palette which i have working but when the options are filtered the previously selected options get deleted. is there any way i can keep the previously selected options in the palette? ---

RE: display busy indicator while external image is fetched

2010-01-13 Thread wic...@geofflancaster.com
use AjaxLazyLoad. Should be pretty straight forward. There are a ton of examples online Original Message: - From: Christoph Grün chris...@gmx.at Date: Wed, 13 Jan 2010 20:10:22 +0100 To: users@wicket.apache.org Subject: display busy indicator while external image is fetched Hi,

AbstractDefaultAjaxBehavior using onComponentRendered rendered many times

2010-01-13 Thread Esteban Masoero
Hi: Using wicket 1.3.5, I have a MyAbstractExtensibleChoiceAutocompleteBehavior (that extends AbstractDefaultAjaxBehavior, and I think it is a modification of some wicket class) related to the autocomplete feature that inside onComponentRendered method does something like: cResponse.write(J

display busy indicator while external image is fetched

2010-01-13 Thread Christoph Grün
Hi, how can I display a busy indicator while an external image is loaded? Thanks, Christoph

Re: Help with Form submission and Ajax buttons

2010-01-13 Thread Sumit Raja
Excellent thanks, exactly what I needed. 2010/1/13 Stijn Maller > In the form's onSubmit() handler you can use findSubmittingButton() for > your > check instead. > > 2010/1/13 Sumit Raja > > > Hi, > > > > Beginner question with Form handling: I have a panel that accepts name > > value > > pairs

Re: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread Fatih Mehmet UCAR
that as well counts as a change. for the expiration, you may try to extend the tomcat session timeout interval. fmu - Original Message - From: "Martin Asenov" To: Sent: Wednesday, January 13, 2010 4:26 PM Subject: RE: page expired problem issue wicket how resolve fix eofexception p

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread Martin Asenov
Actually, I haven't changed them... Only added them to components that did not have ones... BR, -Original Message- From: Fatih Mehmet UCAR [mailto:fmu...@gmail.com] Sent: Wednesday, January 13, 2010 6:23 PM To: users@wicket.apache.org Subject: Re: page expired problem issue wicket how re

Re: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread Fatih Mehmet UCAR
In fact you should not be changing UIDs once you have generated them. fmu - Original Message - From: "Martin Asenov" To: Sent: Wednesday, January 13, 2010 4:21 PM Subject: RE: page expired problem issue wicket how resolve fix eofexception peekbyte So, I suppose I need to clear AS

Re: Help with Form submission and Ajax buttons

2010-01-13 Thread Stijn Maller
In the form's onSubmit() handler you can use findSubmittingButton() for your check instead. 2010/1/13 Sumit Raja > Hi, > > Beginner question with Form handling: I have a panel that accepts name > value > pairs in text fields.On the form there is an ajax button to add a value, an > ajax button to

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread Martin Asenov
So, I suppose I need to clear AS cache before deploying with different UIDs? BR, -Original Message- From: Fatih Mehmet UCAR [mailto:fmu...@gmail.com] Sent: Wednesday, January 13, 2010 6:18 PM To: users@wicket.apache.org Subject: Re: page expired problem issue wicket how resolve fix eofexc

Re: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread Fatih Mehmet UCAR
I dont think the exception and page expired things are related if you are only getting the exception when the AS starts. When you stop the AS, it normally tries to serialize active sessions and read them back when you start it again to restore. After stopping server, if you change serialUID of

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread Martin Grigorov
Martin check this: http://tomcat.apache.org/tomcat-6.0-doc/config/manager.html#Restart% 20Persistence On Wed, 2010-01-13 at 17:56 +0200, Martin Asenov wrote: > I get 'page expired messages as I browse through my webapp. However, the > exception is placed before 'server startup statement in catali

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread Martin Asenov
I get 'page expired messages as I browse through my webapp. However, the exception is placed before 'server startup statement in catalina.log... BR, -Original Message- From: Fatih Mehmet UCAR [mailto:fmu...@gmail.com] Sent: Wednesday, January 13, 2010 5:52 PM To: users@wicket.apache.org

Re: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread Fatih Mehmet UCAR
Does it happens when the application server starts ? If yes, are you terminating the AS process or shutting down appropriate commands. fmu - Original Message - From: "Martin Asenov" To: Sent: Wednesday, January 13, 2010 3:44 PM Subject: RE: page expired problem issue wicket how reso

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread Martin Asenov
Thanks, kirillkh! I'll try this... Any other suggestions, anyone? Thanks! -Original Message- From: kirillkh [mailto:kiril...@gmail.com] Sent: Wednesday, January 13, 2010 3:13 PM To: users@wicket.apache.org Subject: Re: page expired problem issue wicket how resolve fix eofexception pee

Re: Discard queued ajax requests

2010-01-13 Thread Daniel Frisk
Found the answer. If we set the channel name to something that ends with |d (pipe d) the channel changes to drop behavior. Great! (but a bit obscure) // Daniel On 2010-01-13, at 08:52, Daniel Frisk wrote: Wicket friends, another question regarding high latency. Here is the scenario: * I

Help with Form submission and Ajax buttons

2010-01-13 Thread Sumit Raja
Hi, Beginner question with Form handling: I have a panel that accepts name value pairs in text fields.On the form there is an ajax button to add a value, an ajax button to remove a value and an actual form submit button. I have a onSubmit handler for the form that actually processes the NV pairs

Re: Pass form input from modal window back to the caller page

2010-01-13 Thread Menesty
I have same problem When open second window, and look in FF with Firebug there disappear form thats why your button not work if look in Wicket Ajax Debug there will be msg ERROR: Wicket.Ajax.Call.submitFormById: Trying to submit form with id 'form87' that is not in document. k1dev wrote: > > H

Re: SV: Wicket Portlets and Liferay

2010-01-13 Thread Klaus Astner
Many thanks to Andreas, now it works smoothly. - Klaus Am 13.01.2010 um 14:20 schrieb Wilhelmsen Tor Iver: > We are running Wicket + Liferay (Webspace) in Glassfish 2, and experience no > problems; IIRC Glassfish uses the same Catalina engine as Tomcat? > >> >> For AJAX/resource requests, a

Re: SV: Wicket Portlets and Liferay

2010-01-13 Thread Thijs
On 13-1-2010 14:20, Wilhelmsen Tor Iver wrote: We are running Wicket + Liferay (Webspace) in Glassfish 2, and experience no problems; IIRC Glassfish uses the same Catalina engine as Tomcat? For AJAX/resource requests, another supports element for mime-type "text/xml" is needed. This sounds

SV: Wicket Portlets and Liferay

2010-01-13 Thread Wilhelmsen Tor Iver
We are running Wicket + Liferay (Webspace) in Glassfish 2, and experience no problems; IIRC Glassfish uses the same Catalina engine as Tomcat? > > For AJAX/resource requests, another supports element for mime-type > "text/xml" is needed. This sounds like a Tomcat issue, our portlets use Ajax fi

Re: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread kirillkh
Hi Martin, Some IDEs (NetBeans, for one) allow to place an exception breakpoint, which means the debugger will pause when certain exception is triggered. You should try downloading wicket's sources as suggested and placing breakpoint at EOFException. -Kirill On Wed, Jan 13, 2010 at 12:48 PM, Mar

Re: DataView component path in WicketTester

2010-01-13 Thread Java Programmer
2010/1/13 Java Programmer : > and in WicketTester I want to: > getWicketTester().assertComponent("sampleDataView: something :title", > DataView.class); > Of course should be: getWicketTester().assertComponent("sampleDataView: something :title", Label.class); Sorry for mistake, Adr ---

DataView component path in WicketTester

2010-01-13 Thread Java Programmer
Hello, Is it possible in WicketTester to check the items which are inside DataView - an example: DataView dataView = new DataView ("sampleDataView", provider, 10) { @Override protected void populateItem(Item sampleItem) { sampleItem.add(new Label("title", ne

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread Martin Asenov
Here's again the original message, please, need some assistance... -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Tuesday, January 12, 2010 12:43 PM To: users@wicket.apache.org Subject: page expired problem issue wicket how resolve fix eofexception peekbyte Hello

Re: post a form to external site statelessly

2010-01-13 Thread Stijn Maller
Or you could do that... :o) Depends on who has to treat the response from the external site. Your Server? Or Your client? 2010/1/13 Ernesto Reinaldo Barreiro > I haven´t tried it myself but can´t you use > > WebRequestCycle.get().setRequestTarget(new > RedirectRequestTarget("URL...")); > > Ernes

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread Martin Asenov
Please, everyone, I'm really despaired about this one, I'll greatly appreciate any help! Best regards, -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Tuesday, January 12, 2010 4:37 PM To: users@wicket.apache.org Subject: RE: page expired problem issue wicket how

AW: Wicket Portlets and Liferay

2010-01-13 Thread Andreas Thiel
Hi, I stumbled across this problem, too. I was using LR 5.2.3 with Tomcat 6 bundled and Wicket 1.4.3. After several unsuccessful tries to get the wicket examples running, I tried to get a simple wicket portlet running. After several frustrating days, I got it running. Here's what I did: 1) Mi

Re: post a form to external site statelessly

2010-01-13 Thread Ernesto Reinaldo Barreiro
I haven´t tried it myself but can´t you use WebRequestCycle.get().setRequestTarget(new RedirectRequestTarget("URL...")); Ernesto On Wed, Jan 13, 2010 at 10:57 AM, Afsaneh Abouie wrote: > thanks, but I want to do some actions in model when user pressed submit > button then post generated params

Re: post a form to external site statelessly

2010-01-13 Thread Afsaneh Abouie
thanks, but I want to do some actions in model when user pressed submit button then post generated params to external site On Wed, Jan 13, 2010 at 12:32 PM, Stijn Maller wrote: > Just use http://your.other.site"";> instead of a wicket form > component, good old html... :o) > > 2010/1/13 Afsaneh

Re: post a form to external site statelessly

2010-01-13 Thread Afsaneh Abouie
thanks, but I want to do some actions in model when user pressed submit button then post generated params to external site -- Regards, Afsaneh Abouie

Re: Help with Wicket Adoption Numbers

2010-01-13 Thread manuelbarzi
struts is as c what wicket is as java (still beyond c++)

Re: post a form to external site statelessly

2010-01-13 Thread Afsaneh Abouie
thanks, but I want to do some actions in model when user pressed submit button then post generated params to external site -- Regards, Afsaneh Abouie

Re: post a form to external site statelessly

2010-01-13 Thread Stijn Maller
Just use http://your.other.site"";> instead of a wicket form component, good old html... :o) 2010/1/13 Afsaneh Abouie > Hello everyone, > I want to post my form to an external and non wicket site and as I read in > mail list, it can be done with ajax but my form and panels are stateless so > I

Wicket Portlets and Liferay

2010-01-13 Thread Klaus Astner
Hi, We want to use Wicket Portlets in Liferay. The first step would be that all the wicket-example stuff is working - including Ajax. Onfortunately it does not work as intended. The versions to be used are: - Liferay-5.2.2 with Tomcat 6 (currently they use 6.0.18) bundled - Apache Wicket 1.4.5