[Wicket-user] impressed w/ performance!

2006-03-11 Thread Vincent Jenks
OK, I ran a test using the small CLI app siege. I don't know how reliable this test is but the results logged are *definitely* impressive...to say the least...not at all what I expected given what I've done. This setup is as ghetto as it gets. Here's my app:Presentation: Wicket 1.1.1Application:

[Wicket-user] Wicket community...

2006-03-11 Thread Vincent Jenks
I've noticed that there's not been a Wicket release in about 6 mo. - is Wicket being actively developed? From what little experimentation I've done it seems like the best web UI framework out there, hands down. Obviously, I have to be concerned with popularity if I'm to recommend an open source

[Wicket-user] query strings...

2006-03-11 Thread Vincent Jenks
I'm still getting used to the way wicket utilizes querystring values for requests...how would one use querystrings to pass values around to pages? I can't find a simple answer to that in the documentation.Thanks! -v

Re: [Wicket-user] Wicket community...

2006-03-11 Thread Vincent Jenks
to-date.) -vOn 3/11/06, Johan Compagner [EMAIL PROTECTED] wrote: also just look at this url:https://sourceforge.net/mailarchive/forum.php?forum_id=42353 can't say nothing is happening :)johan On 3/11/06, Vincent Jenks [EMAIL PROTECTED] wrote: That's what I was hoping to hear! Can't wait for 1.2

Re: [Wicket-user] query strings...

2006-03-11 Thread Vincent Jenks
pageparameters like juergen pointed out.If you just use links and you do new Page() yourself.Then just hold that state on the server side like setResponsePage(new MyPage(x,y,z)) johanOn 3/11/06, Vincent Jenks [EMAIL PROTECTED] wrote: I'm still getting used to the way wicket utilizes querystring values

Re: [Wicket-user] impressed w/ performance!

2006-03-11 Thread Vincent Jenks
, Johan Compagner [EMAIL PROTECTED] wrote: can you do these test with the current 1.2 code?there are a lot of performance enhancements in 1.2, but ofcourse there are added functionality so don't know exactly how it did turn out. johan On 3/11/06, Vincent Jenks [EMAIL PROTECTED] wrote: Definitely helps

Re: [Wicket-user] Wicket community...

2006-03-11 Thread Vincent Jenks
of documentation via our activiy on this list and irc, and the upcoming book. -IgorOn 3/11/06, Vincent Jenks [EMAIL PROTECTED] wrote: Absolutely, there's definitely growing buzz on some of the java sites I frequent too (javalobby, java.net, etc.) which is where I first heard of Wicket.I wasn't

[Wicket-user] nesting components

2006-03-13 Thread Vincent Jenks
I'm trying to nest a Label within a Link so the name of the link displayed is dynamic (please fill me in if there's a better way.)Here's my Link Label on the page:a href="" wicket:id=linkspan wicket:id=linkNamelink/span/a Here's the panel class:public class TrailPanel extends Panel{ public

[Wicket-user] FormInputModel not found?

2006-03-14 Thread Vincent Jenks
I'm trying to simply submit a form (Wicket 1.1.1) and I'm using the wicket-examples-1.1.1...where it shows a constructor that uses a FormInputModel class:super(name, new CompoundPropertyModel(new FormInputModel())); However, I'm getting this error:FormInputModel cannot be resolved to a typeLooking

Re: [Wicket-user] FormInputModel not found?

2006-03-14 Thread Vincent Jenks
the form can save its values. you need to create one for your own form. -Igor On 3/14/06, Vincent Jenks [EMAIL PROTECTED] wrote: I'm trying to simply submit a form (Wicket 1.1.1) and I'm using the wicket-examples-1.1.1...where it shows a constructor that uses a FormInputModel class:super(name, new

Re: [Wicket-user] FormInputModel not found?

2006-03-14 Thread Vincent Jenks
had no such thing in the example so we created the bean. -IgorOn 3/14/06, Vincent Jenks [EMAIL PROTECTED] wrote: Oh I see, I hadn't noticed that, sorry. So it's similar to the managed bean concept in JSF? That was one of the things I *didn't* like about JSF, actually.Is there any way to avoid having

Re: [Wicket-user] FormInputModel not found?

2006-03-14 Thread Vincent Jenks
have to forgive my ignorance, I just started using EJB3 about a week ago. On 3/14/06, Eelco Hillenius [EMAIL PROTECTED] wrote: On 3/14/06, Vincent Jenks [EMAIL PROTECTED] wrote: Oh I see, I hadn't noticed that, sorry.So it's similar to the managed bean concept in JSF?That was one of the things I

Re: [Wicket-user] FormInputModel not found?

2006-03-14 Thread Vincent Jenks
the values back into its model your entity will be loaded - and values from individual form components applied via settershope this clarifies it some. we have tried to optimize our form workflow to make it as easy as possible. -Igor On 3/14/06, Vincent Jenks [EMAIL PROTECTED] wrote: Yep, it's the code

[Wicket-user] validating input

2006-03-14 Thread Vincent Jenks
I just built a form that has a mixture of TextField, TextArea, and CheckBox components in it. I am now adding validation to get a feel for how it works but am confused.I found that I could substitute a TextField with a RequiredTextField and validation was *extremely* simple to setupif you're

[Wicket-user] DataView (extentions)

2006-03-14 Thread Vincent Jenks
So, I'm trying to use a DataView so I can page a collection of objectsfrom a session bean.I create the List collection (loadingModel) and pass it into the DataView:DataView productsDataView = new DataView(productsDataView, loadingModel) ...but I'm getting an exception at runtime:Caused by:

Re: [Wicket-user] DataView (extentions)

2006-03-14 Thread Vincent Jenks
) constructor.there are examples of dataview and datatable under wicket-examples/repeaters -IgorOn 3/14/06, Vincent Jenks [EMAIL PROTECTED] wrote: So, I'm trying to use a DataView so I can page a collection of objectsfrom a session bean. I create the List collection (loadingModel) and pass

Re: [Wicket-user] DataView (extentions)

2006-03-14 Thread Vincent Jenks
extra work. Something like that would be really convenient. On 3/14/06, Igor Vaynberg [EMAIL PROTECTED] wrote: are you using 1.1 ? or 1.2 ?there used to be a constructor that took model in 1.1 i think. the model object must be of type IDataProvider.-Igor On 3/14/06, Vincent Jenks [EMAIL PROTECTED

Re: [Wicket-user] DataView (extentions)

2006-03-15 Thread Vincent Jenks
Sent: Tuesday, March 14, 2006 5:21 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] DataView (extentions) there is also a DataTable component which wraps DataView+paging+sorting. -Igor On 3/14/06, Vincent Jenks [EMAIL PROTECTED] wrote: I'm using 1.1.1 Are there any

[Wicket-user] trying to understand concept...

2006-03-15 Thread Vincent Jenks
I'm trying to wrap my head around how I would create a page where I could either edit an existing record or create a new one.Currently, I've got a form where I can add a record to the database - that part is working great. I'd like to refactor it now to also edit an existing record, if there is

Re: [Wicket-user] trying to understand concept...

2006-03-15 Thread Vincent Jenks
/PageParameters constructor is only needed if this page is going to be accessed through a bookmarkable url. outside of that you are welcome to use any constructor you want. -IgorOn 3/15/06, Vincent Jenks [EMAIL PROTECTED] wrote: I'm trying to wrap my head around how I would create a page where I could

Re: [Wicket-user] simple nested component question

2006-03-15 Thread Vincent Jenks
.mylinketc-Igor On 3/15/06, Vincent Jenks [EMAIL PROTECTED] wrote: So, let's say I've got a ListView and in it I need to nest other components...in my case a Link. Obviously, the id for that Link becomes duplicated after more than one record exists and throws an exception. What's a simple way

Re: [Wicket-user] Newbie question: applying dynamic form component with ListView

2006-03-15 Thread Vincent Jenks
So, in a nutshell, my code could be refactored to eliminate the need for Label objects in each row and in their place, use the model objects?On 3/15/06, Jonathan Cone [EMAIL PROTECTED] wrote: Hi Michael, One thing that I personallythink is important to understanding ListView is knowing

Re: [Wicket-user] trying to understand concept...

2006-03-15 Thread Vincent Jenks
are the bookmarkable pages that have a stable url.the ?path... urls are internal and the same url can point to different pages dependent on what the session state is. you should never call those urls directly. -IgorOn 3/15/06, Vincent Jenks [EMAIL PROTECTED] wrote: I still must not be understanding

Re: [Wicket-user] trying to understand concept...

2006-03-15 Thread Vincent Jenks
Ahh OK OK, the light came on...I added this for a default ctor and it works just how I want: public EditProduct() { this(null); }On 3/15/06, Vincent Jenks [EMAIL PROTECTED] wrote: I don't call them directly *with* the querystring...I called this up in a browser: http://localhost:8080/MyApp

[Wicket-user] formatting

2006-03-15 Thread Vincent Jenks
I thought I had read that wicket has some formatting capabilities? Am I mistaken? Or, am I left to use Java's formatting capabilities?Thanks!

Re: [Wicket-user] formatting

2006-03-15 Thread Vincent Jenks
formatting displayed valuesdollars, number of decimal points, dates, etc.On 3/15/06, Igor Vaynberg [EMAIL PROTECTED] wrote:formatting? -IgorOn 3/15/06, Vincent Jenks [EMAIL PROTECTED] wrote: I thought I had read that wicket has some formatting capabilities? Am I mistaken? Or, am I left

[Wicket-user] objects in session

2006-03-16 Thread Vincent Jenks
If objects used in a page are stored in a session, how do I access those objects when I redirect to a new page? Say I have public users who login and I want to display their name on pages and keep their user info in-session...on each page, how would I call those values? Thanks!

Re: [Wicket-user] objects in session

2006-03-16 Thread Vincent Jenks
sense? - Original Message - From: Vincent Jenks To: wicket-user@lists.sourceforge.net Sent: Thursday, March 16, 2006 5:01 PM Subject: [Wicket-user] objects in session If objects used in a page are stored in a session, how do I access those objects when I

Re: [Wicket-user] objects in session

2006-03-16 Thread Vincent Jenks
something that behaved more like the HttpSession when used in JSP/Servlets...but then I've got to override getSessionFactory() in every Application class I want to use it in. Anyhow, thanks for your help!On 3/16/06, Igor Vaynberg [EMAIL PROTECTED] wrote: yep. -IgorOn 3/16/06, Vincent Jenks [EMAIL

Re: [Wicket-user] objects in session

2006-03-16 Thread Vincent Jenks
more. -IgorOn 3/16/06, Vincent Jenks [EMAIL PROTECTED] wrote: Just as an observation, this seems a bit cumbersome to simply add/access/remove objects from the HttpSession (but that's just my opinion.)It make sense, it just seems like a lot of work to tap into session values. I suppose if I had

Re: [Wicket-user] objects in session

2006-03-17 Thread Vincent Jenks
it for you (thats why you return a factory)so in your page:UserSession session=(UserSession)getSession(); sometimes nice to have this wrapped in a basepage.-IgorOn 3/16/06, Vincent Jenks [EMAIL PROTECTED] wrote:I see, well I'm not complaining but my point is; it's just not simple to use and in most other

Re: [Wicket-user] objects in session

2006-03-17 Thread Vincent Jenks
What about removing objects from the session? Simply use the setter to set to null? Will that clear it?On 3/17/06, Vincent Jenks [EMAIL PROTECTED] wrote:Yep, my mistake, thanks! It works fine. I guess it'll take some getting used to but it's not all that bad. -vOn 3/16/06, Igor Vaynberg [EMAIL

Re: [Wicket-user] wicket 1.1.1: specifiying style on radiochoice or dropdownchoice

2006-03-17 Thread Vincent Jenks
If I might ask, what are the known (major) problem-areas, if any, in Wicket 1.2? What are the serious known bugs? I'd like to be developing in 1.2 myself but if there are some serious problems, I'd rather wait.My project is due to go into production in *exactly* one month...so I'm not sure if I

Re: [Wicket-user] objects in session

2006-03-17 Thread Vincent Jenks
(User user) { this.user = user; dirty(); }johan On 3/17/06, Vincent Jenks [EMAIL PROTECTED] wrote:Yep, my mistake, thanks! It works fine. I guess it'll take some getting used to but it's not all that bad. -vOn 3/16/06, Igor Vaynberg [EMAIL PROTECTED] wrote:UserSession us = new UserSession

Re: [Wicket-user] objects in session

2006-03-17 Thread Vincent Jenks
will be replicated when you use clustering. So it will update itself in the httpsession. yes just clear a reference and call dirty() this will ofcourse remove the object from the session. johanOn 3/17/06, Vincent Jenks [EMAIL PROTECTED] wrote: And this does what? The Javadoc just says it marks

[Wicket-user] problem w/ DropDownChoice

2006-03-17 Thread Vincent Jenks
I'm trying to create a DropDownChoice select list based on a List of entity beans I'm pulling from EJB3. I'm following the example in the wicket-examples code but it's not working for me.I'm try do to it this way, per the example code: add(new DropDownChoice(productCategory, catsModel, new

Re: [Wicket-user] problem w/ DropDownChoice

2006-03-17 Thread Vincent Jenks
d'oh! Sorry, been at wicket all day...the brain is turning to pudding.On 3/17/06, Igor Vaynberg [EMAIL PROTECTED] wrote:problem is here: new IChoiceRenderer()) == remove that extra parenthesis :) -IgorOn 3/17/06, Vincent Jenks [EMAIL PROTECTED] wrote:I'm trying to create a DropDownChoice select

Re: [Wicket-user] objects in session

2006-03-17 Thread Vincent Jenks
(see sign and so on) work that way so i din't know what you do wrong. johanOn 3/17/06, Vincent Jenks [EMAIL PROTECTED] wrote: This still isn't working how I would have expected... So I've still got a Login page and an EditProduct page. If I go to /login (Login page) and login...I can't then go

Re: [Wicket-user] objects in session

2006-03-17 Thread Vincent Jenks
RestartResponseAtInterceptPageException(Login.class); }johan On 3/18/06, Vincent Jenks [EMAIL PROTECTED] wrote: I'm doing exactly that and I don't see how I could invalidating the session in any way.Let me clarify; I have a Login page and a EditProduct page. EditProduct will be one of many pages

[Wicket-user] onSubmit vs onClick for form submission

2006-03-19 Thread Vincent Jenks
So, I'm trying to figure out if I should do with my form buttons. I have two buttons ('save' and 'cancel') but only the onSubmit event handler is fired. I have a button inside of the form's constructor that has an onClick event but that never happens...apparently because the onSubmit 'trumps' the

Re: [Wicket-user] onSubmit vs onClick for form submission

2006-03-19 Thread Vincent Jenks
Alright, did that, now the button doesn't do anything at *all*.Here's the HTML button:input type=button wicket:id=cancelButton value=Cancel /...and the event handler: add(new Button(cancelButton) {public void onClick(){ setResponsePage(new Home());} }); Any ideas?On 3/19/06,

Re: [Wicket-user] onSubmit vs onClick for form submission

2006-03-19 Thread Vincent Jenks
Funny seeing you here! When are we gonna see Wicket support in MyEclipse buddy? ;)On 3/19/06, Riyad Kalla [EMAIL PROTECTED] wrote:Don't you need to commit the response?(just a lame guess from the servlet world) On 3/19/06, Vincent Jenks [EMAIL PROTECTED] wrote: Alright, did that, now the button

[Wicket-user] EJB3/Hibernate Lazy fetching...

2006-03-20 Thread Vincent Jenks
OK, so I'm in a bit of a quagmire.I'm using Wicket + EJB3 (JBoss 4.0.4RC1) which uses Hibernate as the persistence behind EJB3.Unless I set all of my parent/child object relationship annotations to EAGER fetching...I get this error: org.hibernate.LazyInitializationException: failed to lazily

Re: [Wicket-user] EJB3/Hibernate Lazy fetching...

2006-03-20 Thread Vincent Jenks
child collections. -IgorOn 3/20/06, Vincent Jenks [EMAIL PROTECTED] wrote: OK, so I'm in a bit of a quagmire.I'm using Wicket + EJB3 (JBoss 4.0.4RC1) which uses Hibernate as the persistence behind EJB3.Unless I set all of my parent/child object relationship annotations to EAGER fetching...I get

Re: [Wicket-user] onSubmit vs onClick for form submission

2006-03-20 Thread Vincent Jenks
to the button's onsubmit handler. -IgorOn 3/19/06, Riyad Kalla [EMAIL PROTECTED] wrote: Don't you need to commit the response?(just a lame guess from the servlet world)On 3/19/06, Vincent Jenks [EMAIL PROTECTED] wrote: Alright, did that, now the button doesn't do anything at *all*. Here's the HTML button

Re: [Wicket-user] onSubmit vs onClick for form submission

2006-03-20 Thread Vincent Jenks
I fixed this by using Form.onSubmit() for the save button and keeping the cancel button the same...now both work just fine...but not exactly as Igor described.Good enough! On 3/20/06, Vincent Jenks [EMAIL PROTECTED] wrote: OK, believe it or not, I did just that and *still* cannot get

Re: [Wicket-user] HTTPS switching

2006-03-22 Thread Vincent Jenks
I'm actually dying to know this myself as I'm in the throes of building a shopping cart that will need SSL at some point in the process.Can this in fact be done? Can part of my application somehow reside behind https? I'm sure it's been asked before but I don't see any examples of this

Re: [Wicket-user] gnarly form model issue

2006-03-24 Thread Vincent Jenks
it would help.so there is a list of configurations? and the user can click on one and edit it? -IgorOn 3/24/06, Vincent Jenks [EMAIL PROTECTED] wrote: I've got a form where I can't exactly bind a model object because of the way the form is used. On this page, the user selects from a list of product

Re: [Wicket-user] gnarly form model issue

2006-03-24 Thread Vincent Jenks
(selection.toString()); } }...-Igor On 3/24/06, Vincent Jenks [EMAIL PROTECTED] wrote: It makes sense but I wouldn't know how to begin (I'm rather new to Java as well as Wicket)...is there an example in the wicket-examples somewhere? Would I just create a Map inside of the ListView? On 3/24/06, Igor

Re: [Wicket-user] gnarly form model issue

2006-03-24 Thread Vincent Jenks
OK, I'll try itthanks for the help! But, to answer my question - Is there a way to access each of the form fields as stand-alone variables?On 3/24/06, Vincent Jenks [EMAIL PROTECTED] wrote: OK, I'll try itthanks for the help! But, to answer my question - Is there a way to access each

[Wicket-user] EJB3 Stateful SB - session issues/questions

2006-03-29 Thread Vincent Jenks
I'm sitting here, pondering, and getting fatter. I'm building a storefront app w/ a simple shopping cart for which I'm thinking of using a Stateful session bean (EJB 3.0).It looks like, no matter how I look at it, I'll have to keep the SFSB stub in-session throughout its use in the

Re: [Wicket-user] EJB3 Stateful SB - session issues/questions

2006-03-30 Thread Vincent Jenks
custom UserSession class? Wouldn't that be safe? On 3/29/06, Igor Vaynberg [EMAIL PROTECTED] wrote: you can inject the proxy into any componentlook at wicket-spring projectyou can create a IFieldValueFactory that injects a proxy for your stateful bean. -Igor On 3/29/06, Vincent Jenks [EMAIL PROTECTED

Re: [Wicket-user] Re: TabbedPanel, InputForm and submit

2006-03-30 Thread Vincent Jenks
That'd be awesome, I could use something like this!On 3/30/06, Martijn Dashorst [EMAIL PROTECTED] wrote:Feel free to contribute! You now know how to do it, write a (small) document about it and put it on our wiki! MartijnOn 3/30/06, Stefan Lindner [EMAIL PROTECTED] wrote: Once again thanks for

Re: [Wicket-user] EJB3 Stateful SB - session issues/questions

2006-03-30 Thread Vincent Jenks
exist and how they work.wicket-spring provides an elegant solution, but only a tiny portion of it is spring related. -Igor On 3/30/06, Vincent Jenks [EMAIL PROTECTED] wrote: I'd rather not introduce spring as yet another dependency on this project...especially because I know very little about

Re: [Wicket-user] EJB3 Stateful SB - session issues/questions

2006-03-30 Thread Vincent Jenks
already have it in session somewhere then its ok.-Igor On 3/30/06, Vincent Jenks [EMAIL PROTECTED] wrote:OK, I'll check into it, thanks. Meanwhile, if I *did* want to...I could pass the cart stub around in the constructors, couldn't I? Or, is this somehow not safe? I'm thinking that might

[Wicket-user] can't get rid of Choose One in DropDownChoice

2006-03-30 Thread Vincent Jenks
The code... //create calendar ListString days = DateTime.getDaysListForward(2, 4);//add quantity select listform.add(new DropDownChoice(arrivalDate, days, new IChoiceRenderer() { protected String getDefaultChoice(final Object selected) { return ; //get rid of Choose One default

Re: [Wicket-user] can't get rid of Choose One in DropDownChoice

2006-03-31 Thread Vincent Jenks
(Object object, int index) { return object.toString(); } }); form.add(arrivalChoices);On 3/30/06, Igor Vaynberg [EMAIL PROTECTED] wrote:you are putting getDefaultChoice into the renderer, when it actually belongs in the DropDownChoice -IgorOn 3/30/06, Vincent Jenks [EMAIL PROTECTED] wrote:The

Re: [Wicket-user] Wicket/Tomcat configuration: Where is System.out ???

2006-03-31 Thread Vincent Jenks
Of course this happens while debugging too and can drive you nuts until you realize you've goofed.Since I use MyEclipse...I like to use println statements occasionally and just watch them roll by in the Console panel...you could do this w/ Netbeans or any other IDE, I'm sure. That is - if you're

Re: [Wicket-user] wicket tv commercial?

2006-03-31 Thread Vincent Jenks
ha! It was only a matter of time until Wicket went to the big show.On 3/31/06, Igor Vaynberg [EMAIL PROTECTED] wrote: http://www.chevyapprentice.com/view.php?country=usuniqueid=c4911602-1265-1029-98eb-0013724ff5a7

Re: [Wicket-user] bind Map to DropDownChoice

2006-04-01 Thread Vincent Jenks
is give the map to the ChoiceRenderer impland give the keys of the map as a list to the Choice. johanOn 3/31/06, Vincent Jenks [EMAIL PROTECTED] wrote: I'm trying to get a Map of data so I can have the key be the value of the dropdown options and the value of the Map item be the value of the option

Re: [Wicket-user] can't get rid of Choose One in DropDownChoice

2006-04-01 Thread Vincent Jenks
message anymore.johan On 3/31/06, Igor Vaynberg [EMAIL PROTECTED] wrote: yes its a bit weird. if youd like you are more then welcome to file an rfe and maybe we can clean it up in a future version.-Igor On 3/31/06, Vincent Jenks [EMAIL PROTECTED] wrote: Got it, thanks. It's confusing

[Wicket-user] passing IModel around

2006-04-02 Thread Vincent Jenks
I'm just testing something out. Since I use EJB3 and need lazy initialization I'm making an attempt to see if passing an object with a collection of lazily-loaded elements in an IModel, from page-to-page, will prevent a LazyInitializationException (Hibernate). I start here in the first page:public

Re: [Wicket-user] passing IModel around

2006-04-02 Thread Vincent Jenks
.?On 4/2/06, Vincent Jenks [EMAIL PROTECTED] wrote: I'm just testing something out.Since I use EJB3 and need lazy initialization I'm making an attempt to see if passing an object with a collection of lazily-loaded elements in an IModel, from page-to-page, will prevent a LazyInitializationException

Re: [Wicket-user] passing IModel around

2006-04-03 Thread Vincent Jenks
I didn't actually try that...but I like the idea of setting the page model and having access to it that way...that seems to work just fine. Thanks!On 4/2/06, karthik Guru [EMAIL PROTECTED] wrote: just curiousBlog blog = (Blog)blogModel.getObject(null);didn't work for you?On 4/3/06, Vincent Jenks

[Wicket-user] ending a response

2006-04-06 Thread Vincent Jenks
I'm convinced that I saw an example of what do to when one would like to end the response of a page and redirect to another...but I can't put my finger on it...so here's my problem:In my page I'm testing for the existence of an object...if it doesn't exist I'd like to redirec to another page...but

Re: [Wicket-user] ending a response

2006-04-06 Thread Vincent Jenks
I'm using 1.1.1, is that a 1.2 class?On 4/6/06, Igor Vaynberg [EMAIL PROTECTED] wrote: throw new RestartResponseException or throw new RestartResponseAtInterceptPageException depending on your needs. you pass in the page you want to restart at via exception's constructor-Igor On 4/6/06, Vincent

Re: [Wicket-user] ending a response

2006-04-06 Thread Vincent Jenks
runtimeexception that takes a page, override onRuntimeException in requestcycle? application? and return that page from that method. that should work although im not sure. -IgorOn 4/6/06, Vincent Jenks [EMAIL PROTECTED] wrote: I'm using 1.1.1, is that a 1.2 class?On 4/6/06, Igor Vaynberg [EMAIL PROTECTED

Re: [Wicket-user] Floating Panels - any tip

2006-04-09 Thread Vincent Jenks
A good example of this...and a very easy open source _javascript_ lib to use is called wz dragdrop:http://www.walterzorn.com/dragdrop/dragdrop_e.htm Very non-invasive and easy to use!-vOn 4/9/06, Johan Compagner [EMAIL PROTECTED] wrote: dragging a panel around looks to me like a complete client

Re: [Wicket-user] Enterprise application using Wicket

2006-04-09 Thread Vincent Jenks
What argument *couldn't* be made? Comparing JSP and Wicket is like night and day...JSP is antiquated technology in comparison.The fact that you can be many more times productive and simultaneously produce clean, manageable code is probably the top-most incentive for using Wicket. A con might be

Re: [Wicket-user] View from 30,000 feet of Wicket infrastructure

2006-04-09 Thread Vincent Jenks
That's tough since there is no ground-up tutorial like this when it comes to Wicket (that I know of.) There's a Wicket book on the way from what I understand but that may not be for a few months or so?The best thing you can do is get a simple Hello World working on your local machine. 1. download

Re: [Wicket-user] View from 30,000 feet of Wicket infrastructure

2006-04-10 Thread Vincent Jenks
to give you a headstart in the flakey-ness, it all has to do with creating the Run Configuration and the webapp context dir. :-) I would use MyEclipse if I was willing to spend the money on it.Daniel On 4/10/06, Vincent Jenks [EMAIL PROTECTED] wrote:Hmm...not familiar but it sounds like

Re: [Wicket-user] View from 30,000 feet of Wicket infrastructure

2006-04-10 Thread Vincent Jenks
for 3.2M6 ?johanOn 4/10/06, Vincent Jenks [EMAIL PROTECTED] wrote: Johan, I agree, the basic types that webtools provides editability for should be built into eclipse...like html, xml, _javascript_, css, etc. However, for a beginner, installing eclipse + webtools gives you everything you need to build

Re: [Wicket-user] bind Map to DropDownChoice

2006-04-10 Thread Vincent Jenks
On 3/31/06, Vincent Jenks [EMAIL PROTECTED] wrote: I'm trying to get a Map of data so I can have the key be the value of the dropdown options and the value of the Map item be the value of the option in the dropdown. Problem is, it doesn't look like DropDownChoice will accept a Map...unless I'm doing

Re: [Wicket-user] bind Map to DropDownChoice

2006-04-10 Thread Vincent Jenks
); }public String getIdValue(Object object, int index) { return object.toString();} })); On 4/11/06, Vincent Jenks [EMAIL PROTECTED] wrote:Is there an example of this somewhere? I'm struggling to get this working where I have a HashMapString, String...the first String is the ID

Re: [Wicket-user] EJB3/Hibernate Lazy fetching...

2006-04-11 Thread Vincent Jenks
...no do I want to if I want to keep my project container-independent. Thanks! On 3/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: or pass the same model :) -Igor On 3/20/06, Vincent Jenks [EMAIL PROTECTED] wrote: Well, in the previous page which passes the Product into this page

Re: [Wicket-user] EJB3/Hibernate Lazy fetching...

2006-04-11 Thread Vincent Jenks
and reflection. -Igor On 4/11/06, Vincent Jenks [EMAIL PROTECTED] wrote: OK, this doesn't appear to work. I finally got around to testing this and I still get a LazyInitializationException. I passed the model around and it's barfing. main page (ViewBlog.class

Re: [Wicket-user] EJB3/Hibernate Lazy fetching...

2006-04-11 Thread Vincent Jenks
the underlying entity manager session open so that lazy collections can be fetched even outside the session/stateless bean's method invocation. -Igor On 4/11/06, Vincent Jenks [EMAIL PROTECTED] wrote: I changed the param to look like yours: new PropertyModel(blogModel, categories

Re: [Wicket-user] EJB3/Hibernate Lazy fetching...

2006-04-11 Thread Vincent Jenks
, if you were doing the same thing in jsp and it worked then it should work in wicket. there is no difference. if it is still not working then you are still not using a model somewhere and a persistent object/set ends up in session. -Igor On 4/11/06, Vincent Jenks [EMAIL PROTECTED] wrote

Re: [Wicket-user] EJB3/Hibernate Lazy fetching...

2006-04-12 Thread Vincent Jenks
in a usertransaction.This approach feels a little bit like EJB2 value objects withouthaving separate classes for separate usescasesVincent Jenks wrote: Ugh...I thought once I started using a container this issue would go away...that was the one thing that made setting up Hibernate a PITAmanaging

Re: [Wicket-user] View from 30,000 feet of Wicket infrastructure

2006-04-12 Thread Vincent Jenks
They definitely seem more focused on new features and longer delays on releases. Personally, I don't use half of the features but that's not to say that I never will. I do, however, appreciate the rock-solid stability and the support, so far, has been very good. How is the dependencies feature

Re: [Wicket-user] bind Map to DropDownChoice

2006-04-12 Thread Vincent Jenks
but directly a list. With State objects that has properties like: a key AL and as name Alabama. That is the most used usecase i know of. johan On 4/11/06, Vincent Jenks [EMAIL PROTECTED] wrote: I'm sorry, I don't think I quite understand. I have dropDownModel which looks like

Re: [Wicket-user] bind Map to DropDownChoice

2006-04-12 Thread Vincent Jenks
if i look at 290 of AbstractChoice it is nothing. On 4/12/06, Vincent Jenks [EMAIL PROTECTED] wrote: OK, I did this exactly how you showed me here...and I'm still getting the error. Here's my model: IModel dropDownModel = new Model

Re: [Wicket-user] bind Map to DropDownChoice

2006-04-12 Thread Vincent Jenks
of States so getUSAStates doesn't return a map but directly a list. With State objects that has properties like: a key AL and as name Alabama. That is the most used usecase i know of. johan On 4/11/06, Vincent Jenks [EMAIL PROTECTED] wrote

Re: [Wicket-user] Wicket 1.2-rc1 available for download

2006-04-17 Thread Vincent Jenks
I just dropped wicket 1.2RC1 into my 1.1.1-based shopping cart and only had to change two lines to get it working! Whoo hooo! I'm going to run some benchmarks against it this weekend to see the improvements. On 4/17/06, Gustavo Hexsel [EMAIL PROTECTED] wrote: Also, a suggestion: the licenses

Re: [Wicket-user] Wicket 1.2-rc1 available for download

2006-04-17 Thread Vincent Jenks
I'm getting an Object expected javascript error on every page...did I forget a jar or something? These pages don't have any of my own javascript so I'm assuming it has something to do w/ the wicket cookie scripts I'm seeing while viewing the generated source in the browser. Those scripts don't

[Wicket-user] RC2 - still have javascript errors

2006-04-20 Thread Vincent Jenks
Using Wicket 1.2RC2, I still get these javascript errors in both Firefox 1.5.0.2 and IE 6.0: deleteWicketCookie is not defined getWicketCookie is not defined --- Using Tomcat but need to do more? Need to support web services, security? Get

Re: [Wicket-user] RC2 - still have javascript errors

2006-04-20 Thread Vincent Jenks
On 4/20/06, Vincent Jenks [EMAIL PROTECTED] wrote: Using Wicket 1.2RC2, I still get these javascript errors in both Firefox 1.5.0.2 and IE 6.0: deleteWicketCookie is not defined getWicketCookie is not defined --- Using Tomcat but need

Re: [Wicket-user] RC2 - still have javascript errors

2006-04-20 Thread Vincent Jenks
404 not found On 4/20/06, Johan Compagner [EMAIL PROTECTED] wrote: and what does this link return? /MyApp/products/resources/wicket.markup.html.WebPage/cookies.js;jsessionid=8D5250BD41A597EBD63C695113E757DF johan On 4/20/06, Vincent Jenks [EMAIL PROTECTED] wrote: Yep, here's all

Re: [Wicket-user] RC2 - still have javascript errors

2006-04-20 Thread Vincent Jenks
servlet-classwicket.protocol.http.WicketServlet/servlet-class On 4/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: what is the servlet mapping you use for the wicket servlet? -Igor On 4/20/06, Vincent Jenks [EMAIL PROTECTED] wrote: 404 not found On 4/20/06, Johan Compagner [EMAIL

Re: [Wicket-user] RC2 - still have javascript errors

2006-04-21 Thread Vincent Jenks
servlet-namephonebook/servlet-name url-pattern/app//url-pattern /servlet-mapping (without the *), package resources won't work. Eelco On 4/20/06, Vincent Jenks [EMAIL PROTECTED] wrote: servlet-classwicket.protocol.http.WicketServlet/servlet-class On 4/20/06, Igor Vaynberg

Re: [Wicket-user] RC2 - still have javascript errors

2006-04-21 Thread Vincent Jenks
Finally got around to putting the /* in the mapping and t's all good now, thanks! On 4/21/06, Vincent Jenks [EMAIL PROTECTED] wrote: Oh, sorry, here's the whole thing. servlet servlet-nameProductCatalogApp/servlet-name servlet-classwicket.protocol.http.WicketServlet/servlet-class

Re: [Wicket-user] migrating to 1.1

2006-04-21 Thread Vincent Jenks
I'd almost say that you might want to consider just using 1.2 since it is now in RC mode and will be production-grade soon? Correct me if I'm wrong, but 1.1.1 will be obsolete soon. I'm using 1.2RC2 on a project that will go into productin in less than a month and so far I'm very happy w/ it. I

Re: [Wicket-user] Index page not loading

2006-04-21 Thread Vincent Jenks
Post your code and the lines from web.xml where you've configured the Wicket servlet. On 4/21/06, Rui Pacheco [EMAIL PROTECTED] wrote: Hi all I am currently writing a HelloWorld application using 1.2RC2. My problem is when I deploy the application I see the class that extends WebApplication

Re: [Wicket-user] migrating to 1.1

2006-04-21 Thread Vincent Jenks
And, if I'm not mistaken, the book will be based on 1.2, correct? On 4/21/06, Martijn Dashorst [EMAIL PROTECTED] wrote: we are going to release 1.2 pretty soon, I suppose somewhere in the next two weeks, preferrable before 1st of may. Wicket 1.2 has many improvements over 1.1 and will be our

Re: [Wicket-user] RC2 - still have javascript errors

2006-04-21 Thread Vincent Jenks
in 1.2, hence nothing in any transition notes - this is been there right from the start, but maybe it's more apparent now there tends to be more to Wicket than the basic servlet, if you see what I mean. /Gwyn On 21/04/06, Vincent Jenks [EMAIL PROTECTED] wrote: Finally got around to putting

[Wicket-user] wicket download links broken

2006-04-22 Thread Vincent Jenks
These give a 500 error: http://wicket.sourceforge.net/Download.html ...but I can get to these through SF: http://sourceforge.net/project/showfiles.php?group_id=119783 --- Using Tomcat but need to do more? Need to support web services,

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Vincent Jenks
Webtools is great (considering the price ;)) if you don't want to purchase MyEclipse. That'll give you web-based projects that Eclipse currently does not have out-of-the-box. On 4/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote: install maven 2 and inside quickstart folder type mvn package

[Wicket-user] image upload

2006-04-26 Thread Vincent Jenks
I'm sure this has been asked before but I couldn't find an example. I'm using JBoss 4 and Wicket 1.2RC2...and I'm trying to upload images into a specific folder inside of a deployed .ear project. The folder in the web app would be /ear-name/assets/images However, that folder doesn't exist after

Re: [Wicket-user] RE: Resetting a Form

2006-04-26 Thread Vincent Jenks
You could redirect back to the current page. On 4/26/06, Andrew Strickland [EMAIL PROTECTED] wrote: How would I go about resetting a form to a blank state after it validates it's data and stores it to a database? Subsequent visits to the Page the form is on still contains the data from the

Re: [Wicket-user] Image upload

2006-04-27 Thread Vincent Jenks
I definitely don't want to use blobs Where can I find an example of doing what I need using WebDynamicResource? I don't even see this class listed in the 1.2 Javadoc... Where do I start? Thanks! On 4/21/06, Eelco Hillenius [EMAIL PROTECTED] wrote: wicket-contrib-examples of wicket-stuff

  1   2   3   >