Excel spreadsheet and cache duration

2014-07-31 Thread Entropy
We have an ajax button that submits a form that, if the parameters are right, will download an excel file. The developers who wrote the page used an ajax behavior and then write the request out as javascript like so: target.appendJavaScript((CharSequence) (window.location.href=' +

Re: Excel spreadsheet and cache duration

2014-07-31 Thread Entropy
That workaround had occurred to us. We thought there might be a better way, but if that is the recommended solution, we feel better about it. Just didn't want to overlook a silver bullet. While it isn't the exact same thing, I am also having an exception maybe someone could shed light on in the

URL to resource

2014-08-01 Thread Entropy
I have a javascript spellchecker dictionary file located in the package with my re-usable SpellCheckBehavior that generated the javascript to apply spellcheck to my text fields. I want the generated javascript to have the URL to that dictionary file. I know I need a resource reference to it, but

Re: URL to resource

2014-08-01 Thread Entropy
Nevermind, I found the urlFor method on the component. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/URL-to-resource-tp4666839p4666842.html Sent from the Users forum mailing list archive at Nabble.com.

Wicket error page runs twice

2014-10-24 Thread Entropy
I have a requirement that when certain kinds of exceptions are thrown, I want to customize my exception error page. I stuffed the exception into the requestcycle and retrieve it in the page like so: Exception exception = getRequestCycle().getMetaData(ESPApplication.EXCEPTION_KEY); I watch

Re: Wicket error page runs twice

2014-10-27 Thread Entropy
The exception occurred within an AjaxButton. In this case, a service was not responding, we want to show our error page, and put a custom message up indicating that it is a service problem, call the help line or try again later blah blah blah... I don't think any redirects are involved. -- View

Re: Wicket error page runs twice

2014-10-27 Thread Entropy
Well, you are definitely right that there are multiple requests for whatever reason. I can see WicketServlet doPost called, the method runs, throws the error, the error page gets control with the exception, then a doGet occurs and the error page runs again without the exception. I can't really

Re: Wicket error page runs twice

2014-10-27 Thread Entropy
Okay, I found this, the first request URL and query string are: /EquitableSharing/?19-1.IBehaviorListener.1-share-form-toolContainer-declineSharingButton The second is: /EquitableSharing/wicket/bookmarkable/gov.usdoj.afms.esp.application.ESPApplicationErrorPage So it seems like even though the

Re: Wicket error page runs twice

2014-10-27 Thread Entropy
With a slight modification, that worked. I used: return new RenderPageRequestHandler(new PageProvider(new ESPApplicationErrorPage(ex))); Thanks Martin! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-error-page-runs-twice-tp4668093p4668115.html Sent from

RadioGroup not updating in ajax event

2014-11-14 Thread Entropy
We have an ajax event initiated by one panel that affects the data, and needs to force a redraw of a radiogroup in another panel. The ajax event arrives, we add the radiogroup to the target, update the model that backs the ListView, but the populateItem method never re-fires to redraw. Note that

Re: RadioGroup not updating in ajax event

2014-11-17 Thread Entropy
Nobody has ideas? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/RadioGroup-not-updating-in-ajax-event-tp4668415p4668438.html Sent from the Users forum mailing list archive at Nabble.com. - To

Wierd Validation

2015-01-23 Thread Entropy
We have a page where the client has made some odd demands for behavior and I need to know if they are possible and if so, how one would do them. The basic gist is that the user is filling out alot of data and may not know it all right away. So they can enter the record in a sort of scratch way,

Radio buttons spread across page

2015-03-16 Thread Entropy
We have a page wherein we have a radio group that has the user selecting which section of the page applies to their situation with a different set of fields under each. I wan these radio buttons to behave as a group, but I don't want to put a bunch of controls under the group that aren't really

Re: Radio buttons spread across page

2015-03-19 Thread Entropy
Picture a page with multiple sections. Each section consists of multiple form elements, but there is also a radio button per section that all belong to a single radio group. But the controls of those sections are not part of the radio group so it seems to not make sense to me to make these

Re: Wicket modal, change the parent page

2015-06-15 Thread Entropy
Yes, the method is called, and yes the modal closes. However, in the same event as the closing modal, I need to let the parent page update itself based on what the user did. And that's the part that doesn't work. A quickstart would be hard because this is in the middle of a large workflow with

Re: Wicket modal, change the parent page

2015-06-15 Thread Entropy
That is correct, my modal shows a page. I wasn't aware a modal could show just a panel. I will look into this. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-modal-change-the-parent-page-tp4671163p4671168.html Sent from the Users forum mailing list archive

Wicket modal, change the parent page

2015-06-14 Thread Entropy
I have a wicket modal that is used to let the user select from a couple options on a popup button. On close, depending on what button they hit on the popup, I need to run a javascript event on the calling page as I close the window, AND I need to alter a label and ExternalLink on the parent page.

StalePageException

2015-10-23 Thread Entropy
I am having a problem where I am always getting a StalePageException, whenever the ajax request is sent for an AbstractDefaultAjaxBehavior. The url for the callback to the AbstractDefaultAjaxBehavior is stored in a HiddenField. This value apparently has a stale page version number(I suspect this

FeedbackPanel and warnings

2015-10-14 Thread Entropy
Our feedbackpanels work fine, have for a while. But we just got a new requirement to add warnings. We find that when there is at least one error message, the panel shows all messages, regardless of their level, but when there are only warnings, the panel remains hidden as if there were no

Re: FeedbackPanel and warnings

2015-10-14 Thread Entropy
We searched the code and we do not use the filter. What's more, during investigation of the issue, we created a filter that always returns true from the accept() method of the filter just to see, and in fact when only warnings are added, the accept method is never called, whereas in a mixture, we

Re: FeedbackPanel and warnings

2015-10-15 Thread Entropy
We're using 6.12 if that makes a difference, but it sounds like you don't think it should. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/FeedbackPanel-and-warnings-tp4672235p4672246.html Sent from the Users forum mailing list archive at Nabble.com.

Re: FeedbackPanel and warnings

2015-10-15 Thread Entropy
Eventually found it. Somewhere deep in a re-usable panel written by a co-worker who no longer works here a set visible was being done on the panel that was looking for error level messages only. Nobody knew it was there. -- View this message in context:

Wicket Ajax Debug error

2015-10-07 Thread Entropy
We have a feature that has been working for months. We're not sure when it stopped working, but it has. It's an ajax button, and the event never gets to the server event. The wicket debug window flashes red and says: In firefox: INFO: focus set on declineSharingButton ERROR: An error occurred

Re: Wicket Ajax Debug error

2015-10-08 Thread Entropy
tin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, Oct 8, 2015 at 1:29 AM, Entropy <[hidden email] > <http:///user/SendEmail.jtp?type=node=4672170=0>> wrote: > > > We have a feature that has been working for months. We're

Show warnings as yellow

2015-10-09 Thread Entropy
We have a feedback panel, and we want errors to be red and warnings to be yellow. I know to use warn() instead of error, but how can i make them show different in color? And I have a feeling that for 508 reasons, I may be required to show something next to the warnings to indicate they are

Wicket on the Amazon Cloud?

2016-05-02 Thread Entropy
We've done our last several apps in Wicket. It's our framework. But our next app, the client has stated they want implemented on Amazon WebServices Cloud. Because of the automatic scaling, the advice seems to be that you want to write your apps to be stateless. But of course, Wicket is very

Re: Refreshingview vs ListView

2016-07-27 Thread Entropy
I replaced the RefreshingView with a PropertyListView again, and it fixed the validation message issue. All other changes were still there. Unfortunately, it also breaks my new feature as the ListView won't update on Save. -- View this message in context:

Refreshingview vs ListView

2016-07-27 Thread Entropy
We have a section written by another developer who is gone that I am attempting to modify. It was a ListView where items are added via a plus button, and all items are editable. A new requirement came down to modify some text in the fields on save. I modified the fields as we saved, then add

Autocomplete has a bug

2016-07-21 Thread Entropy
We are running 6.20, and our test team reported a bug that corresponds to this bugfix: https://issues.apache.org/jira/browse/WICKET-5882 However, notice the last comment from ramesh valasa. When we downloaded 6.23 and applied it to our app, we saw the same issue. Basically what happens is

Re: Refreshingview vs ListView

2016-07-28 Thread Entropy
Thanks for the suggestion. I think so. public boolean equals(Object other) { if ((this == other)) return true; if ((other == null)) return false; if (!(other instanceof Expense))

Generated IDs

2017-02-06 Thread Entropy
Our test team wants to run selenium scripts against our pages, and wants stable IDs to go against. Wicket tends to generate random, and most annoyingly, inconsistent ones that change with each run of the page. Obviously, we can setMarkupId on every component manually, but I was wondering if

Re: Generated IDs

2017-02-06 Thread Entropy
Yes, but we have a whole lot of existing pages and fields and links and buttons. I was kind of hoping I could just get wicket's generated IDs to be stable from page run to page run, and avoid getting a work request approved to go back and tweak every field. -- View this message in context:

IMarkupCacheKeyProvider getCacheKey

2017-01-25 Thread Entropy
I am trying to make Wicket NOT cache html templates, but only based on a certain system property. So if this property is off, no caching, I return null from getCacheKey() and that seems to work great. But, I am not sure what to do when I WANT caching. The method takes a MarkupContainer and

Re: IMarkupCacheKeyProvider getCacheKey

2017-01-25 Thread Entropy
xtend from this > class > and return null or super.getCacheKey(). > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Wed, Jan 25, 2017 at 8:01 PM, Entropy <[hidden email] > <http:///user/SendEmail.jtp?type=node=4676868=0>>

How to do this in wicket

2017-02-13 Thread Entropy
Our web designer wants our pages to start like this so he can run his modernizr thing. But I can't have this in our html before Wicket runs against it, because the html parser seems to be unable to handle this...and I don't blame it. So the thought came that we could write the classes out

Re: AjaxSubmitLink not working

2017-02-15 Thread Entropy
Okay, I just did. Control does not get there either. BTW, if onError is something we should always override, perhaps it should be abstract? Still mystified -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-not-working-tp4677120p4677122.html Sent

AjaxSubmitLink not working

2017-02-15 Thread Entropy
I have a header links section in my header that must build in a dynamic way. AjaxSubmitLink link = new AjaxSubmitLink(linkName, formToSubmit) { @Override public void onSubmit(AjaxRequestTarget target, Form form) {

Re: How to do this in wicket

2017-02-15 Thread Entropy
Ha, yeah. I forgot about that. I implemented a solution based on that thread (not exactly the same) but then a bit later it turned out to cause problems for our web designer, hence me being back. I ended up using renderHead() to put out exactly what the web designer needed in the delivered

RadioGroup ajax update

2017-01-09 Thread Entropy
We have a pair od radiobuttons in our html. They have some html around them, and so forth. They are not dynamic. When the selection changes, we want an ajax event to make other stuff visible or not. RadioGroup rg = new RadioGroup("rg1"); rg.add(new

Re: Adding comment tags outside the tags

2016-12-19 Thread Entropy
I'd rather have the block in some kind or re-usable thing so that our web designer can maintain it. No alternative there? I will do your version if not. As to your P.S., we're a govt project. We have to support what the govt tells us we have to support, and they tell us we still have to

Adding comment tags outside the tags

2016-12-19 Thread Entropy
Our web designed is putting these comment tags to conditionlize the based on browser. They are in EVERY page. So I'd like to encapsulate that in a parent class or something. How can wicket write these out dynamically? -- View this message in context:

Re: Adding comment tags outside the tags

2016-12-19 Thread Entropy
Nabble hid the tags. Let's see if I can get it to show them: -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Adding-comment-tags-outside-the-HTML-tags-tp4676476p4676477.html Sent from the Users forum mailing list archive at Nabble.com.

Re: AjaxButton submits despite form validation failure?

2017-03-28 Thread Entropy
Awaiting confirmation from my co-worker that it worked, but we think we figured it out. He was adding the error message to the page level, above the form. Once he added the message to the form instead, the onSubmit does not fire. We saw the bit in the javadoc suggesting that we use

AjaxButton submits despite form validation failure?

2017-03-27 Thread Entropy
A co-worker is having an issue that I am confused by. He has an AjaxButton submitting a form that (among other things) hides on WebMarkupContainer and shows another. But the form goes through a custom IFormValidator that compares a few fields. When he violates the error, we can see the code

Wicket properties file load at startup?

2017-03-22 Thread Entropy
We have a new wicket app that is waiting until the third page in our app before it loads a WHOLE LOT of properties stuff. I turned to debug and got literally thousands of these: [3/22/17 13:56:49:282 EDT] 0142 SystemOut O DEBUG ResourceStreamLocator Attempting to locate resource

Re: Wicket properties file load at startup?

2017-03-23 Thread Entropy
I put getString("Required") in the init of the page. Yet on the event it did the same thing for about the same time. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-properties-file-load-at-startup-tp4677396p4677411.html Sent from the Users forum mailing list

Set focus on feedback message?

2017-03-14 Thread Entropy
Is there a way I can implement a common routine or class that would set focus to the feedback panel anytime a feedback panel is updated with an error? I am hoping I don't have to ask our devs to include the behavior manually all over the place. We have a common page that all of our pages inherit

Re: Wicket back button behavior

2017-04-10 Thread Entropy
I am trying to set this up. I looked at some docs and I feel like creating a custom PageManager seems like what I want to do. The thing is, no matter how I implement the getPage(int), the Wicket app behaves the same. The back button still does it's default behavior every time. Here's what I

Re: Wicket back button behavior

2017-04-10 Thread Entropy
Hmmm, it's not quite PERFECTLY what I was after, but it may be "close enough". When I go back, I am still taken to previous pages by virtue of the mounted URLs, but I am no longer being taken to old VERSIONS of those pages, which was the main problem. I'll have to check with my requirements

Wicket back button behavior

2017-04-03 Thread Entropy
By default wicket does it's serialized back button thing. For most of our apps, this has been fine. We have a new one where this behavior, showing the page in a previous state and allowing the user to proceed from there, is completely inappropriate. Ideally, when a user tries to go back to a

Generic message when component feedback has error

2017-04-19 Thread Entropy
We're using component feedback panels, and when a component has a message we are filtering that message out from the parent with a filter that tosses anything that doesn't link to the form or page. Works fine. However, when there is a component message on any component, we want a generic message

Disabled links in 6.24

2017-03-02 Thread Entropy
Using Wicket 6.24, when i disable links, they get SPAN and EM tags instead. This throws off our CSS guy. We would like to not do those. How would I go about that? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Disabled-links-in-6-24-tp4677228.html Sent from the

Re: Add aria tag and css class to input on error

2017-03-10 Thread Entropy
That looks pretty darn perfect. I'll try that. Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Add-aria-tag-and-css-class-to-input-on-error-tp4677286p4677288.html Sent from the Users forum mailing list archive at Nabble.com.

Add aria tag and css class to input on error

2017-03-10 Thread Entropy
We need to add an aria tag to out input controls(and maybe a css class) whenever they have an error on that control. Is there a way to make that happen automagically for a whole form, or would each valdator do it or what? How would one go about that in wicket? -- View this message in context:

Re: Disabled links in 6.24

2017-03-02 Thread Entropy
I found setAfterDisabledLink and setBeforeDisabledLink. Setting those the "" gets rid of the EM, but there is still an extra span. How do I suppress that? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Disabled-links-in-6-24-tp4677228p4677232.html Sent from the

Re: Disabled links in 6.24

2017-03-02 Thread Entropy
Oh! Duh, setRenderBodyTagOnly(). Forgot about that. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Disabled-links-in-6-24-tp4677228p4677235.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Disabled links in 6.24

2017-03-02 Thread Entropy
I'll ask our CSS guy if that works for him. He tends to like use to not use unnecessary tags, so ideally, I'd like to get rid of the SPAN altogether. Thanks for the quick response. -- View this message in context:

Re: AjaxButton not calling onError after required validation fail

2017-07-31 Thread Entropy
Wicket 6.24 Yes, there are other buttons. Somehow, they seem to work under the same conditions. We compared and don't see why they behave differently. There are alternate panels that show/hide based on choices further up the form, and that dictates which buttons and fields are shown. Yes,

Re: AjaxButton not calling onError after required validation fail

2017-07-31 Thread Entropy
Okay, new info. So, alot of what I said I accepted on faith from a co-worker who was working the problem. I'm posting on his behalf. Turns out some of that was wrong, but we do have a little bit of a poser here nonetheless. I apologize for that. I should make my guys all sign up for this

AjaxButton not calling onError after required validation fail

2017-07-28 Thread Entropy
We have an AjaxButton, some fields are failing required check, but the onError of the button is not being invoked. This means we can't add the container to the target, and therefore the ComponentFeedbackPanel is not rendering with the message. radioWmc2Step1.add(new AjaxButton("btnResSend",

setOutputMarkupId(true) on everything?

2017-08-01 Thread Entropy
While resolving our latest issue, a co-worker asked me why we don't just make a visitor to set every component to have setOutputMarkupId(true)? It seems harmless, and corrects a common mistake people make of not setting it. Is there something I'm not seeing? Is there a way to default this to

Re: AjaxButton not calling onError after required validation fail

2017-08-01 Thread Entropy
When the world doesn't make sense, it's amazing how often it turns out to be some simple little mistake we overlook. This was all a cut & paste error in my co-worker's code. He was binding the ComponentFeedbackPanels to the wrong text fields, but the names were close enough to the correct names

Re: Button not visible, except that it is...

2017-08-22 Thread Entropy
The isVisibleInHierarchy() method returns false. Stepped into that and realized that my co-worker was setting a parent panel false in a panel further up the hierarchy in the onConfigure of a behavior, which fires once at page load and again after the button click that makes this other

Validation messages from properties file not working.

2017-08-22 Thread Entropy
We have a javascript widget on our page that doesn't have a wicket form component bound to it. We just get the value from the request. We have a ComponentFeedbackPanel (CFP) because that's what we do with all of our messages. We fed a WebMarkupContainer (WMC) that is around the CFP in as the

Re: Button not visible, except that it is...

2017-08-22 Thread Entropy
Nevermind, it's because he didn't have that higher panel in the target for that event. So he set the visibility to false without realizing it, and didn't add it to the target. Mystery Solved. Thanks as always for the quick response. -- View this message in context:

Re: Modal failing to modify it's parent in ajax event

2017-05-09 Thread Entropy
r tab. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Mon, May 8, 2017 at 9:18 PM, Entropy <[hidden email] > <http:///user/SendEmail.jtp?type=node=4677801=0>> wrote: > > > I have a wicket modal. On clicking a button

getString() from Application.init()

2017-06-15 Thread Entropy
I want to run getString() like I might from a Page, but I want to run it in Application.init(). What is the equivalent call here? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/getString-from-Application-init-tp4678053.html Sent from the Users forum mailing list

Wicket Modal throws exception

2017-04-30 Thread Entropy
I am addding a Wicket Modal. I go to render it on button click and amd getting the below trace. But I don't have _header_ in my page, in the modal, or anywhere in my app actually (I searched the whole workspace), so I'm not sure where it comes from, and therefore am not sure how to fix it.

Re: Wicket Modal throws exception

2017-05-01 Thread Entropy
6.24. Is there a workaround? We're using modals elsewhere. I am trying to make one that will be more general purpose, but it otherwise seems the same as our others and I am not sure what is so different about it. -- View this message in context:

Re: Wicket Modal throws exception

2017-05-01 Thread Entropy
Upgrading seems to fix this specific issue. However, I am no getting another odd behavior. I am trying to update some text and button captions on the page. It's working, but gives an error in javascript despite the working. Wicket.Ajax: Wicket.Ajax.Call.processComponent: Component with id

Modal failing to modify it's parent in ajax event

2017-05-08 Thread Entropy
I have a wicket modal. On clicking a button in it, that is part of the form in the modal's page, I need to close the modal, put a message in the feedback of the parent page, and invoke a javascript method in the parent page. I am using the pagecreator approach to ModalWindow. This is Wicket

Odd Requirement

2017-10-05 Thread Entropy
We have an odd requirement that I was wondering how to implement in wicket. we're in Wicket 6. The analysis team wants the ability to save a page in an incomplete fashion. Only format validations fire (you can enter nothing, but if you enter anything, you must at least comply with format

Re: Validation messages from properties file not working.

2017-08-23 Thread Entropy
Yeah, it's definitely related to the component that the ComponentFeedbackPanel relates to. If I use a TextField, it finds the message perfectly. I change it to a web markup container or hiddenfield, and it fails to find the message. Same name, same code doing the validation and the adding of

Re: Validation messages from properties file not working.

2017-08-24 Thread Entropy
serializable: > > ((WebMarkupContainer) form.get("wmcCaptchaError")).error(new > ValidationError().addKey("CaptchaRequired")); > > Try the following instead: > > ((WebMarkupContainer) > form.get("wmcCaptchaError")).error(form.getStrin

Button not visible, except that it is...

2017-08-21 Thread Entropy
We have a form that underwent some re-writing. After the changes, a button starts throwing the below exception. The button is in a panel that starts invisible but is made visible later. In the event that makes it visible we logged out the button's isVisibleInHierarchy() and it was false at the

Re: Validation messages from properties file not working.

2017-08-23 Thread Entropy
ckage structure and > the component tree structure to be able to tell why Wicket cannot find it > ... > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Tue, Aug 22, 2017 at 9:33 PM, Entropy <[hidden email] > <http:///user/S

Serialized Session Data in Websphere

2017-08-30 Thread Entropy
Our operations team just discovered huge growth of files in a temp folder named [app_name]Wicket-filestore. We're on Wicket 6 (well, most of our apps are). There's clearly some stuff in there that shouldn't be, and our devs are going to need to be more frugal with what they throw into the user

How to bind a single page class to multiple mounted URLs

2017-11-02 Thread Entropy
We have a couple different 'flows' in our application, but each flow often shares certain pages in common, and we of course reuse the page class. If someone times out and then hit refresh or performs a screen action, my team would like to direct the user to the starting page of THAT FLOW to

Re: Scroll to feedback on ajax

2017-12-07 Thread Entropy
That sounds plausible. Is there any way to override that behavior? We tried focusComponent() and it didn't seem to work any better. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To

Scroll to feedback on ajax

2017-12-06 Thread Entropy
We're using Wicket 6. We have a requirement to set focus to the feedback panel anytime it shows. We add our feedback panel in a common module and I put window.scrollTop(0,0) in the renderHead of a behavior on the feedback. This works on some pages but not all. On the pages where it doesn't

Where can I get the 6.24 source download?

2017-10-24 Thread Entropy
I need 6.24 source. all of the mirror links seemed dead. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

IndicatingAjaxButton locks other buttons

2017-10-26 Thread Entropy
We have an IndicatingAjaxButton that launches an AjaxDownload of a PDF that we generate on the fly from Crystal Reports. It's spawns the PDF in a separate window. It does the job, but after, every button on the screen of the main form is nonresponsive. Is there some step I am supposed to take

AjaxFormSubmitBehavior need timeout event

2018-01-25 Thread Entropy
I need to get an event on the browser side from one of my AjaxFormSubmitBehaviors in the event of a timeout or a non-200 response (and preferably the ability to distinguish between the two). I'm in Wicket 6.24 in this app. Anyone know how I would plug into that event? -- Sent from:

Is there a way to include a message count in the feedback?

2018-01-31 Thread Entropy
We have ComponentFeedbackPanels in our app. But we should a message in a top feedback that is something like "You have errors, please fix them". They'd like to make it include a COUNT of the other messages out there. Is there a specifier for that? Like in the message in the properties file,

CSRF Tokens

2018-02-09 Thread Entropy
One of our apps just underwent a security scan, and they complained about Cross-Site Request Forgery (CSRF) vulnerability. Yet, i went to google and found this: https://issues.apache.org/jira/browse/WICKET-1782 Which seems to say that CSRF was fixed in 1.4 of Wicket. We're mostly on 1.6. Is

Re: Preventing directory list

2018-02-13 Thread Entropy
But I have "/*" mapped t the wicket servlet. /images is under "/*". I have no servlet mapping enabling /images or other subdirs. further, we're in websphere and in the ibm-web-ext.xml we have directory browsing set to false. You're certain Wicket doesn't do this? I tried removing my

Preventing directory list

2018-02-13 Thread Entropy
The SecurePackageResourceGuard prevents access to files by extension, but I notice that when I type /images into my URL, I get a sort of directory listing of files under that folder. True, they're all public files, but I don't want people to get a listing like that. How can I direct the resource

Re: Preventing directory list

2018-02-13 Thread Entropy
Pretty sure WAS is getting the config. When I comment out all wicket stuff from web.xml, and just run a bare bones EAR, I type: http://localhost:9080/MyApp/images/info1.png And i get that image (thus proving it's responding) I drop to: http://localhost:9080/MyApp/images/ and I get 404. Put

Re: Preventing directory list

2018-02-14 Thread Entropy
That seems to be it. Thanks! -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Modifying componentfeedbackpanel output

2018-02-21 Thread Entropy
Our front-end guy is asking for us to modify how our component feedback messages render. In particular he wants tags around EACH MESSAGE like so: //Error: This is the message. I added an override for the ComponentFeedbackPanel java and html to make everything

Re: Modifying componentfeedbackpanel output

2018-02-21 Thread Entropy
Ooops, I see nabble is hiding the tags. Trying again with and span class="feedbackPanel" span class="feedbackPanelERROR" span class="feedbackPanelERROR"i aria-hidden="true" class="fas fa-exclamation-triangle" title="Error "/ispan

Re: Modifying componentfeedbackpanel output

2018-02-22 Thread Entropy
I'm not sure what a quickstart would do to demonstrate what I'm after. It's not a bug I am trying to work through, I don't even know how to get control so I can add the tags. The specific tags I'm adding don't even matter. It's static content, but it has to wrap the message. Just imagine I was

Re: Modifying componentfeedbackpanel output

2018-02-21 Thread Entropy
I'm not sure how to make the markup show right in the post. I'll try wrapping it in PRE. //Error: This field is required. Anyway, yes, I am subclassing the component feedback, but it adds the

1.4 version of IRequestCycleListener?

2018-08-01 Thread Entropy
In our Wicket 6 projects, we have a IRequestCycleListener that does some things we want to do for every request (primarily involving auditing and a few other nits). We also have a couple 1.4 apps that we haven't been given permission to upgrade, but we want to add this same auditing listener. Is

Re: Wicket event listeners not firing.

2018-07-25 Thread Entropy
Solved - Needed to wrap this in a thing that waited for the jQuery DOM to load. I thought the method would do that itself. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe,

Re: How well does Wicket support multiple tabs for a single session?

2018-07-17 Thread Entropy
Thanks Sven, Multi-threading should be easy enough. But thanks for the heads up. Same page in different browser tabs though absolutely is part of the design. What would I *do* in reaction to being notified by that behavior that a new window is opening? And what kinds of problems would I

How well does Wicket support multiple tabs for a single session?

2018-07-16 Thread Entropy
Our page designer wants our newest app to open new tabs for each detail record opened off a list. Within that tab would be potentially multiple pages in varying orders related to that record, and then the user might close it or leave it open, return to the list and move around a few times (ajax

Re: How well does Wicket support multiple tabs for a single session?

2018-07-19 Thread Entropy
I definitely need more info on the 2nd and 3rd items in your list. My designer is bugging me multiple times a day trying to get this answer. You said: > - you can run into problems when the same page is rendered in two > different browser tabs, use AjaxNewWindowNotifyingBehavior to detect this

Wicket event listeners not firing.

2018-07-24 Thread Entropy
Hi, I'm trying to do some standard code in response to any wicket ajax event, but the listeners I'm subscribing aren't firing. This is in Wicket 6. I stuck a breakpoint in Chrome and IE11, and neither fire these events. I tried done and init event also. Another action right next to it IS

Re: Wicket.Event.subscribe - how to get a response header

2018-03-30 Thread Entropy
Okay, but I am at a breakpoint and it definitely is null. This is in chrome and IE11. We use jQuery v1.12.4 if that makes a difference (I don't think it does). I'm sure I must be doing something to cause the issue, but I've no idea what. -- Sent from:

<    1   2   3   >