Re: ModalWindow alert popup that submits form

2020-05-15 Thread Entropy
Issue Resolved. Another part of the code was found to be setting it back to false in a way that evaded my previous searches. Once that was corrected, the AjaxButton behaves as expected. Sorry to waste your time. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

Re: ModalWindow alert popup that submits form

2020-05-14 Thread Entropy
The panel that launches the modal is not inside the form (it's part of a standard header), so when i remove it from the constructor I get an illegal state exception saying "form was not specified in the constructor and cannot be found in the hierarchy of the component this behavior is attached to"

ModalWindow alert popup that submits form

2020-05-13 Thread Entropy
We have a custom popup alert box launched from wicket. It's build around org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow. It works great in most situations where it's just messaging and doing other not-validating things. But one of the buttons in one scenario needs to cause a

Wicket 1.4 equivalent of FeedbackCollector

2020-04-10 Thread Entropy
I have a little chunk of re-usable code I wrote in some of our more modern apps that I've been asked to add to a couple apps we have that are very old. they're still on wicket 1.4 and the boss doesn't want to invest in upgrading them wholesale, but just wants this one feature put in. It relies

Re: Need an event later than 'done'

2020-01-23 Thread Entropy
Okay, nevermind. I solved that by using a MutationObserver in javascript to look for the thing Wicket makes visible or not and invoke my javascript as needed. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

Re: Need an event later than 'done'

2020-01-23 Thread Entropy
I just tried that and in terms of timing, it's perfect! However, my front-end guys put together a multi-piece veil that blocks input, displays our spinny, but also does some accessibility stuff and focus stuff that they consider important. I'm going to go talk to them and see if they can live

Re: Need an event later than 'done'

2020-01-22 Thread Entropy
Sven, I'm afraid I don't know what you mean. Our real jQuery expert quit abruptly and hasn't been replaced yet, so I'm sorry if this is a jQuery thing, but your last two paragraphs don't make sense to me. What is attrs.i? It's not on the object from what I see in the F12 tools. There's alot

Re: Need an event later than 'done'

2020-01-22 Thread Entropy
And I should add that the third parameter, which the docs imply is the jqXHR object, which is where I would expect the response to be, is null in these callbacks. i tried subscribing to the /ajax/call/success handler as well and it was null there. -- Sent from:

Re: Need an event later than 'done'

2020-01-22 Thread Entropy
That sounds great. But as I look through the jqEvent and attributes objects I don't see what element is the response headers. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To

Re: Need an event later than 'done'

2020-01-21 Thread Entropy
That seems promising. If you could look how you did it in your other project that would be great. I suppose if I could get access to the response XML I could look for the redirect in that. I'm not sure where it is though or even if it's provided to this event. -- Sent from:

Need an event later than 'done'

2020-01-21 Thread Entropy
In our app we display a veil after any button click that goes to the server to prevent users double-submitting. Which they do. Alot. Double-submits cause a variety of mischief for us ranging from StaleObjectExceptions in hibernate to wicket exceptions about buttons not being enabled and others.

Re: Feedback messages not showing on first request

2019-12-02 Thread Entropy
The isVisible(): assetLookupOptionsFP = new FeedbackPanel("assetLookupOptionsFP"){ private static final long serialVersionUID = 1L; @Override public boolean isVisible() {

Feedback messages not showing on first request

2019-11-26 Thread Entropy
We have a page where we are being required to have multiple feedback panels, and to show messages in various ones depending on the error. Our solution was to use message filters and to put the messages against certain containers to say 'any message in container X goes to feedback panel X'. You

Table-ize error messages

2019-11-14 Thread Entropy
Most of our error messages are in property files, but we have a set of them that we need to draw from a database. I'd like to add them to the resources programmatically in the Application object at startup so that pages don't know any difference between whether it was sourced from property files

Log feedback messages

2019-10-28 Thread Entropy
As part of a larger effort to improve our audit logs, I have been requested to add the feedback messages that appear as part of validation to those audits. So in the onError() of a button or form, where the validation has failed, I need to gather (non-destructively) the feedback messages that

Is there a way to control Wicket's id generation?

2019-10-25 Thread Entropy
I work on a government project and one of our rules is that all of our apps scrape the request object and log it so that everything that happens can be reviewed. Partly this is for audit reasons, sometimes it comes in handy for lawsuits, but mostly it's handy for our L2 support team. But when a

Radio button submits encoded value

2019-05-15 Thread Entropy
We have a general audit requirement to capture literally every request and log it and it's parameters. We are stripping these parameters from the HttpServletRequest object in a common method. Works great...except when it doesn't. We have a page where the radio buttons are producing a

Re: Wicket-jquery-ui autocomplete running slow

2019-03-11 Thread Entropy
The problem is our project is a government one that doesn't let us use Maven (we've tilted at that windmill multiple times). So quick starts aren't that quick for us. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

Re: Wicket-jquery-ui autocomplete running slow

2019-03-10 Thread Entropy
Identical to the timing of getchoices (the method that contains it). In my most recent test 24ms for both while the full request took 6.5 seconds. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

Re: Wicket-jquery-ui autocomplete running slow

2019-03-10 Thread Entropy
The browser's network tab reflects pretty closely the number I see in the filter. In my most recent attempt, this was about 6.5 seconds. Meanwhile in the same request, the getchoices took 24 milliseconds. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

Wicket-jquery-ui autocomplete running slow

2019-03-08 Thread Entropy
My project is using the wicket-jquery-ui AutoCompleteTextField. We're returning a list that was prefetched and all we do in the getChoices is create a sublist. the entire getChoices runs in milliseconds...usually 20-30, which I know because I put a rudimentary timer in it. Yet, the autocomplete

Re: Wicket-jquery-ui question

2019-02-17 Thread Entropy
The problem is that my project isn't allowed to use Maven (long story with many arguments). As i understand it, the quickstarts require Maven. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html -

Wicket-jquery-ui question

2019-02-15 Thread Entropy
We recently added wicket-jquery-ui MessageDialog (http://www.7thweb.net/wicket-jquery-ui/dialog/MessageDialogPage;jsessionid=666ECDD526710BAC40AC4EBBFCC7F4F1?0) to our app. But the demo renders the buttons like so: button class="ui-button ui-corner-all ui-widget" id="btn04" type="button" But

Re: WicketModal customization

2019-01-07 Thread Entropy
I wasn't aware of that library, 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:

WicketModal customization

2019-01-04 Thread Entropy
I'm trying to use WicketModal with a newer, more accessibility friendly modal that our front-end guy picked out. http://api.jqueryui.com/dialog/ I copied the source from wicket-extensions ModalWindow and was replacing javascript and customizing until I came to the getWindowOpenJavaScript()

Wicket forward to static page after logoff?

2018-12-28 Thread Entropy
I want to forward to a static html page in the web content folder (where web-inf resides) after they hit my logoff link. The session is already killed. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

Wicket Modal with a different javascript modal

2018-12-18 Thread Entropy
Our front-end developer doesn't like some of the behavior of the wicket modal with respect to 508 compliance. He has an alternative modal implementation he'd prefer us to use. Is there any way i can use the existing Wicket modal code on the server side with this other javascript modal? It's

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,

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: 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

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: Wicket.Event.subscribe - how to get a response header

2018-04-02 Thread Entropy
Actually, yes, on some of our pages. That might explain it. So then in that case, how would I add a request header or check a response header from the server? -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

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:

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

2018-03-29 Thread Entropy
For some reason, jqXHR is null when I run subscribe a failure listener. It's the third parameter, correct? function onFailure(jqEvent, attributes, jqXHR, errorThrown, textStatus) { var value = jqXHR.getResponseHeader('myHeader'); if('true' == value) //do

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

2018-03-26 Thread Entropy
I've defined a javascript event handler using Wicket.Event.subscribe. How would I get a response header in that callback? According to docs I saw, the parameters are: attrs, jqXHR, textStatus, jqEvent, errorThrown. I set a breakpoint and inspected each and didn't see a response header

Re: Wicket Session timeout & ajax

2018-03-23 Thread Entropy
I should have mentioned, we're in Wicket 6. -- 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:

Wicket Session timeout & ajax

2018-03-22 Thread Entropy
When wicket times out, and the user clicks something ajax oriented, they just get an error in the page in javascript. No message or redirect to the Home page or anything. We'd prefer to redirect them to a home page as if they first arrived in the app. Is there a way to accomplish that? I saw

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

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

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: 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:

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-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

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

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,

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:

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

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

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

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

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

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

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

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-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

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:

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
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

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

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: 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

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,

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",

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

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

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

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

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:

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.

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

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

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

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

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

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

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

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: 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
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: 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

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: 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

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: 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:

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: 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>>

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

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

  1   2   3   >