Re: [announce] Wicket 1.4.1

2009-08-20 Thread uud ashr
any release/changes notes? On Thu, Aug 20, 2009 at 11:39 PM, Anton Veretennikov < anton.veretenni...@gmail.com> wrote: > Thank you! Great news! > > On Thu, Aug 20, 2009 at 10:14 PM, Jeremy > Thomerson wrote: > > 1.4.1 is now available as source in the releases dir. > > > > -- > > Jeremy Thomerson

what is modal window

2009-08-20 Thread Gerald Fernando
hi friends, what is modal window what is the difference between this and Panel what are the uses Thanks&Regards, Gerald A -- ThanksĀ®ards, Gerald A

Re: Shall we have(embed) a swf in wicket component(Panel or in wicket page).

2009-08-20 Thread Gerald Fernando
Hi nino i used the code in following link http://cwiki.apache.org/WICKET/object-container-adding-flash-to-a-wicket-application.html in this code what is meant by data? my swf is residing in http://localhost:8080/charts/bin/chart.swf which is in tomcat. but am workig wicket in Eclipse

Re: using hibernate pojo as model instead of dto

2009-08-20 Thread Michael Mosmann
Am Donnerstag, den 20.08.2009, 18:59 -0700 schrieb fachhoch: > Is this is a good design or using DTO is a good desing ? it depends.. (IMHO there are only some situations where you can see some benefit in DTO) .. but you have to use LoadableDetachableModels or custom Model implementations to avoid

Re: confused about wicket Tree component with panel swapping

2009-08-20 Thread Haulyn R. Jason
can anybody help me? thanks. On Wed, Aug 19, 2009 at 11:15 PM, Haulyn R. Jason wrote: > Hi, all > I refactor my pages from inheritance to panel swapping with a tree for > navigation. But I can not make the tree work. > > I add some links like this: > add(new Link("settingPageLink") { >

Re: using hibernate pojo as model instead of dto

2009-08-20 Thread fachhoch
Is this is a good design or using DTO is a good desing ? Mathias Nilsson wrote: > > You can use entities as models. Just use LoadableDetachableModels to avoid > LazyLoadingExceptions > -- View this message in context: http://www.nabble.com/using-hibernate-pojo-as-model-instead-of-dto-tp250

Re: using hibernate pojo as model instead of dto

2009-08-20 Thread Mathias Nilsson
You can use entities as models. Just use LoadableDetachableModels to avoid LazyLoadingExceptions -- View this message in context: http://www.nabble.com/using-hibernate-pojo-as-model-instead-of-dto-tp25071549p25072411.html Sent from the Wicket - User mailing list archive at Nabble.com.

using hibernate pojo as model instead of dto

2009-08-20 Thread tubin gen
I am wondering If it is write to use hibernate pojo entities as model objects for wicket components , or should I create a DTO and use them as model objects , Is there any disadvantages of using entities POJO's as model ?

Re: Wicket Quickstart for Ant

2009-08-20 Thread Christian Beil
Ok, then I'll do that. Thanks for the quick help. And thanks for WIA by the way :) Christian Martijn Dashorst schrieb: There's no updated ant version available, though the build.xml should be compatible, provided you modify the compiler source and target versions to at least 1.5 compatibility

Re: Wicket Quickstart for Ant

2009-08-20 Thread Martijn Dashorst
There's no updated ant version available, though the build.xml should be compatible, provided you modify the compiler source and target versions to at least 1.5 compatibility for Wicket 1.4 onwards. Martijn On Thu, Aug 20, 2009 at 11:34 PM, Christian Beil wrote: > Hi all, > > I'm currently readin

Wicket Quickstart for Ant

2009-08-20 Thread Christian Beil
Hi all, I'm currently reading 'Wicket in Action' and I also like the bonus chapter where the Wicket QuickStart build script is set up. Now that I want to try coding some Wicket applications myself, I'd like to use Wicket QuickStart. I saw that the Quickstart project on the homepage uses Maven:

Re: OT: Wicket + Blazeds debugger doesnt stop in breakpoints

2009-08-20 Thread Fernando Wermus
Ryan, I realized what's going on. I download a java 1.5 jdk for my project, but I cant run an applet that my project use. Then I went to java.com to make applet works. The page installs a jre. Despite all my set up is pointing to the jdk (m2eclipse, etc), i got this strange behavior. I have to

Re: OT: Wicket + Blazeds debugger doesnt stop in breakpoints

2009-08-20 Thread Fernando Wermus
Ryan, I follow your article about it. I stripped off the spring part. Because I dont like spring yet. Anyway, it is the setup according to your article. It happened to me that the java debug mode works time to time. I cannot figure it out why some times it doesnt want to stop at the breakpoint

Re: Shall we have(embed) a swf in wicket component(Panel or in wicket page).

2009-08-20 Thread nino martinez wael
Fernando remenber that the modal window are built with a div and javascript so if something does not take that in account it won't work, it could be something todo with the order of rendering dom. 2009/8/19 Fernando Wermus : > You can use SWFObject that is in the wiki. You also can use LightWindow

Re: Prefix URL for skinnable site

2009-08-20 Thread Gianni
problem is all skins need to be under the same fqdn so I can't look up a skin based on the domain name when no other clues are available, which is why I was thinking the only way to do this is a prefix parameter before the wicket part of the url.. which I imagine Wicket needs to see as part

Re: [announce] Wicket 1.4.1

2009-08-20 Thread Anton Veretennikov
Thank you! Great news! On Thu, Aug 20, 2009 at 10:14 PM, Jeremy Thomerson wrote: > 1.4.1 is now available as source in the releases dir. > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > > On Thu, Aug 20, 2009 at 2:40 AM, Martin Funk wrote: >> and leave clean underwear >> >> do

Re: Wicket and RSS

2009-08-20 Thread Roman Zechner
you can simply use rome itself, it's easy to use. -roman VGJ wrote: I've got a simple RSS feed I'm trying to display on a page. Is wicketstuff-rome dead? Is there a better way? I'm not a maven user (not even familar with it) - so are there any jars I can download somewhere for wicketstuff-ro

Re: Custom WebSession and bind()

2009-08-20 Thread T Ames
Yes, I had done that. I was hoping there may be a more efficient place to do this since the attach() method appears to be called several times during the session life-cycle. Thanks! On Thu, Aug 20, 2009 at 11:00 AM, Igor Vaynberg wrote: > maybe something like this... > > class mysession { > O

[announce] wicket 1.4.x branched

2009-08-20 Thread Igor Vaynberg
Wicket 1.4.x has been branched and now lives in https://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.x Trunk is now what will become 1.5.0. Trunk may be broken in the early days of development and contain a lot of API breaks, so if you are following bleeding edge you may want to do so on th

My panel is being rendered twice

2009-08-20 Thread Jeremy Colton
I have a panel which has a form. The corresponding html has a input element of type 'submit'. When clicked the form's onsubmit() method is triggered as expected. If i have a business logic exception (eg dependent fields were not completed) then I call the relevant component's error() method. Th

Re: Custom WebSession and bind()

2009-08-20 Thread Igor Vaynberg
maybe something like this... class mysession { Object object; attach() { super.attach(); if (object==null&&getsessionstore().lookup(requestcycle.get().getrequest())!=null) { object=... }}} -igor On Thu, Aug 20, 2009 at 7:53 AM, T Ames wrote: > I have read several

Re: Prefix URL for skinnable site

2009-08-20 Thread Igor Vaynberg
as long as you always set the right skin based on whatever it is (domain name, etc) it will always be used. wicket always creates an instance of Session object and uses that even if it does not persist that into http session. -igor On Thu, Aug 20, 2009 at 5:25 AM, Gianni wrote: > I have an app wh

Custom WebSession and bind()

2009-08-20 Thread T Ames
I have read several posts about how to manually bind stateless pages in a custom WebSession object to the http session. In my custom WebSession, I would like to create some objects, but only if and when the WebSession actually binds as normal when a stateful page is called up. Is there a method I

Re: Nial Darbey: ClassCast exception when invoking MySession.get() from Maven test phase

2009-08-20 Thread Igor Vaynberg
are you making wicket tester instantiate your own application class? -igor On Thu, Aug 20, 2009 at 3:09 AM, Nial Darbey wrote: > Hi everyone,I have subclassed the WebSession class as recommended in Wicket > in Action and I override the public static get() method to return > Session.get() cast to

Re: Regarding datepicker popup when inputfield pressed

2009-08-20 Thread Michael Mosmann
Am Donnerstag, den 20.08.2009, 16:00 +0200 schrieb copenhag copenhagen: > Maybe it's because i am a new Wicket user, but i tried that, without any > luck. > > I can't figure out how the calendar is called when clicked on the icon, it's > pretty tricky for me how > it's done. IMHO yui is doing som

Re: [announce] Wicket 1.4.1

2009-08-20 Thread Jeremy Thomerson
1.4.1 is now available as source in the releases dir. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Aug 20, 2009 at 2:40 AM, Martin Funk wrote: > and leave clean underwear > > don't think Martijn is up for another one of this: > http://www.nabble.com/SVN-URL-for-Wicket-1.4.0-so

Re: Prefix URL for skinnable site

2009-08-20 Thread Michael Mosmann
Am Donnerstag, den 20.08.2009, 15:55 +0200 schrieb Gianni: > On 20/ago/09, at 14:47, Michael Mosmann wrote: > > > > >> Where would be the right place to implement this functionality? > > > > I think, you should use MixedParamUrlCodingStrategy > > > > mm:) > > That's only going to work with bookm

Re: Question about threads inside wicket pages

2009-08-20 Thread Jeremy Thomerson
Right - the session, etc, is available via a ThreadLocal. So, it's not available in a new thread. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Aug 19, 2009 at 11:42 PM, Ashika Umanga Umagiliya wrote: > Hi Jeremy, > I tried to call "Page.info()" inside the new thread created by ax

Re: Regarding datepicker popup when inputfield pressed

2009-08-20 Thread copenhag copenhagen
Maybe it's because i am a new Wicket user, but i tried that, without any luck. I can't figure out how the calendar is called when clicked on the icon, it's pretty tricky for me how it's done. Best Regards Cemil On Thu, Aug 20, 2009 at 3:33 PM, Eyal Golan wrote: > without looking into code, you

Re: Prefix URL for skinnable site

2009-08-20 Thread Gianni
On 20/ago/09, at 14:47, Michael Mosmann wrote: Where would be the right place to implement this functionality? I think, you should use MixedParamUrlCodingStrategy mm:) That's only going to work with bookmarkable pages though. -

Re: Regarding datepicker popup when inputfield pressed

2009-08-20 Thread Eyal Golan
without looking into code, you probably need to add a behavior with onclick to the text field. look how it's done in the click on icon. Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mai

Re: Regarding datepicker popup when inputfield pressed

2009-08-20 Thread copenhag copenhagen
Hi Troy, Thanks for the swift answer. I know that you can attach a TextField to a DatePicker, but how would i make the calendar popup by just pressing the text field. As it is now i have to click the calendar icon, but i want to pop the calendar, by clicking on the field also. Just as in the ex

Re: Regarding datepicker popup when inputfield pressed

2009-08-20 Thread Troy Cauble
I'm doing this in 1.3.6. -troy import org.apache.wicket.extensions.markup.html.form.DateTextField; import org.apache.wicket.extensions.yui.calendar.DatePicker; ... DateTextField date = new DateTextField("date", "MM/dd/"); date.add(new DatePicker());

Re: Prefix URL for skinnable site

2009-08-20 Thread Michael Mosmann
> Where would be the right place to implement this functionality? I think, you should use MixedParamUrlCodingStrategy mm:) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Prefix URL for skinnable site

2009-08-20 Thread Gianni
I have an app which needs to be skinnable, I know this can be done with Session styles but I need the correct skin to display when there is no session available e.g. on app entry or page expired .. I thought the best way to do this would be to prefix every url with the skin ID /// I could

Truncating DataTable content

2009-08-20 Thread Linda van der Pal
I thought it would be a cool idea to truncate the data in my table, so the data isn't spread over several lines in the table row. It should then be possible to read the complete content in a tooltip. After digging into the code of the AjaxFallbackDefaultDataTable I found that to do this I would

Re: Modal window shows raw HTML content

2009-08-20 Thread Jade
Hi reiern, Tried that, does not work though :-( The HTML content is nothing but set of div's with style classes. It does not have ... I am wondering if its causing some issues. Thanks, J On Thu, Aug 20, 2009 at 4:51 PM, reiern70 wrote: > > Maybe label.setEscapeModelStrings(boolean value)? >

Regarding datepicker popup when inputfield pressed

2009-08-20 Thread copenhag copenhagen
Hi, Has anyone made it possible to attached an input field to the datepicker, so that the calendar popup's when the input field is selected ? I have tried, but i could not make it work. Also searching did not provide any wicket examples. I want the calendar to work as the example in this link:

Re: Modal window shows raw HTML content

2009-08-20 Thread reiern70
Maybe label.setEscapeModelStrings(boolean value)? Jade-9 wrote: > > Hi, > > I am trying to add a HTML content into the modal window as string(within > a > label component). > > And, its getting added as raw HTML content. Is it usually that way or am > I > doing something wrong? Please clari

Modal window shows raw HTML content

2009-08-20 Thread Jade
Hi, I am trying to add a HTML content into the modal window as string(within a label component). And, its getting added as raw HTML content. Is it usually that way or am I doing something wrong? Please clarify. Thanks, J

Re: Nial Darbey: ClassCast exception when invoking MySession.get() from Maven test phase

2009-08-20 Thread Witold Czaplewski
Try public static MyWebSession get() { return (MyWebSession) WebSession.get(); } Witold Am Thu, 20 Aug 2009 12:09:00 +0200 schrieb Nial Darbey : > Hi everyone,I have subclassed the WebSession class as recommended in > Wicket in Action and I override the public static get() metho

Nial Darbey: ClassCast exception when invoking MySession.get() from Maven test phase

2009-08-20 Thread Nial Darbey
Hi everyone,I have subclassed the WebSession class as recommended in Wicket in Action and I override the public static get() method to return Session.get() cast to MyWebSession as follows: public static MyWebSession get() { return (MyWebSession) Session.get(); } This of course works as expected bu

Re: Modal window and SSL

2009-08-20 Thread Eyal Golan
Still have some problems. we use Wicket 1.3.6 This is the JS for creating the modal: if (Wicket.Browser.isIELessThan7() || !Wicket.Browser.isIE()) { s+= ""+ ""; } else { s

Re: DropDown where (type of model property) != (type of choices)

2009-08-20 Thread eirik.ly...@gmail.com
I tried the code from that blog entry, but I don't think it will work. Or maybe I'm wrong, but... First, my understanding is that the code has two different types in the model object and the choices object. In my case, the model object is a string; and in any case the choices object will be an Ar

Re: Newbie question: fileupload AJAX progressbar ?

2009-08-20 Thread Robin Sander
Hi, I'm using Firefox 3.5.2 and the strange thing is that the live demo works (progress bar shows progress) and the same sources copied into my (wicket 1.4) app do not work properly. (no progress shown) That's why I asked for further requirements on the server side. I'm using Glassfish V

Re: How do I get my DropDownChoice to refresh the list of choices with Ajax?

2009-08-20 Thread Linda van der Pal
Doh, I should have thought of that myself. That'll teach me to send a question at the end of the day. Thanks for taking the time to answer my question, Bas and Igor. Regards, Linda Bas Gooren wrote: Linda, Without looking at your question very long I noticed that you supply your component w

Re: [announce] Wicket 1.4.1

2009-08-20 Thread Martin Funk
and leave clean underwear don't think Martijn is up for another one of this: http://www.nabble.com/SVN-URL-for-Wicket-1.4.0-sources--td24803875.html mf 2009/8/20 Igor Vaynberg > Apache Wicket 1.4.1 Released > > The Apache Wicket project is proud to announce the first maintenance > release