Re: InlineFrame: IPageLink object looses reference to page after deserialiations

2009-03-30 Thread Ittay Dror
Ittay Dror wrote: Hi, I'm trying to use the InlineFrame component. I create an IPageLink object to it. The object holds a reference to a page. By placing breakpoints, I can see that the IPageLink object is created once. InlineFrame#onLinkClicked is called twice. On the first

Re: RadioGroup lost value after onError form

2009-03-30 Thread Marieke Vandamme
Hello, Can't anyone help me with this? Or do I just report a jira bug for this? THANKS! Marieke Vandamme wrote: Hello, consider example underneath. Form with DateTextField and RadioGroup. When an incorrect date is entered in the TextField, the value choosen in radiogroup is lost.

Form Validations

2009-03-30 Thread Ashis
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

How to insert ${...} literal in property file?

2009-03-30 Thread Heidi Burn
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:

NewBie question :Implementation of Collapsible Link

2009-03-30 Thread Ajayi Yinka
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

MapModel javadoc spelling

2009-03-30 Thread Francis De Brabandere
Can somebody fix the javadoc for MapModel? Based on codeModel/code 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.

franz nursing home ny

2009-03-30 Thread MtnBiker
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

IMPORTANT: Nabble posting disabled due to spam

2009-03-30 Thread 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 that, complain with Nabble support to improve their spam filtering. Martijn

Re: How to insert ${...} literal in property file?

2009-03-30 Thread Martijn Dashorst
1. Please file a jira 2. Use 2 patternvalidators: one for each pattern Martijn On 3/30/09, Heidi Burn heidi.b...@gmail.com 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

Re: IMPORTANT: Nabble posting disabled due to spam

2009-03-30 Thread Reinout van Schouwen
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

Re: what is the state of wicket-contrib?

2009-03-30 Thread Vladimir K
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:

Re: [OT] Book/pointers on caching

2009-03-30 Thread James Perry
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).

Re: [OT] Book/pointers on caching

2009-03-30 Thread nino martinez wael
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

Re: How to prevent a flickering when Ajax updates an Image

2009-03-30 Thread santo_75
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

WebResource and Guice

2009-03-30 Thread Adriano dos Santos Fernandes
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

Re: what is the state of wicket-contrib?

2009-03-30 Thread Joshua Lim
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 koval...@gmail.com Thanks Jeremy. I will have a look at snaphot. But what I'm concerned

Re: When and how to use tag 'wicket:component'?

2009-03-30 Thread Martijn Dashorst
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 zenberg.d...@gmail.com wrote: Hi folks, I just wonder when and how to use tag 'wicket:component'. what's the intention of this tag exists?

Re: Link not getting onclick event

2009-03-30 Thread Seven Corners
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

Re: WebResource and Guice

2009-03-30 Thread Martijn Dashorst
the only thing that comes to mind is salve Martijn On Mon, Mar 30, 2009 at 2:03 PM, Adriano dos Santos Fernandes adrian...@uol.com.br wrote: Hi! I've this, on my Application class: getSharedResources().add(name, new WebResource() {   private static final long serialVersionUID = 1L;  

wicket log4j MDC

2009-03-30 Thread daniel . lipski . pl
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

Extend layout of a page

2009-03-30 Thread Pi Trash
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

Re: CheckBoxMultipleChoice: change markup from label to span

2009-03-30 Thread jcgarciam
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?

Re: wicket log4j MDC

2009-03-30 Thread Azzeddine Daddah
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

Re: Extend layout of a page

2009-03-30 Thread Serkan Camurcuoglu
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

visibility Behavior?

2009-03-30 Thread Ryan McKinley
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.

Re: visibility Behavior?

2009-03-30 Thread Stephan Koch
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... }

Re: RadioGroup lost value after onError form

2009-03-30 Thread Igor Vaynberg
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 ma...@tvh.be wrote: Hello, Can't anyone help me with this? Or do I just report a jira bug for

Re: [OT] Book/pointers on caching

2009-03-30 Thread Scott Swank
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 nino.martinez.w...@gmail.com wrote: I wrote something about it here:

Re: MapModel javadoc spelling

2009-03-30 Thread Igor Vaynberg
fixed -igor On Mon, Mar 30, 2009 at 1:25 AM, Francis De Brabandere franci...@gmail.com wrote: Can somebody fix the javadoc for MapModel? Based on codeModel/code but for mapss of serializable objects. should be maps instead of mapss -- http://www.somatik.be Microsoft gives you windows,

Re: visibility Behavior?

2009-03-30 Thread Igor Vaynberg
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 ryan...@gmail.com wrote: I am working on some security integration (Ki/wicket), and am

Re: CheckBoxMultipleChoice: change markup from label to span

2009-03-30 Thread Roman Zechner
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

RE: wicket log4j MDC

2009-03-30 Thread Jeremy Thomerson
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

Re: How do I call alert(); rather than using .info or .error of Component

2009-03-30 Thread jcgarciam
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();

Re: How do I call alert(); rather than using .info or .error of Component

2009-03-30 Thread Michael O'Cleirigh
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

RE: How do I call alert(); rather than using .info or .error of Component

2009-03-30 Thread Mattucci, John
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

RE: How do I call alert(); rather than using .info or .error of Component

2009-03-30 Thread jcgarciam
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- From:

Annoying ModificationWatcher Task... debug log line

2009-03-30 Thread Thierry Leveque
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

Re: Annoying ModificationWatcher Task... debug log line

2009-03-30 Thread Igor Vaynberg
On Mon, Mar 30, 2009 at 12:44 PM, Thierry Leveque tleve...@gmail.com 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

Re: Annoying ModificationWatcher Task... debug log line

2009-03-30 Thread Thierry Leveque
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

Why should the programmer specify how a SingleSelectChoice looks?

2009-03-30 Thread T P D
What I really like about Wicket is that it -- much more than JSPs -- allows the separation of HTML markup from Java code. No c:ifing 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

Re: Why should the programmer specify how a SingleSelectChoice looks?

2009-03-30 Thread Igor Vaynberg
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 li...@diffenbach.org wrote: What I really like about Wicket is that it -- much more than JSPs -- allows the separation of HTML markup

Re: Why should the programmer specify how a SingleSelectChoice looks?

2009-03-30 Thread T P D
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

Re: Why should the programmer specify how a SingleSelectChoice looks?

2009-03-30 Thread Igor Vaynberg
i dont see anything wrong with it. -igor On Mon, Mar 30, 2009 at 3:07 PM, T P D li...@diffenbach.org 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

Tree navigation panel

2009-03-30 Thread Christian Helmbold
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

Re: Tree navigation panel

2009-03-30 Thread Igor Vaynberg
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 christian.helmb...@yahoo.de wrote: Hello, I'm looking for a tree

how to display a BookmarkableLink so it can't be clicked

2009-03-30 Thread Jason Novotny
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

Re: how to display a BookmarkableLink so it can't be clicked

2009-03-30 Thread David Leangen
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

Re: Form Validations

2009-03-30 Thread Jeremy Thomerson
What didn't work? -- Jeremy Thomerson http://www.wickettraining.com On Mon, Mar 30, 2009 at 2:31 AM, Ashis chettri.as...@gmail.com 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.