Enclosure + AjaxButton

2008-07-08 Thread nanotech
Hi All, I have a simple requirement in which I want to display two different messages on Form Submit depending on whether or not the text field is filled in . The way I thought it should work is if I use combination of AjaxButton, WebMarkupContainer,wicket:enclosure and by overriding

Re: Enclosure + AjaxButton

2008-07-08 Thread nanotech
The line below pojo.setSampleText(pojo.getSampleText()); should be ignored. Thanks, nanotech wrote: Hi All, I have a simple requirement in which I want to display two different messages on Form Submit depending on whether or not the text field is filled in . The way I thought

Re: Enclosure + AjaxButton

2008-07-08 Thread nanotech
Hi Richard, Thanks for the reply. I am using 1.3.3 I will update to 1.3.4 and try again. Thanks, Rachit richardwilko wrote: There was a bug in enclosure in 1.3.3, where it wouldn't call isVisible after the first time (fixed in 1.3.4) which version are you using? nanotech wrote

Re: Enclosure + AjaxButton

2008-07-08 Thread nanotech
Ok...it worked after upgrading to Wicket 1.3.4 So, the problem was what Richard mentioned below that in wicket 1.3.3 enclosure wouldn't call isVisible() after first time Thanks again. Rachit nanotech wrote: Hi Richard, Thanks for the reply. I am using 1.3.3 I will update to 1.3.4

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... div

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,

Changing the DatePattern in DataTable

2008-07-15 Thread nanotech
Hi, How can I change the pattern for a column displaying date from database in DataTable. In my case it displays the Short date format by default. which is mm/dd/yy I want to able to display MM/dd/. Thanks, RG -- View this message in context:

DataTable + CheckGroup with CheckGroupSelector

2008-07-21 Thread nanotech
Hi, I am trying to add a column of checkboxes in data table with CheckGroup Selector. Html looks like this wicket:panel form wicket:id=form input type=checkbox wicket:id=groupselectorcheck/uncheck all/input table border=1

Re: DataTable + CheckGroup with CheckGroupSelector

2008-07-22 Thread nanotech
Hi All, Looking for some pointers. Anyone? nanotech wrote: Hi, I am trying to add a column of checkboxes in data table with CheckGroup Selector. Html looks like this wicket:panel form wicket:id=form input type=checkbox wicket:id

Re: DataTable + CheckGroup with CheckGroupSelector

2008-07-22 Thread nanotech
and DataTable with AjaxFallBackDataTable ? Thanks, Rachit igor.vaynberg wrote: there is a checkgroup inside datatable example in wicket-stuff phonebook -igor On Tue, Jul 22, 2008 at 3:37 AM, nanotech [EMAIL PROTECTED] wrote: Hi All, Looking for some pointers. Anyone? nanotech wrote

Re: DataTable + CheckGroup with CheckGroupSelector

2008-07-22 Thread nanotech
. It does show checkgroup but checking/un-checking it does not affect the check boxes under it. What am I doing wrong here? 2. Also, can you give a brief example of the navigator with submit links. Thanks, Rachit igor.vaynberg wrote: On Tue, Jul 22, 2008 at 9:54 AM, nanotech [EMAIL PROTECTED

Best way to implement DataTable updatable via Ajax

2008-07-28 Thread nanotech
Hi All, I have a Save Form where user should be able to add/save new records and should be able to view feedback if there are any errors. In short, When user loads up the page he sees a form and under it a DataTable which holds the deafault search results. If he tries to add a record and Add

Re: Best way to implement DataTable updatable via Ajax

2008-07-28 Thread nanotech
Hi Ryan, Did you answer my post? i am unable to see any answer? Thanks RG Ryan Gravener-3 wrote: On Mon, Jul 28, 2008 at 3:59 PM, nanotech [EMAIL PROTECTED] wrote: Hi All, I have a Save Form where user should be able to add/save new records and should be able to view feedback

Re: Best way to implement DataTable updatable via Ajax

2008-07-28 Thread nanotech
please help,Anyone? --- Hi All, I have a Save Form where user should be able to add/save new records and should be able to view feedback if there are any errors. In short, When user loads up the page he sees a form and under it a DataTable which holds the deafault

Re: Best /Correct way to update DataTable via Ajax

2008-07-28 Thread nanotech
. I wouldn't have any save calls in my dataprovider, only logic to fetch results. On Mon, Jul 28, 2008 at 8:52 PM, nanotech [EMAIL PROTECTED] wrote: Hi Paul, Sorry could not understand your answer. Can you please elaborate? RG Paul Logasa Bogen II wrote: the inMethod DataGrid

RadioGroup, Radio with AjaxEventBehavior not updating form model

2008-07-29 Thread nanotech
Hi , I am trying to add Ajax Behaviour to Radio (in a radioGroup) RadioGroup has radio_1 and radio_2 radio_1 controls Dropdown_1 (i.e when radio_1 is checked then Dropdown_1 is enabled and Dropdown_2 is disabled--its all working fine and good) radio_2 controls Dropdown_2 (i.e when radio_2 is

Re: RadioGroup, Radio with AjaxEventBehavior not updating form model

2008-07-29 Thread nanotech
() { return securityTypeRadio.isEnabled(); } }; dropdown_2.setOutputMarkupId(true); Note: Dropdown 2 is diabled onload. nanotech wrote: Hi

Wrap Headers in DataTable to new line?

2008-07-31 Thread nanotech
Q1: How do I make Header in DataTable to wrap to new line. I am putting a newline character but its not woorking. columns.add(new PropertyColumn(new Model(This is a very very very long header that does not wrap), sortProperty, propertyExpression)); Q2:Is there a way to set the column's width, so

Re: Refreshing a form inside a Modal Window

2008-08-02 Thread nanotech
Go Here http://www.wicket-library.com/wicket-examples/ajax/modal-window.3 Look at Modal window example with Page. vishy_sb wrote: Can you point me to an example or explain a little more about this Thanks Vishy Martijn Dashorst wrote: iirc using a page instead of a panel

Need little help in understanding AjaxEventBehavior(on a Radio) and AjaxFormChoiceComponentUpdatingBehavior(on a RadioGroup)

2008-08-04 Thread nanotech
Hi All, I have a two Radios that control two dropdowns which get Enabled/disbaled based on radio selected. All the four components are a part of radiogroup. When page is loaded radio1 is pre-selected and Dropdown1 is enabled--radio2 is unselected and DropDown2 is dis-abled. The Problem: When I

Re: Need little help in understanding AjaxEventBehavior(on a Radio) and AjaxFormChoiceComponentUpdatingBehavior(on a RadioGroup)

2008-08-05 Thread nanotech
Can anyone please help? nanotech wrote: Hi All, I have a two Radios that control two dropdowns which get Enabled/disbaled based on radio selected. All the four components are a part of radiogroup. When page is loaded radio1 is pre-selected and Dropdown1 is enabled--radio2 is unselected

Re: Need little help in understanding AjaxEventBehavior(on a Radio) and AjaxFormChoiceComponentUpdatingBehavior(on a RadioGroup)

2008-08-05 Thread nanotech
Can someone please help? nanotech wrote: Hi All, I have a two Radios that control two dropdowns which get Enabled/disbaled based on radio selected. All the four components are a part of radiogroup. When page is loaded radio1 is pre-selected and Dropdown1 is enabled--radio2 is unselected

Re: YUI DatePicker Changing default behavior

2008-08-08 Thread nanotech
Anyone has any suggestions, please? nanotech wrote: Hi all, I have multiple questions regarding YUI datepicker that I am using on my project. 1. I have a from which has 6 DatePicker elements. Now it is possible that user can open all of them opened which will make screen look bad

Re: Feedback messages disappearing before display

2008-08-11 Thread nanotech
Hi, I believe you want to display the feedback message in TestPage. If so, do something like this: 1. make sure you have feedback panel added on the page where you will be landing after redirect. 2. Then you can get hold of the feedback panel in the current page like shown below: FeedbackPanel

Validating FileUploadField

2008-08-20 Thread nanotech
Hi, I have a FileUpload field on a form (which is a required field) that I need to validate on form submission. I want to validate wether the File Path entered by the user points to a valid file or not. So For example, if user types in TEMP.doc then its invalid. But right now the Form's on

Link inside DataTable - PropertyColumn with Link

2008-08-26 Thread nanotech
Hi All, I looked at the following http://cwiki.apache.org/WICKET/adding-links-in-a-defaultdatatable.html to create a column with hyperlinks. Also added the following for the markup public IResourceStream getMarkupResourceStream(MarkupContainer container, Class

Re: DateField throwing runtime error in IE only

2008-09-05 Thread nanotech
Hi, Did you or anyone found the solution to this? I am having the same problem in IE7 on a ModalWindow (implemented as Panel) with a DateTextField and a DatePicker attached to it. I noticed that it works for the first time when there is no date in the date field...but after date is selected and

All Jars are exposed at :::: http://localhost:8080/contextroot/resources/org.apache.wicket.ajax.WicketAjaxReference

2008-09-17 Thread nanotech
Hi All, In one of the security tests for the web app I am working on the following url http://localhost:8080/contextroot/resources/org.apache.wicket.ajax.WicketAjaxReference displays all the jars in the browser. The application is running on weblogic 9.2. Is this a Wicket Issue or weblogic

Updating model for DropDownChoice

2008-09-23 Thread nanotech
Hi, I have a search form which contains multiple search fields(as TextFields) and also there is dropdown from which user can select the search criteria. The search results are displayed in the same page at bottom. I want to clear the search Form with help of Reset button in the form. Question :

Closing ModalWindow using javascript:window.close()

2008-10-07 Thread nanotech
Hi, In my project there is a modal window.In event of WicketRuntimeException it goes to custom Internal Error page. That Page has a button which overrides onComponetTag method and attaches javascript:window.close() with onclick event. So that user can close the modal window.(I don't want user

All examples throwing internal error http://wicketstuff.org/wicket13/repeater/

2008-10-09 Thread nanotech
Just a fyi All the examples at http://wicketstuff.org/wicket13/repeater/ are throwing internal error. -- View this message in context: http://www.nabble.com/All-examples-throwing-internal-error-http%3A--wicketstuff.org-wicket13-repeater--tp19906710p19906710.html Sent from the Wicket - User

Displaying date as Label.

2008-04-03 Thread nanotech
Hi All, I need some help displaying date correctly in Label. I am using a text field(and DatePicker) to take date input and storing it in mySQL database. But while displying it as a Label I am only seeing time (i.e it always shows 12:00 am).The date in database is correct. Here is how I am

Wicket + iText ?

2008-04-16 Thread nanotech
Hi, I have a table displayed in ListView element of wicket and would like to generate a PDF using iText API. Can someone suggest how to get started with this? Thanks, RG -- View this message in context: http://www.nabble.com/Wicket-%2B-iText---tp16733269p16733269.html Sent from the Wicket -

Is it possible to disable dates in Wicket Date Picker ?

2008-04-21 Thread nanotech
Hi All, Is it possible to programatically disable dates that have passed in wicket's date picker. for exampleI want to disable all the dates before today's day. Can someone please give an example? Thanks, ~ R -- View this message in context:

ListView + SubmitLink + RequiredTextField

2008-04-25 Thread nanotech
Hi All, I have a Required TextField and SubmitLink inside a ListView (which is dynamic). When I click the submit link for a row...it validates all the text fields in List View rather than the textfield against that link (and shows that field is required .) Is there a way to get around this ?

DefaultDataTable + CheckGroupSelector / CheckGroup

2008-05-09 Thread nanotech
Hi, I am trying to implement CheckGroupSelector and CheckGroup( which will hold all the Check(s) ) inside DefaultDataTable, so that each row that gets displayed should also have checkbox and there should be checkbox on top which allows to check/uncheck all checkboxes. Can someone please post a

Javascript + wicket

2008-05-16 Thread nanotech
Hi, I want to know what are the different approaches that I can take in Wicket to solve this simple problem. Consider there are two radio buttons and they both have corresponding text fields in front of them. I want to enable /disable the other text fields when the radio button is selected.

Re: Javascript + wicket

2008-05-17 Thread nanotech
thanks timo. Timo Rantalaiho wrote: On Fri, 16 May 2008, nanotech wrote: I want to know what are the different approaches that I can take in Wicket to solve this simple problem. Consider there are two radio buttons and they both have corresponding text fields in front of them. I

Checkbox inside the Dropdown

2008-05-20 Thread nanotech
Hi, Does wicket have a component that gives the ability to nest the various choices with checkboxes as dropdown options. I want to be able to put checkboxes in the dropdown along with other text from compnent's model and user should be able to make selections by checking one or multiple check

Re: Checkbox inside the Dropdown

2008-05-20 Thread nanotech
components you can use as examples in wicket-stuff -igor On Tue, May 20, 2008 at 1:35 PM, nanotech [EMAIL PROTECTED] wrote: Hi, Does wicket have a component that gives the ability to nest the various choices with checkboxes as dropdown options. I want to be able to put checkboxes

Re: Checkbox inside the Dropdown

2008-05-20 Thread nanotech
Can you please give me a starting point...for implementing this? nanotech wrote: Which examples you are talking about here..can you please elaborate? igor.vaynberg wrote: no, wicket does not have a component like this out of the box, but you can easily create one yourself

Using DataTable

2008-05-29 Thread nanotech
Hi, I have a search form (in a panel)with various search fields(as text fields) on it. User should be able to fill in any number of search parameters and the results are to be displayed in table (with pagenation + sorting capablity on columns) in a different panel on the same page under the

Re: Using DataTable

2008-05-29 Thread nanotech
DetachableEmployeeModel((Employee)object); } and then look it up (by employee Id) from that stored object? 2. Do I need to take care of synchronization when I store the object? Any other suggestions? Thanks, RG igor.vaynberg wrote: On Thu, May 29, 2008 at 12:09 PM, nanotech [EMAIL

Re: Using DataTable

2008-05-29 Thread nanotech
models an instance of the employee, so during that request the model doesnt need to load anything because its already there... -igor On Thu, May 29, 2008 at 1:31 PM, nanotech [EMAIL PROTECTED] wrote: Thanks Igor for your reply. So, what do you suggest I should do: 1. After making

ModalWindow

2008-06-05 Thread nanotech
Hi All, I am using panel inside a ModalWindow. I have few questions regarding Modal Window. 1. It seems that setInitialWidth(800) is not being honoured. No matter what size I set it comes out to be same size. 2. Also, when I try to increase horiznontal size of modal window (by dragging )then

BookMarkable Home Page?

2008-06-13 Thread nanotech
Hi All, In my application the Home Page of the class has the url that looks like this http://localhost:8080/app/?id=ABCXYZ This form has a textfield that I am pre-filling with value of id from query param (in this case ABCYXZ). It also has JCaptcha component and a text field component to

Re: BookMarkable Home Page?

2008-06-13 Thread nanotech
| DisplayForm extends StatelessForm [-- Constructor looks like DisplayForm(String id,PageParameters params) ] igor.vaynberg wrote: use statelessform -igor On Fri, Jun 13, 2008 at 12:46 PM, nanotech [EMAIL PROTECTED] wrote: Hi All, In my application the Home Page

Re: BookMarkable Home Page?

2008-06-13 Thread nanotech
But if I do that wouldn't the feedback messages will go away? -- Thoughts? RG Ryan Gravener-3 wrote: Maybe override onError and redirect to the bookmarkable page w/ params? On Fri, Jun 13, 2008 at 3:46 PM, nanotech [EMAIL PROTECTED] wrote: Hi All, In my application the Home Page

Re: Wicket + iText ?

2008-06-26 Thread nanotech
I am trying to integrate iText on the lines of example provided by John Krasnay below. My question is : 1. While iterating over the list of IColumn .How to I get hold of the column's headers which I had created earlier using...(See TODO::1) final ListIColumn columns = new