Re: Problem making Panel visible using AJAX

2008-07-11 Thread Martijn Dashorst
http://google.com/search?q=wicket+ajax+visible On Sat, Jul 12, 2008 at 12:44 AM, vishy_sb <[EMAIL PROTECTED]> wrote: > > Hi all, > > I have a page where I have put an AjaxFallBackButton() and also have a Panel > on it. I want to make the panel visible or invisible by clicking the button. > Kindly

Regarding getting html checkbox values?

2008-07-11 Thread Edi
i am displaying html checkbox values in one page. checkbox looks in the same page, i have wicket AjaxLink delete Button. during the delete button clicking, i want to get the "checked checkbox values in the same page? is it possible? if yes, please advise. thanks and regards, edi -- View this

Hiding table columns in DataViews?

2008-07-11 Thread Michael Mehrle
I build a table like this:   [Date] [Ti

Re: Search and Display Results on same page[Ajax or No Ajax]

2008-07-11 Thread nanotech
Hi Michael, Thanks for your reply. For the Ajax solution...In the files that I attached. What I am tring to do is loading the model when the page loads up first time. At this time the Pojo is empty so model has no values ,which means there is nothing to iterate so list appears empty. Now, my

Re: Search and Display Results on same page[Ajax or No Ajax]

2008-07-11 Thread Michael O'Cleirigh
Hello, I think your problem is in how you define the search criteria pojo model: final IModel addContactInfoModel = new LoadableDetachableModel() { protected Object load() { ContactInfoPOJO modelObject = ne

Problem making Panel visible using AJAX

2008-07-11 Thread vishy_sb
Hi all, I have a page where I have put an AjaxFallBackButton() and also have a Panel on it. I want to make the panel visible or invisible by clicking the button. Kindly refer to the code below: //Code for the TestPage public TestPage() { Form form = new Form("form");

Search and Display Results on same page[Ajax or No Ajax]

2008-07-11 Thread nanotech
Hi Guys, I need help regarding a simple use case. I have a BasePage that has Two Panels : Top Panel and Bottom Panel User Can enter search criteria in top Panel and Results need to be displayed in Bottom Panel. Results displayed in ListView/DataView #html looks like this... [Top panel] [Bottom

CheckGroup with custom Model problem

2008-07-11 Thread damnitjim
Hey guys, I'm back to using Wicket after a 3 year break! Anyway, if any of you can help with this delightful pain I'd return the favor (eventually!). Background: - I have a DTO/VO that has a property that is a list of strings (e.g. String[] propertyA) - The lookup items (choices) for this property

Re: Does Session.getClientInfo() Always Return An Instance?

2008-07-11 Thread Ryan Gravener
Yes, it should always return an instance. On Fri, Jul 11, 2008 at 12:34 PM, TH Lim <[EMAIL PROTECTED]> wrote: > > Hi, > > Does Session.getClientInfo() always return a client info instance? Is it > possible that this method will return null? If so, what is the cause to it? > > Thanks. > > -- > Vie

Re:

2008-07-11 Thread Timo Rantalaiho
On Fri, 11 Jul 2008, Toscano wrote: > Is Red Hat and the webserver is configured to serve in UTF-8. The point is What is the locale of the session running the JVM? With what file.encoding is the application built, and with what file.encoding (Java system property) is it running? Best wishes, Timo

Re: disabling error validation

2008-07-11 Thread Timo Rantalaiho
On Fri, 11 Jul 2008, tbt wrote: > Thanks for the link. But my form doesnt have static components like in the > example. All the form components are dynamic and generated using ListViews > and are nested inside panels. Is there a way to traverse the component > hierarchy with a loop and call validat

Re: London Wicket Event, August 6 at Google, London

2008-07-11 Thread Charlie Dobbie
I'm in! You can't keep me away... To anyone who is undecided over whether or not to attend, I heartily recommend it. I think everyone comes away at least with some fresh ideas or an understanding of some aspect of Wicket they've not yet used, or they just benefit from talking to people tackling

Switch tab only if user doesn't want to save changes.

2008-07-11 Thread Fabio Fioretti
Hi all, thanks in advance for your precious support. I have an AjaxTabbedPanel with two tabs. In the first tab there is a panel with a form, some input fields and a save button; the content of the second tab is irrelevant. Use-case: 1 - user selects first tab; 2 - user makes some changes in the

Re: Best way to debug big session size?

2008-07-11 Thread Eelco Hillenius
> This also revealed that for example the page instance I'm > currently looking at has more than 2000 components in total > :) Maybe we should look at replacing some stuff that is not > displayed with dummy WebMarkupContainers instead of relying > on visibility control. Maurice and Martijn have a

Does Session.getClientInfo() Always Return An Instance?

2008-07-11 Thread TH Lim
Hi, Does Session.getClientInfo() always return a client info instance? Is it possible that this method will return null? If so, what is the cause to it? Thanks. -- View this message in context: http://www.nabble.com/Does-Session.getClientInfo%28%29-Always-Return-An-Instance--tp18407471p184074

Re: Reading files

2008-07-11 Thread David Nedrow
On Jul 9, 2008, at 6:52 AM, greeklinux wrote: Hello, I do not know if it helps: Can you read the CSV file as Resource, get the IResourceStream, then getInputStream() on IResourceStream and put this inputStream in a java.io.InputStreamReader? Yeah, that's basically where I am. I thought ma

ByteArrayResource's getCacheDuration( )

2008-07-11 Thread Ricky
Hi, I want to be able to generate the byteArray (for MS - Excel report being passed to a byteArrayResource every time the resource link is clicked. I was trying to use getCacheDuration( ) for the same to allow for it to create ByteArray every time the resource link is clicked on the page. I have

PopupSettings IE6 "Permission Denied"

2008-07-11 Thread Louis Savoldy
When using PopupSettings to throw up a popup with a PDF (from a link), IE6 is sporadically throwing a "Permission Denied" error. I believe this because of the "w.focus()" firing prior to the PDF/popup being loaded. Below is the code used to display a "help" link. When clicked, it throws up a

Re: Branding a PageLink target Page

2008-07-11 Thread greeklinux
Hello, for me it would be important to know where to look if I see the Navlink code. When I know where to find the property file with the navigation roules then it is ok. Cant you use the wicket:link tag? then you have to change only the html instead of the java part. greetings jensiator wrot

sort of off topic ehcache's SimplePageCachingFilter or ?

2008-07-11 Thread Nino Saturnino Martinez Vazquez Wael
I need to cache some of my applications pages, I saw the note on seo page on the simplepagecachingfilter. However it seems as this project was last updated in 2006 are there anything equal to this which are more alive? Also how can I say cache /myparameterpage/ and then it will cache /myparamet

Re: Branding a PageLink target Page

2008-07-11 Thread jensiator
Thank you for the feedback. Okey, I have a NavLink.class that extends PageLink. The keys in the property file is the full class name. If the property file don't contain the class name key, NavLink will just call the PageLink constuctor with the the class name as usual. If the property file conta

Re: Fallback support for ModalWindow

2008-07-11 Thread pixologe
I agree with hbf. Of course, modal window is a JS component, but a fallback would really make sense (why shouldn't there be one when there's one for AjaxLink?). Is there any component like this around by now or planned in near future? Basically it should be possible to have a placeholder (MarkupC

Re: Resource/SharedResource - Display an image

2008-07-11 Thread greeklinux
Hello, no I am not using any AJAX with this form. I only get the resource and set it in an Image component. Maybe the uploaded picture is not persistet fast enough to be available on the response... Ok, I thank you for your help. greetings Roland Huss wrote: > > Hi, > > > greeklinux wrote

Re: Branding a PageLink target Page

2008-07-11 Thread greeklinux
Hello Jens, I dont find such a fuctionality, too. But it is a interresting one. If you want something simple, then I would suggest your first solution. Implement a PageLink/Link that takes some key and read this key from a properties file. I used such a link route configuration with a php frame

Re: addResourceFolder in unit tests

2008-07-11 Thread Ned Collyer
Witold Czaplewski wrote: > > i'm trying to use a custom ResourceStreamLocator to place the markup > files in another directory. It is based on this wiki entry: > http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html#ControlwhereHTMLfilesareloadedfrom-InWicket1.3 > > The d

Re:

2008-07-11 Thread richardwilko
Ok, but first rule of debugging is check the simple stuff first so I did :) In my application I have added the http://www.nabble.com/%3C-xml-tag%2C-japanese-and-ie6-tp18400121p18401656.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re:

2008-07-11 Thread Toscano
Hi, Is Red Hat and the webserver is configured to serve in UTF-8. The point is that IE6 has problems to proccess HTML with the > Ok, but what os are you using? > > on windows the default character encoding is not utf-8 and java uses the > system default character encoding. Also check that the

Re:

2008-07-11 Thread Serkan Camurcuoglu
Do you include static japanese text within the markup? I believe the only time when the is initially parsed from file by wicket using an xml parser. I don't think dynamically included japanese text (such as text that's defined by the model of a label object) has anything to do with the declarati

Re:

2008-07-11 Thread richardwilko
Ok, but what os are you using? on windows the default character encoding is not utf-8 and java uses the system default character encoding. Also check that the html files are saved in utf-8 tbh i think that meta tag only works for really old browsers, but doesn't hurt anything if it is there.

Re:

2008-07-11 Thread Toscano
Hello, Thank you for your answer. In every case, the encoding in the browser is utf-8. It doesn't work with the metatag you send to me, it is already added in all the pages. It only works if I add the > What is the encoding of your outputted pages (in firefox right click, view > page info)? T

addResourceFolder in unit tests

2008-07-11 Thread Witold Czaplewski
Hello, i'm trying to use a custom ResourceStreamLocator to place the markup files in another directory. It is based on this wiki entry: http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html#ControlwhereHTMLfilesareloadedfrom-InWicket1.3 The deployed application works fine,

Re:

2008-07-11 Thread richardwilko
What is the encoding of your outputted pages (in firefox right click, view page info)? This will depend on what platform you are running on (os and webserver). if it is not utf-8 then you will need to change your setup so that it is. then it *should* work. its also possible that the page encod

Re: Best way to debug big session size?

2008-07-11 Thread Timo Rantalaiho
On Thu, 10 Jul 2008, Johan Compagner wrote: > try it with yourkit? I've got JProfiler and at least with that it's been a bit difficult to pinpoint which exactly are the components hanging onto the biggest objects. But I did a kludge in our own DiskPageStore extension where I visit all the compo

users@wicket.apache.org

2008-07-11 Thread Toscano
Hello, We are developing a multilanguage application, so our standard is utf-8. We are making intensive use of Wicket's localization features, but recently we found a problem and we can't find a good solution for it. Basically is this: for not getting corrupted Japanese, we have to include the f

Re: Direclty using parent's compoundpropertymodel not possible ?

2008-07-11 Thread Johan Compagner
oeps loop has to be something like this ofcourse Component parent = component; while ( (parent = parent.getParent()) != null && !(parent.getModel() instanceof IComponentInheritedModel)) { return parent.getModelObject();

Re: Direclty using parent's compoundpropertymodel not possible ?

2008-07-11 Thread Johan Compagner
and that sub component must have the complete object? or does the panel only have to have a property of that object? If it has to have the complete object you can always make your own model give the panel this kind of model: public class SuperObjectModel implements IModel, IComponentAssignedModel

Re: Direclty using parent's compoundpropertymodel not possible ?

2008-07-11 Thread Joseph P.
Newgro wrote: > > Did you check > http://cwiki.apache.org/WICKET/working-with-wicket-models.html > already? It's explained realy well. > I did already. My issue is more about model sharing with sub components and especially how to access it easily in a sub component (like for example in a pa

Re: wicket new application starts help

2008-07-11 Thread Piller Sébastien
Have a look here: http://www.wicket-library.com/wicket-examples/, and especially http://www.wicket-library.com/wicket-examples/forminput/ But it may look like this: HTML JAVA String _f1, _f2; Object _chk; ... Form form = new Form("form"); add(form); TextField f1 = new TextField

Re: disabling error validation

2008-07-11 Thread tbt
Hi Thanks for the link. But my form doesnt have static components like in the example. All the form components are dynamic and generated using ListViews and are nested inside panels. Is there a way to traverse the component hierarchy with a loop and call validate() on each component. Please provi