Hi,
I am still stack on this problem. It seems that page refresh does not help.
I try to add javascript command window.refresh and window.reload but this does
not wokr too.
Only thing that helps is new call of this page constructor. (I add some
refrsh link, that generates the new page)
Hi,
I've got a problem when deploying my wicket application. I deploy to
Tomcat 5.5 on Linux.
The problem is that I get an OutOfMemoryError when viewing one
particular page. I can go straight from starting Tomcat to accessing
that page and get the error - there is no history. That kind of
Hi,
please how can I pass the model to the modal window. I have my form in modal
window and I want to show there some default vaules that can be changed. But I
am not able to pass the model to the window. In constructor there is not any
parameter for model. I try to do this:
Problem seems to be fixed...
I was building/deploying my application using wicket 1.3.3. Tomcat on
the deployment server had wicket-examples-1.3.0 installed. When I
removed that the problem disappeared.
/Anders
Anders Peterson wrote:
Hi,
I've got a problem when deploying my wicket
In navigationBorder.add(new MyList(myList,
databaseManager.loadAndGetGroups()));
databaseManager.loadAndGetGroups() should return a reloading model
like LoadableDetachableModel which in the load method always goes to
the database
I assume that right now it simply returns a list or a non reloading
If you subclass ModalWindow you can add any constructor argument you like.
alternatively you can set the modal on the component/page you use as content.
That being said there is no reason why setModel followed by a getModel
should throw a nullpointer.
are you sure you are not accidentally invoking
I do it like this:
AjaxLink popupLink = new AjaxLink(manageWeightPop) {
@Override
public void onClick(AjaxRequestTarget target) {
modalWindow.setContent(new ManageWeightPanel(modalWindow
.getContentId(), modalWindow,
new BaseEntityDetachableModel(getPerson(;
modalWindow.show(target);
}
};
seems like a permgen space issue
On 4/14/08, Anders Peterson [EMAIL PROTECTED] wrote:
Problem seems to be fixed...
I was building/deploying my application using wicket 1.3.3. Tomcat on the
deployment server had wicket-examples-1.3.0 installed. When I removed that
the problem disappeared.
I have AjaxLink which works good in Wicket 1.3.2 but doens't work whe i
change version to 1.3.3.
package pl.mainseek.car.wicket.components;
import java.util.Arrays;
import java.util.List;
import org.apache.wicket.PageParameters;
import org.apache.wicket.ajax.AjaxRequestTarget;
import
Cristina wrote:
Hello,
I've defined a simple HTML image map from a business process diagram:
div class=image-place
!-- img and usemap definition here... --
map name=basic-process-500x375
area shape=rect coords=8,136,71,178
href=Module01.html title=Subprocess
Hi
Im dabling with making a Wicket user group meetup at Øredev, since
øredev attracts people from all over it means that the WUG would become
International, hence WUGI. And I do think we getting Martijn Dashorst
todo the keynote for opening the WUGI. It will be a conference within a
Hi,
I am using a CompoundPropertyModel.
CompoundPropertyModel personModel = new CompoundPropertyModel(
person );
Form_editForm= new EditPersonForm(
editForm,
personModel ) ;
Upon submitting the form, I thought that the setter methods would be called
on
Thanks a lot, the constructor way wokrs fine. And I you were right in the other
thing too. I set the model before I add the modal window, but after I create
the content :o) Sorry for this dummy mistake.
Milan
-
To
Hello everybody,
I just want to add my 2 cents to this discussion.
At IndyPhone we too wanted to get rid of jesessionid-URLs in google's index.
Yeah, it would be nice if the google bot would be as clever as the one from
yahoo, and just remove them himself. But he doesn't.
So I implemented a
Hi,
I have localized my Wicket site, but I have a problem with localization
+ (mounted) bookmarkable pages.
When mounting a bookmarkable page:
mount(new WhateverUrlCodingStrategy(/mypage, MyPage.class));
there is no locale parameter...
This means:
1) I cannot give my
Hi,
Any reason why the filename field in DynamicWebResource does not at
least have a protected getter so you can use it in subclasses without
having to add the field again?
Regards,
Sebastiaan
smime.p7s
Description: S/MIME Cryptographic Signature
Guys,
is there an API in wicket to know if a Validator instance has been added to
a form?
Something like Form#contains( IValidator ) or any workaround to know it?
Thanks,
// Paolo
Please create a jira issue and attach a page source code that doesn't work.
-Matej
2008/4/14 Tomasz Prus [EMAIL PROTECTED]:
I have AjaxLink which works good in Wicket 1.3.2 but doens't work whe i
change version to 1.3.3.
package pl.mainseek.car.wicket.components;
import
Thanks a lot,
with the LoadableDetachableModel I am now able to show the changes when I
edit the item. But some problems still remain.
To delete items I have just link, that on the onClick event removes the
selected item. So I need to reload the page after this remove too. I try to do
it
Hmm, it should try to use bean methods before trying the field directly.
you could try changing the wicket id of your formcomponent to the full
method name, e.g. setLastname() if your property is lastname.
If that does not work, it might indicate a problem with your getters
and setters.
An
Are you using an ajaxlink or a regular link?
if(ajax)
try wrapping your list in a WebMarkupContainer and add that to the ajaxtarget.
else
this should already work, the entire page is automatically refreshed
after the onclick exits.
Maurice
On Mon, Apr 14, 2008 at 12:38 PM, Milan Křápek [EMAIL
is there an API in wicket to know if a Validator instance has been
added to a form?
Two solutions:
1) Call iterator() and test with instanceof IValidator on each element
until you get true. This will only find validators on the form and not
on the subcomponents...
2) Make a Component.IVisitor
On Mon, Apr 14, 2008 at 1:05 PM, Maurice Marrink [EMAIL PROTECTED] wrote:
Hmm, it should try to use bean methods before trying the field directly.
you could try changing the wicket id of your formcomponent to the full
method name, e.g. setLastname() if your property is lastname.
If that does
On Mon, Apr 14, 2008 at 11:40 AM, Sebastiaan van Erk
[EMAIL PROTECTED] wrote:
However they're still workarounds for something that I think is
conceptually not quite right in Wicket currently: the fact that it should be
possible to mount different locales of a page on different urls, for
Hi Rüdiger,
AFAIK this could lead to some punishment by google, as he browses the
site multiple times using different agents and origin IPs and in case he
sees different behaviours he thinks about cloaking/ prepared content and
will act accordingly to it;
This is usually noticed after the
We have (wisely :) ) chosen Wicket as web framework, but also chosen Sun
Portal as the portal engine (not just Pluto but the commercial product).
This causes a problem since Sun apparently haven't implemented the two
interfaces required by Apache's bridge, so Wicket 1.3.x portlets do not
work
Liferay is not really supported, We have it running but have hacked
wicket to do so (in a combindation of a bridges implementation and a
custom wicket version). Especially to get the Ajax stuff working correctly.
We are hoping that with portlet 2.0 supported both by Liferay and wicket
that the
Hm, SEO is really a little bit like black science sometimes *g*
This (german) article states, that SID cloaking would be ok for google:
http://www.trafficmaxx.de/blog/google/gutes-cloaking-schlechtes-cloaking
Some more googling, and here someone seems to confirm this:
Gwyn Evans wrote:
On Mon, Apr 14, 2008 at 11:40 AM, Sebastiaan van Erk
[EMAIL PROTECTED] wrote:
However they're still workarounds for something that I think is
conceptually not quite right in Wicket currently: the fact that it should be
possible to mount different locales of a page on
Hi
This is a reminder, and callout as it would be really nice to be some
more people in order to get discussions going.
Heres the proposed content:
*Wicket-Spring-JPA-Hibernate (Could also be a discussion of the
upcomming archetype wicket Iolith)
*Wicket Testsing experiences
*Creating
We could also have an informal ask-a-question session for 30-45 min
in the beginning?
Which expectations does people have for this meeting?
Frank
On Mon, Apr 14, 2008 at 2:49 PM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
Hi
This is a reminder, and callout as it would be
Hi,
I have a form with a radio group. Everithing works (page renders without
errors) but I can't get selected radio in forms onSubmit method.
model.getSomeRadioGroup() returns null.
It probably some logical error using the models. Does radioGroup have to
have its own model or something like
Yeah, its quite a shame that google doesnt open source their logic ;)
would be nice if you could give us the code however, so we could have a
look at it :)
Rüdiger Schulz schrieb:
Hm, SEO is really a little bit like black science sometimes *g*
This (german) article states, that SID
Hey guys. I am not sure that this has anything to do with the feed back panel
or not but I wanted to mention it.
Here is what I have. I have a modal window with required textfields in it.
The textfields have another modal window that creates a 'popup' and the user
selects the value they want
Hi Rüdiger,
I would be very interested in the code.
If you can not find a suitable repository, could you just do something
simple like linking to a zip from a blog post?
Regards,
Erik.
Rüdiger Schulz wrote:
Hello everybody,
I just want to add my 2 cents to this discussion.
At
Hi~
In default, for example, your html and web page class must be together.
Can I move my html files to a single folder?
And how?
Thanks
--
View this message in context:
http://www.nabble.com/How-to-change-the-html-folder--tp16678545p16678545.html
Sent from the Wicket - User mailing list
Hi Goran,
I have a form with a radio group. Everithing works (page renders without
errors) but I can't get selected radio in forms onSubmit method.
model.getSomeRadioGroup() returns null.
It probably some logical error using the models. Does radioGroup have to
have its own model or something
Hi!
Thanks a lot - this works...
Ill have to put the validation on the BasePage class to authenticate every
page because in many cases (like in links that are used on facebook
notifications) the first accessed page is an internal one.
Another question, my application runs as an iframe inside
no, i dont think we do. what is your usecase?
-igor
On Mon, Apr 14, 2008 at 2:45 AM, Paolo Di Tommaso
[EMAIL PROTECTED] wrote:
Guys,
is there an API in wicket to know if a Validator instance has been added to
a form?
Something like Form#contains( IValidator ) or any workaround to know
So when you do this:
mount(new WhateverUrlCodingStrategy(/mypage, MyPage.class, Locale.NL));
then when i hit
/mypage
we have to set the sessions locale to NL then?
johan
On Mon, Apr 14, 2008 at 12:40 PM, Sebastiaan van Erk [EMAIL PROTECTED]
wrote:
Hi,
I have localized my Wicket site,
hi sebastiaan,
Any ideas on this? Anybody already implemented the coding strategy for
the locale in the root? Anybody got another easier workaround?
i don't use a coding strategy for this but an extension to wicket filter that
parses the 'relative path' of the url for locale definitions,
hi sebastiaan,
Would you be willing to share that code? Because in the short term I
think it's the best solution.
it's all Scala - if you want that... ;-)
best regards, --- jan.
-
To unsubscribe, e-mail: [EMAIL
Johan Compagner wrote:
So when you do this:
mount(new WhateverUrlCodingStrategy(/mypage, MyPage.class, Locale.NL));
then when i hit
/mypage
we have to set the sessions locale to NL then?
I don't think so. The *resource* has the specified locale, i.e., the
Page, but I think it's bad to
hi sebastiaan,
i just snip the things out and comment (as far as necessary):
use this filter instead of the default wicket filter:
---8---
object LocaleFilter
{
final val REQUEST_LOCALE_ATTRIBUTE = _request_locale_
}
class LocaleFilter extends WicketFilter
{
import
Hi Jan,
Would you be willing to share that code? Because in the short term I
think it's the best solution.
Regards,
Sebastiaan
Jan Kriesten wrote:
hi sebastiaan,
Any ideas on this? Anybody already implemented the coding strategy for
the locale in the root? Anybody got another easier
Hmm.. Scala :-)
I guess I'll opt for English then :-)
I don't quite understand what you do... taking it out of the filter is
easy enough I guess, but then? When you set a property on the
application how does this work with different threads? Do you use thread
local? Then you do you render
Frank Bille wrote:
We could also have an informal ask-a-question session for 30-45 min
in the beginning?
Sounds great.
Which expectations does people have for this meeting?
Exactly my words. It's up to the crow to decide on the content. This
should actually be very appreciated, it's
I'll wrap something up in the course of this week, and post it on my blog.
(so little time a.t.m.)
greetings,
Rüdiger
2008/4/14, Erik van Oosten [EMAIL PROTECTED]:
Hi Rüdiger,
I would be very interested in the code.
If you can not find a suitable repository, could you just do something
hi sebastiaan,
Btw: do you have a change locale link? How do you make sure it plays
nice with bookmarkable urls?
actually, since the locale is filtered out from the actual url - you don't have
to worry about this at all. just link the user to the /de/xy or /en/xy-pages and
you get called
http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
On Mon, Apr 14, 2008 at 10:09 AM, liny [EMAIL PROTECTED] wrote:
Hi~
In default, for example, your html and web page class must be together.
Can I move my html files to a single folder?
And how?
Thanks
--
View
I am pretty sure that a tabbed panel can't be part of one form. If it can, that
would be lovely. But I was under the impression that you can't add panels to a
form.
Could someone clarify this for me? BTW, one of the things I tried was to make
each panel into a FormComponentPanel and then add
A FormComponentPanel is used to combine several individual form components
into a single object, like if you had year/month/day DropDownChoices in a
single component.
AFAIK, forms can contain anything except pages.
On Mon, Apr 14, 2008 at 12:26 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
I am
I can't see any good reason. If you create an issue for it (preferable
with a patch), then I'll take a look at it.
Frank
On Mon, Apr 14, 2008 at 12:56 PM, Sebastiaan van Erk
[EMAIL PROTECTED] wrote:
Hi,
Any reason why the filename field in DynamicWebResource does not at least
have a
DateTimeField extends FormComponentPanel
On Fri, Apr 11, 2008 at 7:37 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
I need to build a TabbedPanel with three tabs which are part of one form
- the selected tab will contain form components which need to be
submitted by that one form. It seems
Here is the code for the recaptcha panel. I don't feel like creating a
project for this but others have expressed interest in it.
Panel: http://pastebin.org/29726
SRC: http://pastebin.org/29725
NOTE: this library has a dependency lib. You can download it here:
Perhaps this would do well as an addition to wicketstuff contribs?
Dan Kaplan-3 wrote:
Here is the code for the recaptcha panel. I don't feel like creating a
project for this but others have expressed interest in it.
Panel: http://pastebin.org/29726
SRC: http://pastebin.org/29725
just have a boolean that marks the fact that you have added the
validator to the form...
-igor
On Mon, Apr 14, 2008 at 12:05 PM, Paolo Di Tommaso
[EMAIL PROTECTED] wrote:
Take in consideration the following use case:
1) There is a panel instancing a IFormValidator
2) To make the panel
Probably, IMO it's way easier to use this than following the captcha
example. This example has a problem though: it displays a warning every
time you visit the page with the panel (can't remember what the warning
says, something about not being able to bind a text field). But it still
works
I've done so .. thanks.
// Paolo
On Mon, Apr 14, 2008 at 9:17 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:
just have a boolean that marks the fact that you have added the
validator to the form...
-igor
Not sure if anyone cares about this - but I hear that ALL captchas out
there have been broken. Not really much of a hurdle anymore.
-Original Message-
From: Dan Kaplan [mailto:[EMAIL PROTECTED]
Sent: Monday, April 14, 2008 11:08 AM
To: users@wicket.apache.org
Subject: ReCaptcha Panel
Hi,
I am trying to seamlessly integrate JForum into my Wicket application. Problem
is, JForum is an entirely separate web application (running under the same
domain however).
JForum has a JSR-168 portlet bridge available, to allow it to run as a portlet.
However, can a portlet be consumed by
The problem is that a component has not a locale by default
So then we should give a Page a locale field.
and then that will be set..
But the problem is
if you do setResponsePage(Page.class)
what should then be taken? The session locale mount?
johan
On Mon, Apr 14, 2008 at 6:14 PM,
Thanks.
My class variables for example are _name with the underscore.
and the getter and setter would be setName and getName.
In my form for this page I had included the underscore _name so I think wicket
was looking for set_Name. Once I changed the wicket:id to be just name the
setter
if you replace tabbedpanel links to submitlink it will
-igor
On Mon, Apr 14, 2008 at 12:51 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
So, a form CAN contain a panel? Meaning, I am able to add a tabbedpanel
to a form and it'll work?
Michael
-Original Message-
From: Nick
Johan Compagner wrote:
The problem is that a component has not a locale by default
So then we should give a Page a locale field.
and then that will be set..
But the problem is
if you do setResponsePage(Page.class)
what should then be taken? The session locale mount?
The most logical thing
I ended up using workaround 2, which was the easiest to implement, namely
preventing keystrokes in the text field and requiring the user to click the
Browse button:
FileUploadField fuf = new FileUploadField(FIELD_ID);
fuf.add(new SimpleAttributeModifier(onkeydown,
if(event.keyCode==8){return
Hi,
I have created first couple of pages of my wicket application but have some
performance concerns.
The pages (even the refresh alone takes 6-7 secs on Dual Core 2.2GHz Pentium
with 4GB of RAM). DB is located on the remote host, but has caching at the
application server - so thats not adding
profile it and see where the time goes, or paste some code from those pages
-igor
On Mon, Apr 14, 2008 at 2:57 PM, Ritz123 [EMAIL PROTECTED] wrote:
Hi,
I have created first couple of pages of my wicket application but have some
performance concerns.
The pages (even the refresh alone
You mean the links that select/toggle each panel? Not sure what you mean
though - can you please elaborate?
Michael
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Monday, April 14, 2008 1:37 PM
To: users@wicket.apache.org
Subject: Re: Good example for
yes, those links. by default they are regular a href links, so they
wont submit the values of components that are inside the tab. you can
override tabbedpanel.newlink and return a submitlink instead.
-igor
On Mon, Apr 14, 2008 at 3:28 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
You mean the
Havent used a profiler in a while - is there any opensource one which can
work with tomcat?
igor.vaynberg wrote:
profile it and see where the time goes, or paste some code from those
pages
-igor
On Mon, Apr 14, 2008 at 2:57 PM, Ritz123 [EMAIL PROTECTED] wrote:
Hi,
I have
Oh, I think you misunderstood - it's just a matter of having one of
three panels visible, and all of them are part of one form. The submit
button is outside the tabbed panel.
form wicket:id=form
div wicket:id=tabbedPanel /
input type=button wicket:id=submit /
/form
It's something
Hi,
I would like to do something after the user clicks a submit button but
before the fields are actually submitted.
Is there a way to do this in wicket?
Thanks
Karen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
add javascript to button markup's onclick event
-igor
On Mon, Apr 14, 2008 at 5:38 PM, Karen Schaper
[EMAIL PROTECTED] wrote:
Hi,
I would like to do something after the user clicks a submit button but
before the fields are actually submitted.
Is there a way to do this in wicket?
Hi,
Has anyone implemented DataTable with row indexes showing the corresponding
row number as the first column?
Thanks
--
View this message in context:
http://www.nabble.com/DataTable-with-row-indexes--tp16692909p16692909.html
Sent from the Wicket - User mailing list archive at Nabble.com.
On Mon, Apr 14, 2008 at 3:52 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
Oh, I think you misunderstood
no, i didnt. instead of all this theorizing why dont you try to
implement this and see what the problems with it are. you will find
that since tabbed panel uses are regular links any
Jeremy Thomerson-3 wrote:
http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
On Mon, Apr 14, 2008 at 10:09 AM, liny [EMAIL PROTECTED] wrote:
Hi~
In default, for example, your html and web page class must be together.
Can I move my html files to a single
Guys,
Please comment..
I have a non-wicket AuthenticationFilter which is intercepting all request
to my wicket-app and checking if the request is coming in from a valid user.
Basically in the url am passed over an authenticationToken (by another
application where the user has signed in
Yes, you can use mountBookmarkablePage method of WebApplication.
itai wrote:
Hi!
Thanks a lot - this works...
Ill have to put the validation on the BasePage class to authenticate every
page because in many cases (like in links that are used on facebook
notifications) the first
Alright, got it. Actually, for my purposes losing the tab info is
actually what I need, so this should work.
Michael
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Monday, April 14, 2008 5:48 PM
To: users@wicket.apache.org
Subject: Re: Good example for
Hello,
I have a question about modal window. When I click the [x] button in the
modal window, two methods were called namely CloseButtonCallback and
WindowClosedCallback and when I called window.close(target) only
WindowClosedCallback clled.I think this is default behavior. But I want to
call
hmm, kinda weird to use the tab metaphor for this then. maybe a
dropdown or radios that switch the panel would work better. but thats
just me.
-igor
On Mon, Apr 14, 2008 at 6:49 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
Alright, got it. Actually, for my purposes losing the tab info is
82 matches
Mail list logo