Hello,
Wicket uses input validation on the presentation layer. This leads often to
code duplication and I'm looking for a way to avoid it.
Example: I have a registration form where you fill in your first and last name,
password and so on. Every field has its restrictions like max length or
re
Make those models private fields within your form. Make sure that you
are overriding onDetach in the form and detaching them (even though
the PropertyModel should chain the detach down to it's nested model -
this is a good habit to get into so that you don't forget somewhere
else).
--
Jeremy Thom
If you have someone's session ID (within the lifetime of the session)
you can break into any application - java, php, etc. That's just how
it is. But if you have that level of information on them while the
session is still live, then you are either already pulling off a man
in the middle attack,
I have a form that combines data from multiple pojo's. Currently I am
creating two seperate IModels inside my form, something like this.
IModel model1 = new LoadableDetachableModel() {
@Override
protected Object load() { ... }
};
IModel model2 = new LoadableDetachableModel() {
@Override
that would certainly work, but I'd lose the editor column I'm using ;)
All i really need is to be able to add a display formatter so i can
truncate the content with an ellipsis. Even a method i could override
when its outputting the label content would work. If there is such a
method, I'm un
How is this session relative security implemented?
Is this really just security through obfuscation?
I.E. If you know the session id could you make valid Ajax Requests?
Douglas
-Original Message-
From: Jeremy Thomerson [mailto:jer...@wickettraining.com]
Sent: Thursday, May 07, 2009 5:2
I couldnt make it work with Modal Window :(
On Tue, May 5, 2009 at 2:33 AM, Martin Grigorov wrote:
> check this
> http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html
>
> El lun, 04-05-2009 a las 22:54 -0700, Douglas Ferguson escribió:
> > I just figured out that the deal is that SWFO
done
On Thu, May 7, 2009 at 12:48 PM, Maarten Bosteels
wrote:
> It's a wiki page, you can fix it yourself.
> Yes you can !
>
> regards,
> Maarten
>
> On Thu, May 7, 2009 at 9:46 PM, Jeremy Thomerson
> wrote:
>
> > Please file a JIRA issue so that it doesn't get lost.
> >
> > --
> > Jeremy Thomer
Ajax requests, like non-bookmarkable links within Wicket, are
inherently secure through the fact that they are session-relative.
That is, unless you specifically try to make it less secure, it is
secure by default in that I can not just twiddle with an ID field in
the request URL to edit an entity
It just dawned on me that most users will protect their url parameters to make
sure that end users can't fiddle with parameters and see inappropriate data,
however, is it conceivable to issue ajax requests to get an app to do something
it shouldn't?
If so, any tips on how to build a request tha
What we actually want to do is, to use the regular converter for Date.class
with a small addition.
The converter uses a DateFormat. We want to set this DateFormat:
setLenient(true).
I thought to put it in the application scope as we want this everywhere in
the application.
Following this thread, I
what about just implementing AbstractLightWeightColumn#newCell?
this lets you write text directly to the output...
On May 7, 2009, at 4:15 PM, Brill Pappin wrote:
I'm spiking on the inmethod grid components from wicketstuff (1.4-
SNAPSHOT)
I need to be able to format the data in columns and
I'm spiking on the inmethod grid components from wicketstuff (1.4-
SNAPSHOT)
I need to be able to format the data in columns and or modify it for
view only columns.
the specific case is a description field that sometime needs and
ellipsis.
I can't see any way to add converters or formatt
I'm using the HybridUrlCodingStrategy and ran into a glitch when I
have parameter values that include the character "."
For example, if I make a link with:
params.add( "p", "Hello 2.01.00" )
This creates a link to:
http://host/context/path/p/Hello%202.01.00
and then that gets redirected to:
h
It's a wiki page, you can fix it yourself.
Yes you can !
regards,
Maarten
On Thu, May 7, 2009 at 9:46 PM, Jeremy Thomerson
wrote:
> Please file a JIRA issue so that it doesn't get lost.
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
>
>
>
> On Thu, May 7, 2009 at 12:46 PM, Fernando
Please file a JIRA issue so that it doesn't get lost.
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, May 7, 2009 at 12:46 PM, Fernando Wermus
wrote:
> Hi all,
> There is a small bug in swfObject in page:
> http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html.
>
> When
problem is datetextfield suppports different formats which require
different converters, so it is a bit of a special case with regard to
using a global date converter.
-igor
On Thu, May 7, 2009 at 11:16 AM, Eyal Golan wrote:
> "if you want to use your own converter then override getconverter() a
ah, that is different and that should be fixed in latest versions i believe.
-igor
On Thu, May 7, 2009 at 9:26 AM, Martin Makundi
wrote:
>> no it is not a bug. your hierarchy has to match the markup even if
>> things are not visible.
>
> That was pseudocode.. don't mind the hierarchy. It's all a
"if you want to use your own converter then override getconverter() and
return whatever you like."
True. This is what I suggested my mate when we discussed it. And I guess
this what we'll do.
But isn't using a converter for the whole application eliminates the need to
create a custom component?
T
Dear Ernesto,
thanks a lot - it works.
Christoph
-Ursprüngliche Nachricht-
Von: reiern70 [mailto:reier...@gmail.com]
Gesendet: Donnerstag, 07. Mai 2009 16:53
An: users@wicket.apache.org
Betreff: Re: calendar component with date & TIME field
Maybe
org.apache.wicket.extensions.yui.cal
I'm having a bit of trouble with this as well.
Are the properties document any place? I can't seem to find them
anywhere.
- brill
On 6-Apr-09, at 5:59 AM, Gianni Doe wrote:
ComponentStringResourceLoader's javadoc is very helpful here:
assume a component hierarchy like page1.form1.input1
Hi all,
There is a small bug in swfObject in page:
http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html.
When SwfObject receives more than one parameter, instead of adding a comma
between them, SwfObject omits it.
This mini bug could be fixed as follows:
private String buildDat
> no it is not a bug. your hierarchy has to match the markup even if
> things are not visible.
That was pseudocode.. don't mind the hierarchy. It's all about the
enclosure only. So I gather it is a bug. It does not throw exception,
the problem is just that an element hidden (only via enclosure) is
no it is not a bug. your hierarchy has to match the markup even if
things are not visible.
-igor
On Thu, May 7, 2009 at 4:19 AM, Martin Makundi
wrote:
> Hi!
>
> Is it a bug that wicket requires a field which is in an enclosure
> which is then not visible?
>
>
>
>
>
>
> On Java side:
> ad
open a jira issue and add a quickstart please.
-igor
On Thu, May 7, 2009 at 4:12 AM, Jens Alenius wrote:
> Hi.
> Found something that might be a wicket ajax bug.
> This code wont work in Firefox and we believe that its the Ajax xml response
> that is invalid.
> The control characters is not prop
if you want to use your own converter then override getconverter() and
return whatever you like.
-igor
On Thu, May 7, 2009 at 1:38 AM, Eyal Golan wrote:
> I'm going to review on Sunday the code my team mate has made .
> I'll be able to give you more information and see if maybe we misunderstood
Maybe
org.apache.wicket.extensions.yui.calendar.DateTimeField
Best,
Ernesto
Christoph Grün wrote:
>
> Hi!
>
>
>
> Is there a calendar component with date & TIME field?
>
> The calendar components, that I know so far (e.g., YUI DatePicker) just
> provide a date field. I also would need
The following works for me pretty well:
http://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html
http://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html
Matthias Keller wrote:
>
> Hi
>
> Thanks for the input. I now u
Hi
Thanks for the input. I now used wicketstuff-jquery and wrote a custom
behaviour which adds the code to my form.
For later reference:
public class UIBlockerBehaviour extends JQueryBehavior {
private static final ResourceReference BLOCKUI_JS =
new CompressedResourceReference(UIBlock
Hello, my Wicket app is still in alpha dev. Closer to reality I'm still trying
to migrate the backend from MSSQL 2005 to MySQL embeddable. The entire project
is just a pilot to see if I get the job. The current running enterprise web app
to be replaced is a concoction of hundreds of code-generat
On Thu, May 7, 2009 at 8:53 AM, Christian Helmbold
wrote:
>
> Thanks for your answer, James.
>
> I try to understand magic things. The missing peace in the puzzle was the
> difference between Hibernates openSession() and getCurrentSession(). More
> than one transaction within one session seems o
Thanks for your answer, James.
I try to understand magic things. The missing peace in the puzzle was the
difference between Hibernates openSession() and getCurrentSession(). More than
one transaction within one session seems only to be possible with openSession()
and manual flushing and closin
Thanks. I'll try AutoCompleteSettings.
James Carman-3 wrote:
>
> Perhaps autocomplete?
>
> On Thu, May 7, 2009 at 5:55 AM, Vladimir Kovalyuk
> wrote:
>> Does anybody know any editable select wicket-component that supports
>> attaching 'onchange' AjaxFormComponentUpdatingBehavior?
>>
>
>
Hi!
Is it a bug that wicket requires a field which is in an enclosure
which is then not visible?
On Java side:
add(new WebMarkupContainer("switch").setVisible(false));
wicketTester.newFormTester("form").submit();
tester.assertNoErrorMessages();
**
Martin
Hi.
Found something that might be a wicket ajax bug.
This code wont work in Firefox and we believe that its the Ajax xml
response that is invalid.
The control characters is not properly escaped. Ex: "\u0014" is written
as 0014 in the xml Ajax Response but should be .
See: http://www.w3.org/TR/R
Perhaps autocomplete?
On Thu, May 7, 2009 at 5:55 AM, Vladimir Kovalyuk wrote:
> Does anybody know any editable select wicket-component that supports
> attaching 'onchange' AjaxFormComponentUpdatingBehavior?
>
-
To unsubscribe,
Name of your application: http://jalbum.net
Intranet or internet: [ ] intranet [X ] internet
Public or private site: [ X] public [ ] private [ ] both
Average number of concurrent users: ~500
Max number of concurrent users you have encountered: Don't know
Average number of Wicket served requests p
Does anybody know any editable select wicket-component that supports
attaching 'onchange' AjaxFormComponentUpdatingBehavior?
Name of your application: Knowledge management research project for ESA -
Name not yet decided!
Intranet or internet: [X] intranet [ ] internet
Public or private site: [ ] public [X] private [ ] both
Average number of concurrent users: Not sure yet - We are deploying for the
Rosetta mission so
> Is there a way to use urlFor() or the like to create links
> that updates the breadcrumb model with our BreadCrumbPanel
> subclass for the linked id, i.e.
> IBreadCrumbModel.setActive(new ArticlePanel(...))?
*crickets*
Anyway, I finally found the likely answer in the form of an extended
Page
To start myself:
Name of your application: Vocus
Industry: education
Intranet or internet: [ ] intranet [X] internet
Public or private site: [ ] public [X] private [ ] both
Average number of concurrent users: 400
Max number of concurrent users you have encountered: 500
Average number of Wicket se
I (and possibly the rest of the Wicket community) would like to know
more about your deployed Wicket applications. Even though we have a
page that enables everyone to list their Wicket application, it lacks
the details we all crave for. So I'd like to invite everyone to share
their setup with us.
I'm going to review on Sunday the code my team mate has made .
I'll be able to give you more information and see if maybe we misunderstood
something.
Eyal Golan
egola...@gmail.com
Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74
P Save a tree. Please don't p
Sorry, not sure if I was clear enough? I know it's to wire by type, we
want that. But the SpringBeanInjector is requesting a name be
generated for our 'type' injected bean, which is causing a problem.
We are _not_ relying on succesful injection of beans of the wrong type
- unless you consider
Hello,
I tried out different slider components jquery slider
(jquery-examples-1.4-20090427.160726-150.war), yui slider
(yui-examples-1.4-20090427.160726-141.war).
Actually, none of them works out of the box with Wicket 1.4.
The class below is the JQuery slider. The onChange method is never
Hi!
Is there a calendar component with date & TIME field?
The calendar components, that I know so far (e.g., YUI DatePicker) just
provide a date field. I also would need a field for hours/minutes.
Instead of adding textfields for hours/minutes seperately, it would be nice
to have them include
Thanks Nino.
A little bit more input on the Mootip performance bit, if you're interested.
Basically, when we're using it it behaves quite differently from the mootip
examples you can see on their page.
here's what happens:
When a Mootip is added to, for example, a label, and you drag the mous
47 matches
Mail list logo