page content in panel

2009-07-21 Thread Gerald Fernando
i used java 1.6 wicket 1.2.7 jar wicket-extensions 1.2.7 jar with Eclipse is it enough? Please give me quick reply -- Thanks®ards, Gerald A

how to show a page in a TabPanel

2009-07-21 Thread Gerald Fernando
Hello Friends, i have a TabPanel with 3 tabs. shall we have another page for every tab? shall i use setContentPage? is it possible -- Thanks®ards, Gerald A

Re: Loading Velocity Templates

2009-07-21 Thread Igor Vaynberg
On Tue, Jul 21, 2009 at 4:17 PM, Andrew Berman wrote: > What exactly do I pass into the path part?  Do I pass in a full directory > structure or just the name of the file? it doesnt matter - whatever you pass in is whatever you will get back - it is basically a prefix. i havent tried to use this

Re: Loading Velocity Templates

2009-07-21 Thread Andrew Berman
What exactly do I pass into the path part? Do I pass in a full directory structure or just the name of the file? I've tried this before and I always get a null. Thanks Igor On Tue, Jul 21, 2009 at 4:05 PM, Igor Vaynberg wrote: > see if ResourceNameIterator helps > > -igor > > On Tue, Jul 21, 2

Re: Loading Velocity Templates

2009-07-21 Thread Igor Vaynberg
see if ResourceNameIterator helps -igor On Tue, Jul 21, 2009 at 3:55 PM, Andrew Berman wrote: > Hello, > > I currently use Velocity templates within my Wicket 1.3 application, and I > have been using VelocityPanel.forTemplateResource to locate my resources > passing it the actual file URL of the

Loading Velocity Templates

2009-07-21 Thread Andrew Berman
Hello, I currently use Velocity templates within my Wicket 1.3 application, and I have been using VelocityPanel.forTemplateResource to locate my resources passing it the actual file URL of the velocity template. However, I now have a need to find the velocity templates in the same way the HTML fi

Re: ModalWindow windowClosedCallback and WicketTester

2009-07-21 Thread Martin Makundi
After further investigation... the "break;" is to blame ;) Thera are multiple behaviors and one must search to execute the proper one... tester.executeBehavior((AbstractAjaxBehavior) behavior); is fine. Anyways, probably deserves an RFE? ** Martin 2009/7/21 Martin Makundi : > Here is one workar

Re: AjaxSelfUpdatingTimerBehavior and ModalWindow

2009-07-21 Thread dtoffe
There is an enhancement request in Wicket JIRA for this issue, but it is set to 1.5 release... http://issues.apache.org/jira/browse/WICKET-1525 In the meantime, the class I created merging AjaxSelfUpdatingTimerBehavior and AbstractAjaxTimerBehavior is working fine, although I agree th

Re: ModalWindow windowClosedCallback and WicketTester

2009-07-21 Thread Martin Makundi
Nah... have to take that back. This works better but only once: It works better like this: for (IBehavior behavior : modalWindow.getBehaviors()) { if (behavior instanceof AbstractDefaultAjaxBehavior) { ((AbstractDefaultAjaxBehavior) behavior).onRequest(); break; }

Re: ModalWindow windowClosedCallback and WicketTester

2009-07-21 Thread Martin Makundi
Here is one workaround I found, but of course a) it should be built-in and b) automatic. public void executeModalWindoCloseCallback(ModalWindow modalWindow) { for (IBehavior behavior : modalWindow.getBehaviors()) { if (behavior instanceof AbstractDefaultAjaxBehavior) { tester.e

Re: How do I set a selected item outside of an inmethod datagrid?

2009-07-21 Thread Marcin Palka
If I understand your problem correctly you want to do master and detail grids. When you select an item in a master table (by means of a mouse click) you want to repopulate the details(history) table and make a selection on programmaticaly, right? I would say you first need to override onItemSele

Re: BoundCompoundPropertyModel @Deprecated

2009-07-21 Thread Igor Vaynberg
read the javadoc. -igor On Tue, Jul 21, 2009 at 12:55 PM, Arthur Leigh Allen wrote: > Hallo folks, > > can someone please tell me why the BoundCompoundPropertyModel is declared as > deprecated in wicket 1.4? > I'm about to migrate from 1.3.5 to 1.4RC7 and I got 980 warnings. I solved > about 45

disable a validator

2009-07-21 Thread Fernando Wermus
Hi all, How can I disable a validator for a TextField? I have a WizardStep that I wanted to set in editable o readable. In editable state, I need to disable some validators. Thanks in advance Fernando Wermus. www.linkedin.com/in/fernandowermus

Re: using ajaxbutton for for submit

2009-07-21 Thread Mathias Nilsson
One disadvantage would be if the client don't support javascript -- View this message in context: http://www.nabble.com/using-ajaxbutton-for-for-submit-tp24591716p24594589.html Sent from the Wicket - User mailing list archive at Nabble.com. -

BoundCompoundPropertyModel @Deprecated

2009-07-21 Thread Arthur Leigh Allen
Hallo folks, can someone please tell me why the BoundCompoundPropertyModel is declared as deprecated in wicket 1.4? I'm about to migrate from 1.3.5 to 1.4RC7 and I got 980 warnings. I solved about 450 today. I got about 350 warnings because of the BoundCompoundPropertyModel. I loved that model

Re: AjaxSelfUpdatingTimerBehavior and ModalWindow

2009-07-21 Thread Martin Makundi
Well.. you could just replace it with a new one.. ** Martin 2009/7/21 satar : > > I know this is an old post but it hits an issue I currently have. I want to > provide the user the ability to turn on/off auto refresh of data from the > database. If all possible, I would like to use the original >

Re: AjaxSelfUpdatingTimerBehavior and ModalWindow

2009-07-21 Thread satar
I know this is an old post but it hits an issue I currently have. I want to provide the user the ability to turn on/off auto refresh of data from the database. If all possible, I would like to use the original AjaxSelfUpdatingTimerBehavior or at least the AbstractAjaxTimerBehavior but it has the s

RE: jWicket -- jQuery with Wicket integration

2009-07-21 Thread Stefan Lindner
Yes! Fixed. Now it's http://subversion.visionet.de/project/WicketJQuery/browser/tags/0.3.7/WicketJQueryDemo.war -Ursprüngliche Nachricht- Von: satar [mailto:starl...@gmail.com] Gesendet: Dienstag, 21. Juli 2009 20:27 An: users@wicket.apache.org Betreff: Re: jWicket -- jQuery with Wicket

Re: memory leak on FeedbackMessages??

2009-07-21 Thread Matej Knopp
Should be fixed in svn. Can you give it a try? -Matej On Tue, Jul 21, 2009 at 8:58 AM, Tsutomu YANO wrote: > I created a JIRA: > > https://issues.apache.org/jira/browse/WICKET-2384 > > We finally found out the reason of this problem. This was a bug of Wicket > (on FeedbackPanel class). > I wrot

Re: PageLink deprecated in 1.4

2009-07-21 Thread Igor Vaynberg
the two alternatives are mentioned in the javadoc. -igor On Tue, Jul 21, 2009 at 11:35 AM, David R Robison wrote: > I noticed that the PageLink class is deprecated in 1.4. What should it be > replaced with in my application code? David > > -- > > David R Robison > Open Roads Consulting, Inc. > 10

PageLink deprecated in 1.4

2009-07-21 Thread David R Robison
I noticed that the PageLink class is deprecated in 1.4. What should it be replaced with in my application code? David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web: http://openroadsconsult

Re: jWicket -- jQuery with Wicket integration

2009-07-21 Thread satar
Just an FYI, the link to the WicketJQueryDemo.war on "http://subversion.visionet.de/project/WicketJQuery/wiki"; is broke. I think it should be: http://subversion.visionet.de/project/WicketJQuery/browser/tags/0.3.6/WicketJQueryDemo.war instead its: http://subversion.visionet.de/project/WicketJQu

Re: How do I set a selected item outside of an inmethod datagrid?

2009-07-21 Thread satar
Not sure if this was a tough question or simply no one on the user forum has had such a need but I finally figured out a way to get my particular problem solved and figured I would share. There likely may be a better way but I tied the selection to an Override of the DataSource of the DataGrid: .

AW: SSL - ajax login

2009-07-21 Thread Arthur Leigh Allen
Hello Igor, thanks for your early reply. Yes, my login form is submitted via ajax. public class BasePage {         public void switchViaAjax(...) { ... }     public void navigateViaAjax(...) { ... } } @RequireHttps public class SSLForm extends Form { ... } public class LoginPanel {     publi

using ajaxbutton for for submit

2009-07-21 Thread tubin gen
Is there any disadvantage using ajaxButton for navigation to new page ?I not adding anything to target and just call sertResponsePage() , is there any disadvantage using jaxbutton in this cas e?

ModalWindow windowClosedCallback and WicketTester

2009-07-21 Thread Martin Makundi
Hi! I have the same problem as http://www.mail-archive.com/users@wicket.apache.org/msg05826.html Is it solved? I have a ModalWindow with a "close" button in it, the button's "onclick" calls modalWindow.close() via AJAX. My problem is that when I call the onclick via wicketTester.executeAjaxEven

Re: SSL - ajax login

2009-07-21 Thread Igor Vaynberg
@RequreHttps is meant to be a page-level feature, so it doesnt fit your usecase. is your login form submitted via ajax? show us the code to sslform, your login form - making sure to include the code to the component that submits it. -igor On Tue, Jul 21, 2009 at 8:34 AM, Arthur Leigh Allen wrot

SSL - ajax login

2009-07-21 Thread Arthur Leigh Allen
Hello folks, I'm using wicket 1.4 RC7 now and I have a question regarding the usage of ssl. I use the HttpsRequestCycleProcessor with the annotation @RequireHttps.   Imagine the following case like it is realized on different sites like web.de or gmx.de as well as xing.com. The first call will re

Re: passing a session to a wizard

2009-07-21 Thread Steve Olara
Thanks Mike you were right, I managed to figure it out, I had not initalised the object within a seession before bring it into the wizard.   Thanks   Stephen --- On Mon, 20/7/09, Michael Sparer wrote: From: Michael Sparer Subject: Re: passing a session to a wizard To: users@wicket.apache.org

Re: AutoCompleteTextField and IE8, javascript error thrown

2009-07-21 Thread whische
Hi Marcin, Yeah, eventually we will be using 1.4 for sure. But i don't want to migrate right now just because of this one issue. Thanks, Wilko Marcin Palka wrote: > > Hi, > > I use the wicket 1.4 nad I haven't noticed anything like that. You may > want to look into wicket svn and check if t

Re: AutoCompleteTextField and IE8, javascript error thrown

2009-07-21 Thread whische
Hi Jeremy, I am using version 1.3.6 yes (using the DefaultCssAutocompleteTextField). The issue you mention does not refer to IE8 and thusfar that's the only brower the problem seems to occur in. I put the following in the HomePage.java of my Quickstart: --- public class HomePage ext

Re: Tab panel child

2009-07-21 Thread Marcin Palka
Gerald, My example quickstart project is maven based. So I would suggest to use maven to compile it. If your're a beginner I would highly recommend that you download and use a Netbeans IDE (from http://www.netbeans.org) which has a built-in maven project support. Open the project from the IDE an

Re: Tab panel child

2009-07-21 Thread Martin Makundi
And change compiler syntax ** Martin 2009/7/21 Marcin Palka : > > Gerald, > > You have to use Java version 5. Earlier versions don't support generics. I > believe Wicket 1.4 requires Java 5. > > cheers > Marcin > > - To unsu

Re: Tab panel child

2009-07-21 Thread Marcin Palka
Gerald, You have to use Java version 5. Earlier versions don't support generics. I believe Wicket 1.4 requires Java 5. cheers Marcin Gerald Fernando wrote: > > Hi marchin, > in your code > > > HashMap tabMap = new HashMap(); - this is a > line which shows error > > there is is error such

Re: AutoCompleteTextField and IE8, javascript error thrown

2009-07-21 Thread Jeremy Thomerson
Can you see if it's a duplicate of this: http://issues.apache.org/jira/browse/WICKET-1504 If so, I'm not sure why you would be experiencing it - as that issue says that it was fixed in 1.3.6 and you said you're using 1.3.6. Did you just recently switch to 1.3.6? If so, have you cleared your cach

Re: AutoCompleteTextField and IE8, javascript error thrown

2009-07-21 Thread Marcin Palka
Hi, I use the wicket 1.4 nad I haven't noticed anything like that. You may want to look into wicket svn and check if there were any changes made to the wicket-autocomplete.js between version 1.3.4 and 1.3.6. I've just looked into 1.4 branch in svn and it seems that there have been quite some chan

Re: Tab panel child

2009-07-21 Thread Gerald Fernando
Hi marchin, in your code HashMap tabMap = new HashMap(); - this is a line which shows error there is is error such as Parameterized types are only avilable if source level is 5. what is this error how can i solve it? Thanks&Regards, Gerald A On Tue, Jul 21, 2009 at 3:30 PM, Marcin Palka wro

Re: AutoCompleteTextField and IE8, javascript error thrown

2009-07-21 Thread Wilko Hische
Hi Christian, Did you ever figure out what was wrong? I encountered the same problem. Best regards, Wilko Hische christian.fichera wrote: > > Dear all, > > I have a problem using AutoCompleteTextField: when I type something into > it, > the choices list is not shown, and the following javasc

Re: Tab panel child

2009-07-21 Thread Marcin Palka
See an example in the attached file. It should be quite easy to understand. The example consists of two pages. First of them contains a tabbed panel with three tabs. Each of them contains a panel (an instance of the same panel class). The the same panel is embedded outside the tabbed panel into a

Re: jWicket -- jQuery with Wicket integration

2009-07-21 Thread Sam Stainsby
On Tue, 21 Jul 2009 02:18:12 -0700, Tauren Mills wrote: > I realize there are already a few Wicket/jQuery > integrations, but I think that Stefan's WicketJQuery implementation has > some advantages over the others. We've just started using WiQuery (http://code.google.com/p/wiquery/), but are not

Re: Tab panel child

2009-07-21 Thread Martin Makundi
Hi! Are you at all familiar with Java? If yes, it's quite straight forward. If not... just copy paste the example and make your changes there. Probably you need some experienced person for pair programming, few hours. ** Martin 2009/7/21 Gerald Fernando : > Hi martin, > sorry to say that can you

jWicket -- jQuery with Wicket integration

2009-07-21 Thread Tauren Mills
jWicket has now been released as a wicketstuff project. jWicket is an integration of Wicket and jQuery that was previously called WicketJQuery (by Stefan Lindner). I realize there are already a few Wicket/jQuery integrations, but I think that Stefan's WicketJQuery implementation has some advantage

Re: Tab panel child

2009-07-21 Thread Gerald Fernando
Hi martin, sorry to say that can you please give me elobrate please Thanks&Regards, Gerald A On Tue, Jul 21, 2009 at 12:39 PM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > > then how can reuse it in another page??? > > Panel can be put anywhere. You can put Panel into Page or Pa

Re: setVisbile on form makes me reset fields

2009-07-21 Thread Mathias Nilsson
When pressing the link it will tell wicket to refresh the page and the form will no be submitted. have you tried submitLink instead of link? -- View this message in context: http://www.nabble.com/setVisbile-on-form-makes-me-reset-fields-tp2458p24583629.html Sent from the Wicket - User mailin

Re: setVisbile on form makes me reset fields

2009-07-21 Thread pieter claassen
Ok, here it is private class QuestionEditForm extends Form { private boolean questionformatter = true; public QuestionEditForm(String id) { super(id); TextChunk question = paragraphwebmodel.getEntity().getStatement(); setModel(new

Re: setVisbile on form makes me reset fields

2009-07-21 Thread Mathias Nilsson
Can you post some code so we can see whats going on? -- View this message in context: http://www.nabble.com/setVisbile-on-form-makes-me-reset-fields-tp2458p24583413.html Sent from the Wicket - User mailing list archive at Nabble.com.

setVisbile on form makes me reset fields

2009-07-21 Thread pieter claassen
To clear the clutter in my form, I have a number of subforms hidden behind toggle links. However, I find that if I toggle these subforms visible using subform.setVisble(true), then I lose my contents of the rest of the controls on the main page. Any tips on how to force retain the already entered

Re: 1.4 is ready for production?

2009-07-21 Thread Marat Radchenko
We're using it since 1.4-m2 in production. 2009/7/20 Alessandro Vincelli : > I know that 1.4 is RC, and RC means that is not ready for production ;-) > But I'm using the 1.4 since January in some small projects without > blocking problems? > The issue opened in Jira are not blocking for me. > Any

Re: Tab panel child

2009-07-21 Thread Martin Makundi
> then how can reuse it in another page??? Panel can be put anywhere. You can put Panel into Page or Panel into AnotherPanel and so on. TabPanel1 | + add(new GridPanel()); AntoherPanel | + add(new GridPanel()); SomePage | + add(new GridPanel()); > can you compare Adobe Flex and Apa

Re: Tab panel child

2009-07-21 Thread Gerald Fernando
then how can reuse it in another page??? can you compare Adobe Flex and Apache wicket. am Expecting your reply Thanks&Regards, Gerald A On Tue, Jul 21, 2009 at 11:52 AM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > Hi! > > No, not page into tab. Just panel. Here TabPanel1...3 ar