Thanks igor for your Contribution.
I did it now with my own "TreeNode"-Type and my own
"AbstractTree"-Implementation:
@Override
protected void populateTreeItem(WebMarkupContainer item, int level) {
super.populateTreeItem(item, level);
Hello,
which is the easiest way to set custom HTML page for a Page or Panel?
For example I have panel called "HelloPanel", conventinally Wicket wants to
pair it with "HelloPanel.html" in the same package, but I want to
use "HelloMyDearFriends.html" with that panel...
Sigmar
I have a search box that is submitted via a behavior listening for "onkeyup".
I set the throttle for the behavior and I'm seeing strange behavior.
If I type quickly a bunch of characters, it seems to queue up the requests.
I would expect it to wait for me to stop typing and then only issue the re
> all servlet containers do that on first request. if you dont care
> about browsers with cookies disabled you can tweak tomcat to never
> append jsessionid to the url, afair there is a setting for that.
>
> -igor
I wish I didn't have to care for browsers with cookies disabled but
there's always
Based on the WIA book, I am able to have a working example of JCaptcha image.
I am hoping to get JCaptcha sound working too. I tried different ways, but
unable to get it working.
Did anyone get JCaptcha sound working with Wicket? Could you please share your
config and code?
Thanks for any inpu
On Thu, Mar 18, 2010 at 6:32 PM, Chris Colman
wrote:
>> that is mostly old seo thinking. some people still prerfer urls like
>>
>> /blog/entry/2007/my_awesome_blog because it is more readable to the
>> client, if they read urls...
>
> Yes, they probably don't read URLs anyway.
>
>> as far as the u
> that is mostly old seo thinking. some people still prerfer urls like
>
> /blog/entry/2007/my_awesome_blog because it is more readable to the
> client, if they read urls...
Yes, they probably don't read URLs anyway.
> as far as the urls indexed you are right, the links wont be broken.
> you can
that is mostly old seo thinking. some people still prerfer urls like
/blog/entry/2007/my_awesome_blog because it is more readable to the
client, if they read urls...
my point was more that it was a bad default for us to choose, we
shouldve stuck with the query string. the current strategy still h
Ouch! All the pages are indexed under google with the /name1/value1 strategy
will this mean the google page links will break if we switch to
querystringurlcodingstrategy or can wicket handle resolution of both types of
strategies when it comes to responding to requests?
I thought the thinking w
i suggest always mounting with querystringurlcodingstrategy unless you
specifically want the folder structure of /name1/value1/name2/value2
which most of the time you dont. too bad this was made the default, we
cant change it in 1.4 but are fixing it in 1.5 as it causes all kinds
of problems.
-igo
Perhaps put logic in onsubmit to check for required country?
On Mar 18, 2010 6:45 PM, "David Chang" wrote:
Martin, the following is the code for the country dropdown list, which can
control the state dropdown list. The problem is that when the country list's
value is switched to "null" from a se
I'm using BookmarkablePageLink extensively as it makes it easy to add
parameter name/value pairs. I end up with URLs like:
www.mysite.com/p1/v1/p2/v2
Which works fine for most cases but I have a number of questions/issues:
My logs show exceptions whereby some browsers (or crawlers) without
cooki
Or:
http://wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.4-SNAPSHOT/
That should also have the latest fix
- Original message -
> the fix is in 1.4.x branch and will be part of 1.4.8.
>
> in the meantime you can build a fresh snapshot yourself and drop that
> into your appli
the fix is in 1.4.x branch and will be part of 1.4.8.
in the meantime you can build a fresh snapshot yourself and drop that
into your application
http://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.x
-igor
On Thu, Mar 18, 2010 at 3:27 PM, Nigel Parker wrote:
>
> Thank you Johan for your
Martin, the following is the code for the country dropdown list, which can
control the state dropdown list. The problem is that when the country list's
value is switched to "null" from a selected country (say, USA), then the state
dropdown list does not update. In addition, Wicket in the backend
Thank you Johan for your reply. Agree that original problem should be fixed.
This is a critical problem for us. We have found out during the last 24
hours that some of our pages are retaining a session reference. With Ajax
requests this gives a doubling of session size for every request, and we no
Hi,
if someone is interested in a LoadableDetachableListModel where every single
entity in the List is loaded per request by its own detachable model, see
below :).
I found it quite useful. I needed for a multi file upload panel where all
changes entities shall be saved in one step.
public c
Hi,
That's weird. Did you tried to check-out [1] and [2]? They did work a
couple of month ago when I tested them.
Ernesto
References,
1-http://code.google.com/p/antilia/source/browse/#svn/com.antilia.wstarter
2-
http://code.google.com/p/antilia/source/browse/#svn/com.antilia.wstarter.demo
http://wicketstuff.org/maven/repository/jazzyplugin/jazzyplugin/0.5.2/
-igor
On Tue, Mar 16, 2010 at 1:12 PM, Boris Goldowsky wrote:
> Great. Can someone with write access to the repository do this? Or if i
> can do it via my SVN credentials, tell me how.
>
> Thanks!
>
> Bng
>
>
> Igor Vaynber
is what I have done, I ask my self if is fine.
I have backported the IAuthenticationStrategy and CookieUtils from 1.5 and
CookieUtils initialize the cookie with the path. I have hacked it and it
works. I wonder if I will have any other problem in future.
On Thu, Mar 18, 2010 at 6:34 PM, Igor Vayn
Thank you for your thoughts Jeremy -- and your previous work on
WicketStuff. I am certainly unhappy to hear that it felt like torture
and that junk was being dumped on you rather than getting support from
the community.
I'd volunteer to put a bit of time into this, but I don't have time to
be sol
always save your cookies using the / path
-igor
On Thu, Mar 18, 2010 at 10:14 AM, Daniele Dellafiore wrote:
> Hi.
>
> During the login I set a cookie called "login".
> It works but when I want to logout, getWebRequest().getCookie("login")
> does not found the cookie so it does not remove it. Th
Hi.
During the login I set a cookie called "login".
It works but when I want to logout, getWebRequest().getCookie("login")
does not found the cookie so it does not remove it. The user is redirected
to the LoginPage where it still found the original cookie that auto login
the client.
Why? Because
you can use IComponentResolver to achieve this.
-igor
On Thu, Mar 18, 2010 at 9:45 AM, Sergey Olefir wrote:
> Hi,
>
> is it possible to (easily) analyze HTML markup at runtime? More
> specifically I'm thinking about implementing a component that will
> examine its (or more realistically the mark
Hi,
is it possible to (easily) analyze HTML markup at runtime? More
specifically I'm thinking about implementing a component that will
examine its (or more realistically the markup of extending class)
markup to determine whether or not particular wicket:id is present.
Or, in other words, is it po
Hi,
On Thu, Mar 18, 2010 at 3:58 PM, Fernando Wermus
wrote:
> Take a look at Antilia
>
> http://code.google.com/p/antilia/
>
Thanks for the suggestion, Antilia seems to be a really interesting
project, but it didn't solve my problem :(
What I tried was to create a new Activator (AntiliaActivator
Code?
2010/3/18 David Chang :
> Martin, thanks for chimining in. I already did that. The problem is when I
> select "null" (choose one), AjaxFormComponentUpdatingBehavior#onUpdate is not
> called. Instead, Wicket generates a message and tries to seed it
> FeedbackPanel. I want to be able to han
Hi.
AFAIK a Wicket user session and a EJB Session are separated. Meaning that
the EJB container decides whether a new EJB instance needs to be created or
not. However even if multiple Wicket sessions get the same EJB instance the
EJB container will still ensure proper synchronisation and transact
Hi.
Again topic with submiting form via ajax with FileUpload inside. Im
submiting form via AjaxButton.
For testing my panel im using:
wicketTester.executeAjaxEvent(butooon, "onclick") - i want to test some
logic in onSubmit()
and i get ServletRequest does not contain multipart content. One
pos
override requestcycle
-igor
On Thu, Mar 18, 2010 at 8:01 AM, Martin Asenov wrote:
> Hi, Fernando!
>
> This is not my question... I was asking how could I know every time when the
> user interacts with the system.
>
> Best,
> Martin
>
> -Original Message-
> From: Fernando Wermus [mailto:
Martin, thanks for chimining in. I already did that. The problem is when I
select "null" (choose one), AjaxFormComponentUpdatingBehavior#onUpdate is not
called. Instead, Wicket generates a message and tries to seed it FeedbackPanel.
I want to be able to handle that "null" and set another dropdow
filter them in your TreeModel, it should work. you also have to
override getChildCount() to return a count without filtered children,
and adjust TreeModel#getIndexOfChild() to skip over the filtered
children.
-igor
On Thu, Mar 18, 2010 at 6:19 AM, Martin U wrote:
> Hi Folks,
>
> i've to implemen
why dont you continue this in the original thread. that way the
knowledge will not be spread all over.
-igor
On Thu, Mar 18, 2010 at 1:29 AM, Gianni wrote:
> Apologies, I now see it's exactly the same problem as described here:
> http://old.nabble.com/%40RequireHttps---forms-misbehaving-ts268454
Hi, Fernando!
This is not my question... I was asking how could I know every time when the
user interacts with the system.
Best,
Martin
-Original Message-
From: Fernando Wermus [mailto:fernando.wer...@gmail.com]
Sent: Thursday, March 18, 2010 4:57 PM
To: users@wicket.apache.org
Subject
setNullValid
2010/3/18 David Chang :
> In my case, the field is required. I make it required by setRequired(true),
> but I want the blank/choose one is still there.
>
> Doable?
>
>
> --- On Thu, 3/18/10, Matthias Keller wrote:
>
>> From: Matthias Keller
>> Subject: Re: Select the "Choose one" o
Take a look at Antilia
http://code.google.com/p/antilia/
On Thu, Mar 18, 2010 at 12:01 PM, Jaime Soriano Pastor <
jsorianopas...@gmail.com> wrote:
> Hello,
>
> I'm trying to start a Wicket Application using Felix implementation of
> OSGi HTTP service, for that I just register the service using
>
Martin,
You can have any container, such as a Panel, into de Modal Window. You
can program as you have always done with Wicket. No need of IBehaviorListener.
The close button has its corresponding programming design. Take a look at
the modal window documentation in the web.
On Thu, Mar 18,
Please, any help?!
Best,
Martin
-Original Message-
From: Martin Asenov [mailto:mase...@velti.com]
Sent: Thursday, March 18, 2010 1:11 PM
To: users@wicket.apache.org
Subject: using IBehaviorListener
Hello, guys!
I'm experiencing troubles with implementing IBehaviorListener on a ModalWin
Hello,
I'm trying to start a Wicket Application using Felix implementation of
OSGi HTTP service, for that I just register the service using
WicketServlet with applicationClassName parameter set to the main
application class name:
props.put("applicationClassName", MainApplication.class.getName());
In my case, the field is required. I make it required by setRequired(true), but
I want the blank/choose one is still there.
Doable?
--- On Thu, 3/18/10, Matthias Keller wrote:
> From: Matthias Keller
> Subject: Re: Select the "Choose one" of a required DropDownChoice
> To: users@wicket.apac
Hi
Yes, exactly, but why do you have it set to required at all in first
place if you want to allow the empty selection too?
I dont think a DropDownChoice is required by default but if it is, try
setRequired(false) ...
Matt
On 2010-03-18 14:36, David Chang wrote:
Matt, I already did that.
> How can I make FeedbackPanel occupy zero space when having no messages?
Override isVisible() to test if there are any messages to show, and call
setOutputMarkupPlaceholder(true);
- Tor Iver
-
To unsubscribe, e-mail: users-uns
Matt, I already did that.
DropDownChoice.setNullValid() makes "Choose one" always stay there.
I notice that DropDownChoice.setRequired() is the reason to generate the
message and not get onUpdate called.
Thanks.
--- On Thu, 3/18/10, Matthias Keller wrote:
> From: Matthias Keller
> Subject:
Hi
Just create your own FeedbackPanel subclass and add:
public boolean isVisible () {
return anyMessage();
}
Matt
On 2010-03-18 14:32, David Chang wrote:
Hello, I am playing with FeedbackPanel. I put it in a page like this:
I notice that when having no messages, it always t
Hello, I am playing with FeedbackPanel. I put it in a page like this:
I notice that when having no messages, it always take up some space.
How can I make FeedbackPanel occupy zero space when having no messages?
Wicket way? or CSS?
Any help is really appreciated.
Regards.
Hi
Have a look at DropDownChoice.setNullValid() and .setRequired()
Matt
On 2010-03-18 14:26, David Chang wrote:
Hi, I am new in Wicket and am playing with different components.
I have a two dropdown lists. One is a list of countries, required field,
controlling another list of states/provinc
Hi, I am new in Wicket and am playing with different components.
I have a two dropdown lists. One is a list of countries, required field,
controlling another list of states/provinces via
AjaxFormComponentUpdatingBehavior.
The country list always has a blank (equivalent of "Choose one") as th
Hi Folks,
i've to implement a tree in which some node are exists under a parent node
but they should not be visible to the user in browser at all.
I tried to overwrite "getChild" from TreeNode. But it dont works for me. I
need this node existens either they are not visible because the tree is my
Hi Karmien
Wicket 1.3.X is not supported anymore as far as I know, so there will
most probably be no more updates for it.
Go for 1.4, it's been around for very long and most components are
updated to 1.4 in a breeze (given that you have access to their source
code). If no models are involved,
Hi
I have a general question, we are at the verge of starting a big, newish
project, with potentially many developers on Wicket and we need to
decide which version to base it on. The obvious choice is to choose
v1.4.x (latest) but we need Enterprise type components (like Security)
in the developme
You cannot have a seo-friendly url _and_ pass objects. If you want to pass an
object to another page (say a Product), then you need to create a
constructor on the target page which accepts a Product or an
IModel. You can then call setResponsePage( new TargetPage( product
) ); The upside is that yo
Fixed the Javadoc in 1.4.x & trunk. Thanks for reporting.
/Gwyn
On 11 March 2010 14:14, David Chang wrote:
> James, thanks for quick reply. I guess I am a little confused is that in
> the init method, I use
>
> addComponentInstantiationListener(new SpringComponentInjector(this));
>
> instead of
Hello, guys!
I'm experiencing troubles with implementing IBehaviorListener on a ModalWindow.
I want to detect every single user interaction with to components inside the
modal window and the close button itself , as well.
Would you give me some hints?
Best,
Martin
> Anyone knows how to get the TreeTable Horizontal Scrollbar? If possible
share the code snippet.
> Regards
> Vikash
Didn't you find any CSS Examples using Google?
This really is not a Wicket question, but a CSS question. However, I did a
CSS Example for you.
Is this what you're looking for (c
I have an idea: in my every modal dialog will put a listener that checks if
session.isExpired() on user interaction with the modal window.
Can someone tell me please what's the event fired when a user makes some action
on a page, like clicking a link or a button. I want to listen for this.
Bes
Hi,
At first thought, please try your code out with wicketstuff
javaee-inject, but it will most likely behave just the same.
You cannot store your bean in session, because AFAIK they're not
serializable.
Please rise an issue for this (also quickstart would be great), and I
will look into it.
Best
Hi!
I've just started using the @EJB injection annotation from
wicket-contrib-javaee.
I use it to inject a Stateful Session Bean to keep track of my user
session and do some
stuff like authorization.
I thought the @EJB annotation keeps track of my sessions and would
inject a unique instance
Apologies, I now see it's exactly the same problem as described here:
http://old.nabble.com/%40RequireHttps---forms-misbehaving-ts26845496.html
I can reproduce this in a quickstart, I just want to check before creating a
jira:
- In my quickstart I'm calling setRedirect(true) within the form submi
Exactly (I wrote something similar, but it apparently was declared spam:().
We could of course improve our structure as always, lifting the level a bit.
As I see it wicketstuff are as ops4j, which brings advantages and
disadvantages as well.
-regards Nino
2010/3/18 Martin Grigorov
> Here is how
Here is how I understand wicketstuff hosting:
Someone makes something cool and decides to share it with the community.
Then this person asks in the mailing lists for commit permissions. After
that this person jumps into something else and don't have time to
support the project. Later on I need thi
Unfortunately, the session expired page still opens in a modal window...
Any further help will be appreciated.
Best,
Martin
-Original Message-
From: Martin Asenov [mailto:mase...@velti.com]
Sent: Wednesday, March 17, 2010 6:34 PM
To: users@wicket.apache.org
Subject: RE: Prevent SessionE
CSS are the way to do stuff, but usually IE smashes it somehow. My rule are
to develop for firefox, patch for IE. And so far it's worked very well.
However there are somethings that are really painfull todo with css. Like
round corners, this is where I came up with wicketstuff artwork two
integrat
Anyone knows how to get the TreeTable Horizontal Scrollbar? If possible share
the code snippet.
Regards
Vikash
-Original Message-
From: Vikash Shrivastava [mailto:vikash.shrivast...@igate.com]
Sent: Monday, March 15, 2010 7:26 PM
To: users@wicket.apache.org
Subject: RE: RE: Regarding Tr
63 matches
Mail list logo