Hello all
I have a problem with a form, I want to add a feedBackPanel for each fields
added in my form.
I used the custom FeedbackLabel i.e.
http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket
But it did not worked on AutoCompleteTextFields and RadioChoice.
Any Help
Hello, guys,
Please, help me to insert ${id} literal in a property file. Back
slashes don't work for me.
And how to tell PatternValidator to work differently for two fields in a form?
Heidi
-
To unsubscribe, e-mail: users-unsubs
I am trying to see if i can implement collapsible link in my page.
i had tried to use Link Tree, but I was getting error which I could not even
trace or decipher the cause.
Please, can anyone give me insight on the best way to implement the
"collapsible link"
Thanks.
Yinka
Can somebody fix the javadoc for MapModel?
"Based on Model but for mapss of serializable objects."
should be maps instead of mapss
--
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.
-
To uns
http://6.m30a.dnsdojo.net/24181n4kaije.html
http://6.m30a.dynalias.net/54m9j2l5lb6.html nurse salary in saudia arabia
http://6.m30a.dnsdojo.org/54m9j2l5l27.html ny board of nursing address
change http://6.m30a.blogsite.org/54m9j2l5kk9.html diabetes implications
for nurse practitioners http://6.m
I've disabled posting through the Nabble interface because they don't
seem able to prevent spam coming through their interface. If you want
to ask a question, please subscribe to the list. If you don't want to
do that, complain with Nabble support to improve their spam filtering.
Martijn
1. Please file a jira
2. Use 2 patternvalidators: one for each pattern
Martijn
On 3/30/09, Heidi Burn wrote:
> Hello, guys,
>
> Please, help me to insert ${id} literal in a property file. Back
> slashes don't work for me.
> And how to tell PatternValidator to work differently for two fields in a
Op maandag 30-03-2009 om 11:54 uur [tijdzone +0200], schreef Martijn
Dashorst:
> I've disabled posting through the Nabble interface because they don't
> seem able to prevent spam coming through their interface. If you want
> to ask a question, please subscribe to the list. If you don't want to
> do
Great! Thanks a lot!
Hi
I had made a copy for wicket 1.3.5 some time back if it helps ... it is here
:
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-contrib-yui-1.3.5
--
View this message in context:
http://www.nabble.com/what-is-the-state-of-wicket-contri
Caching wicket components is a really bad idea as you will run into
concurrency issues. IMHO the caching strategy depends on the how immutable
the data is, its transaction isolation (read-only, read-write, etc) and what
performance problem you are encountering (Cartesian product, N+1 select,
etc).
I wrote something about it here:
http://ninomartinez.wordpress.com/2008/08/25/pump-your-java-with-caching/
It's very easy if your already using spring or guice or any other IOC framework.
One thing though I would'nt cache too much with wicket, the benefit
are very small and the code cost are high
Hi,
I tried some of your suggestions and I came up with a working sollution. But
I have the feeling I can do better than that.
Waht I did is having two of my images at the same time, both wrapped by a
div layer. One div layer is hidden, the other is visible. When something
happens the non visibl
Hi!
I've this, on my Application class:
getSharedResources().add(name, new WebResource() {
private static final long serialVersionUID = 1L;
@Override
public IResourceStream getResourceStream()
{
return new AbstractResourceStream() {
private static final long serial
Hi
I had made a copy for wicket 1.3.5 some time back if it helps ... it is here
:
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-contrib-yui-1.3.5
2009/3/26 Vladimir K
>
> Thanks Jeremy. I will have a look at snaphot.
>
> But what I'm concerned about ... I would
Short answer: don't use it. It is not supported.
Search the list archives for info if you still insist on learning more.
Martijn
On 3/30/09, Zenberg Ding wrote:
>
> Hi folks, I just wonder when and how to use tag 'wicket:component'. what's
> the intention of this tag exists?
>
> Thanks
>
>
> --
is there a way to change the markup of CheckBoxMultipleChoice?
CheckBoxMultipleChoice.onComponentTagBody() is final ... I need to
change the tag to
thanks
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For add
Got it, Thank you Martijn. :)
Short answer: don't use it. It is not supported.
Search the list archives for info if you still insist on learning more.
Martijn
On 3/30/09, Zenberg Ding wrote:
Hi folks, I just wonder when and how to use tag 'wicket:component'.
what's
the intention of this
Thanks for getting back to me. I figured it out; I had a mismatched div tag
that Firefox forgave. It wasn't a Wicket issue at all.
--
View this message in context:
http://www.nabble.com/Link-not-getting-onclick-event-tp22725492p22781576.html
Sent from the Wicket - User mailing list archive at
the only thing that comes to mind is salve
Martijn
On Mon, Mar 30, 2009 at 2:03 PM, Adriano dos Santos Fernandes
wrote:
> Hi!
>
> I've this, on my Application class:
>
> getSharedResources().add(name, new WebResource() {
> private static final long serialVersionUID = 1L;
>
> @Override
> pu
Hi
I would like to add MDC information(i.e. user login) to my loggs (log4j).
To do that I have to call MDC.put at the beggining of request
handling. Im looking for 'interception' functionality in Wicket to add
MDC code there. Where I should add such code ? RequestCycle ?
Regards
Daniel
---
Hi,
I am searching for a way to extend the design of a page without changing the
page itself. That means, something like the Decorator Pattern. I have a page
with for example just a table in it. In another project (or the same project)
this page should have a navigation on the top.
My current
Hi,
I guess the solution would be using a
http://cwiki.apache.org/WICKET/listview-with-checkboxes.html ListView in
conjunction with a CheckGroup object in order to achieve what you want.
Roman Zechner | Liland wrote:
>
> is there a way to change the markup of CheckBoxMultipleChoice?
> CheckB
You can create a custom request cycle which extends the Wicket
WebRequestCycle. This logs the user name in your logs of the user who does
the request.
public class MyRequestCycle extends WebRequestCycle {
private static final Logger logger =
Logger.getLogger(MyRequestCycle.class);
public
search for the words "wicket markup inheritance" on google..
Pi Trash wrote:
Hi,
I am searching for a way to extend the design of a page without changing the
page itself. That means, something like the Decorator Pattern. I have a page
with for example just a table in it. In another project
I am working on some security integration (Ki/wicket), and am looking
at a general way to set component visibility based on the user
permissions/roles etc.
Of course I could do: component.setVisible( false ), but that gets
really verbose when 'false' can be a rather long statement.
Wicke
Hi Ryan,
works nice with behaviors. I use somehing like the following to
show/hide components based on my user roles:
public class MySecurityBehavior extends AbstractBehavior {
private boolean isVisible() {
// your logic for security checks...
}
@Override
use repeatingview instead of listview, or call setreuseitems on the
listview. there is javadoc on the listview that warns you about this.
-igor
On Sun, Mar 29, 2009 at 11:55 PM, Marieke Vandamme wrote:
>
> Hello,
>
> Can't anyone help me with this?
> Or do I just report a jira bug for this?
> TH
This author compared several caching libraries and recommends ehcache.
http://javalandscape.blogspot.com/2009/03/intro-to-cachingcaching-algorithms-and.html
- Scott
On Mon, Mar 30, 2009 at 4:33 AM, nino martinez wael
wrote:
> I wrote something about it here:
> http://ninomartinez.wordpress.com
fixed
-igor
On Mon, Mar 30, 2009 at 1:25 AM, Francis De Brabandere
wrote:
> Can somebody fix the javadoc for MapModel?
>
> "Based on Model but for mapss of serializable objects."
>
> should be maps instead of mapss
>
> --
> http://www.somatik.be
> Microsoft gives you windows, Linux gives you the
look at wicket-auth-roles, there the metadata storage is used to
attach permissions to arbitrary components. this doesnt have the
overhead of behaviors.
-igor
On Mon, Mar 30, 2009 at 8:19 AM, Ryan McKinley wrote:
> I am working on some security integration (Ki/wicket), and am looking at a
> gene
thanks for the hint!
jcgarciam wrote:
Hi,
I guess the solution would be using a
http://cwiki.apache.org/WICKET/listview-with-checkboxes.html ListView in
conjunction with a CheckGroup object in order to achieve what you want.
Roman Zechner | Liland wrote:
is there a way to change the ma
Yes. In your application, override newRequestCycle and return a custom rc that
uses onBeginRequest (IIRC) to do this.
Jeremy Thomerson
http://www.wickettraining.com
-- sent from a wireless device
-Original Message-
From: daniel.lipski...@gmail.com
Sent: Monday, March 30, 2009 9:11 AM
T
Hi,
i try to test my manipulated html tags with tagtester. it works fine, if i
submit the form via formtester. but when i try to set value to request
directlyand submit via ajax-button the tagtester failed - the attribute wasn't
updated.
her the code: - a simple ajax submit example where text
in
I need to display messages via a javascript alert box rather than .error or
.info messages which is provided in Component. I currently have the following.
The problem is that the message remains. The alert appears whenever there is an
error however how do I remove it? And is this the best approa
You could try iterating thru the FeedBackMessage List
Using something like:
@Override
public void renderHead(IHeaderResponse response) {
super.renderHead(response);
FeedbackMessages messages =
WebSession.get().getFeedbackMessages();
if(!messages.isEmpty()){
Hi John,
Normally the error, info, fatal messages on Component enter the message
into the List of Feedback messages in the Session. The messages are
accumulated during the pre render phase of the request cycle and then
the entire list is detached at the end of the request cycle. see
org.apa
The issue is the same. Once the error occurs every time the form is submitted
the alert message still appears.
-Original Message-
From: jcgarciam [mailto:jcgarc...@gmail.com]
Sent: Monday, March 30, 2009 2:28 PM
To: users@wicket.apache.org
Subject: Re: How do I call alert(); rather
Sorry my bad. Got it to work. Is there a way to stop the error/info messages
from displaying altogether on the form? Thanks again.
-Original Message-
From: jcgarciam [mailto:jcgarc...@gmail.com]
Sent: Monday, March 30, 2009 2:28 PM
To: users@wicket.apache.org
Subject: Re: How do I cal
Would you please elaborated more on this?
You mean like filtering "ERROR" or "INFO" messages?
john.mattucci wrote:
>
> Sorry my bad. Got it to work. Is there a way to stop the error/info
> messages from displaying altogether on the form? Thanks again.
>
>
>
>
>
> -Original Message-
Hi,
I am running my Wicket application in development mode and I am getting a
line like:
"DEBUG ModificationWatcher Task org.apache.wicket.util.thread.Task - Run the
job: org.apache.wicket.util.watch.modificationwatche...@d31f85"
Every second or 2 in my log file. This is really annoying. Is there
On Mon, Mar 30, 2009 at 12:44 PM, Thierry Leveque wrote:
> Every second or 2 in my log file. This is really annoying. Is there a way to
> remove that?
change your logger configuration and set that package to info
> And what is this ModificationWatcher Task?
the thing that watches for file modif
Thanks for the info!
I think I remember seeing somewhere that we can turn off this "auto reload"
feature...
I really don't need that for the moment.
Does anybody know how to do that?
Thierry
Sent from: Montreal Quebec Canada.
On Mon, Mar 30, 2009 at 16:18, Igor Vaynberg wrote:
> On Mon, Mar 30,
What I really like about Wicket is that it -- much more than JSPs --
allows the separation of HTML markup from Java code. No "c:if"ing with a
Domain Specific Language like JTSL (or Velocity macros) inside HTML
markup and side-by-side with javascript. In Wicket, in contrast, HTML
markup contains
there isnt anything really stopping you from doing this. afaict you
already have all the wicket hooks to do this.
-igor
On Mon, Mar 30, 2009 at 2:15 PM, T P D wrote:
> What I really like about Wicket is that it -- much more than JSPs -- allows
> the separation of HTML markup from Java code. No "
Well, actually, I have done it, by abstracting out the rendering by
having onTagComponent and onTagComponentBody, in a class derived from
AbstractSingleSelectChoice, delegate to a GOF Strategy Pattern.
I then have four strategies: one each for dropdown, dropdownlist, and
radiochoice, and a fou
i dont see anything wrong with it.
-igor
On Mon, Mar 30, 2009 at 3:07 PM, T P D wrote:
> Well, actually, I have done it, by abstracting out the rendering by having
> onTagComponent and onTagComponentBody, in a class derived from
> AbstractSingleSelectChoice, delegate to a GOF Strategy Pattern.
>
Hello,
I'm looking for a tree navigation panel for wicket (1.4). I know the AJAX
panel, but I'd like to have something that works without JavaScript. After
consulting the API docs and looking for tree classes, I think to write my own
navigation tree panel would cost a couple of hours. So is th
trees in wicket work with or without javascript. you can set the tree
mode to fallback and get the best of both worlds - ajax when
supported, regular links when not.
-igor
On Mon, Mar 30, 2009 at 3:30 PM, Christian Helmbold
wrote:
>
> Hello,
>
> I'm looking for a tree navigation panel for wicket
Hi,
I have a case where if some condition is met I don't want a link to be
clickable... but I want it to display the link text (so overriding
isVisible() is not an option). Any ideas on the most elegant approach?
Thanks, Jason
isEnabled()
Cheers,
=David
On Mar 31, 2009, at 9:34 AM, Jason Novotny wrote:
Hi,
I have a case where if some condition is met I don't want a link to
be clickable... but I want it to display the link text (so
overriding isVisible() is not an option). Any ideas on the most
elegant ap
override isenabled
-igor
On Mon, Mar 30, 2009 at 5:34 PM, Jason Novotny wrote:
>
> Hi,
>
> I have a case where if some condition is met I don't want a link to be
> clickable... but I want it to display the link text (so overriding
> isVisible() is not an option). Any ideas on the most elegant ap
More details necessary. An accordion panel or tree view? Etc...
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Mar 30, 2009 at 3:19 AM, Ajayi Yinka wrote:
> I am trying to see if i can implement collapsible link in my page.
>
> i had tried to use Link Tree, but I was getting error
What didn't work?
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Mar 30, 2009 at 2:31 AM, Ashis wrote:
>
> Hello all
> I have a problem with a form, I want to add a feedBackPanel for each fields
> added in my form.
> I used the custom FeedbackLabel i.e.
> http://stuq.nl/weblog/2008
see InjectorHolder.inject(this) - it's documented on the wiki about spring
injection
--
Jeremy Thomerson
http://www.wickettraining.com
On Sun, Mar 29, 2009 at 6:07 PM, fachhoch wrote:
>
> to add my javascript into header section , i will use
> response.renderJavascript(CharSequence, id);
>
>
Are you speaking about href value as a "link text"?
On Tue, Mar 31, 2009 at 8:41 AM, Igor Vaynberg wrote:
> override isenabled
>
> -igor
>
> On Mon, Mar 30, 2009 at 5:34 PM, Jason Novotny wrote:
>>
>> Hi,
>>
>> I have a case where if some condition is met I don't want a link to be
>> clickable..
Actually when a submit button is clicked, the feedback error message is
displayed with all form components TextField ,AutoCompleteTextFields and
RadioChoice and when a valid values on form components are entered the
feedback error message dissapears within all TextField but feedback error
message
use .setEnabled(false)
cheers
gabriel
Jason Novotny wrote:
Hi,
I have a case where if some condition is met I don't want a link to be
clickable... but I want it to display the link text (so overriding
isVisible() is not an option). Any ideas on the most elegant approach?
Thanks, Jason
--
Hi Ashis,
Do you use AJAX? Have you added the components to the
AjaxRequestTarget with target.addComponent() ?
Which version of Wicket are you using?
Can you post some code?
Regards,
Daan
Op 31 mrt 2009, om 06:59 heeft Ashis het volgende geschreven:
Actually when a submit button is click
Hello,
I have a form that performs a search and shows a page with results. The
result page also has the same form to do a repeat search. I noticed that
the SearchPage is instantiated twice when I do a search from the form on
the result page. Is there a way to make sure that does not happen? T
Run it in debug mode, put a breakpoint in your constructor and see what's
instantiating each. A lot of times it is your own code (a bad link, etc).
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Mar 31, 2009 at 1:30 AM, Vinayak Borkar wrote:
> Hello,
>
>
> I have a form that perfo
Jeremy,
I did that. The first time it is
at
org.apache.wicket.request.target.component.BookmarkableListenerInterfaceRequestTarget.processEvents(BookmarkableListenerInterfaceRequestTarget.java:127)
and the second time it is
at
org.apache.wicket.request.target.component.BookmarkablePageReques
Your page is stateless, which is a holy grail for most to attend. Be happy :)
Since it is stateless, Wicket has to construct the page with each
request, until it is no longer stateless.
If you have a form, override its getstatelesshint method and return false.
Martijn
On Tue, Mar 31, 2009 at 8:
Martijn,
Does setting the statelessHint to false indicate that the form is stateful?
In that case, would Wicket try to serialize the form?
Thanks,
Vinayak
Martijn Dashorst wrote:
Your page is stateless, which is a holy grail for most to attend. Be happy :)
Since it is stateless, Wicket has t
Lucky I picked that one :)
But seriously it was really simple implementing the cache stuff (with
spring), it's only a few annotations..
2009/3/30 Scott Swank :
> This author compared several caching libraries and recommends ehcache.
>
> http://javalandscape.blogspot.com/2009/03/intro-to-cachingca
I am using Wicket-1.3.0 Version.
Following are the code Snippet
//Code Snippet for RadioChoice//
RadioGroup sexField = new RadioGroup("sex", new Model());
sexField.add(new Radio("male", new Model("Male")));
sexField.add(new Radio("female", new Model("Female")));
Martijn,
Ok. I set the getStatelessHint() to return false.
Now I get java.lang.IllegalStateException: No SessionHandler or
SessionManager
What is the reason that wicket needs to instantiate the page twice? I
can understand the second instantiation, but my guess is that the first
instantiati
66 matches
Mail list logo