drag and drop

2009-03-19 Thread tbt
Hi I am a newbie to wicket and I want to create a page where images can be dragged and dropped. I had a look at wicketstuff-scriptaculous and downloaded the jar file but it is not compatible with wicket 1.3.2. Can someone provide me the link so that I can download the jar file straight away which

Re: Updating Main Page From Modal Using AJAX

2009-03-12 Thread tbt
Hi try something like the following example given below. on the main page display the user list as the following code. public class UserPage extends WebPage { public UserPage() { ArrayList userList = new ArrayList(); userList.add("Adam");

Re: flash with resource

2009-01-11 Thread tbt
tbt wrote: > > Hi > > I am using flash in my web application and currently using the example > given at > http://cwiki.apache.org/WICKET/object-container-adding-flash-to-a-wicket-application.html > > This works fine but my swf files are stored in a database and

Re: DateTimeField Error and Question

2008-12-31 Thread tbt
Christoph Bach wrote: > > Hi, > > I am using the org.apache.wicket.extensions.yui.calendar.DateTimeField > > 1. If I enter a date say 1.1.1955 in the textfield, the textfield strips > ist to 01.01.55. > The first time I click on the Calendar icon, the calendar shows the year > 1955. > From th

Re: Dynamic Select and SelectOptions

2008-12-23 Thread tbt
homar70 wrote: > > Hi, > > I have trouble of finding out how to make dynamic optgroups and options > from the select and selectoptions in wicket-extensions. The same issue is > described in this post > http://www.nabble.com/Select-and-SelectOptions-td11684707.html#a11695243 > > Any ideas? > >

unit test for dropdownchoice with ajax

2008-12-23 Thread tbt
Hi I have coded two dropdown boxes similar to the example provided at http://http://www.wicket-library.com/wicket-examples/ajax/choice.1 The hotel dropdown is populated once a country is selected via ajax. This works fine and now i am writing a unit test for it. The code is as follows

flash with resource

2008-11-26 Thread tbt
Hi I am using flash in my web application and currently using the example given at http://cwiki.apache.org/WICKET/object-container-adding-flash-to-a-wicket-application.html This works fine but my swf files are stored in a database and when displayed now is converted back into a swf file and stor

date picker

2008-11-03 Thread tbt
Hi I'm using wicket 1.3.2 and downloaded wicket-contrib-datepicker-1.2 because I want to use a date picker for my application. But this release is not compatible with wicket 1.3 because it gives errors. Can someone give me the link to download a date picker component that is compatible with wicke

update dropdown with ajax

2008-09-22 Thread tbt
Hi I have a problem regarding how to update a dropdown with ajax when an option is added through a popup window. For example Page A has a dropdown and a link. When the link is clicked a popup opens and dropdown options can be added to the popup page. when the form is submitted by clicking 'add' t

Re: user input not persisting during error validation

2008-07-21 Thread tbt
c void onSubmit() { setResponsePage(new ConfirmationPage()); } }; .... } tbt wrote: > > Hi > > I'm new to wicket and i'm using a Form class with several nested Panels >

user input not persisting during error validation

2008-07-21 Thread tbt
Hi I'm new to wicket and i'm using a Form class with several nested Panels which are generated dynamically using a listview. But during error validation the user input values only persist in the form input fields but disappear from input fields which are nested inside a panel. I'm passing the sam

Re: disabling error validation

2008-07-11 Thread tbt
provide an example. Thanks Serkan Camurcuoglu-2 wrote: > > this link may help you a bit.. > > http://cwiki.apache.org/WICKET/conditional-validation.html > > > > tbt wrote: >> Hi >> >> But I need the component models to be updated. Thats why i'm u

Re: disabling error validation

2008-07-10 Thread tbt
Hi But I need the component models to be updated. Thats why i'm using a SubmitLink instead of using a Link. I was hoping there was a simple method to disable form validation with the SubmitLink such as 'link2.setFormValidation(false)' or something like that. Is there a way to disable validation

disabling error validation

2008-07-09 Thread tbt
Hi I'm a newbie to wicket and I have a form which has several text fields and two SubmitLinks. eg:- class MyForm extends Form { public MyForm(String id) { super(id); TextField textField = new TextField("field1"); textField.setRequired(true); SubmitLink link1 = new SubmitLink("link1") { p

Re: Anchor Links

2008-04-28 Thread tbt
On Mon, Apr 28, 2008 at 11:17 AM, tbt <[EMAIL PROTECTED]> wrote: > >> >> Hi >> >> I'm new to wicket and I have a listview which dynamically creates links. >> I'm >> using the following code to anchor links so that when the user clicks a >>

Anchor Links

2008-04-28 Thread tbt
Hi I'm new to wicket and I have a listview which dynamically creates links. I'm using the following code to anchor links so that when the user clicks a link, it will be directed to the correct area in the page. protected void populateItem(ListItem item) { Link boardLink = new Link("boa

Re: Hibernate with wicket

2008-04-10 Thread tbt
Hi Can anyone tell me the list of jar files that are needed to run databinder. I am having trouble running the baseball example. Thanks tbt adrienleroy wrote: > > you can take a look at the databinder project : http://databinder.net/ > > > tbt wrote: >> >> H

Hibernate with wicket

2008-04-10 Thread tbt
ory.openSession(); } ... Is this method a correct way to integrate hibernate with wicket and also saving resources at the same time. (If I create an instance of a SessionFactory, the application runs very slowly) Thanks tbt -- View this message in

property file

2008-04-07 Thread tbt
properties file and ApplicationProperties.class is in the same package. I like to know a way to load property files which are stored in the same package as the class file. Thanks tbt -- View this message in context: http://www.nabble.com/property-file-tp16537257p16537257.html Sent from the Wicket

wicket link

2008-03-25 Thread tbt
omponentTag(tag); tag.put("href","http://www.google.com";); } } ... but this is not possible because cannot onComponentTag method as it is marked final. How do i give urls from a java class to a tag Thanks tbt -- View this message in context:

file uploads

2008-03-24 Thread tbt
27;uploads' but is created inside the resin folder. How do I specify a relative path so that a folder is created inside my project directory thanks tbt -- View this message in context: http://www.nabble.com/file-uploads-tp16249006p16249006.html Sent from the Wicket - User mailing list a

Re: hibernate

2008-03-19 Thread tbt
Hi How do you create a hibernate session in the class that extends the WebApplication class. is it possible to override protected void init() here and create a single static hibernate session so i can use that session instance in other places. Please provide me with an example. Thanks tbt

hibernate

2008-03-18 Thread tbt
s the correct way to do this. Please provide your feedback as the way to integrate wicket with hibernate in a very simple example as I am new to hibernate. tbt -- View this message in context: http://www.nabble.com/hibernate-tp16120516p16120516.ht

Re: Localization

2008-01-25 Thread tbt
Hi, I also found out that can also use with WicketMessageTagHandler.enable = true in the application init method. Thanks Thomas Gier-2 wrote: > > tbt wrote: >> Hi >> >> I tried to add a attribute to a html tag using the wicket:message tag. >> The >> co

Re: Localization

2008-01-24 Thread tbt
erence("abc", JustSomeClass.class, "style.css")) > > Regards, > Erik. > > tbt wrote: >> Hi, >> >> I like to have my css file('style.css') in a seperate folder instead of >> having it in the same folder as HomePage.java b

Re: Localization

2008-01-23 Thread tbt
s fairly easy. Put this in the header: > href="style.css"> > and move style.css to the same folder as HomePage.html. > > Now if you want to add another locale for the stylesheet, you just add a > file called style_[language code].css. No other ch

Localization

2008-01-22 Thread tbt
Hi I have a html page called HomePage.html English Taiwanese and two property files called HomePage.properties and HomePage_ta.properties. These files hold the values which should be replaced inside the tag. How can I switch between these property files once the user selects a pa

Re: dynamic url

2007-12-18 Thread tbt
I am overriding the onNewBrowserWindow method in my html page and added code in the method body to show an error page when a new tab is opened. This is working perfectly and looks like the solution for my problem. Thanks :) Eelco Hillenius wrote: > >> I'm using wicket to develop an online exam

Re: dynamic url

2007-12-17 Thread tbt
new session. You should try it > with different browsers and/or different machines. > > > tbt wrote: >> >> Hi >> >> I'm a newbie to wicket and I'm using a WebSession to log users into my >> application. When navigating through the pages wi

dynamic url

2007-12-17 Thread tbt
Hi I'm a newbie to wicket and I'm using a WebSession to log users into my application. When navigating through the pages wicket generates a dynamic url such as http://192.222.7.66:8080/oem?wicket:interface=wicket-1:0:: But if you copy this url and paste it in a seperate tab the inner page is dis

Re: wicket preloader

2007-11-20 Thread tbt
is there a stable release of wicket-extensions 1.3 Where can I download wicket-extensions 1.3 Thijs wrote: > > Why redirect? > Use a lazyloading panel. > > Thijs > > tbt wrote: >> Hi >> >> I like to implement a preloader the wicket way. For example

wicket preloader

2007-11-15 Thread tbt
Hi I like to implement a preloader the wicket way. For example when a user does a search my code looks up the db and retrieves the relevent data. But this takes up a lot of time and i want to show a html page(preloader page) while the db search is done. When the search is completed it will automa

Re: Wicket runtime Exception

2007-11-12 Thread tbt
dio's are constantly replaced with new once and that could be > the > problem > > On Nov 12, 2007 10:31 AM, tbt <[EMAIL PROTECTED]> wrote: > >> >> Hi >> >> Here is the code that uses RadioGroup >> >> >> public class RadioListView

Re: Wicket runtime Exception

2007-11-12 Thread tbt
ge())) { imageLabel.setVisible(false); } else { imageLabel.setVisible(true); } } } msc65jap wrote: > > Hello, > > Please send your code. > >

Wicket runtime Exception

2007-11-09 Thread tbt
Hi I'm a newbie to wicket and i'm using RadioGroup in my application. But sometimes it gives the following runtime exception ERROR (RequestCycle.java:1043) - submitted http post value [radio0] for RadioGroup component [27:paperForm:panel:radioGroup] is illegal because it does not contain relati

Re: logout

2007-10-09 Thread tbt
setResponsePage to navigate to where you > want when pressing back button (Thinking its not the browser button?) > > -Nino > > tbt wrote: >> Hi >> >> I'm a newbie to wicket and i'm currently using a Session to log users >> into >> my applic

logout

2007-10-08 Thread tbt
Hi I'm a newbie to wicket and i'm currently using a Session to log users into my application. When the users click a logout button a new page is shown. But they can click the back button in the browser and go into the application. Is there a wicket way of expiring the session when the logout butt

Re: updating form component models when a link is clicked

2007-09-13 Thread tbt
Hi Martijn, I'm using SubmitLink and it's working fine now. Thanks :) Martijn Dashorst wrote: > > Ehrm... Double negative question... > > Yes, you can't use it without JavaScript. > > As adoesn't provide a way to submit a form, it uses > javascript for calling form.submit(). In that case

updating form component models when a link is clicked

2007-09-13 Thread tbt
Hi I'm a newbie to wicket and I have a form and several components attached to it. There are several links in this form and when each link is clicked a different page is loaded. But the component models are not getting updated when the onClick event is called in each link. How can the models be u