Re: Feedback panel not displaying

2018-10-29 Thread SeldonCrisis
Okay, I'm calling form.error() now instead. Unfortunately it didn't solve my issue :( On the first click this was printed: 00af SystemOut O ERROR LandingPage_Cp10 Does the form have error:true So it recognizes that there is indeed an error, but it's not bring the feedback panel along in

Re: Feedback panel not displaying

2018-10-29 Thread SeldonCrisis
Oh strange, probably because I put the code in < raw > tags. Thanks for the heads up. *OK, here's the button code:* radioWmc1Step2.add(new AjaxButton("btnNewBegin") { private static final long serialVersionUID = 1L; @Override public void onSubmit(AjaxRequestTarget

Feedback panel not displaying

2018-10-29 Thread SeldonCrisis
Hey guys, I have an AjaxButton() that is being added to a WebMarkupContainer. Within the onSubmit() of the button, I check to see whether there is already an active session ID or not. If there is, I want to discontinue processing, and display the feedback panel with an error message. This

Re: Setting focus on a ModalWindow title

2018-02-22 Thread SeldonCrisis
Hmm ok, how would I add to the Title in java? I know how to add that through the console, but that doesn't help :( I would have to create a label with setEscapeModelStrings(false) and add it to the markup, but the markup is being dynamically created so I can't actually place it in the correct

Set Focus to Modal Window Title

2018-02-21 Thread SeldonCrisis
Hey Everyone, I'm having some difficulties with *ModalWindow*. I need a way to set the *HTML Focus* to the *title* of the *ModalWindow* when it pops up, but so far nothing has worked for me. 1. I have tried adding an *AjaxEventBehavior ("onload")* to my modal window, but that did not work.

Setting focus on a ModalWindow title

2018-02-21 Thread SeldonCrisis
Hey Everyone, I'm having some difficulties with *ModalWindow*. I need a way to set the HTML Focus to the title of the *ModalWindow *when it pops up, but so far nothing has worked for me. 1. I have tried adding an *AjaxEventBehavior ("onload")* to my modal window, but that did not work. Neither

AjaxRequestTarget not updating after validation

2017-11-02 Thread SeldonCrisis
Hello everyone, I am experiencing some strange behavior in Wicket when attempting to submit a Form through ajax... I have a custom panel (*FileUploadPanel* which extends *Panel*) that I created. It is used to upload files, but it is more robust than a FileUploadField. I have also added a

Re: The day Wicket became Apache Wicket 10 years ago!

2017-07-26 Thread SeldonCrisis
I'm relatively new to Java web dev, so Wicket was pretty intimidating at first. Thanks to the community and all the posts in this forum, I've gone from total n00b to somewhat proficient with Wicket. You guys are seriously some of the most helpful people I've ever known, thanks for all your work!

FileUploadField with AJAX Behavior

2017-05-16 Thread SeldonCrisis
Hello everyone, I would like to perform some actions in an AJAX event after selecting a file from the file-browsing pop-up window in a FileUploadField component (populate a list based on name of file chosen). I've tried adding an OnChangeAjaxBehavior to my FileUploadField and implementing the

Jquery Plugins

2017-04-04 Thread SeldonCrisis
Hey everyone, is it possible to incorporate a Jquery plugin in my Wicket page? Specifically, I would like to use this: http://innostudio.de/fileuploader/ It is a file upload plugin, but I am adamant on using it because it allows users to upload multiple

Re: Display PDF in new tab

2017-03-07 Thread SeldonCrisis
Awesome! Thanks Martin! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Display-PDF-in-new-tab-tp4677202p4677266.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: Display PDF in new tab

2017-03-07 Thread SeldonCrisis
Sure, I can do that! *BUT* in exchange, I'll need /a little/ more help... I basically used the solution that Ernesto had provided for us, I just needed to spend some time understanding how it worked: AJAX update and file download in one blow

Re: Display PDF in new tab

2017-03-03 Thread SeldonCrisis
Got it figured out. Thank you everyone for your help -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Display-PDF-in-new-tab-tp4677202p4677240.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Display PDF in new tab

2017-03-02 Thread SeldonCrisis
OK, thanks Ernesto and everyone else. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Display-PDF-in-new-tab-tp4677202p4677230.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: Display PDF in new tab

2017-03-02 Thread SeldonCrisis
Yes, sorry for the spam. I kept forgetting to enclose the html in . My fault. OK, so ideally I want to create an AjaxButton that when pressed would serve my custom resource (extending ByteArrayResource) in a new tab and simultaneously setEnabled(true) and setVisible(true) on a Label in my page.

Re: Display PDF in new tab

2017-03-01 Thread SeldonCrisis
I've already seen this reference document, but I skipped over it thinking it did not apply to my problem (Probably as a result of my lack of Wicket experience). I will go ahead and carefully read through it again to see if I can figure this out. Thanks! -- View this message in context:

Re: Display PDF in new tab

2017-03-01 Thread SeldonCrisis
Actually, scratch that. My question is now: How do I add Ajax events to resourceLink so that I can enable/disable certain components after having served my resource? OR how do I use my resourceReference in an AjaxButton to actually serve the resource? ResourceLink practically takes care of that

Re: Display PDF in new tab

2017-03-01 Thread SeldonCrisis
Actually, scratch that. My question is now: How do I add Ajax events to resourceLink so that I can enable/disable certain components after having served my resource? OR how do I use my resourceReference in an AjaxButton to actually serve the resource? ResourceLink practically takes care of that

Re: Display PDF in new tab

2017-03-01 Thread SeldonCrisis
Actually, scratch that. My question is now: How do I add Ajax events to resourceLink so that I can enable/disable certain components after having served my resource? OR how do I use my resourceReference in an AjaxButton to actually serve the resource? ResourceLink practically takes care of that

Re: Display PDF in new tab

2017-03-01 Thread SeldonCrisis
Actually, scratch that. My question is now: How do I add Ajax events to resourceLink so that I can enable/disable certain components after having served my resource? I've tried this HTML trick: but I end up with this error: Unable to find component with id 'resourceButton' in [ResourceLink

Re: Display PDF in new tab

2017-03-01 Thread SeldonCrisis
Actually, scratch that. My question is now: How do I add Ajax events to resourceLink so that I can enable/disable certain components after having served my resource? I've tried this HTML trick: <> Im a button but I end up with this error: Unable to find component with id 'resourceButton' in

Re: Display PDF in new tab

2017-03-01 Thread SeldonCrisis
NEVERMIND, I figured it out. It's embarassing how easy that was... Click Me! Thanks again guys -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Display-PDF-in-new-tab-tp4677202p4677216.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Display PDF in new tab

2017-03-01 Thread SeldonCrisis
Thank you both very much, your answers were quite helpful. And thanks to you twice Martin, since you wrote the useful article that was linked here as well. Just out of curiousity, is there a button equivalent of resourceLink? I could just style a link to look like a button through CSS, but I'm

Re: Display PDF in new tab

2017-02-28 Thread SeldonCrisis
Thank you both, that was exactly what I was looking for. The wicket in action article in particular was very helpful as well, so thanks to you twice Martin! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Display-PDF-in-new-tab-tp4677202p4677205.html Sent from the

Display PDF in new tab

2017-02-27 Thread SeldonCrisis
Hey guys, I'm pretty new to Wicket and need some help. I've read through the forums and found this question answered twice, but I'm still confused. I want to display a PDF in a new tab after having clicked a button (in the onSubmit event). How do I go about doing this? So far I understand that I

Re: Ajax request stopped because of precondition check on CheckGroup

2017-01-26 Thread SeldonCrisis
I just wanted to update this in case anyone else references it in the future. While the *Check* fix was a solution to the *"precondition check"* error, I was still unable to execute the ajax instructions inside the overridden *"protected void onUpdate(AjaxRequestTarget target){}"* method. For

Re: Ajax request stopped because of precondition check on CheckGroup

2017-01-25 Thread SeldonCrisis
Ahhh that worked perfectly and was such a simple fix. So now I understand that Check is to be used in a CheckGroup and CheckBox is only useful if used alone. Thank you very much! -- View this message in context:

Re: Ajax request stopped because of precondition check on CheckGroup

2017-01-25 Thread SeldonCrisis
I suspect it has something to do with the Model object of the CheckGroup cg1? I know it is supposed to be of type Collection. Maybe that's what's causing the precondition check to fail? -- View this message in context:

Ajax request stopped because of precondition check on CheckGroup

2017-01-25 Thread SeldonCrisis
Hi, I'm trying to implement some *Ajax* on a *CheckGroup* containing two check boxes. The purpose of this Ajax Event is to enable/disable a form button depending on whether or not the checkboxes in the CheckGroup are true/false (their models). Unfortunately, I can't get anything in the