Re: Trying to create a calendar - need some guidance

2008-10-24 Thread V. Jenks
Vaynberg wrote: all you need is a gridview. set columns to 7 and generate 30 items... -igor On Thu, Oct 23, 2008 at 1:47 PM, V. Jenks [EMAIL PROTECTED] wrote: Hi all. I'm trying to build a component-ized calendar that will be the centerpiece of a new application I'm working on. I

Re: Trying to create a calendar - need some guidance

2008-10-24 Thread V. Jenks
/p20153494/Cal.html Cal.html http://www.nabble.com/file/p20153494/DayProvider.java DayProvider.java V. Jenks wrote: Hi all. I'm trying to build a component-ized calendar that will be the centerpiece of a new application I'm working on. I built one this morning in JSP and was able to do

FileUploadField - value not stored in session?

2008-10-13 Thread V. Jenks
I'm using the FileUploadField and the name of the field is image. When the form model loads, all other form fields appear but the upload field remains blank. Why is that? Any way around it? -- View this message in context:

Re: More issues w/ external images and DynamicWebResource

2008-06-25 Thread V. Jenks
. Nino.Martinez wrote: Did you try searching the wiki about this? http://cwiki.apache.org/WICKET/uploaddownload.html There might be more... V. Jenks wrote: I'm having non-stop issues w/ DynamicWebResource and trying to load images external to my .ear deployment now that I've moved to 1.3. First

DateTextField - what am I missing here?

2008-05-13 Thread V. Jenks
I must be missing something obvious but I can't spot itI'm using a DateTextField (Wicket 1.3.2) in my form like so: Java: DateTextField expiryDate = new DateTextField( expiryDate, new PropertyModel(this, date), new StyleDateConverter(S-, true));

DynamicWebResource ResourceState acting strange in 1.3

2008-05-05 Thread V. Jenks
About 2 years ago (yeah, wow!) someone on this list helped me figure out how to load external images onto my pages and it worked perfectly, until I upgraded to 1.3.x from 1.2.4. I don't know much about the internals of how it works, it's a lot of code, and I really didn't care how it worked, it

WebMarkupContainer - images cannot be found after move to 1.3?

2008-04-11 Thread V. Jenks
Hi all, I built our storefront almost two years ago now, in Wicket 1.2.x. I'm now upgrading from 1.2.4 to 1.3 and am just about finished but I'm stuck on one seemingly simple thing. My init() looks like this: public void init() { //create external images resource

Re: WebMarkupContainer - images cannot be found after move to 1.3?

2008-04-11 Thread V. Jenks
; } public Time lastModifiedTime() { return lastModified; } } } V. Jenks wrote: Hi all, I built our storefront almost two years ago now, in Wicket 1.2.x. I'm now upgrading from 1.2.4 to 1.3 and am just about

ListView params from 1.2 to 1.3 - detached data

2008-04-04 Thread V. Jenks
I'm having some trouble finding out how to use detached data with a ListView, as I would have in Wicket 1.2. In 1.2 I would have used a detachable model: IModel model = new LoadableDetachableModel() { protected Object load()

Re: Wicket - Session Manamagement

2008-03-20 Thread V. Jenks
I'm just now trying to upgrade to 1.3 having used 1.2.4 (and earlier) for over a year now. Normally I would have done this, in the WebApplication class: @Override public ISessionFactory getSessionFactory() { return new ISessionFactory() { public Session

Re: Wicket - Session Manamagement

2008-03-20 Thread V. Jenks
I've actually been trying that but (and here's a stupid question) - I'm not sure what to do with the Request and Response parameters it requires? igor.vaynberg wrote: override newsession() on application -igor On Thu, Mar 20, 2008 at 9:34 PM, V. Jenks [EMAIL PROTECTED] wrote: I'm

Re: Wicket - Session Manamagement

2008-03-20 Thread V. Jenks
I told you it was a stupid question, I figured it out... @Override public Session newSession(Request request, Response response) { return new UserSession(NavitopiaApp.this); } V. Jenks wrote: I've actually been trying that but (and here's a stupid question) - I'm not sure

Reusable search form - help w/ detail...

2007-12-21 Thread V. Jenks
Hello Wicketeers... I've got a series of pages that all have the same search form and use the same input class, the only thing different about them is where they redirect (since every page is different.) I need a second set of eyes...how do I make this form reusable? The form captures the

Wicket (advanced) Calendar?

2007-11-26 Thread V. Jenks
I'm beginning a new commercial project with a partner that has good chances of landing some investment funding in the next year. We've set out using Wicket, JPA, Glassfish, and Netbeans as our toolbox and platform(s) as it is what we're experienced in and enjoy building applications with. We're

What exactly isn't serializable?

2007-11-23 Thread V. Jenks
I'm upgrading from Wicket 1.2.4 to 1.2.6 and there's obviously a change I'm not able to find concerning the session (or...who knows?) I've got a simple pair of pages, one for viewing a list of entity beans (EJB3) and one for editing a chosen entity from the list page. I'm comparing it to dozens

Mystery problem w/ Wicket + Glassfish v2?

2007-11-05 Thread V. Jenks
Occasionally, my application will just start doing this - throwing this error. I am using Wicket 1.2.4 because my application is stuck at that version for the time being. I do not have the time to make the changes to upgrade to the latest version, right now. Rebooting the app server

CheckBox is misbehaving...

2007-10-03 Thread V. Jenks
NOTE: I'm stuck at Wicket 1.2.4 and cannot upgrade yet. I've got a very simple form with an input class that looks like this: public class PaymentInfoInput implements Serializable { private Boolean optedForNewsletter; .

Re: CheckBox is misbehaving...

2007-10-03 Thread V. Jenks
I apologize if this is a dumb question but can anyone offer any advice? A work-around would be fine, if necessary. I'm unable to figure this thing out. It's the last issue before I can put my app into production today. Thanks! V. Jenks wrote: NOTE: I'm stuck at Wicket 1.2.4 and cannot

Re: CheckBox is misbehaving...

2007-10-03 Thread V. Jenks
model object via a propertymodel or something else -igor On 10/3/07, V. Jenks [EMAIL PROTECTED] wrote: NOTE: I'm stuck at Wicket 1.2.4 and cannot upgrade yet. I've got a very simple form with an input class that looks like this: public class

Re: Display HTML markup inside of Label

2007-09-28 Thread V. Jenks
THAT'S it, thank you... igor.vaynberg wrote: label.setescapemodelstrings(false) -igor On 9/28/07, V. Jenks [EMAIL PROTECTED] wrote: Seems like a simple question and I thought I had done this before...but I simply need to display HTML *as* html, on a page, using a Label. -- View

Re: Displaying images remotely - HTML email

2007-09-28 Thread V. Jenks
it is! Craig. On 9/28/07, V. Jenks [EMAIL PROTECTED] wrote: Basically, yes. I wasn't sure if there was a Wicket solution to this problem or not. I wasn't sure if there was a way to make a hard-coded reference to a resource outside of the webroot, for the purposes of doing what I explained. Eelco

Re: Displaying images remotely - HTML email

2007-09-28 Thread V. Jenks
I've tried searching FileResourceStream and shared resource but there isn't anything helpful...or even relevant, so far as I can tell. Is there a wiki article by any chance? Anything that might help? I'm not sure what this servlet would do or how to implement this. Eelco Hillenius wrote:

Re: Displaying images remotely - HTML email

2007-09-28 Thread V. Jenks
Eelco Hillenius wrote: Not sure if it is the answer you are looking for, but paths to shared resources (which packaged resources such as images are) are predictable. Basically: http://your.com/yourapp/resources/com.your.another.package.SomeClass/your_image_next_to_your_class.gif So

Display HTML markup inside of Label

2007-09-28 Thread V. Jenks
Seems like a simple question and I thought I had done this before...but I simply need to display HTML *as* html, on a page, using a Label. -- View this message in context: http://www.nabble.com/Display-HTML-markup-inside-of-Label-tf4535575.html#a12944119 Sent from the Wicket - User mailing list

Re: Displaying images remotely - HTML email

2007-09-28 Thread V. Jenks
and done. -igor On 9/28/07, V. Jenks [EMAIL PROTECTED] wrote: No, this is not the case. I specifically need these images to be *outside* of the packaged .ear application because I need our designers to have access to them. Wicket access these resources and actually sends the contents

Re: Displaying images remotely - HTML email

2007-09-28 Thread V. Jenks
I don't see how I'd be able to do that sort of path? I need to provide the full path for the reference to be found, since it's an external resource. Obviously, I get a NullPointerException if I just type in what you show in your example. I must be missing something. Either way, this could be

Re: Displaying images remotely - HTML email

2007-09-28 Thread V. Jenks
Correct, I had to actually go back and scan through the class since it's been a year since I've even looked at it! ImageResource derives from DynamicWebResource. So, in the getResourceState() method I hard-coded a line that tests for a specific path (i.e. C:\\MyApp\\assets\\images) - if it does

Re: BookmarkablePage URL

2007-09-10 Thread V. Jenks
an example of how to do this and what the URL actually looks like...can you maybe point me to some instructions? Thanks! Eelco Hillenius wrote: On 8/31/07, V. Jenks [EMAIL PROTECTED] wrote: I'm sure this has been asked 1000x but I'm unable to find the answer...and don't have enough

Re: BookmarkablePage URL

2007-09-10 Thread V. Jenks
V. Jenks wrote: I'm sure this has been asked 1000x but I'm unable to find the answer...and don't have enough time left to keep digging. I simply want to call a bookmarkable page and pass it a parameter value... I got this far but my guesses have so far

Re: BookmarkablePage URL

2007-09-10 Thread V. Jenks
TEST - I tried to reply to this again, about an hour ago...but the message still hasn't appeared. Should I just post it again? V. Jenks wrote: I'm sure this has been asked 1000x but I'm unable to find the answer...and don't have enough time left to keep digging. I simply want to call

Re: BookmarkablePage URL

2007-08-31 Thread V. Jenks
the URL actually looks like...can you maybe point me to some instructions? Thanks! Eelco Hillenius wrote: On 8/31/07, V. Jenks [EMAIL PROTECTED] wrote: I'm sure this has been asked 1000x but I'm unable to find the answer...and don't have enough time left to keep digging. I simply want