Re: Is there an ajax WizardButton to use in a wizard inside a ModalWindow?

2008-10-09 Thread fstof
Ahaa... I see... Can you maybe post your implementation of the onclick method of the AjaxNextButton? sorry, but I'm a bit new with the wicket thing Thanks a lot for the help AshleyAbraham wrote: Yes, I did make it to work by creating those two Ajax buttons and putting them in a class

Re: Is there an ajax WizardButton to use in a wizard inside a ModalWindow?

2008-10-09 Thread fstof
Oops... I see you are only concerned with the cancel and finish buttons... I'm looking to make everything, including the next and previous buttons to use ajax... I'm asuming I'll have to have something like this in there someware, yes? target.addComponent(wizard); fstof wrote: Ahaa... I

Re: Wicket Community Meetup in South Florida?

2008-10-09 Thread Nino Saturnino Martinez Vazquez Wael
Martijn Dashorst wrote: Hmm, SoFla is one of my favorite holiday spots, but not in the near future though. Diving is awesome at Key Largo, and the food is great. Cool, me and the missus dive too. However children has come in the way, theres no portable diving bell yet for them.. I'd love

Navigation set active Page

2008-10-09 Thread HITECH79
Hallo, i want to solve this problem: I create a Navigation for my project with css. I cant set the active Page in the Navigation. Body-Problem with child and extend? Have someone a best-practise or help for me ... Thanks... HITECH68 -- View this message in context:

Wicket talk at NL-JUG's J-Fall

2008-10-09 Thread Erik van Oosten
Just to let you know. My talk 'Effective Wicket', targeted at starting Wicketeers has been accepted on NL-JUG's J-Fall. http://www.nljug.org/jfall/ Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/

a way to show jfreechart tooltip on the image

2008-10-09 Thread rolandpeng
This is my sample code to to show jfreechart tooltip on the image. The key is to override onComponentTagBody() and use replaceComponentTagBody(). Just post my tried to share. There should be better way to tune the performance. --source code here-- public class JFreeChartImage extends

RE: Navigation set active Page

2008-10-09 Thread Serkan Camurcuoglu
I don't think it's a best practice but I set the active link name in the session when a navigation link is clicked and then in the base page constructor I get the active link name from the session and modify the css class of the related link item using an attribute appender.. -Original

Re: wicket + spring + jpa/ hibernate = lazy load exception

2008-10-09 Thread Lutz Müller
It might work if you dont have any ajax on your page. otherwise each ajax call happens in a new request and causes your domain object to be retrieved from the database. this way you lose every change made to your object. writing all changes to database before detaching can be an option, but

Re: wicket + spring + jpa/ hibernate = lazy load exception

2008-10-09 Thread Michael Sparer
you mean changing each property of an existing object by means of ajax? if the object is serializable, clone the object and perform the changes on that object ... if it isn't set the properties in your form and apply them onsubmit ... or am I missing the point completely? Lutz Müller wrote:

Re: Warn that data on page modified mechanism

2008-10-09 Thread Martijn Dashorst
if you don't wrap your whole page in a form, and use submitlinks everywhere, you'll loose user input. Forms need to be submitted to the server to retain their input. Much better IMO is a client side javascript that triggers a confirmation box when the user has modified some fields, being called

Re: Problem with upload (works on xp, error on linux)

2008-10-09 Thread Martijn Dashorst
If you haven't modified anything between the two wars, then it sounds like a rights issue. AFAIR some linux distributions restrict dangerous things such as reflection. Martijn On Wed, Oct 8, 2008 at 12:29 PM, Herbert Winter [EMAIL PROTECTED] wrote: hello list, I am a new user of wicket and

Re: Validation on Custom Panel

2008-10-09 Thread Martijn Dashorst
According to me you don't have to use SRM at all. If you use the normal wicket validation mechanism, the resource bundles are picked up automatically. That validations are skipped is probably a bug in your code (for example: setDefaultFormProcessing(false) in your code somewhere?) Martijn On

Re: how to customize error message of requiredtextfield inside listview

2008-10-09 Thread Igor Vaynberg
Required=${label} is required textfield.setlabel(new model(question +item.getindex())); -igor On Thu, Oct 9, 2008 at 2:16 AM, freak182 [EMAIL PROTECTED] wrote: Hello, My problem is how to customize error message of requiredtextfield inside listview? here is the scenario: i have a

[OT] Process modelling (with Wicket front-end)

2008-10-09 Thread Kaspar Fischer
Can anybody recommend a good process modelling tool that integrates with Wicket? We would like to use such a tool for many activities in our organziation: - We show processes to our end-users as part of our knowledge information centre website. So we need to present processes,

Re: Example of pseudo-ajax file uploading using iframes

2008-10-09 Thread dukehoops
Does anyone have a copy of this (or any other) Ajax file upload example? The attachment mentioned below does not open. thanks -nikita Carlos Pita-4 wrote: Hi all, here is a hopefully functional example showing how to use an iframe to upload a file and afterwards call a behavior on a

Re: wicket + spring + jpa/ hibernate = lazy load exception

2008-10-09 Thread Igor Vaynberg
maybe this will help http://wicketinaction.com/2008/09/building-a-smart-entitymodel/ -igor On Thu, Oct 9, 2008 at 7:02 AM, Michael Sparer [EMAIL PROTECTED] wrote: you mean changing each property of an existing object by means of ajax? if the object is serializable, clone the object and

html code

2008-10-09 Thread miro
I have a page withsame pattern but different data in several td tag. Like Header1 link 1 link2 link3 header2 link1 link2 and so..on I dont want to repeat the same html for header1 header2 instead I want to make a custom component which takes

Looking for a Wicket developper in Paris

2008-10-09 Thread Antoine Angenieux
Hi everyone, Clinigrid is a French ASP company in the medical research field, and is looking for wicket competent developpers with strong Java background. The primary goal is to enhance one of our current product with new functionnalities. A good knowledge of Hibernate / MySQL / Spring

Re: [OT] Process modelling (with Wicket front-end)

2008-10-09 Thread Daan van Etten
Hi Kaspar, We use jBPM for our processes. We don't manage the processes from Wicket, as there is a nice plugin Eclipse for it. jBPM uses Java and Hibernate, so you can create any GUI you like in Wicket and show underlying jBPM stuff (like tasks, processes, etcetera) Regards, Daan On 9

Re: Problem with upload (works on xp, error on linux)

2008-10-09 Thread Herbert Winter
hello, thanks for your input, more info on this: * I use wicket-1.4-SNAPSHOT.jar * I checked out the code from the repository ... and build the code...so it is not the exactly the same war... * I pointed the upload dir to a dir in my home-dir with no writepermissions, no luck of course * I

html code in component class

2008-10-09 Thread miro
like I have very little html and I dont want a write a new .html file and just in my component i want to override some method which returns html as string for the component .Is this possible ? -- View this message in context:

Re: html code in component class

2008-10-09 Thread James Carman
Sure. Look at what the Label class does. It doesn't have an HTML template. On Thu, Oct 9, 2008 at 1:49 PM, miro [EMAIL PROTECTED] wrote: like I have very little html and I dont want a write a new .html file and just in my component i want to override some method which returns html as

Re: wicket + spring + jpa/ hibernate = lazy load exception

2008-10-09 Thread Nino Saturnino Martinez Vazquez Wael
Hi Lutz I agree, there is something to this.. However it's not wicket related.. I know that Bjarni are hacking away at something, I've dicussed a few things with him. I guess if you are creating entities then you can store your data in a temporary model... However Bjarni Gudmondurs

markup for component extending RadioGroup?

2008-10-09 Thread dukehoops
Hi, I created a component MyRadioGroup that extends RadioGroup (has two Radios inside). I cannot figure out what to put in MyRadioGroup.html. The following does not work because it expects MyRadioGroup to be a Panel: wicket:panel input wicket:id=radio1 type=radio/ input wicket:id=radio2

Re: html code in component class

2008-10-09 Thread miro
the label appears complex i looking for a simple solution My custom componentuses wicket components internally here is an example protected class CustomLinkComponent extends WebMarkupContainer { String displayName; Class clazz;

Re: html code in component class

2008-10-09 Thread James Carman
What's wrong with using a panel? If this is to be done in only one class, have you thought about using a Fragment? On Thu, Oct 9, 2008 at 2:28 PM, miro [EMAIL PROTECTED] wrote: the label appears complex i looking for a simple solution My custom componentuses wicket components internally

Re: onmouseover image

2008-10-09 Thread Stefan Simik
Implementation of roll-over image. Takes 2 image resource-references: one for initial image, second for mouseover image. Automatically adds javascript for preloading these images. Takes wicket locale and style into consideration. USAGE: RollOverImage image = new RollOverImage(wicketId,

Re: job postings

2008-10-09 Thread Patrick Angeles
Ditto... http://www.inertiabev.com/inertiabev/page/jobs.jsp From the company that brought you Brix CMS. (http://code.google.com/p/brix-cms/) We are based in Napa, but are willing to consider telecommute. -- View this message in context:

Re: html code in component class

2008-10-09 Thread miro
Using panel I have to write a .html file which I dont want to do becasue my html code is very little just a line , next option is Fragment but this is not clear, neither the api doc nor the wicket examples please can you give me small example using fragment ? jwcarman wrote: What's

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

Hibernate + HTML-Table

2008-10-09 Thread Björn-Peter Tietjens
Hey there, I want to execute a simple sql-count-query with a group by statement and display the result in a html-table... something like: session = HibernateUtil.getSessionFactory().getCurrentSession(); session.beginTransaction(); String SQL_QUERY = SELECT

Ajax update DefaultDataTable using textfield

2008-10-09 Thread taygolf
Hey guys, I am trying to update a DefaultDataTable using a textfield and ajax. I have done it to a ListChoice before but for some reason I can not get it to work with a DefaultDataTable. Basically what I want to do is have a textfield on my page. when the user types a letter in the textfield I

Re: html code in component class

2008-10-09 Thread Peter Ertl
If it's just a line use Label Am 09.10.2008 um 21:01 schrieb miro: Using panel I have to write a .html file which I dont want to do becasue my html code is very little just a line , next option is Fragment but this is not clear, neither the api doc nor the wicket examples please can

DownloadLink

2008-10-09 Thread Pablo Scagno
Hi, I was trying to use DownloadLink but for some reason I couldn't make it work. I'm trying to insert the link in a grid, but when I test the application and I click the link, an error page appears The webPage cannot be found this url appears in the page

Re: html code

2008-10-09 Thread Timm Helbig
Hi, 1) I would choose a Panel 2) Sounds like Markup Inheritance would help you here. Create some Base Panel and then extend this class and the markup and include the different Components, if any. Hope this helps Regards, Timm Am Thursday 09 October 2008 19:08:25 schrieb miro: I have a page

Re: html code in component class

2008-10-09 Thread miro
Its not just label here is the html ul li wicket:id=repater /li /ul hml for repeater

Re: html code in component class

2008-10-09 Thread miro
here the html again spant wicket:id=custmenu ult lit wicket:id=repater /lit /ult /spant hml for repeater spant

RE: html code in component class

2008-10-09 Thread Serkan Camurcuoglu
Peter means that you can put html as the string content of a label like this: Label l = new Label(myLabel, ulliSome html here/li/ul); l.setEscapeModelStrings(false); l.setRenderBodyOnly(true); this way the label will display only the html that you've given.. -Original Message- From:

Re: How can I use the wicketdate-time stuff with DateTime on my model?

2008-10-09 Thread Ned Collyer
I was hoping to wait for the next milestone to see what the fallout of all the generics mods are. The change between m1, m2, and m3 were significant. Is it staying as it is in m3? (Ive checked the generics page on the wiki). Rgds Ned Martijn Dashorst wrote: First, please upgrade to

AjaxButton submit url

2008-10-09 Thread Michael Oswell
I am curious if it is possible to change the URL that is used for the XMLHttpRequest so that I can force a form on a non-SSL enabled page to post to an SSL url. In this particular case, I have a non-secure page with a login panel on it. The form in the panel is using an AjaxButton for form

Re: Closing ModalWindow using javascript:window.close()

2008-10-09 Thread rmorrisey
RG, I think that you can use top.window.close() if you are trying to close the entire page. window.close() probably isn't working because ModalWindow uses an IFRAME if I remember correctly. If you want to close only the ModalWindow and not the entire window, I would take a look at how it's done

CryptedUrlWebRequestCodingStrategy and bookmarkable page components

2008-10-09 Thread Ritesh Trivedi
Hi, I am using CryptedUrlWebRequestCodingStrategy, which uses http session key for crypting urls. I noticed an issue with this Lets say customer was on the bookmarkable page and left that open for time longer than the session expiration time. Now if the bookmarkable page has components like

Re: how to customize error message of requiredtextfield inside listview

2008-10-09 Thread freak182
Thanks igor it works. :) Thanks a lot. Cheers. igor.vaynberg wrote: Required=${label} is required textfield.setlabel(new model(question +item.getindex())); -igor On Thu, Oct 9, 2008 at 2:16 AM, freak182 [EMAIL PROTECTED] wrote: Hello, My problem is how to customize error

Re: Problem with upload (works on xp, error on linux)

2008-10-09 Thread Timo Rantalaiho
On Thu, 09 Oct 2008, Herbert Winter wrote: * I pointed the upload dir to a dir in my home-dir with no writepermissions, no luck of course * I pointed the upload dir to a dir in my home-dir WITH writepermissions, no luck again Did you check out the security policy settings in Tomcat? Does the

Re: wicket + spring + jpa/ hibernate = lazy load exception

2008-10-09 Thread Timo Rantalaiho
On Thu, 09 Oct 2008, Lutz Müller wrote: It might work if you dont have any ajax on your page. otherwise each ajax call happens in a new request and causes your domain object to be retrieved from the database. this way you lose every change made to your object. writing all changes to

Re: markup for component extending RadioGroup?

2008-10-09 Thread Timo Rantalaiho
On Thu, 09 Oct 2008, dukehoops wrote: Is the lesson here to only extend Panels (or FormComponentPanels) when creating custom components that simply encapsulate other components? WebMarkupContainer, actually (Panel is fine if you want to enforce the component to have its own HTML). Does this

Re: Ajax update DefaultDataTable using textfield

2008-10-09 Thread Timo Rantalaiho
On Thu, 09 Oct 2008, taygolf wrote: Basically what I want to do is have a textfield on my page. when the user types a letter in the textfield I want to take that letter and update the query that I send to my dataprovider. The dataprovider will then update the DefaultDataTable. I have place

Re: Hibernate + HTML-Table

2008-10-09 Thread Michael O'Cleirigh
Hi Björn-Peter, Have a look at DefaultDataTable which is part of the wicket-extensions module |*DefaultDataTable

Re: How can I use the wicketdate-time stuff with DateTime on my model?

2008-10-09 Thread Patrick Angeles
We use DateTime/LocalDate in our entities as well. It's easy enough to roll your own form components. See the patch and zip file attached to this issue, you can probably just put those classes in your own project and run with it. https://issues.apache.org/jira/browse/WICKET-466 The patch is

Re: wicket + spring + jpa/ hibernate = lazy load exception

2008-10-09 Thread James Carman
Are we talking about a wizard here? What if you used something like this: https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/wicketopia/src/main/java/org/wicketopia/model/proxy/ProxyModelManager.java Basically, the models cache their values until you call commit on the

Re: Hibernate + HTML-Table

2008-10-09 Thread James Carman
Wicketopia has an example application that does what you want. The HomePage (which shows a sortable table) is here: https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/example/src/main/java/org/wicketopia/example/web/page/HomePage.java On Thu, Oct 9, 2008 at 4:41 PM, Björn-Peter