But why does it seem to work with FeedbackPanel? I want just that. A
fragment I understand just means providing optional markups. That is
not exactly what I want because every realization is different.
**
Martin
2008/5/12 Eelco Hillenius <[EMAIL PROTECTED]>:
> > Instead, I want the MyPage.html to
http://repo1.maven.org/maven2/org/apache/wicket/wicket-spring/1.4-m1/
On Mon, May 12, 2008 at 8:02 AM, Andre Prasetya
<[EMAIL PROTECTED]> wrote:
> usually there is a wicket-spring release for every wicket release, can
> I use wicket-spring 1.3.3 for 1.4-m1 or should i wait until there is a
> spe
Thanks iman.
I explore many CocurrentHashMap$Entry to check its key/value.
I truly found two things:
1. some key is large , its length would be more than 300 if the component
has deep hierachy.That must be one of the reasons why Localizer is so big.
2. the number of this object is large too. there
I get this too on IE6.0.2900.2180 on xp.
I don't get this problem with Firefix, unfortunately I'm developing an
intranet app and IE6 is the standard.
The js fix below fixed it for me too.
PITI wrote:
>
> I had a similar problem. In wicket-ajax.js, I made the following changes,
> and now it work
Hi,
I'm just started experiments with Wicket so I suppose my question is stupid
however I haven't found the answer on the forum.
The point was to understand how to organize persistent sessions for the
wicket application. It seemed to me that such application should work with
the standard Tomcat
sure will check it out..
Jonathan Locke wrote:
>
>
> try setting a breakpoint on this line:
>
> List certificateList =
>
> DAOManager.getExemptionCertificateDAO().getExemptionCertificates(
>
> m_certificateSearchCriteriaName,m_certificateSearchCriteriaV
is there a jira issue for this patch?
On Sat, May 10, 2008 at 12:34 AM, PITI <[EMAIL PROTECTED]> wrote:
>
> I had a similar problem. In wicket-ajax.js, I made the following changes,
> and
> now it works fine :
>
> if (Wicket.Focus && Wicket.Focus.lastFocusId) {
> t.setRequestHeader("Wicket-Fo
hi johan,
I will also open up Localizer api a bit more so that you can override the
cache that is used:
please make sure, that you also remove the direct access on the cache to check
if it contains a certain key:
// Value not found are cached as well (value = null)
if ((cacheKey != null) &
i guess you have a loads of null values somehow
Dont know why in your situation you have soo many of those.
What you could do is this in the init of your application:
Localizer localizer = new Localizer()
{
protected void putIntoCache(final String cacheKey, final String string)
{
if (string != n
Hi,
I'm getting a bit frustrated concerning wicket's encapsulation + extensibility,
especially when it comes to transparent resolvers.
There are a couple of nice features which are dependend on other Components.
Just extending/customizing them is nearly impossible when it comes to unthought
why?
that cache will be used now and there in the localizer.
Because we also have support for not caching at all and then we have to test
the cache if it is null
we just have a protected factory method now for a cache implementation that
must be a map.
johan
On Mon, May 12, 2008 at 11:15 AM, J
merged
On Mon, May 12, 2008 at 11:30 AM, Andre Prasetya <[EMAIL PROTECTED]>
wrote:
> thanks, how about the wicket-spring-annot ?
>
> http://repo1.maven.org/maven2/org/apache/wicket/wicket-spring-annot/
>
> is the 1.3.3 version compatible with the 1.4-m1 ?
>
> Frank Bille wrote:
>
> > http://repo1
Is there any way to make getCacheKey() return smaller keys ? Those huge keys
are consuming a lot of memory and also the equals/hashcode check on the key
will take resources.
On Mon, May 12, 2008 at 12:33 PM, Johan Compagner <[EMAIL PROTECTED]>
wrote:
> i guess you have a loads of null values some
I have a page with dynamic links which is reused both in terms of the number
of links and the model data behind them. The problem is that the browser
'link visited' concept is driven off the url and the wicket url contains
indices. ie on subsequent same page requests the model data may change but
hi johan,
why?
we just have a protected factory method now for a cache implementation that
must be a map.
if you open up the api to change the implementation of the cache - there are
other implementations than map... why limit it to map? (actually, I don't really
understand the cache.contai
thanks, how about the wicket-spring-annot ?
http://repo1.maven.org/maven2/org/apache/wicket/wicket-spring-annot/
is the 1.3.3 version compatible with the 1.4-m1 ?
Frank Bille wrote:
http://repo1.maven.org/maven2/org/apache/wicket/wicket-spring/1.4-m1/
---
Hi all,
I have a question regarding Wicket Web Beans (WWB). I know this may be
slightly OT, but since the wwb mailing list does not see a lot of
traffic these days, I figured I might as well post this here...
I introduced a new WWB field, basically an InputField with an added
AjaxAutocompleteBeh
Hello,
I having problem integrating AjaxFormChoiceComponentUpdatingBehavior. my
code snippet:
final WebMarkupContainer container = new WebMarkupContainer("wmc");
final CheckGroup chkGrp = new CheckGroup("chkGrp",new ArrayList());
final ListView list = new ListView("listBcs",listChk){
So in your page you are doing exactly the same as Palette, i.e. you
are adding all the components, headers, etc ?
Just because you want to have different markup. Then why don't you
create your own Palette and use fragments to change the markup, that
certainly is a lot code friendlier then repeating
hi johan,
we just have a protected factory method now for a cache implementation that
must be a map.
another point to that: why not expecting a general cache implementation as you
do with MarkupCache.ICache ?
best regards, --- jan.
no the api is just opened up to be able to create your own map impl
I can change it to be ICache. But the localizer currently just needs a
Map thats a pretty common thing to have.
But i agree wit that contains call. thats just double up because if it is we
have too look it up again. I will remov
yeah the current impl just generates the full path
This could be a problem if you have a lot of components in a repeater that
also hit the localizer..
the problem is that a key for a component X can return a different thing
then that same key for component Y..
So how to make those keys unique eno
hi johan,
So how to make those keys unique enough?
getParent().getClass().getName() + getParent().getId() +
getClass().getName() + getId() + getLocale() + getStyle() ??
i'd suggest component implementing a lazy componentUID - that could then also be
used by getInputName for identification p
On Mon, May 12, 2008 at 12:40 AM, mfs <[EMAIL PROTECTED]> wrote:
>
>
> Mr Mean wrote:
> >
> > On Sun, May 11, 2008 at 9:04 AM, mfs <[EMAIL PROTECTED]> wrote:
> >>
> >> Guys,
> >>
> >> Firstly, Is that a right understanding that doing a browser-refresh of
> >> the
> >> page would result
and that would walk over the hierarchy.. how would that help?
also getInputName is a bit smarter. That can stop with the first form it
finds. Because an input name only have to be unique for the form.
johan
On Mon, May 12, 2008 at 1:02 PM, Jan Kriesten <[EMAIL PROTECTED]>
wrote:
>
> hi johan,
On 5/12/08, Jan Kriesten <[EMAIL PROTECTED]> wrote:
> The 'We wont support this' dogma isn't really proper argumentation.
Are you providing the 24x7 free support then?
Martijn
--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.3 is released
Get it now: http://www.apache.org/d
hi johan,
and that would walk over the hierarchy.. how would that help?
no, not walk the hierarchy, that wouldn't be that better (but at least it
wouldn't be recompiled every access).
but you could just use a static getNextUid like you do at other places as well
(and that could be used as
hi martijn,
The 'We wont support this' dogma isn't really proper argumentation.
Are you providing the 24x7 free support then?
that's actually not the point, is it? i'm trying to help out on the irc channel
as well as good as i can. so you can't claim that all yourself.
just get back to se
a reall UUID?
that cant be
then all the keys would change constantly...
The point is that the paths of components on a page class are quite stable
and for those the keys are stored
If we use UUID for those then every key would be different for the "same"
component on a page class
The thing is tha
On 5/12/08, Jan Kriesten <[EMAIL PROTECTED]> wrote:
> > > The 'We wont support this' dogma isn't really proper argumentation.
> > Are you providing the 24x7 free support then?
> >
>
> that's actually not the point, is it? i'm trying to help out on the irc
> channel as well as good as i can. so you
md5sum for the concatenated string? Though the calculation may be
costly and there could be false cache hits.
Martijn
On 5/12/08, Johan Compagner <[EMAIL PROTECTED]> wrote:
> a reall UUID?
>
> that cant be
> then all the keys would change constantly...
> The point is that the paths of componen
hi johan,
a reall UUID?
that cant be
then all the keys would change constantly...
right, didn't took that into account.
still, having a a component-id calculated on the path information and e.g. using
a md5 only once for that would shorten things (with the benefit of "don't repeat
yourself
hi martijn,
I don't do that. I pose that it is very easy to say that feature X
must be implemented when you don't have to do anything yourself in
supporting feature X.
i don't want a new feature. the point is wicket's implementation of transparent
resolvers has it's troubles making it hard t
no one has a idea?
--
View this message in context:
http://www.nabble.com/After-Upload-File-via-ModalWindow-and-IFrame%2C-the-TreeModels-UserOject-Attributes-are-null-tp16936673p17186772.html
Sent from the Wicket - User mailing list archive at Nabble.com.
--
hi martijn,
md5sum for the concatenated string? Though the calculation may be
costly and there could be false cache hits.
looking at the length of the strings and their composition... i doubt that md5
would lead to false cache hits...
regards, --- jan.
--
got ya. yeah I eventually figure that is what had to happen to make it work
correctly. I was trying to make it do something that it was not meant to do.
When I put everything in a panel it all worked prefectly.
Thanks
T
Johan Compagner wrote:
>
> just to make it more clear to you
>
> AjaxLaz
On Mon, May 12, 2008 at 8:42 AM, Jan Kriesten <[EMAIL PROTECTED]> wrote:
>
> hi martijn,
>
>
>
> > md5sum for the concatenated string? Though the calculation may be
> > costly and there could be false cache hits.
> >
>
> looking at the length of the strings and their composition... i doubt that
>
I added https://issues.apache.org/jira/browse/WICKET-1621 to say that
the Component Example for RadioGroup, which contains a ListView of Form
components, ought to call #setReuseItems(true).
The example as written works, of course, but not when I put two such
RadioGroups on the page. A person who
do you get any serialization errors in your logs, you might be trying
to store something non serializable in the wicket component.
-igor
On Mon, May 12, 2008 at 1:09 AM, ElSe <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm just started experiments with Wicket so I suppose my question is stupid
> h
there is no need for a separate annots project since the entire
codebase is now on java5, so annots was merged into wicket-spring
-igor
On Mon, May 12, 2008 at 2:30 AM, Andre Prasetya
<[EMAIL PROTECTED]> wrote:
> thanks, how about the wicket-spring-annot ?
>
> http://repo1.maven.org/maven2/org/
a simple fact of the matter here is that datatable was not designed to
show two rows per item, it is designed to show tabular data where each
item is represented by a single row and a set of columns. you are
trying to hack it to show two rows per item by using transparent
resolvers - which were not
Here's an update on our June 4th, London Wicket Event at Google (more details
on our "Wicket In Action" draw etc ... in my original post, pasted below):
http://faler.wordpress.com/ Wille Faler is going to talk about using the
"Open Session In View" pattern with Wicket (I've just been over his
hi
class randomlink extends link {
oncomponentntag(tag) {
super.oncomponenttag(tag);
string href=tag.getattrbutes().get("href");
href+="&uuid="+UUID.random();
tag.put("href", href);
}
}
-igor
On Mon, May 12, 2008 at 2:46 AM, JulesT <[EMAIL PROTECTED]> wrote:
>
> I have a page w
A whole story about bladiabla, but what is now the actual problem??
Why do you need transparant resolvers and why dont they work for you ?
On 5/12/08, Jan Kriesten <[EMAIL PROTECTED]> wrote:
>
> hi martijn,
>
> > I don't do that. I pose that it is very easy to say that feature X
> > must be impl
Code seems fine. What is the hrml output?
On 5/12/08, freak182 <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I having problem integrating AjaxFormChoiceComponentUpdatingBehavior. my
> code snippet:
>
> final WebMarkupContainer container = new WebMarkupContainer("wmc");
> final CheckGroup chkGrp = new Ch
hi igor,
you want something done that we dont consider a priority and is not a
quickie for us to fix, provide a patch.
hello? if you'd taken a look at the jira, you'd seen that there _is_ a patch.
[1]
my issues are surely not high priority for you - you're not affected by them, so
i can und
hi johan,
A whole story about bladiabla, but what is now the actual problem??
Why do you need transparant resolvers and why dont they work for you ?
https://issues.apache.org/jira/browse/WICKET-1560
best regards, --- jan.
---
I'm using a customized LinkTree in one of my pages. The customisation to
LinkTree was made to use an IndicatingAjaxLink instead of an AjaxLink:
final LinkTree tree = new LinkTree("tree", createTreeModel()) {
public MarkupContainer newLink(String id, final ILinkCallback
callback) {
r
Is void onError(AjaxRequestTarget target, RuntimeException e) being called?
On Mon, May 12, 2008 at 11:42 AM, Johan Compagner <[EMAIL PROTECTED]>
wrote:
> Code seems fine. What is the hrml output?
>
> On 5/12/08, freak182 <[EMAIL PROTECTED]> wrote:
> >
> > Hello,
> > I having problem integrating
Hi,
I've come across a problem with the wicket-terracotta intergration.
If you have a PatternValidator (like EmailAddressValidator) attached to an
input then terracotta throws a non portable exception because
java.util.regex.Pattern isnt in the additional-boot-jar-classes bit of the
config xml.
Thanks Igor that works fine! - excellent support, more points for Wicket
Igor Vaynberg wrote:
class randomlink extends link {
oncomponentntag(tag) {
super.oncomponenttag(tag);
string href=tag.getattrbutes().get("href");
href+="&uuid="+UUID.random();
tag.put("href", href);
}
}
ive seen the issue, and your comment on it:
"Jan Kriesten - 23/Apr/08 01:21 AM Just realized: Maybe it doesn't has
to do anything with transparent resolvers at all but only with nested
repeaters and adding cells from the innermost."
so i am a little confused as to why we are talking about transpa
please create a jira issue with a quickstart
-igor
On Mon, May 12, 2008 at 9:24 AM, Philippe Laflamme <[EMAIL PROTECTED]> wrote:
>
> I'm using a customized LinkTree in one of my pages. The customisation to
> LinkTree was made to use an IndicatingAjaxLink instead of an AjaxLink:
>
> final Link
hi igor,
so i am a little confused as to why we are talking about transparent
resolvers, and why gerolf did not apply that code himself...
i tried to verify whether or not is related to the transparent resolver - it
seems at last it's connected to them cause i couldn't produce a case where i
too bad you did not maintain the jira issue properly. maybe now you
have a taste of what its like, but try it for hundreds of issues.
-igor
On Mon, May 12, 2008 at 10:26 AM, Jan Kriesten
<[EMAIL PROTECTED]> wrote:
>
> hi igor,
>
>
>
> > so i am a little confused as to why we are talking about t
So yeah the dataview the dataview does get the iterator on refresh every
time
Also as maurice mentioned in his latest reply, the dataview components does
re-create and gets the model for its child component every time..
And thats why i am seeing this behavior..
mfs wrote:
>
> sure will c
Ok, that's the only way I know how too. I was hoping there is another
way
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan
> Gravener
> Sent: Friday, May 09, 2008 12:52 PM
> To: users@wicket.apache.org
> Subject: Re: Javascript adding input
>
> G
Yeah, I can be thick headed at times ;-)
Actually the solution is to add some custom code to getIdValue(), not
getDisplayValue(). It's a bit of a hack, but seems to work fine now.
Next time I'll build this differently though, that's for sure.
Thank you for walking me through this. This whole thin
I completely agree, Johan. Bad example - I really like John Krasney's
example - a lot more elegant:
public MyBusinessClass {
private int period; // getter/setter omitted for clarity }
MyBusinessClass myObject = // blah
List periods = Arrays.asList(new Integer[] { 1, 7, 14, 30, 365 });
new Dro
Does anyone know if it is possible to disable just the date part in the
DateTimeField component. I have a requirement to allow to user to only edit
the hours and minutes.
Is there another component/way to achieve this??
--
View this message in context:
http://www.nabble.com/Disabling-the-date-p
Johan Compagner wrote:
What you can use is try to add it as auto add..
So create an auto add component, we will remove those for you
I tried to find some more on this topic, but both google as the Wicket
wiki are not very informative. In the javadocs I could only find
MarkupContainer.html#au
> You need
> these hidden fields to tell the recaptcha server what it gave you so it
> can compare it to what the user typed in. Without them, it can't tell
> you if the user entered things in correctly or not.
I guess storing that information in the user session is out of the question?
Maur
Hi Guys,
Since getBodyContainer is no longer available as of wicket 1.3.x, how can
you allow inherited page markup to update or contribute to the body tag's
attributes (other than onLoad and onUnload). We used to rely on
getBodyContainer().getBodyContainer().
Thanks for the help
-hc
--
View t
does anyone out there have any wicket portlet examples i can look at?
thanks,
jon
--
View this message in context:
http://www.nabble.com/portlet-examples--tp17190002p17190002.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
On Mon, May 12, 2008 at 7:26 PM, Jan Kriesten <[EMAIL PROTECTED]>
wrote:
> maybe gerolf didn't want to step into ground where others may have more
> insight - that's the reason i filed this to jira.
>
correct.
also, because of what igor said:
> especially if it is markup parsing code which is a
Hmm i am affraid the source for more info is the source..
AutoAdd can be done in the rendering. They are only there just then.
And they will be removed by wicket after rendering. (at least they
should)
They are or can be normal components
On 5/12/08, Erik van Oosten <[EMAIL PROTECTED]> wrote:
>
Except events back to them dont work.. (because they only lived in the
response phase of the page)
On 5/13/08, Johan Compagner <[EMAIL PROTECTED]> wrote:
> Hmm i am affraid the source for more info is the source..
>
> AutoAdd can be done in the rendering. They are only there just then.
> And they
Does it break api?
Or is it dangerous on some level? Can it break running code?
On 5/13/08, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
> On Mon, May 12, 2008 at 7:26 PM, Jan Kriesten <[EMAIL PROTECTED]>
> wrote:
>
> > maybe gerolf didn't want to step into ground where others may have more
> > insight
this is not possible, but based on DateTimeField,
it should be fairly straight forward to run your own TimeField.
Gerolf
On Mon, May 12, 2008 at 8:28 PM, nitinkc <[EMAIL PROTECTED]> wrote:
>
> Does anyone know if it is possible to disable just the date part in the
> DateTimeField component. I
Have you looked at the Recaptcha Java plugin? It might give you an
example of how to create a Recaptcha component. I'm actually thinking
about playing around with this myself. Recaptcha seems pretty cool.
I'll let you know if I come up with anything.
On Mon, May 12, 2008 at 1:57 PM, Dan Kaplan
Making such general and potentially misleading comments on a public forum is
not always the easiest way to get a *specific* problem you are faced with
get addressed.
If you are lucky enough to spend time on the Wicket IRC, based on my
experience to date, the good people there would address such
This should be simple. I have a radio group ("group"), which is
required:
monthlyRadioGroup.setRequired(true);
that group is inside a WebMarkupContainer ("monthlyLayer"), which is
inside my form ("submitForm").
My panel's property file has this:
submitForm.monthlyLayer.group.Required =
I do use that. This has nothing to do with ReCaptcha, this is a "How do
I do x in Wicket" question that someone asked, "Why would you want to do
that?" so I used ReCaptcha as an answer.
> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
> On Behalf Of James Carman
Never mind - I figured it out. I had changed the component ID and didn't
update the properties mapping for Required (very embarrassing but this
happens in the best families).
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Monday, May 12, 2008 5:08 PM
To: users@w
Hello Johan,
Sorry, i forgot to add something in the code snippet, anyway, i finally got
it working...here is the scenario: the Listview is being targeted from a
dropdownchoice when "onchange" since the listview is generated only on
runtime due to the dropdownchoice.When new values get it, does no
yeah, i feel that the original statement is most readily interpreted as some
form of bullying being levied against a team of volunteers. i don't think
that's too cool and the core team has every right to resist that sort of
pressure, particularly since their mission is to ensure minimal, clean
s
i do also think there were also some over-sensitive reactions to the
unfortunately worded start of this thread. mutual apologies would be even
better.
Jonathan Locke wrote:
>
>
> yeah, i feel that the original statement is most readily interpreted as
> some form of bullying being levied agai
> I know transparent resolvers are currently a major issue and can't be
> really handled in a proper way due to the hierarchy concept. But if things
> can be fixed with a workaround (until a new transparent resolver model is
> established) and which has no impact on the overall functionality - why
A soft reference is very common for this type of thing. I know some of ICU's
resources are stored this way.
Jonathan Locke wrote:
>
>
> maybe localizer should limit its size or use a soft reference cache?
>
>
> Johan Compagner wrote:
>>
>> Can you really see what it holds?
>> Almost 2G in
On Mon, May 12, 2008 at 8:39 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote:
> I do use that. This has nothing to do with ReCaptcha, this is a "How do
> I do x in Wicket" question that someone asked, "Why would you want to do
> that?" so I used ReCaptcha as an answer.
Ok, gotcha. So, we're not talking
Thanks, I'm still new to Wicket, is there any examples in using 1.4 ? a
best practices maybe ?
-andre-
Igor Vaynberg wrote:
there is no need for a separate annots project since the entire
codebase is now on java5, so annots was merged into wicket-spring
-igor
--
we have the wicket-examples project that demonstrates various
components. you can browse live here http://wicketstuff.org/wicket13
wicket 1.4 is basically the same as wicket 1.3 but with generics support.
-igor
On Mon, May 12, 2008 at 9:53 PM, Andre Prasetya
<[EMAIL PROTECTED]> wrote:
> Thanks,
hi jonathan,
i do also think there were also some over-sensitive reactions to the
unfortunately worded start of this thread. mutual apologies would be even
better.
it definitly wasn't intended as a personal offence to any of the wicket team.
please take my apologies if you should have been
i was not deeply offended. just a bit annoyed, but i thought i'd jump in
and explain that i understood why this thread went a bit awry. i also
didn't expect any of this was intentional (on either side). in any case i
appreciate your apology and expect whichever of us may have snapped
at you
What specifically are you looking for?
I could send you a small portlet, that I use for testing if features
like ajax/dynamic images/etc work on the portal we are using.
What portal are you using? Because the portlet itself (aside from the
web.xml/portlet.xml) is no different then any other wi
that would be great. i ran jetspeed once ;-)
but i'm more interested in looking at the code
(especially any portlet-specific stuff even if
it's just configuration). i'll take your word for
it that it works.
Thijs wrote:
>
> What specifically are you looking for?
> I could send you a small p
You can in that case also look in the wicket-examples (as there is a
portlet-configuration in there).
And then from the jetspeed svn check out
/trunk/jetspeed-commons/src/main/java/org/apache/wicket/*
/trunk/jetspeed-commons/src/main/java/org/apache/jetspeed/portlet/*
Those should contain the rel
cool. thanks!
Thijs wrote:
>
> You can in that case also look in the wicket-examples (as there is a
> portlet-configuration in there).
> And then from the jetspeed svn check out
> /trunk/jetspeed-commons/src/main/java/org/apache/wicket/*
> /trunk/jetspeed-commons/src/main/java/org/apache/jet
88 matches
Mail list logo