Re: Very strange exception

2010-02-03 Thread Wilhelmsen Tor Iver
WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered). When you do add(new Label(label, ... in a Page, you also need something like span

RE: Very strange exception

2010-02-03 Thread Martin Asenov
Hi, Wilhelmsen! Yes, this is pretty clear. I've got enough experience in order to know this :) Maybe the problem is the wicket:id, which I've named 'label'. Maybe this is problem, since I heard certain 'ids' cause problems, like buttons with id=submit, links with id=link and so on. Thank you,

Re: component .... not found on page

2010-02-03 Thread Thomas Kappler
On 02/02/10 23:35, Eugene Malan wrote: Of course the quickstart worked just fine, so I had to add the layers of junk back on to find out where it was going wrong. Eventually the last thing I added back on was the cause a broken link in the head section. link rel=shortcut icon href=

Re: [announce] better look modern css for wicket examples contest

2010-02-03 Thread Ernesto Reinaldo Barreiro
Hi Nino, I was thinking more of a publishing model where people develop a plugin with their extensions and they submit it for approval... They do not need to have commit rights just provide a jar file implementing some extension points Probably you are right and this would make more sense

Re: Using a DataTable inside a Modal window

2010-02-03 Thread Ernesto Reinaldo Barreiro
Why not use an AJAX enabled version of the table, which does not triggers page reloads... e.g. AjaxFallbackDefaultDataTable Ernesto On Tue, Feb 2, 2010 at 4:24 PM, Dennis Buttery dbutt...@bplglobal.netwrote: Hi all, I'm trying to get a DataTable to work inside of a Modal window ... I

RE: [announce] better look modern css for wicket examples contest

2010-02-03 Thread Jing Ge (Besitec IT DEHAM)
Hi Nino, Hi Wicket Team, This is really really greet idea! As I said, Wicket is great, but now I found the wicket team is even greater! I feel happy that we choose the Wicket. Thank you guys very much! Now we are waiting for a great css, which wicket deserves.. Regards! Jing -Original

Re: Disable selected choices on palette load

2010-02-03 Thread dhirajs
Hi, I want to disable all preselected enteries in 'selected' choice box(so that user can't move those choices to available list). Please suggest some solution. I have tried one solution, by overriding inBeforeRender method and in that method i've get 'selectedChoicesComponent' and disable all

Re: Using a DataTable inside a Modal window

2010-02-03 Thread nino martinez wael
He probably does, there is a setting with modal window to avoid getting the message when using ajax.. Just cant remember it right now. 2010/2/3 Ernesto Reinaldo Barreiro reier...@gmail.com Why not use an AJAX enabled version of the table, which does not triggers page reloads... e.g.

Re: Using a DataTable inside a Modal window

2010-02-03 Thread Ernesto Reinaldo Barreiro
I guess if you use AJAX you wont get that message if only the table, or the contents of the modal are reloaded... I think this event is associated to the onload of the page which is triggered when you try to navigate away from the page but I might be wrong;-) Best, Ernesto On Wed, Feb 3,

Re: Using a DataTable inside a Modal window

2010-02-03 Thread nino martinez wael
There it was: http://old.nabble.com/Ajax-%2B-DropDownChoice-%2B-ModalWindow-td23292894.html#a23298945 script language=javascript type=text/javascript jQuery(document).ready(function(){ if (typeof Wicket != 'undefined'

Re: AbstractAjaxTimerBehaviour sets Transient object to null when same page in opened in new tab

2010-02-03 Thread Igor Vaynberg
if you keep working on the same page instance it is kept in http sessison and is not serialized. when you go to a new page it pushes the old instance out, forcing serialization, and setting the transient field to null. a proper way to do this would be to have an application-wide task manager. the

Re: Using a DataTable inside a Modal window

2010-02-03 Thread Ernesto Reinaldo Barreiro
Hi Nino, I do use modal windows where parts of them are replaced via AJAX and I do not have that issue... What I think it is happening is -he is using a non AJAX table and when user navigates the table it triggers a page reload -onunload display the confirmation. -page is reloaded and modal is

Re: Using a DataTable inside a Modal window

2010-02-03 Thread nino martinez wael
hmm, you might be right.. I remember something about a dropdown box and onchange. Thats certainly not ajax. So either use ajax or instead or forward to another page and the return back again. I switched to the latter approach at some point for one project. 2010/2/3 Ernesto Reinaldo Barreiro

Re: Disable selected choices on palette load

2010-02-03 Thread nino martinez wael
three solutions: - build a patch - put a veil over palette - roll out your own palette, it's pretty simple actually if you accept a server side solution (can be done with ajax as well) 2010/2/3 dhirajs sardana_dhi...@rediffmail.com Hi, I want to disable all preselected

Re: Adding AjaxLink to a DataTable cell

2010-02-03 Thread zkn
Thanks. It worked with @Override protected void onComponentTagBody( MarkupStream markupStream, ComponentTag openTag) { // TODO Auto-generated method stub

Tooltip like popup component which can perform text copy(to clipboard)?

2010-02-03 Thread Ashika Umanga Umagiliya
Greetings, In my application, I have a datable which shows pretty long text values.So, I want to display only a part of the text in datatable-cells and when user hover over the text,it should display a Tooltip like/Popup component with full text.I cant use simple tooltip because user should

RE: DatePicker css

2010-02-03 Thread Stefan Lindner
That did not work in my case. Yes, it's normal CSS but it is applied in an unusal way through the internal styling mechanism of yui. This means that a css rule defined at the end of the head section i.e. the last css rule at all does not override a css rule in the internal css of YUI-DatePicker

Re: Tooltip like popup component which can perform text copy(to clipboard)?

2010-02-03 Thread vineet semwal
1)create converter to display only part of text, 2)use mootip with mootipsettings.setfixed(true) On Wed, Feb 3, 2010 at 3:09 PM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Greetings, In my application, I have a datable which shows pretty long text values.So, I want to display

Re: Worldwide address form

2010-02-03 Thread Per Lundholm
If you do that, you will be a hero. ;-) But why not, a component that handles all kinds of addresses in the world is a typical joint effort. If it is in the drop-down of countries, then it is supported. If not your country is supported, then contribute! /Per On Thu, Jan 28, 2010 at 11:30 PM,

RE: DatePicker css

2010-02-03 Thread Stefan Lindner
Hi nino, no it did not work. My Firebug tells me that the css rules of datepicker's css are always allied AFTER my css rules. Even if my CSS is the last one in header section. I was able to customize some things where no explicit rules are defined in datepicker's CSS but I was unable to e.g.

Re: Tooltip like popup component which can perform text copy(to clipboard)?

2010-02-03 Thread Ashika Umanga Umagiliya
Thanks vineet for the reply, But I could find mootip/MootipSettings classes.I use wicket 1.4.6? Any tips, umanga vineet semwal wrote: 1)create converter to display only part of text, 2)use mootip with mootipsettings.setfixed(true) On Wed, Feb 3, 2010 at 3:09 PM, Ashika Umanga Umagiliya

RE: DatePicker css

2010-02-03 Thread Stefan Lindner
Ah! Thanks Anantha, thanks nino! That's the trick! I love the wicket mailing list! Stefan -Ursprüngliche Nachricht- Von: Anantha Kumaran [mailto:ananthakuma...@gmail.com] Gesendet: Mittwoch, 3. Februar 2010 11:51 An: users Betreff: Re: DatePicker css this may work .yui-skin-sam

enclosures only allow one input component?

2010-02-03 Thread Jeroen Dijkmeijer
it looks like only one input component (the one indicated by the child attribute) get its value bound to the model inside an enclosure tag, the documentation (WIA and http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html) could give some more information on this constraint. Is there a way

Re: Disable selected choices on palette load

2010-02-03 Thread dhirajs
Hi, thanks 'nino' for ur reply. Actually the thing i want is like :- for say, there are 5 available users(a,b,c,d,e) and of these users a and b are already selected. So, a and b should come as disabled in palette's selected list when palette is being displayed to user. After that client can

Re: Layout manager

2010-02-03 Thread Eyal Golan
ran it. it's not exactly what we're looking for. any other suggestion? Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary On Tue, Feb 2, 2010 at 12:20

Re: Wicket 1.4.5 : Spring integration problem?

2010-02-03 Thread vlk67
I have to say, that 'Application Object Approach' is working OK. But I have tried to use Annotation-based Approach and it's working not so well. Sometime I have got exception: ERROR [http-8000-2] - Could not deserialize object using

Re: wicketstuff-push and component replacing

2010-02-03 Thread Roland4444
Thank you for replying. As I understand you made some changes, from where can I get them. Originally I used this for source: http://wicketstuff.org/maven/repository/org/wicketstuff/push/1.4.1/ but I don't see any changes there. I agree on part that push service is complicated. I could try

Re: Disable selected choices on palette load

2010-02-03 Thread nino martinez wael
Hi sardana I did: - build a patch - put a veil over palette - roll out your own palette, it's pretty simple actually if you The easiest thing would probably be the latter for you. Just make a palette (Panel) consisting of 2 buttons, 2 listboxes. And then you should be able to customise as much

ERROR: Received Ajax response with code: 403

2010-02-03 Thread Tomasz Dziurko
I have problem with page heavily using ajax and error 403 returned by ajax response. There are 4 components on the page which are shown only for specific period of time. I use AbstractAjaxTimerBehavior (duration 10ms) which is calculating current phase and then according to this phase I make some

RE: [announce] better look modern css for wicket examples contest

2010-02-03 Thread Jing Ge (Besitec IT DEHAM)
Hi Forgot to talk about it. Would it be better, that you guys publish the contest in the internet, like the homepage of wicket or somewhere, to let more people know it? Thanks! Regards! Jing -Original Message- From: nino martinez wael [mailto:nino.martinez.w...@gmail.com] Sent:

Re: [announce] better look modern css for wicket examples contest

2010-02-03 Thread nino martinez wael
would some of the core guys put it on the wiki, or tell me where to place it (cant remember if I have rights for it) 2010/2/3 Jing Ge (Besitec IT DEHAM) j...@besitec.com Hi Forgot to talk about it. Would it be better, that you guys publish the contest in the internet, like the homepage of

Re: Very strange exception

2010-02-03 Thread James Carman
I have used id=label a lot in my pages/components, so I don't think that's your problem. Are you sure your label is set up in your markup in the right spot (in the hierarchy)? On Wed, Feb 3, 2010 at 3:11 AM, Martin Asenov mase...@velti.com wrote: Hi, Wilhelmsen! Yes, this is pretty clear.

Re: component .... not found on page

2010-02-03 Thread Eugene Malan
cresc, Make sure you do not have any broken links in your header section, like the one I had. link rel=shortcut icon href= type=images/x-icon / It is broken because there is a space in the rel= part of it. Also make sure you do not have empty image src img src=/ (per : Thomas

RE: Very strange exception

2010-02-03 Thread Martin Asenov
I found it! That label was missing in my set access denied page. I had to click on the display page link in the bottom to see where this happens. Thank you all! Regards, Martin -Original Message- From: James Carman [mailto:jcar...@carmanconsulting.com] Sent: Wednesday, February 03,

webapp authentication

2010-02-03 Thread Martin Asenov
Hello guys! I want to ask you which security frameworks you use when it comes to authenticating users through JPA. I relied on JSecurity/Shiro but I can't set it up. I'm looking for a simple framework but secure enough (not looking for extraordinary security), which I can set pretty easily

Re: webapp authentication

2010-02-03 Thread nino martinez wael
Please describe what you need? Do you need simple login authorisation or do you need authentication for components ( some users can only see some pages / panels )? 2010/2/3 Martin Asenov mase...@velti.com Hello guys! I want to ask you which security frameworks you use when it comes to

Re: webapp authentication

2010-02-03 Thread Martijn Dashorst
IMO two options come to mind: 1. you only need authentication: roll your own IAuthorizationStrategy that checks if your custom session has a username set 2. use wicket-auth-roles, giving you role based authorization (not-authorized, user and admin) There are enough examples available on the

RE: webapp authentication

2010-02-03 Thread Martin Asenov
Hello, namesake! I've already done component authorization with the means wicket is supplied with. I'm looking only for login authentication using my JPA DB, which I don't believe is included in Wicket. There's a Wicket Security project that afaik is not stable yet, so I can't use it. I need

Re: webapp authentication

2010-02-03 Thread Thomas Kappler
On 02/03/10 17:20, Martin Asenov wrote: I need only to authenticate users when they attempt to login. Not just call something like this: User user = MyUtilities.getUserByCredentials(name, password); if (user == null) return false; else ...do further processing I want something more secure

Re: wicketstuff-push and component replacing

2010-02-03 Thread Rodolfo Hansen
The changes are in 1.4-SNAPSHOT But it seems wicketstuff isn't building the package at the moment, I will look into that. For now, you need to checkout the source and build it yourself. On Wed, Feb 3, 2010 at 8:21 AM, Roland rolan...@gmail.com wrote: Thank you for replying. As I

RE: webapp authentication

2010-02-03 Thread Martin Asenov
I don't know. Probably against some attempts to break the security. Is this secure enough? The passwords are stored in a hex format after md5hash conversion. Regards, Martin -Original Message- From: Thomas Kappler [mailto:thomas.kapp...@isb-sib.ch] Sent: Wednesday, February 03, 2010

Re: Feedback panel in Modal window

2010-02-03 Thread Anna Simbirtsev
Thanks. Its working now, I just had to implement onError function for the AjaxSubmitLink. On Tue, Feb 2, 2010 at 4:29 PM, vermas shalini.ve...@us.bosch.com wrote: Try to add feedbackpanel inside the panel and inside the form. wicket:panel form div wicket:id=feedback id=feedback/div rest

Re: webapp authentication

2010-02-03 Thread Les Hazlewood
Hi Martin, What do you mean by you couldn't set Shiro up? Did you mean shiro-wicket in wicketstuff? Or just Shiro's out-of-the-box web support? Setting up Shiro for any webapp is as painless as possible: http://cwiki.apache.org/confluence/display/SHIRO/Web Of course, any recommendations are

Where is the full client filename during FileUpload?

2010-02-03 Thread Nicola Tucci
Hi all, I'm using a FIleUpload form component in order to save the full client filename (path + filename, i.e. /home/jdoe/myfiles/MyUploadableDocument.pdf), but for what I can see, I can retrieve only the filename using FileItem.getName(). I've tried to deeply debug wicket code to find the full

Bookmarkable link url is broken in 1.4.6 after ajax update

2010-02-03 Thread Objelean Alex
The wicket-1.4.6 release contains a fix for WICKET-2312, which is a great thing. But apparently it breaks Bookmarkable link url in situation when it is updated by ajax. I'm not sure if this description is enough for fast reproduction, but I will try to add a quickstart asap and will open a JIRA

Re: Where is the full client filename during FileUpload?

2010-02-03 Thread Andrew Lombardi
FileUploadField takes a FileUpload model object which has a method called: getClientFileName and as far as the path is concerned, it is saved to a temp file in a temp directory On Feb 3, 2010, at 9:04 AM, Nicola Tucci wrote: Hi all, I'm using a FIleUpload form component in order to save the

Re: Where is the full client filename during FileUpload?

2010-02-03 Thread Anantha Kumaran
Technically you cann't get the full path of the file using javascript. you are allowed the access the relative name of the file only.it is also read only (security reason). otherwise you could upload a file without the knowledge of the user. see http://www.cs.tut.fi/~jkorpela/forms/file.html for

Re: enclosures only allow one input component?

2010-02-03 Thread Igor Vaynberg
enclosures dont really play nice with formcomponents, use EnclsoureContainer instead. On Wed, Feb 3, 2010 at 3:03 AM, Jeroen Dijkmeijer jer...@dijkmeijer.com wrote: it looks like only one input component (the one indicated by the child attribute) get its value bound to the model inside an

Re: ERROR: Received Ajax response with code: 403

2010-02-03 Thread Igor Vaynberg
i think 10ms ajax ping to the server is too often. your server probably takes more then 10ms to generate a response so you will get all these ajax requests queue up... use a more reasonable duration, like 1 second. -igor On Wed, Feb 3, 2010 at 5:12 AM, Tomasz Dziurko tdziu...@gmail.com wrote: I

Re: Bookmarkable link url is broken in 1.4.6 after ajax update

2010-02-03 Thread vineet semwal
I noticed the same problem after moving to 1.4.6 , I am creating a new bookmarkablepagelink on ajax submit , current page mounted path is prefixed in my case, i checked it with 1.4.5,it doesn't have that problem. for eg. bookmarkablepagelink created is

Re: Bookmarkable link url is broken in 1.4.6 after ajax update

2010-02-03 Thread vineet semwal
i have opened the jira issue for the same problem, https://issues.apache.org/jira/browse/WICKET-2717 On Thu, Feb 4, 2010 at 1:07 AM, vineet semwal vineetsemwal1...@gmail.comwrote: I noticed the same problem after moving to 1.4.6 , I am creating a new bookmarkablepagelink on ajax submit ,

Re: wicketstuff-push and component replacing

2010-02-03 Thread vineet semwal
i can't build the wicketstuff core for last few days,i think the problem is some projects have their parents as 1.4-SNAPSHOT while others have their parents as 1.4.2-SNAPSHOT. On Wed, Feb 3, 2010 at 9:59 PM, Rodolfo Hansen kry...@gmail.com wrote: The changes are in 1.4-SNAPSHOT But it seems

AjaxUpdating ends up with null model objects

2010-02-03 Thread Marek Šabo
Hi all, I would like to ask something about ajax and form submitting, I'm definitely missing something from concepts. I'll try to describe as the code is too long to post. I have two ajaxcheckboxes which we can think of as binary switches. Inside their onUpdate method I call a method which has

wicketstuff-core subprojects correct version number??

2010-02-03 Thread Rodolfo Hansen
Which should it be? Anyone else know about this? On Wed, Feb 3, 2010 at 6:04 PM, vineet semwal vineetsemwal1...@gmail.comwrote: i can't build the wicketstuff core for last few days,i think the problem is some projects have their parents as 1.4-SNAPSHOT while others have their parents as

JIRA WICKET-1292 fix

2010-02-03 Thread roger.b...@creoss.com
From: roger.b...@creoss.com Sent: Wednesday, February 03, 2010 3:12 PM To: d...@wicket.apache.org Subject: JIRA WICKET-1292 fix I am using Wicket 1.4.5 and have implemented the workaround outlined in this ticket by Maurice Marrink. However, I still

Loading resources (CSS,JS) from JARs ?

2010-02-03 Thread Ashika Umanga Umagiliya
Greetings, While playing around with wicket-stuffminis , I noticed that the Moontip load its CSS,JavaScript from the class path (wicketstuff-minis.jar) eg: http://localhost:8080/minis-examples/resources/org.wicketstuff.minis.mootipbehavior.MootipBehaviour/mootools.v1.11.js -which I couldnt

Re: component .... not found on page

2010-02-03 Thread cresc
Thanks Eugene/Igor.. Finally managed to solve the issue. Since I don't get this error if I replace the panel with an empty panel or any other panel I started focussing on the panel that is being replaced with. I removed components one by one and finally ended up with this datelabel. If the date

DataTable : Setting the Column with from Java ?

2010-02-03 Thread Ashika Umanga Umagiliya
Greetings, For my DataTable ,I create 'IColumn's using data from an XML file. In the code-snippet below, the 'vcol' instance has information about Column-title,bean property field,visible or not..etc. Now I want to set the column width using the same way.How can I change the CSS property from

Re: wicketstuff-core subprojects correct version number??

2010-02-03 Thread vineet semwal
when i try to build the core i get the error at a point when calenderviews is built , missing org.wicketstuff:jslibraries:jar:1.4.2-SNAPSHOT, the jslibraries built will only generate 1.4-SNAPSHOT and hence the mismatch, On Thu, Feb 4, 2010 at 5:05 AM, Rodolfo Hansen kry...@gmail.com wrote:

Re: Worldwide address form

2010-02-03 Thread Sam Barrow
anybody want to work on this? i have my collection of wicket components and this is just the type of stuff id like to be included. On Wed, 2010-02-03 at 11:26 +0100, Per Lundholm wrote: If you do that, you will be a hero. ;-) But why not, a component that handles all kinds of addresses in the

AW: Loading resources (CSS,JS) from JARs ?

2010-02-03 Thread Stefan Lindner
YEs, you can place your CSS, JS, IMG/GIF etc. where your java and HTML resides and pack them into your jar file. You can refert to them in CSS like this .myClass{ background-image : url(resources/com.mycomp.mypackage.ReferenceClass/picture.gif); } an e.g. render

Re: DataTable : Setting the Column with from Java ?

2010-02-03 Thread nino martinez wael
use a attribute modifier 2010/2/4 Ashika Umanga Umagiliya auma...@biggjapan.com Greetings, For my DataTable ,I create 'IColumn's using data from an XML file. In the code-snippet below, the 'vcol' instance has information about Column-title,bean property field,visible or not..etc. Now I

Regarding editable datagrid

2010-02-03 Thread Kasiviswanadham Lakkadasu
Hi, I am kasi. I am developing POC (Proof of concept) on editable datagrid using apache wicket framework to implement in one of the project. I am using 'Apache Wicket 1.4.5 Release'. I have a question that whether editable datagrid features are available in the 'Apache Wicket 1.4.5' version or

Re: DataTable : Setting the Column with from Java ?

2010-02-03 Thread Ashika Umanga Umagiliya
Hi nino, To which component I should add an attribute-modifier. In IColumn ,i should add the 'width' to the headers ,i assume. any tips to do this? nino martinez wael wrote: use a attribute modifier 2010/2/4 Ashika Umanga Umagiliya auma...@biggjapan.com Greetings, For my DataTable ,I

RE: webapp authentication

2010-02-03 Thread Martin Asenov
Hi again , Les! Well, here my recommendations come. By saying simple setup I mean creating a single realm that extends AuthorizingRealm and configuring a web security manager that uses that realm. That's all I need. I found nowhere in the sample projects such thing, even in the

Re: DataTable : Setting the Column with from Java ?

2010-02-03 Thread nino martinez wael
I susspect you should add the attribute modifier to your LinkoutColumn telling what css class you want to use.. I would have to see the html aswell to help further.. 2010/2/4 Ashika Umanga Umagiliya auma...@biggjapan.com Hi nino, To which component I should add an attribute-modifier. In

Re: Regarding editable datagrid

2010-02-03 Thread Leo . Erlandsson
I am kasi. I am developing POC (Proof of concept) on editable datagrid using apache wicket framework to implement in one of the project. I am using 'Apache Wicket 1.4.5 Release'. I have a question that whether editable datagrid features are available in the 'Apache Wicket 1.4.5' version or not?