[Wicket-user] WicketWiki stylesheet contributed

2005-08-21 Thread Nathan Hamblen
I've started on a stylesheet for the wiki. Here's a screenshot: http://homepage.mac.com/nhamblen/files/wicket-wiki.png You can see the stylesheet source at http://wicket.sourceforge.net/wiki/index.php/MediaWiki_talk:Monobook.css Whoever has write access to the wiki/LocalSettings.php file, it wou

Re: [Wicket-user] WicketWiki stylesheet contributed

2005-08-22 Thread Nathan Hamblen
table though. Probably don't have enough rights? I hope Gwyn can help out here. Eelco Nathan Hamblen wrote: I've started on a stylesheet for the wiki. Here's a screenshot: http://homepage.mac.com/nhamblen/files/wicket-wiki.png You can see the stylesheet

[Wicket-user] list view sorting consuming all heap space

2005-09-18 Thread Nathan Hamblen
I wonder if anyone else has had a problem running out of heap space using contrib data and dataview. When I hook up a sorting header for my hib3 result set, if I keep clicking the header repeatedly (as my boss is sure to do!) the page will take longer and longer to display, until after abou

Re: [Wicket-user] list view sorting consuming all heap space

2005-09-19 Thread Nathan Hamblen
ting header some time back. - Original Message - From: "Nathan Hamblen" <[EMAIL PROTECTED]> To: < wicket-user@lists.sourceforge.net> Sent: Monday, September 19, 2005 1:00 AM Subject: [Wicket-user] list view sorting consuming all heap space >I wonder i

Re: [Wicket-user] list view sorting consuming all heap space

2005-09-19 Thread Nathan Hamblen
ing header? Are you using by OrderByLink or OrderByBorder? -Igor *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Nathan Hamblen *Sent:* Monday, September 19, 2005 10:05 AM *To:* wicket-use

Re: [Wicket-user] list view sorting consuming all heap space

2005-09-20 Thread Nathan Hamblen
).size(); } Public model(...) { return getDelegate().model(...); } } DataView articles = new ArticleDataView("articles", dp); -Igor -Original Message- From: [EMAIL PROTECTED] [mailto:wicket-user- [EMAIL PROTECTED]] On Behalf Of Nathan Hamblen Sent:

Re: [Wicket-user] list view sorting consuming all heap space

2005-09-20 Thread Nathan Hamblen
location logic for locating the underlying dao is moved into the decorator. -Igor From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Nathan Hamblen Sent: Tuesday, September 20, 2005 8:23 AM To: wicket-user@lists.sourceforge.net

Re: [Wicket-user] list view sorting consuming all heap space

2005-09-22 Thread Nathan Hamblen
dard way to view and sort hibernate query results. Nathan Igor Vaynberg wrote: Need to wait for sf.net to sync the developer cvs with the public cvs. Sometimes takes up to 6 hours. -Igor     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Natha

Re: [Wicket-user] list view sorting consuming all heap space

2005-09-22 Thread Nathan Hamblen
cdapp2 uses a HibernateDataSource with a GridPanel. Maybe that works, I don't know. Nathan Igor Vaynberg wrote: Doesn’t the CDApp example do this already? -igor     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Nathan Hamblen

Re: [Wicket-user] list view sorting consuming all heap space

2005-09-26 Thread Nathan Hamblen
Everyone, thanks for the help. I finally found the problem by debugging into componentModelChanging as several people had urged me to do. The memory hog was an object I had in the data provider, which was a member class of my Page class. I wasn't using the page in it, but it still had compiler

[Wicket-user] Standard for database integration? (Please!)

2005-10-04 Thread Nathan Hamblen
One of this project's strengths is its community of contributers. Unlike some other Java web component frameworks, Wicket is not controlled by a founder & dictator. Hooray for that. But in some areas, disorganization is killing us. At present, there is no standard way to access a hibernate ses

[Wicket-user] Re: Standard for database integration? (Please!)

2005-10-11 Thread Nathan Hamblen
DataView itself is a good example of the need for database and UI integration (even its name.). Without something similar pulled into wicket.extensions, novice Wicket programmers are left to solve a pretty tricky problem right off: how do I make a ListView fill from the database without wasting

[Wicket-user] Re: Standard for database integration? (Please!)

2005-10-11 Thread Nathan Hamblen
[EMAIL PROTECTED] On Behalf Of Nathan Hamblen Sent: Tuesday, October 11, 2005 1:56 PM To: wicket-user@lists.sourceforge.net Subject: [Wicket-user] Re: Standard for database integration? (Please!) DataView itself is a good example of the need for database and UI integration (even its name.). Wit

[Wicket-user] Re: Standard for database integration? (Please!)

2005-10-13 Thread Nathan Hamblen
One thing I mean by integration is a built-in loadable detachable model for Hibernate mapped objects, like what's in contrib.data and contrib.database. After that, you need an easy way for people to fill up list views with query results. If there weren't a use for base classes that help in thes

[Wicket-user] Modifying HTML "boolean" attributes

2005-10-13 Thread Nathan Hamblen
Is there any support for what W3C calls boolean attributes? (Boolean attributes are those that shouldn't have an assigned value, they're just there or not there.) I need to enable and disable form components in subsequent requests and I'm having a hard time with AttributeModifier. It insists o

[Wicket-user] Re: Standard for database integration? (Please!)

2005-10-13 Thread Nathan Hamblen
Fine. What about extensions? Phil Kulak wrote: Oh, well, I agree that the hibernate stuff should not be in the core. On 10/13/05, Nathan Hamblen <[EMAIL PROTECTED]> wrote: One thing I mean by integration is a built-in loadable detachable model for Hibernate mapped objects, like wha

[Wicket-user] Re: Modifying HTML "boolean" attributes

2005-10-13 Thread Nathan Hamblen
Thanks, I didn't realize this was valid (and even required) for XHTML. It might be worth a comment in AttributeModifier and elsewhere; I didn't realize Wicket preferred XHTML markup. Nathan Scott Sauyet wrote: Nathan Hamblen wrote: I need to enable and disable form components in

[Wicket-user] Re: Standard for database integration? (Please!)

2005-10-13 Thread Nathan Hamblen
code is the only license we permit. Martijn Dashorst On 10/13/05, *Nathan Hamblen* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Fine. What about extensions? Phil Kulak wrote: > Oh, well, I agree that the hibernate stuff should not be in the core. >

[Wicket-user] Re: where to find any hibernate-wicket example ?

2005-10-25 Thread Nathan Hamblen
You're pretty much stuck convincing yourself that Wicket works well with persistence, at least for now. (You'll see that it does, though.) The examples in wicket-stuff do things in several different ways, and many of them stop short of actually plugging into a database but instead simulate one.

[Wicket-user] ListMultipleChoice doesn't call modelChanging()

2005-10-25 Thread Nathan Hamblen
In 1.1 rc2, ListMultipleChoice.updateModel() acts a little funny. It gets a reference to a Collection in line 282, then operates on it directly. First it clears it, then it adds things back. At line 316 it calls setModelObject(selectedValues), but that doesn't do anything because the comparato

[Wicket-user] Re: ListMultipleChoice doesn't call modelChanging()

2005-10-26 Thread Nathan Hamblen
rrayList (don't know a better solution) I could call modelChanging/modelChanged in that method right before the clear and before the setmodelobject. johan On 10/25/05, *Nathan Hamblen* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: In 1.1 rc2, ListMultipleCho

[Wicket-user] Re: replace ognl.

2005-10-27 Thread Nathan Hamblen
I use ognl {} projection to make non-List Collections into Lists for a ListView. (And it /is/ way too slow with long lists.) If list view could handle a SortedSet, or just any Collection, it would eliminate that need. It would still be nice to have an OgnlPropertyModel, even if it doesn't have

[Wicket-user] AccessibleCheckBoxMultipleChoice - Or, what's up with element IDs?

2005-11-01 Thread Nathan Hamblen
I love the simplicity of CheckBoxMultipleChoice, but its markup leaves a little to be desired. There aren't any label tags, and the lines end with . Of course the break is easily fixed with calls to setPrefix(""), setSuffix(""), but since onComponentTagBody() is final I don't have any way to ge

[Wicket-user] Re: Previewing html only, including nested components html

2005-11-04 Thread Nathan Hamblen
It wouldn't be a "drawback," since nobody does it better. But anyway, you can preview a component (in isolation) just fine in the component template without a web server. You can also preview the fake version in the page template without a server, though it's easy for that to get out of synch

[Wicket-user] Re: Preserve form state

2005-11-16 Thread Nathan Hamblen
One option is to override Form.process() and compare findSubmittingButton() against your various buttons, then bypass the super method if you don't want it to update your model (just return true). Until wicket has some better way to bypass the model update, this works just fine. Nathan Matej

[Wicket-user] Reference library on wiki

2005-11-19 Thread Nathan Hamblen
I started a new page on the wiki where I hope to organize links out to all of the reference documentation. Right now things are split between "how tos" on their own page and some other stuff on the main page. I'm proposing that the main page describe what the wiki is for and have links (only) t

[Wicket-user] Re: There must be some docs somewhere?

2005-11-20 Thread Nathan Hamblen
I don't think we all agree about Spring's role in Wicket. It's fine to say that Spring will open and close Hibernate transactions if you want to use it, but that's not a good reason to delete projects that do the same thing without Spring. Nathan Igor Vaynberg wrote: irt spring+hibernate+wic

[Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-02 Thread Nathan Hamblen
This came up before when I was trying to track down why reversing the sort order of a DataView was bringing down my test application. (http://thread.gmane.org/gmane.comp.java.wicket.user/4309) It turned out that the page versioning code was serializing the entire view hierarchy, recursively, be

[Wicket-user] Re: Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-02 Thread Nathan Hamblen
. its been on my list for a while, maybe i will move it up a notch or two. -Igor On 12/2/05, *Nathan Hamblen* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: This came up before when I was trying to track down why reversing the sort order of a DataView was

[Wicket-user] Re: Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-02 Thread Nathan Hamblen
there is no point of versioning it because the model is always recalculated even if the user presses the back button. this is also the case with some formcomponents, since their model is always current after request. so really versioning should be considered on a case by case basis. -Igor On

[Wicket-user] Project to bridge Wicket to Hibernate: Databinder

2006-01-10 Thread Nathan Hamblen
Wicketeers, I've started a small project called Databinder that aims to connect Wicket to Hibernate in the simplest possible way. It's mostly aimed at Wicket beginners, though right now there's a bit of a jump going from its Setup guide to the example app. http://databinder.net/ Suggestions welc

[Wicket-user] Re: Project to bridge Wicket to Hibernate: Databinder

2006-01-12 Thread Nathan Hamblen
ket-Stuff wicket-phonebook project) as > jump-start projects for DB-related web-apps... > > /Gwyn > > On 11/01/06, Nathan Hamblen <[EMAIL PROTECTED]> wrote: >> Wicketeers, >> >> I've started a small project called Databinder that aims to connect >> W

[Wicket-user] RE: Project to bridge Wicket to Hibernate: Databinder

2006-01-12 Thread Nathan Hamblen
Great, that's just what I'm looking for. You and anyone else, please don't hesitate to e-mail me if you run into problems with the setup instructions (or find some awful bug). Nathan Bennett, Timothy (JIS - Applications) wrote: > Nathan! This is really nice. Thanks for the kickstart. I intend

[Wicket-user] text in Link vs ExternalLink

2006-01-17 Thread Nathan Hamblen
For ExternalLink objects I can specify the link's text directly, and I can't embed a span to do the same. With Link and its subclasses, I can ONLY embed span (or other) tags. Right? That's a pretty striking functional difference between related classes. I see this has come up on the list once befo

[Wicket-user] Re: text in Link vs ExternalLink

2006-01-17 Thread Nathan Hamblen
the standard wicket > way. It just saves a little bit of coding. > > Juergen > > On 1/17/06, Nathan Hamblen <[EMAIL PROTECTED]> wrote: >> For ExternalLink objects I can specify the link's text directly, and I >> can't embed a span to do the same. With Li

[Wicket-user] Re: Re: text in Link vs ExternalLink

2006-01-17 Thread Nathan Hamblen
the source.) I think I'd rather see the "label" constructor be deprecated, just for consistency with Link. Nathan Igor Vaynberg wrote: > this is some text > or > > > this works for Link or ExternalLink, no webmarkup containers, etc. > > -Igor > > &g

[Wicket-user] Re: Re: Re: text in Link vs ExternalLink

2006-01-18 Thread Nathan Hamblen
On 1/18/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: >> that sounds good to me. anyone opposed? >> >> >> -Igor >> >> >> On 1/17/06, Nathan Hamblen <[EMAIL PROTECTED] > wrote: >> > But is ExternalLink's ability to replace it

[Wicket-user] Re: Re: Re: Re: text in Link vs ExternalLink

2006-01-18 Thread Nathan Hamblen
Juergen Donnerstag wrote: > On 1/18/06, Nathan Hamblen <[EMAIL PROTECTED]> wrote: >> I think the best thing would be to have an external link that's actually >> in the Link hierarchy, but I haven't looked at the source closely enough >> to see if that's f

[Wicket-user] Re: Re: Re: Re: Re: text in Link vs ExternalLink

2006-01-19 Thread Nathan Hamblen
Juergen Donnerstag wrote: > I must admit I still don't understand where your confusion comes from: > ExternalLink is realy a special purpose component only, creating HTML > anchor tags pointing to /external/ destinations. What is your use case > where you require a more flexible link to /external/

[Wicket-user] Re: maven2 repo update

2006-01-31 Thread Nathan Hamblen
I believe the request to include sources was from a Wicket user, not anyone directly involved with Maven. Then the maven guy jumped in and said how to do it with Maven 2... Anyway, the sources are really helpful to people using Maven with the eclipse plug-in, because eclipse is stubborn and won't

[Wicket-user] Re: Simplest way to change Date format

2006-02-14 Thread Nathan Hamblen
This is neither simple nor clever, but it's one way: public class WicketDateConverter implements IConverter { private SimpleDateFormat format; public WicketDateConverter(String formatStr) { format = new SimpleDateFormat(formatStr); } public Object convert(Object value, Cl

[Wicket-user] Re: JavaOne, Wicket, NetBeans

2006-03-06 Thread Nathan Hamblen
I'm eager to give Netbeans a shot, but I need the Maven 2 plugin to work smoothly first. http://docs.codehaus.org/display/MEVENIDE/MevenideNetbeans2.0 I'm sure you have nothing to do with that, I'm just putting it out there. Wicket 1.2 has switched to Maven 2 and you'll probably see it used more

[Wicket-user] Recipe book example, Databinder 0.3

2006-03-08 Thread Nathan Hamblen
People are occasionally asking for examples here and I've got a fresh one that I think is kind of fun (though not at all earth-shaking). It's a recipe book where you can write recipes in Textile and add, reorder, and remove ingredients. http://databinder.net/recipe-book.html I wrote this new e

[Wicket-user] Re: Snapshots at some maven2 repo?

2006-03-12 Thread Nathan Hamblen
he maven stance on the contents of the ibiblio repository is that no development artifacts should be there. And I agree with them on that point. In order to make my release life a lot easier, and less time consuming, I only provide the 1.2 development releases through the sourceforge download cente

[Wicket-user] Re: Common Pitfall for Ajax Users in Wicket

2006-03-17 Thread Nathan Hamblen
Another one is, probably, that certain components (ListViews, Forms...) can't be set as Ajax targets. And as for those components that can be targeted, their own attributes (like a TextArea's value) aren't updated, only their body contents. So in fact you have to wrap almost anything you want to ta

[Wicket-user] Re: Re: Common Pitfall for Ajax Users in Wicket

2006-03-17 Thread Nathan Hamblen
="uniqueid"> around the component they are attached to > making it very easy to update any component w/out having to > add an extra webmarkup container around it by rerendering the > entire component and not just its body. > >

[Wicket-user] Re: Re: Re: Common Pitfall for Ajax Users in Wicket

2006-03-17 Thread Nathan Hamblen
s creative implementation." Nathan On Fri, 2006-03-17 at 09:43 -0800, Igor Vaynberg wrote: > note: the component cannot be added via a target. it has to be there > in the html when the page renders fully. > > -Igor > > > On 3/17/06, Nathan Hamblen <[EMAIL PROTECTED]

[Wicket-user] Re: Re: Common Pitfall for Ajax Users in Wicket

2006-03-17 Thread Nathan Hamblen
hese notes: > > > > if we make behaviors be able to output markup before and after the > > component it is attached to renders then most ajax behaviors can > > output a simple around > > the component they are attached to making it very easy to

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

2006-03-19 Thread Nathan Hamblen
Did url mounting change? I was using IndexedParamUrlCodingStrategy with beta1 but now my bookmarkable URLs are getting generated as if I were using the default strategy, like /mountpath/0/21 since I set the parameter name as 0. Then when it tries to fetch the parameter it just retrieves the 0 a

[Wicket-user] outerhtml, ajax wrapping

2006-03-19 Thread Nathan Hamblen
So far I'm not getting what I was hoping for with outerhtml. I targeted a textfield with it and Safari handled it ok but Firefox made a second textfield. So I'm back to a wrapping span. But I'm glad for the switch; outerhtml is semantically a lot better for what we're doing. With beta1 if you

[Wicket-user] Re: Wicket / Databinder issue

2006-03-21 Thread Nathan Hamblen
Ouch! I am so interested in taking Databinder further, but since novices are my priority I can't roll out something half baked. It's now fully baked, but being held up by the unpredictable Maven upload process (along with my upload request for 1.2 beta2 itself). Any hour now, I hope to see it on th

[Wicket-user] Re: Successful CRUD with Wicket: HOW TO

2006-03-22 Thread Nathan Hamblen
(Sorry if this double-posts... listserv seems to have eaten my first msg) Allright, you can consider that problem FIXED. I've has instituted a contingency plan for Databinder 0.4 that doesn't depend on Maven upload requests: http://technically.us/n8/articles/2006/03/22/databinder-0-4-go-n-get-it

[Wicket-user] Re: Successful CRUD with Wicket: HOW TO

2006-03-22 Thread Nathan Hamblen
o the point. Damnit... time why oh why is there so little time. Martijn On 3/23/06, *Nathan Hamblen* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: (Sorry if this double-posts... listserv seems to have eaten my first msg) Allright, you can consider that probl

[Wicket-user] Re: Java Web Framework Sweet Spots

2006-03-25 Thread Nathan Hamblen
I'll pile on with a "me too" here; it IS nice to have designers around that can code HTML+CSS. Not only do they take care of things we'd rather not do, but their designs tend to be more practical and user-friendly since they really understand the technologies they're designing for. But the arg

[Wicket-user] Re: WicketAjaxIndicatorAppender

2006-04-04 Thread Nathan Hamblen
Steve Knight wrote: > Not easily. I am using Databinder which I think is tied to beta2. Not anymore! http://technically.us/n8/articles/2006/04/04/databinder-snapshot-for-wicket-1-2-beta3 Nathan --- This SF.Net email is sponsored by xPML, a g

[Wicket-user] no en_US in dateformats.properties ?

2006-04-05 Thread Nathan Hamblen
DatePicker isn't setting a correct date string for me in beta3. It's doing 2006/04/05, which the date converter won't understand. I stepped into the code and saw that it's trying to find 'en_US' in a hashtable built from dateformats.properties, which only has 'en' and 'en_ZA' (where's that?). I do

[Wicket-user] Re: no en_US in dateformats.properties ?

2006-04-06 Thread Nathan Hamblen
ver gets us a more solid date widget. Nathan Eelco Hillenius wrote: > Hi, > > On 4/5/06, Nathan Hamblen <[EMAIL PROTECTED]> wrote: >> DatePicker isn't setting a correct date string for me in beta3. It's >> doing 2006/04/05, which the date converter won'

[Wicket-user] Re: Is it possible to give wicket URLs an extension?

2006-04-06 Thread Nathan Hamblen
I'm doing this with Jetty and Apache for the Databinder examples... ProxyRequests Off Order deny,allow Allow from all ProxyPass /directory/ http://localhost:9090/directory/ ProxyPass /bookmark/ http://localhost:9090/bookmark

[Wicket-user] Re: beta3

2006-04-06 Thread Nathan Hamblen
As I'm moving over source from 1.1 I'm seeing a lot of sensitivity to tags that aren't XHTML, i.e. lacking a closing slash. Could that be the problem here? If the behavior is intentional, I'll add it to the guide. Anyone? Nathan Dzenan Ridjanovic wrote: > Hi, > > I have two errors that come fr

[Wicket-user] Re: zero session state/stateless pages

2006-04-11 Thread Nathan Hamblen
Michael Day wrote: > If not, then wicket cannot be used for public web sites (news, > online store, etc) that need to be indexed in today's search engines. Johan Compagner wrote: > If you want a really stateless page/site. Then everything must be > bookmarkable/mountable links..and you can't use

[Wicket-user] Re: zero session state/stateless pages

2006-04-11 Thread Nathan Hamblen
cowwoc wrote: > 1) GoogleBot will hit the same page with different JSESSIONID each time. > It'll think that these are different pages and lower your page rank > because (from its point of view) your website contains different page > URLs with the same content (looks like you're trying to trick it).

[Wicket-user] Re: zero session state/stateless pages

2006-04-12 Thread Nathan Hamblen
Johan Compagner wrote: > defering the creation of the session and the whole google crawler thing > are 2 seperate issues for me. > > Because a bookmarkable url could be a non stateless page anyway because > of a form or link on it. > And then you do have the session. And urls with jsessionid will

[Wicket-user] Re: zero session state/stateless pages

2006-04-12 Thread Nathan Hamblen
Michael Day wrote: > Heh, no, other technologies *do* have a better solution, which is simply > to not create sessions unless they are needed. They still append > session ids, but only when necessary. So if a (cookie-less) user goes > to a news site and reads 10 articles, he still doesn't have a

[Wicket-user] Re: maven2 support?

2006-04-18 Thread Nathan Hamblen
Wicket maintainers will upload the final 1.2 release. I uploaded one of the betas myself, but it's hardly worth the trouble. You can easily "mvn install" from the project root of a Wicket snapshot (since Wicket uses Maven 2), or even from the svn trunk. Nathan Roland Kaercher wrote: Hi all,

[Wicket-user] Re: Wicket & simple DB components?

2006-04-22 Thread Nathan Hamblen
I think it should be easy enough to pull things from a database that it's worth doing even for 12 items. Wicket is adept at rendering objects, and Hibernate turns table rows into objects; it should be win-win. But... looking back at the Databinder bookmarks example (http://databinder.net/bookm

[Wicket-user] Opera 9 Beta works with Wicket

2006-04-27 Thread Nathan Hamblen
Previous versions of Opera would choke on wicket:id tags, etc (as reported on this list). I filed a bug report with Opera a little while back and the problem seems to have been fixed in the new version. Also, our Ajax impl now works with it as far as I can tell. Nathan ---

[Wicket-user] Re: The other side of Wicket ...

2006-05-04 Thread Nathan Hamblen
Timo Stamm wrote: > MVC is not Struts! (MVC is *much* older.) I wouldn't even say that > Struts is MVC. Yeah, but, it's a lost cause. The word anyway. The concept is enshrined in component based frameworks, so we can confidently roll our eyes whenever those Rails barbarians describe the activities

Re: [Wicket-user] Wicket homepage Lucida Sans font

2007-03-07 Thread Nathan Hamblen
font-family: 'Lucida Sans', 'Helvetica', 'Sans-serif', 'sans'; This isn't a super font-family line. To give the most uniform appearance across platforms, the CSS should specify every known sans in the Lucida family. (My list is 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Lucida, Luci

Re: [Wicket-user] Getting value of a text field via Ajax, no form

2007-03-08 Thread Nathan Hamblen
Speaking of, is AjaxFormSubmitBehavior broken in the current 1.x snapshot, or is it just me? Nathan Igor Vaynberg wrote: > see AjaxFormComponentUpdatingBehavior > > AjaxEventBehavior doesnt send over the value of the form component, just > triggers a roundtrip >

Re: [Wicket-user] AbstractBehavior or AjaxFormSubmitBehavior exception handling

2007-03-14 Thread Nathan Hamblen
Is it this? https://issues.apache.org/jira/browse/WICKET-376 Apaar Trivedi wrote: > Hey guys, > > > > When I have an exception (in this case a NullPointerException) occur > during the onSubmit of an AjaxFormSubmitBehavior, neither onException or > onError is being called. Why is that? I t

[Wicket-user] hey, I was uisng that "target" model

2007-03-20 Thread Nathan Hamblen
Now that 2.0-style compound models are in 1.x snapshots, I have a question for people that have been using them: how do you work without CompoundPropertyModel.getNetstedModel()? For me, this is often a special model that I want to do something with, but in the newer style it's called the "targe

Re: [Wicket-user] hey, I was uisng that "target" model

2007-03-21 Thread Nathan Hamblen
lt;mailto:[EMAIL PROTECTED]>> wrote: > > getObject() of CompoundPropertyModel itself == the target. > > > > > On 3/21/07, *Nathan Hamblen* < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Now that 2.0-style compound model

Re: [Wicket-user] the modal window cannot work in ie fro wicket 2.0 snapshot

2007-03-25 Thread Nathan Hamblen
Modal windows just started not working for me in 1.3.0 snapshots, maybe around the time the close method stopped being static. The models of components inside them aren't being detached; I'm using a Panel as content. I can do more research if need be, but it seems to be broken pretty unsubtly a

Re: [Wicket-user] the modal window cannot work in ie fro wicket 2.0 snapshot

2007-03-25 Thread Nathan Hamblen
Detach being broken makes the whole thing broken for me, but if you're aware of that then I've no other failing test case to provide. lihanrong must be talking about some other problem. Nathan Matej Knopp wrote: > Hi. > > I've commited the modal window changes but I'm not really aware of > any

Re: [Wicket-user] Creating Entire Forms in Java Code Only?

2007-04-09 Thread Nathan Hamblen
I'm just going to echo what Eelco originally said: HTML is quite good for defining forms. I'm glad people have found ways to generate them from XML or whatever (and for some purposes I'm sure that's best), but I would encourage new users to keep an open mind about plain HTML templates for forms

Re: [Wicket-user] Sending Emails Via Wicket?

2007-04-24 Thread Nathan Hamblen
This is not a particularly beautiful, finished, or even properly-indented (not sure how that happened) implementation but it does manage to send me text emails with templated contents including URLs going back into Wicket: http://databinder.net/wsvn/Databinder/typeturner/trunk/src/main/java/com

Re: [Wicket-user] reloading a DataTable after submit with validation error

2007-04-26 Thread Nathan Hamblen
Igor Vaynberg wrote: > the model you return from dataprovider has to have its equals and > hashcode implemented, if you want those can forward to the modelobject. If you're using a DatabinderProvider, Chuck, then it's a HibernateObjectModel; I'll add those overrides to it. Something like this c

[Wicket-user] Cascading column lists

2006-06-21 Thread Nathan Hamblen
Not sure how common this is, but more than once I've had to hack up models that split a list into sublists for the UI: A D G B E H C F I ... I've hit upon a nice way of doing it I thought I'd share with everyone: http://databinder.net/wsvn/Databinder/databinder

Re: [Wicket-user] wicket developer job opening

2006-06-27 Thread Nathan Hamblen
How about this, you take the West coast Wicket coders and we'll take the East coast. http://newyork.craigslist.org/mnh/eng/173875466.html Stay outta New York, and we won't have any trouble. (kidding!) Nathan Jeffrey H. Lin wrote: > > I am looking for a full-time wicket programmer to join our t

[Wicket-user] Out-of-oder ajax responses

2006-07-14 Thread Nathan Hamblen
What are people doing to make sure their ajax responses apply to pages in the correct order? I'm using an onkeyup form component updater for a find-as-you-type query a fairly large database. Incorrect results are often rendered because the second-to-last request responds after the actual last reque

Re: [Wicket-user] Out-of-oder ajax responses

2006-07-14 Thread Nathan Hamblen
at you can implement it yourself. > > -Igor > > > On 7/14/06, *Nathan Hamblen* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > What are people doing to make sure their ajax responses apply to pages > in the correct order? I'm u

Re: [Wicket-user] Out-of-oder ajax responses

2006-07-14 Thread Nathan Hamblen
feasible would it > be to send only when the char is entered? > > /Gwyn > > On 14/07/06, Nathan Hamblen <[EMAIL PROTECTED]> wrote: >> What are people doing to make sure their ajax responses apply to pages >> in the correct order? I'm using an onkeyup form co

Re: [Wicket-user] Out-of-oder ajax responses

2006-07-14 Thread Nathan Hamblen
I have it working in two fields, yes. Actually one quirk: if you type in one field and tab out of it within a half second then the script is going to bring you back... it should be checking too see if you're still in it before calling blur & focus. Easy to fix. But I don't see any fundamental prob

Re: [Wicket-user] Wicket & Hibernate & Application Transactions

2006-07-15 Thread Nathan Hamblen
#1 may sound hard, and you might think you're missing out on some good Wicket abstraction, but it can work seamlessly. Once the objects are loaded, you shouldn't have to think about their database IDs again. An IModel implementation can do the grunt work internally: http://databinder.net/wsvn/D

Re: [Wicket-user] Wicket & Hibernate & Application Transactions

2006-07-17 Thread Nathan Hamblen
As others have pointed out, the magic of IModel works better than you think (or thought) it does. I often have two constructors for pages, one taking bookmarkable parameters and another taking an IModel so that I don't always have to reload DB objects page to page. It's a cinch. http://databinder.

Re: [Wicket-user] Wicket & Hibernate & Application Transactions

2006-07-18 Thread Nathan Hamblen
Agreed. I don't think there's anything here that needs fixing. I was just saying that if Iman or anyone else wants to experiment with extended Hibernate sessions, I think that would be cool. (Reattaching orphaned Hibernate objects is not a road I would want to go down.) In the mean time our system

[Wicket-user] DynamicImageResource contained in ajax target

2006-07-21 Thread Nathan Hamblen
Has anyone tried ajax-updating an Image whose resource is a DynamicImageResource? I'm finding that, even though the resource contents have changed, the same URL is generated to access it and the original image is returned if I request that URL. Nathan

Re: [Wicket-user] DynamicImageResource contained in ajax target

2006-07-21 Thread Nathan Hamblen
elco Hillenius* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Do you use an Image component? > > Eelco > > > On 7/21/06, Nathan Hamblen < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Has anyone

Re: [Wicket-user] DynamicImageResource contained in ajax target

2006-07-21 Thread Nathan Hamblen
It's in the oven. Don't you want a live ajax preview for your rendered text? Nathan Eelco Hillenius wrote: > What about that nice goody of yours > http://technically.us/n8/articles/2006/07/15/funny-face > > :) > > Eelco -

[Wicket-user] Wicket 1.2.1: DatePicker + AjaxFormComponentUpdatingBehavior = broken

2006-07-24 Thread Nathan Hamblen
It used to work, but now it doesn't since DatePicker uses an attribute modifier to change the ID of its target text field. The updating behavior's javascript is looking for the original ID, so you get a JS error. Solution is to use AjaxFormSubmitBehavior if you can, since it doesn't depend on the

[Wicket-user] Voicetribe open beta

2006-08-14 Thread Nathan Hamblen
Voicetribe is in open beta. (Now you can finally figure out what it is.) http://www.voicetribe.com/ Sign up for an account, pop in a DVD, and record something. Don't worry, you can't possibly say, "Testing, 1 ... 2 ... 3" any worse than I do. All the non-serious recordings will be scrapped when t

Re: [Wicket-user] Voicetribe open beta

2006-08-15 Thread Nathan Hamblen
Sorry about that. I'm eager to see Linux supported as well, but it's a big hurdle. Nathan Otan wrote: > :(( There's no way for me to try it. Im using Linux. - Using Tomcat but need to do more? Need to support web services, s

Re: [Wicket-user] Maven2 archetypes

2006-08-17 Thread Nathan Hamblen
There's always... mvn archetype:create -DarchetypeGroupId=net.databinder \ -DarchetypeArtifactId=data-app -DarchetypeVersion=0.6 \ -DgroupId=example -DartifactId=myExample Nathan Martin Funk wrote: > Verry nice, thank you. > > Personally I wouldn't mind seeing a couple wicket-archetypes on

[Wicket-user] Javaref.com

2006-08-23 Thread Nathan Hamblen
Take a look, if you haven't already: it's VERY well done. And it's done in Tapestry. Yay for second-gen Web frameworks, or something. Nathan - Using Tomcat but need to do more? Need to support web services, security? Get stu

Re: [Wicket-user] Javaref.com

2006-08-23 Thread Nathan Hamblen
Matej Knopp wrote: > Nathan Hamblen wrote: >> Take a look, if you haven't already: it's VERY well done. And it's done >> in Tapestry. Yay for second-gen Web frameworks, or something. > > Is it? 269 kb of javascript (not even compressed), I can't check

Re: [Wicket-user] Howard is bluffing here ...

2006-08-25 Thread Nathan Hamblen
It's really annoying when forums or mailing lists assault weblog comments in a coordinated attack: don't do it! I mean, HLS is a you-know-what, and that's been obvious for some time, but we don't want the outside world to start looking at us like Mac users or anything. (I say that as a Mac user who

[Wicket-user] HeaderContributor on page works for one request only? (1.2.2)

2006-08-29 Thread Nathan Hamblen
Can anyone confirm if header contributors to pages are working properly? I get the contribution on the first request, but after submitting a form or following a link that stays on the same page the contributions are missing. With panels I'm not seeing the problem. Nathan ---

Re: [Wicket-user] WebObjects open source?

2006-08-30 Thread Nathan Hamblen
They've got a friggin' laser beam connecting data fields to their HTML counterparts! I want a laser beam. I wonder if we do could it, but without tools? Like, instead of presenting that error screen when the markup doesn't match the component hierarchy, we could have some ajaxy laser beam to conne

Re: [Wicket-user] HeaderContributor on page works for one request only? (1.2.2)

2006-09-01 Thread Nathan Hamblen
It works when attached to a component of the page. We just switched ours to use existing components (like the form). Nathan Juergen Donnerstag wrote: > Did you test it with a WebMarkupContainer? Why do think it is > different from a page? May be the error no matter where it is attached > to. > >

Re: [Wicket-user] FileUpload validation

2006-09-18 Thread Nathan Hamblen
Steve Knight wrote: > Are there any examples of how I can validate an uploaded file? For > example, I would like to validate that the user uploaded a valid image file. Here's a validator I use (formatting mangled). One weird thing you probably don't need is the part where it writes a file and del

  1   2   >