I’m new…but I voted. :D
On Wed, Feb 17, 2016 at 1:05 PM, ndongo yaya wrote:
> Done !
>
> --
> Yaya Ndongo
>
> 2016-02-17 7:47 GMT+02:00 Anup Gokhale :
>
> > + 1
> >
> > Anup Gokhale
> >
> > -Original Message-
> > From: Francois Meillet [mailto:francois.meil...@gmail.com]
> > Sent: 16 Feb
Hey guys,
I’m new here and I’m trying to get a URL for a resource (css) located in
/src/main/resources/. I can across CssResourceReference, but if I use
“resources/whatever.css” or “/resources/whatever.css” the file isn’t
found. If I use "../../../../whatever.css” it works. I’m assuming because
Hey all, I’m new to wicket and I got this horrendous error earlier today:
I had NO idea what it meant. :P I was able to debug it and see what was
left in queue, and that reminded me that I hadn’t finished the html for a
new component I had added in the constructor. My question is, isn’t there
a
Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Thu, Apr 21, 2016 at 3:22 AM, Lon Varscsak
> wrote:
>
> > Hey all, I’m new to wicket and I got this horrendous error earlier today:
> >
> >
> > I had NO idea what it meant. :P I
Is it bad to store pages in the session for re-use? The idea being that
for a given page, I only want one instance per session.
-Lon (Wicket Newb)
gybcjp5cvf75
> Might be useful for you!
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Apr 26, 2016 at 6:22 PM, Lon Varscsak
> wrote:
>
> > Is it bad to store pages in the session for re-use? The idea being that
&
into a corner. :P
On Tue, Apr 26, 2016 at 1:25 PM, Lon Varscsak
wrote:
> So by sending me there are you suggesting that storing an iVar to a page
> object is bad?
>
> On Tue, Apr 26, 2016 at 1:00 PM, Martin Grigorov
> wrote:
>
>> Hi,
>>
>> Take a look at htt
Shouldn’t DateLabel allow Joda dates to be used in addition to
java.util.Date?
Thanks,
Lon (Wicket Newb :D)
Ah, okay, thanks!
On Tue, May 3, 2016 at 2:38 PM, Martin Grigorov
wrote:
> There is a task for Wicket 8 for this.
> On May 4, 2016 12:32 AM, "Lon Varscsak" wrote:
>
> > Shouldn’t DateLabel allow Joda dates to be used in addition to
> > java.util.Date?
> >
Hey all,
Is there a way to have a DropDownChoice use a complex object (think ORM
class) as it’s list, but get/set the Model’s value as the ID instead of the
complex object?
So for:
new DropDownChoice<>(“shipMethod”, new PropertyModel<>(OrderPage.this
.getOrderController().order().shippingHeader(
push a ShipMethod object
into the Order object’s “shipMethod” attribute, but it’s not modeled that
way. In the Order object I just want to store the “id” from ShipMethod in
“shipMethod”.
On Wed, May 4, 2016 at 11:45 PM, Martin Grigorov
wrote:
> Hi,
>
>
> On Thu, May 5, 2016 at
Hey guys, I may be missing something here, but if I do:
TextField textField = new TextField("keyCode", new PropertyModel<>(
order, OrderHeader.SOURCE_KEY_KEY));
textField.add(new AjaxFormValidatingBehavior("blur"));
* add(textField);*
I get an error “*AjaxFormValidatingBehavior sh
t;> Hi,
>>
>> I cannot find that error message in Wicket's source.
>>
>> Are you using org.apache.wicket.ajax.form.AjaxFormValidatingBehavior or
>> some subclass or alternative?
>>
>> Have fun
>> Sven
>>
>>
>> On 18.05.2
Hey guys,
I have some business logic where when the set method is called, it first
validates the value. In finding a “bad” value, it then throws a custom
validation exception. We use this pattern all over the place.
Is there some way to handle this situation so that it’s a valid wicket
validati
hing your exceptions and
> reporting them as error messages.
>
> Have fun
> Sven
>
>
>
> On 19.05.2016 00:23, Lon Varscsak wrote:
>
>> Hey guys,
>>
>> I have some business logic where when the set method is called, it first
>> validates the value. In
setters are used at that time and the input is not valid then throw
> ConversionException.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Thu, May 19, 2016 at 12:23 AM, Lon Varscsak
> wrote:
>
> > Hey guys,
> >
Ah cool, I’ll give that a whirl.
-Lon
On Thu, May 19, 2016 at 9:55 AM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:
> IComponentAssignedModel?
>
> On Thu, May 19, 2016 at 6:52 PM, Lon Varscsak
> wrote:
>
> > Hey Sven, I considered this, but realized that mo
Hey guys, I have a large table and when the user clicks the “new” button, I
don’t want to refresh the entire table. I saw a post about using
javascript to create the empty TR element, with the ID that wicket would
use, and then have wicket just refresh that id. Sounds great, except I’m
struggling
Okay, so I have a need…I’m sure I’m going to get “why are you doing that?”,
but I have this need regardless and here’s what it is… :D
User inputs “VALUEA”, I want to look up something in the database for
“VALUEA”, and if conditions are met, replace that with “VALUEB” and
continue with validation f
that uses reflection to set rawinput, and
> have found this very useful.
>
> You set both rawInput and rawInputArray
>
> **
> Martin
>
> 2016-07-26 1:18 GMT+03:00 Lon Varscsak :
>
> > Okay, so I have a need…I’m sure I’m going to get “why are you doing
> that?”,
&
Maybe a better way is to use better error feedback messages than replacing
> the user input ?!
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Jul 26, 2016 at 5:00 PM, Lon Varscsak
> wrote:
>
> > Okay, that work
Hey guys,
I’ve got a component (ComponentB) that subclasses from another component
(ComponentA). In ComponentB I call a method on ComponentA that updates a
div (ajax) that wraps some content on ComponentA in addition to the
(which is ComponentB’s content). While this updates
correctly, if I hav
egards
> Sven
>
>
>
> On 04.08.2016 01:49, Lon Varscsak wrote:
>
>> Hey guys,
>>
>> I’ve got a component (ComponentB) that subclasses from another component
>> (ComponentA). In ComponentB I call a method on ComponentA that updates a
>> div (ajax
I have a situation where I have a Save/Cancel button up at the top of the
page and also one at the bottom. I’d love to reference the same wicket:id,
but I gather that’s not possible. I attempted to clone the object
(WicketObjects.cloneObject), but then I think I’d have duplicate ids (can’t
set id
Hey all,
How can I get a localized string (from a properties file) inside of a
library I have without the use of a Component. I have a controller class
(nothing to do with components), but I’d like to have this class (In a
non-application jar) return an error message to the application localized
, 2016 at 7:38 PM, Martin Grigorov
wrote:
> Hi,
>
> The component could be null. In this case it will fallback to
> YourApplication.properties.
> I guess this won't work for you too.
>
> Why don't you just use ResourceBundle?
>
> On Oct 6, 2016 5:29 AM,
Am I wrong to assume that DropDownChoice (and a few of it’s superclasses)
should be using the generic of that AbstractChoice defines where T
is the class of the model object and E is the class of choice object?
It seems that from AbstractSingleSelectChoice up, it assumes that the value
from the m
nd back
>
> - let your choices and renderer operate on strings, where the renderer
just retrieves your complex objects to do the rendering
>
> Have fun
> Sven
>
>
>
>
> Am 15.06.2017 um 01:22 schrieb Lon Varscsak:
>>
>> Am I wrong to assume that DropDo
I have a scenario where I have a form and the user puts in a bad value in
FieldA, and then also puts in proper values in FieldB and FieldC. FieldB
and FieldC never receive their values (in the model object), I’m assuming
because the form processing stops at the error for FieldA. The user
dismisse
orm#clearInput()'s source: your components have to be visible, otherwise
> this call does nothing.
>
> Have fun
> Sven
>
>
>
> Am 21.06.2017 um 19:29 schrieb Lon Varscsak:
>
>> I have a scenario where I have a form and the user puts in a bad value in
>&
as no impact (which also
>>> surprised me).
>>>
>>
>> That surprises me too, as this should work. Please check
>> Form#clearInput()'s source: your components have to be visible, otherwise
>> this call does nothing.
>>
>> Have fun
>> Sven
>
o see what that has to do with models. Yes, modelchanged clears
> the input too, but I wouldn't mix these two aspects.
>
> Have fun
> Sven
>
>
>
> Am 21. Juni 2017, 22:54, um 22:54, Lon Varscsak
> schrieb:
> >Digging in a little deeper, I learned that if my
Hey there, so I have a form with many textfields all of which have
validators on them. In a situation where I’m creating a “new” record, all
the fields are blank. I also have a DropDownChoice object with an
AjaxFormSubmitBehavior (“change”) attached.
If the user clicks “save” prematurely, obviou
So I was building a simple WebPage to return JSON data, but I’m surprised
that it’s creating a session. The code is pretty simple, I’m just using
scheduleRequestHandlerAfterCurrent to return JSON content. No real
components on the page and I set stateless hint to true in the constructor.
But whe
Sorry, missed the version: *8.0.0-M7*
On Sat, Aug 12, 2017 at 9:01 PM, Lon Varscsak
wrote:
> So I was building a simple WebPage to return JSON data, but I’m surprised
> that it’s creating a session. The code is pretty simple, I’m just using
> scheduleRequestHandlerAfterCurrent to re
Never mind…I didn’t realize that Session objects could be temporary
(generated for 1 request only). :D
On Sat, Aug 12, 2017 at 9:02 PM, Lon Varscsak
wrote:
> Sorry, missed the version: *8.0.0-M7*
>
> On Sat, Aug 12, 2017 at 9:01 PM, Lon Varscsak
> wrote:
>
>> So I
te such kind of resources and since you are using
> Wicket 8 you can also consider to choose Lambda Rest Module:
> https://dzone.com/articles/rest-with-lamdas-and-wicket-8
>
>
> On 13/08/2017 07:16, Lon Varscsak wrote:
>
>> Never mind…I didn’t realize that Session objects
Hey guys, I’m getting this error on an app (on my dev/Mac machine):
java.io.FileNotFoundException:
/var/folders/3g/vcn2yyls05q249yzkbp457qmgn/T/wicket-filestore/8289/6329/1rjb8e27m1orf1mnxttof0qy22/data
(No such file or directory)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.R
As always, I forgot to include the version. :)* 8.0.0-M6*
On Wed, Aug 23, 2017 at 2:58 PM, Lon Varscsak
wrote:
> Hey guys, I’m getting this error on an app (on my dev/Mac machine):
>
> java.io.FileNotFoundException: /var/folders/3g/
> vcn2yyls05q249yzkbp457qmgn/T/wicket-filesto
rmissions to read/write this file.
> Check that this file is owned by the Tomcat user and that it is a file, not
> a directory.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Thu, Aug 24, 2017 at 1:38 AM, Lon Varscsak
> wro
I agree with this wholeheartedly…I was just having this discussion with my
boss yesterday. I do not understand (mostly) this drive to push stateless
frameworks (client or server). Obviously your framework needs to support
stateless as to not waste resources, but almost every application I write
i
Okay, so here's the situation, I have a component where an Ajax request
displays a large table (1000ish rows). It display fast, no problem, not a
great use of resources (not paginating), but ignore that for now. I then
have another Ajax request where I tell the wicket component to not be
visible
Haha, sure…I was sure someone was going to argue with me. :P
-Lon
On Tue, Dec 12, 2017 at 6:23 PM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:
> Good find! Sounds like a bug, file to jira?
>
> 2017-12-12 23:38 GMT+02:00 Lon Varscsak :
>
> > Okay, so here
is case. Please create a JIRA issue and attach a
> quickstart
> that shows the problem. That should help us debug this regression.
>
> Best regards,
> Emond
>
> On woensdag 13 december 2017 05:39:15 CET Martin Makundi wrote:
> > Performance is no joking mantter =)
>
I have a need to build some apps (or mount points) to check if the source
is coming from an internal IP and if not, present the user with an
"unauthorized" request. I know how to check client IP and what not, but
I'm not sure how to generate programmatically a simple WebResponse that is
just some
Perfect, this is what I was looking for. So if I wanted to hijack the
whole response (for other purposes), I would do the same thing, but with a
custom request handler?
On Tue, Apr 10, 2018 at 11:24 PM, Martin Grigorov
wrote:
> Hi,
>
> On Tue, Apr 10, 2018 at 11:49 PM, Lon Varscsak
Hey all,
I've got a Link that I use to generate and download a report. I'm using a
ResourceStreamRequestHandler and
getRequestCycle().scheduleRequestHandlerAfterCurrent which works fine,
except that I was expecting my current request to finish as if it were a
regular link. In this case, I'd want
>
> For Wicket<8 you'll find its predecessor AjaxDownload on the web.
>
> Have fun
> Sven
>
> Am 19. April 2018 02:20:25 MESZ schrieb Lon Varscsak <
> lon.varsc...@gmail.com>:
> >Hey all,
> >
> >I've got a Link that I use to generate and
I have a situation where I fetched a large amount of objects (50k) and
prefetched a bunch of relationships…this all worked as expected (although I
didn’t realize that this set of data was that large at the time)…but what
caught my eye is that even though it pre-fetched the relationships it was
firi
've sent you message to the wrong users@ mailing list.
> > I've done this mistake several times ! :-)
> >
> > On Fri, May 11, 2018 at 5:48 AM, Lon Varscsak
> > wrote:
> >
> > > I have a situation where I fetched a large amount of objects (50k) and
>
If it's closing the connection on the PDF pre-maturely, are you getting the
FULL PDF downloaded?
-Lon
On Wed, Aug 28, 2019 at 10:14 AM Benjamin Chew
wrote:
> Hi Sven,
>
> Hmm... so this seems to be a problem only on specific browsers.
>
> I'm seeing this on:
> - Google Chrome Version 76.0.3809.
Hey there,
I'm in a bit of a situation and could use some guidance. I work with a
framework where I have problems with deserialization. So I'm trying to
basically just make my app store pages in a cache that doesn't rely on
Serializable. Is there some way to pull this off with stock Wicket? I'
e:
>
>
> https://stackoverflow.com/questions/14823293/how-can-i-disable-serialization-in-wicket-1-5
>
> In Wicket 9 this becomes a little easier.
>
> Have fun
> Sven
>
> Am 4. September 2019 22:04:07 MESZ schrieb Lon Varscsak <
> lon.varsc...@gmail.com>:
> >Hey t
Hey all,
We’re hiring a full-time Apache Wicket/Apache Cayenne developer. Check it
out here:
https://workforcenow.adp.com/mascsr/default/mdf/recruitment/recruitment.html?cid=894daef4-3a35-4b13-96b7-a3003f6a8cb3&ccId=19000101_01&type=MP&lang=en_US&jobId=431036
Ideally the candidate would be
54 matches
Mail list logo