Re: Does Wicket 1.5 requires Wicket-auth-roles if I want to use Spring Security 3?

2011-02-03 Thread ookpalm
Hello Thanks both of you. I got the idea. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Does-Wicket-1-5-requires-Wicket-auth-roles-if-I-want-to-use-Spring-Security-3-tp3259415p3259473.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: Does Wicket 1.5 requires Wicket-auth-roles if I want to use Spring Security 3?

2011-02-03 Thread James Carman
Technically, you don't *have* to use it. You can roll your own if you want. It's just much easier with auth-roles, because you have something to start with. On Thu, Feb 3, 2011 at 10:33 PM, ookpalm wrote: > > I found example of Spring Security 3 and Wicket using wicket-auth-roles here > https:/

Re: Does Wicket 1.5 requires Wicket-auth-roles if I want to use Spring Security 3?

2011-02-03 Thread ookpalm
I found example of Spring Security 3 and Wicket using wicket-auth-roles here https://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html But I wonder why we need to use wicket-auth-roles to use Spring Security 3 with Wicket? -- View this message in context: http://apache-wicket.1

Re: MarkupId generation

2011-02-03 Thread msj121
Well I think that all of the markup ids being output are based off of the in "wicket:id=". If memory serves correct so the "easiest" (ie: less obtrusive) solution is to simply change your tags. Of course tedious if you already had completed your project, so perhaps overriding the code that genera

Re: IndicatingAjaxSubmitLink missing?

2011-02-03 Thread rolandpeng
It's really simple.Thanks for your hint! public abstract class IndicatingAjaxSubmitLink extends AjaxSubmitLink implements IAjaxIndicatorAware { private static final long serialVersionUID = 1L; private final AjaxIndicatorAppender indicatorAppender = new AjaxIndicat

Re: Using DataView newItem method to display a BreadCrumbPanel

2011-02-03 Thread msj121
Well if you have the Panel Panel pnl = new Panel("breadcumbholder"); pnl.setOutputMarkupId(true); and if this panel is made global, then you can add it inside other classes if necessary target.addComponent(pnl); This way you only update the panel and not the entire page shetc wrote:

Re: Does Wicket 1.5 requires Wicket-auth-roles if I want to use Spring Security 3?

2011-02-03 Thread msj121
I have not used it, but doesn't it stand to reason that it is simpler to decide whether a user can access a certain piece of code in Wicket. That being, because I would presume you can apply the spring security to panels or pages etc... based in wicket, and not spring filters etc Or perhaps I

Does Wicket 1.5 requires Wicket-auth-roles if I want to use Spring Security 3?

2011-02-03 Thread Phatthara Yotviriyapanit
Hello, I found that the previous version of wicket and spring security integration require the Wicket-auth-roles in order to get them work together. Is this also a requirement for the new version of spring security 3 and wicket 1.5 to use Wicket-auth-roles? Or can we simply use Spring Security 3 d

Re: Image Tag Wicket Processing

2011-02-03 Thread James Carman
Does this happen in a quickstart? Again, I've never seen this before. What I'm trying to do is eliminate variables here. If this happens in an isolated situation, then it's a problem. If not, then it's something in your environment. This sounds very familiar to me, though. Someone on this lis

Re: Image Tag Wicket Processing

2011-02-03 Thread Ayodeji Aladejebi
If I set Application Settings to getMarkupSettings().setAutomaticLinking(false); my user interface is scattered as it no longer recognizes my CSS file, then wicket changes my css tags from To: and my CSS files stop resolving I will appreciate any help with this On Fri, Feb 4, 2011 at 2:29

Re: Image Tag Wicket Processing

2011-02-03 Thread Ayodeji Aladejebi
In the application settings: I used getMarkupSettings().setAutomaticLinking(true); thats all On Fri, Feb 4, 2011 at 2:27 AM, Ayodeji Aladejebi wrote: > If you have this in your markup: > > style="padding-right:4px;vertical-align:text-top;" /> > > by the time it renders in wicket by default,it

Re: Image Tag Wicket Processing

2011-02-03 Thread Ayodeji Aladejebi
If you have this in your markup: by the time it renders in wicket by default,it becomes As simple as that Any tips On Thu, Feb 3, 2011 at 7:38 PM, James Carman wrote: > Can you create a quickstart that exhibits that behavior? I have never > seen this. > > On Thu, Feb 3, 2011 at 1:34 PM

double validation with two different values for a text field

2011-02-03 Thread Doug Leeper
I have created a custom zip text field that validates against several country formats, i.e. US and Canada. I have created specific country converters and validators that are utilized by this custom zip field. In my test scenario, I have a valid US address displayed. I then change the country

Re: Using DataView newItem method to display a BreadCrumbPanel

2011-02-03 Thread shetc
I seemed to have resolved the issue by adding the page that owns the bread crumb panels as the Ajax target; I do this within the BreadCrumbPanel create method: getPage().setOutputMarkupId(true); target.addComponent(getPage()); -- View this message in context: http://apache-wicket.1842946.n4.n

AjaxLazyLoadPanel question

2011-02-03 Thread Matt Schmidt
I currently have a DataGridView loaded inside of an AjaxLazyLoadPanel, including the service call to get the data. myLazyLoadPanel = new AjaxLazyLoadPanel("id", new CollectionModel()) { public Component getLazyLoadComponent(String markupId) { if(getDefaultModelObject() == null) {

Re: wicket-ajax.js header contribution with

2011-02-03 Thread Randy S.
Thanks, Igor. https://issues.apache.org/jira/browse/WICKET-3420 On Thu, Feb 3, 2011 at 11:01 AM, Igor Vaynberg wrote: > wicket should do this for you. please file a bug. > > -igor > > On Thu, Feb 3, 2011 at 6:09 AM, Randy S. wrote: > > Matthias: of course, reversing the options should be the

Re: Image Tag Wicket Processing

2011-02-03 Thread James Carman
Can you create a quickstart that exhibits that behavior? I have never seen this. On Thu, Feb 3, 2011 at 1:34 PM, Ayodeji Aladejebi wrote: > Pleas how can I stop wicket from processing my images and inserting onclick > ="window.location.href" > > thanks >

Image Tag Wicket Processing

2011-02-03 Thread Ayodeji Aladejebi
Pleas how can I stop wicket from processing my images and inserting onclick ="window.location.href" thanks

Re: RadioChoice keeps null rawInput after required validation?

2011-02-03 Thread Xavier López
2011/2/3 Xavier López > Have to say maybe fooled by setModelObject()'s javadoc 'Sets the backing > model object; shorthand for getModel().setObject(object).' > My fault, didn't see this has already been addressed on https://issues.apache.org/jira/browse/WICKET-2113 , and is specific of 1.3. Che

Re: WicketTester and the test of image visibility

2011-02-03 Thread Igor Vaynberg
visibility can be triggered from a lot of places, isvisible() only checks the visibility flag. the best way to test it is to see if the image tag appears in the rendered markup. -igor On Thu, Feb 3, 2011 at 1:16 AM, Dmitriy Neretin wrote: > Hello everybody! > > Is the WicketTester method isVisib

Re: IndicatingAjaxSubmitLink missing?

2011-02-03 Thread Igor Vaynberg
roll your own, they are pretty trivial. look at the source of IndicatingAjaxLink -igor On Wed, Feb 2, 2011 at 11:51 PM, rolandpeng wrote: > > Will any later version of wicket add IndicatingAjaxSubmitLink? > It seems this class was missed. Or any other Class similar to this > IndicatingAjaxSubmit

Re: RadioChoice keeps null rawInput after required validation?

2011-02-03 Thread Xavier López
Just in case it helps someone else, we've finally managed to understand why we needed to call clearInput() on rc1 after changing its model object, with help from this previous post http://apache-wicket.1842946.n4.nabble.com/Ajax-and-form-handling-and-clearInput-td1866836.html(thanks Alexander, Igor

MarkupId generation

2011-02-03 Thread Uwe Schäfer
hi i´m on a wicket app that is to be ajaxy included in 3rd-party html-pages. i fear that wicket created markup-ids may interfere with ids already in the page. for that reason i´d love to prefix the wicket-generated ones. Component.getMarkupId(boolean createIfDoesNotExist) prefixes with Strin

Re: wicket-ajax.js header contribution with

2011-02-03 Thread Emmanouil Batsis
Not sure i understand the issue but I would suggest escaping that to < although script contribs could just as well offer an option to wrap a CDATA like // Manos Quoting Igor Vaynberg : wicket should do this for you. please file a bug. -igor On Thu, F

Re: wicket-ajax.js header contribution with

2011-02-03 Thread Igor Vaynberg
wicket should do this for you. please file a bug. -igor On Thu, Feb 3, 2011 at 6:09 AM, Randy S. wrote: > Matthias: of course, reversing the options should be the easiest and most > obvious workaround. Thank you. > > Pedro: I could try to escape the <. Presumably this would be using its > entity

Re: Regarding AjaxIndicatorAppender and IE

2011-02-03 Thread MZemeck
This may be related to... https://issues.apache.org/jira/browse/WICKET-3321 From: Muro Copenhagen To: users@wicket.apache.org Date: 02/02/2011 08:19 AM Subject:Regarding AjaxIndicatorAppender and IE Hi, Has anyone experienced problems with IE (v. 8) and AjaxIndicatorAppend

Re: File upload progress bar

2011-02-03 Thread Valentin Avksentyev
No I'm testing on my own machine, with a 300Mb file, in fact Chrome gives me upload feedback, but nothing from the upload progress bar. Here is the code I'm using: I'm overriding newWebRequest in my Application class: @Override protected WebRequest newWebRequest(HttpServletRequest servletRequ

Re: isValid and getFeedbackMessage

2011-02-03 Thread Altuğ Bilgin Altıntaş
I try to print business exception below the related form components so here is solution i found : final TextField txtName = new TextField("txtName ", new PropertyModel(name, "name")) { @Override protected void onRender(MarkupStream markupStream) {

RE: isValid and getFeedbackMessage

2011-02-03 Thread Wilhelmsen Tor Iver
> Can i change TextField's (FormComponent) valid status and set a custom error > message from outside ? Like : Normally you write a validator that calls component.error() to set the error message, and add that validator to the FormComponent. As long as it has that error it will count as invalid.

Re: Using DataView newItem method to display a BreadCrumbPanel

2011-02-03 Thread shetc
Thanks for the reply Matthew. Unfortunately, I'm not sure how to pass the panel to the target. Putting it within the IBreadCrumbPanelFactory create method seems to have no effect. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-DataView-newItem-method-to-displ

JGrowlFeedbackPanel repeates error message if validation called before message is cleared

2011-02-03 Thread fachhoch
I am using JGrowlFeedbackPanel , this feedback panel do not clear previous message , I mean if I hit the submit button and form failed with validation errors this JGrowlFeedbackPaneldisplays the error message , if I hit it before the validation messages is cleared , second time the sam

Re: wicket-ajax.js header contribution with

2011-02-03 Thread Randy S.
Matthias: of course, reversing the options should be the easiest and most obvious workaround. Thank you. Pedro: I could try to escape the <. Presumably this would be using its entity < but it's not immediately obvious whether that would work because of the various levels of encoding. The entire he

isValid and getFeedbackMessage

2011-02-03 Thread Altuğ Bilgin Altıntaş
Hi, Can i change TextField's (FormComponent) valid status and set a custom error message from outside ? Like : TextField txtname = new TextField(..) // setting valid false and custom error message if (!txtname.isValid) { // get custom error message now String error = txtname.getFeedbackMessa

Re: Multiple Button Problem in Wicket

2011-02-03 Thread Pedro Santos
Disconsider my last mail, both it was not a bug and I replied in the wrong thread. On Thu, Feb 3, 2011 at 9:02 AM, Pedro Santos wrote: > ops: https://issues.apache.org/jira/browse/WICKET-3417 > > > On Thu, Feb 3, 2011 at 9:02 AM, Pedro Santos wrote: > >> Hi Steven, I opened a ticket to this pro

Re: Multiple Button Problem in Wicket

2011-02-03 Thread Pedro Santos
ops: https://issues.apache.org/jira/browse/WICKET-3417 On Thu, Feb 3, 2011 at 9:02 AM, Pedro Santos wrote: > Hi Steven, I opened a ticket to this problem. I would be very helpful if > you send an quickstart also. > > > On Wed, Feb 2, 2011 at 2:26 PM, sheadley3228 < > steven.head...@cats.usdoj.go

Re: Multiple Button Problem in Wicket

2011-02-03 Thread Pedro Santos
Hi Steven, I opened a ticket to this problem. I would be very helpful if you send an quickstart also. On Wed, Feb 2, 2011 at 2:26 PM, sheadley3228 wrote: > > Hello All, > >I have 3 buttons in my form and have read over the documentation > concerning multiple buttons but can't get the buttons

Re: How to Replace "Choose One" with Blank ("") in DropDown

2011-02-03 Thread Ian Marshall
Hi James, Thanks for the tip about Form1.choice1.null=Something Else I was always wondering how to change that text but now I can do it. Thanks again, Ian -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-Replace-Choose-One-with-Blank-in-DropDown-tp3256149

Re: HTML files not reloading in Netbeans on save - quick hack solution

2011-02-03 Thread Josh Kamau
Thanks. I had the same problem since i switched to netbeans 6.9.1 last week. Your solution has helped. Josh. On Thu, Feb 3, 2011 at 2:32 AM, Joachim Rohde wrote: > Hi, > for those of you who are developing Wicket applications with Netbeans will > have encountered the annoyance that since Netbean

Re: wicket-ajax.js header contribution with

2011-02-03 Thread Matthias Gasser
A time ago I faced a similar problem, but not with wicket... I needed to escape the "<" character somehow, or try to reverse the arguments like: 0 > someVariable. see http://www.informit.com/articles/article.aspx?p=1193471&seqNum=9 Am 03.02.2011 um 08:56 schrieb Randy S.: > Hi all. I have

Re: wicket-ajax.js header contribution with

2011-02-03 Thread Pedro Santos
What about escape you XML? On Thu, Feb 3, 2011 at 5:56 AM, Randy S. wrote: > Hi all. I have narrowed a problem down to the following scenario: > > I have a panel with this: > > > > if (someVariable < 0) { > someVariable = 0; > } > > > > This script fails to execute when the panel is l

WicketTester and the test of image visibility

2011-02-03 Thread Dmitriy Neretin
Hello everybody! Is the WicketTester method isVisible() the right solution to test if the Image is shown on the webpage? Thank you!