Re: best practice for a header component with links defined by the page

2007-08-31 Thread Scott Swank
-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Scott Swank reformed mathematician

Re: Twice Behavior on the same event handler (wicket 1.2.x)

2007-09-06 Thread Scott Swank
. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Scott Swank reformed mathematician - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

WebMarkupContainer without template markup

2007-09-07 Thread Scott Swank
I want to make a few parts of my page visible or not in a consistent manner -- i.e. based on the same true/false result, which I derive from my model. Can I wrap the relevant components in WebMarkupContainer without adding a matching div tag to my markup? Thank you, Scott -- Scott Swank

Re: WebMarkupContainer without template markup

2007-09-07 Thread Scott Swank
of the enclosure... it lets you group components together inside it, and let one of those components drive the visibility of the entire enclosure -igor On 9/7/07, Scott Swank [EMAIL PROTECTED] wrote: I could, but it's kind of the opposite of what I want. I want to _not_ have to add

Re: WebMarkupContainer without template markup

2007-09-07 Thread Scott Swank
, Matej Knopp [EMAIL PROTECTED] wrote: Can't you just call webmarkupcontainer.setRenderBodyOnly(true) ? -Matej On 9/7/07, Scott Swank [EMAIL PROTECTED] wrote: I get what you're saying, but the images in question are scattered across the page rather than in one place that could simply

Re: WebMarkupContainer without template markup

2007-09-09 Thread Scott Swank
a list of component references -- I wonder if it works for Scott... -Ryan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Scott Swank reformed mathematician

Re: How do i drag and drop using wicket 1.2.6

2007-09-12 Thread Scott Swank
to add drag drop feature in my app. i am using wicket 1.2.6, can it be done .What to do? thanks -- Scott Swank reformed mathematician - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Wicket vs. JSF/Seam (The Dead Debate)

2007-09-14 Thread Scott Swank
When we chose between JSF and Wicket our conclusions were: 1. JSF is more compact because tags involve fewer lines of code than Java components. 2. Wicket is much easier to extend than JSF. An example is in order. We sell a customer a hotel room reservation tickets to two different shows. We

Re: Wicket consulting/contracting/outsourcing

2007-09-18 Thread Scott Swank
#a12764265 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Scott Swank reformed mathematician

Re: Best practises and advice for integrating Wicket with Spring

2007-10-19 Thread Scott Swank
component that needs to use my service's methods? Look forward to your advice, James. -- Scott Swank reformed mathematician - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Repeaters' use of WebMarkupContainer question

2007-10-29 Thread Scott Swank
. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Scott Swank

Re: How to manage multiple versions of data?

2007-10-29 Thread Scott Swank
] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Scott Swank reformed mathematician - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Scott Swank
I can see how wicket:abstract and wicket:implements tags could be a nice enhancement to the current wicket:extend and wicket:child tags. Do you have a working, or mostly working, patch? - To unsubscribe, e-mail: [EMAIL

Re: Add fields Dynamically

2007-11-13 Thread Scott Swank
the questions and answers are stored on the database, so they can be changed by the administrator because this I can't create the HTML file with the fields Is there a way to do this? Thank you Marco -- Scott Swank reformed mathematician

Re: Matt Raible's ApacheCon presentation

2007-11-15 Thread Scott Swank
as opposed to embedding logic in views which has been something plaguing other frameworks for ages? -igor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Scott Swank

Re: Another Ajax back button question

2008-12-04 Thread Scott Swank
If the ajax changes are reflected in the relevant model(s) then you will see them when you go back to the page. Scott On Thu, Dec 4, 2008 at 2:29 PM, Matt Welch [EMAIL PROTECTED] wrote: I'm sure this has been asked and answered but after searching the list, I'm still not sure if there is

Re: Participating in Wicket

2008-12-17 Thread Scott Swank
I found this helpful. http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html Scott On Wed, Dec 17, 2008 at 2:38 AM, HHB hubaghd...@yahoo.ca wrote: Thanks Martijn How do you suggest to start studying Wicket core code (I don't mean getting the source code :) )? It is

Re: Default Focus Behavior?

2008-12-29 Thread Scott Swank
Jonathan, Have you considered O'Reilly's Cookbook series? I've done some tech review for them over the years, though not recently. E-mail me directly if you'd like a potentially dated contact. :) Scott On Sun, Dec 28, 2008 at 9:26 AM, Jonathan Locke jonathan.lo...@gmail.com wrote: I have

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Scott Swank
Jonathan, I think that Wicket is missing a solid overview of the below form components, how they differ, how they overlap, and when to use each. Check, Checkbox, CheckGroup, CheckGroupSelector DropDownChoice (there are 3 wiki pages, but I'd like to draw out the overlap with RadioChoice and the

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Scott Swank
= simple component There are also some ajax versions of above... It might just be me that have become blind to these things :) Of all the frameworks I work with, be it web, orm, log etc Wicket brings me the least trouble :) Happy new year :) Scott Swank wrote: Jonathan, I think

Re: Extending to all components

2009-01-06 Thread Scott Swank
We added the following to our Session: public static final MySession get() { return (MySession) Session.get(); } And then we just call MySession.get() instead of calling getSession(). Scott On Tue, Jan 6, 2009 at 9:59 AM, Dane Laverty danelave...@chemeketa.edu

Re: Extending to all components

2009-01-06 Thread Scott Swank
Since get() is a static method there is no relationship (i.e. overriding) between MySession.get() and Session.get(). Hence you do not even need Java 5. On Tue, Jan 6, 2009 at 10:25 AM, James Carman jcar...@carmanconsulting.com wrote: You don't need a helper if you do what Mr. Swank

Re: Advice on payment options with wicket

2009-01-14 Thread Scott Swank
Have you considered HttpClient? http://hc.apache.org/httpclient-3.x/ Scott On Wed, Jan 14, 2009 at 8:44 AM, Mathias P.W Nilsson math...@snyltarna.se wrote: The main problem is the external form. I need to send the form to an external server. Since I need wicket to check the form first I

Re: Why you should not override isVisible

2009-01-15 Thread Scott Swank
We have done exact that -- a lot. Driving isVisible() from the state of the model is very clean, but the performance is potentially awful. I have wondered whether this should be the default implementation for Component.isVisible(). Is IVisitor.beforeRender() an appropriate place in the rendering

Re: Why you should not override isVisible

2009-01-15 Thread Scott Swank
Is there a reason why the default behavior is not to cache the result of isVisible()? Are there cases where the result of isVisible() is expected to change over the course of rendering? Would a JIRA w/ code be welcome, or is the current behavior required? Scott On Thu, Jan 15, 2009 at 10:23

Re: Why you should not override isVisible

2009-01-15 Thread Scott Swank
My idea what an inversion of that one: Add a method to Component, such as isVisibleInternal() [no I don't love the name] that would cache the results of isVisible(). Then all code that currently calls isVisible() would be changed to call isVisibleInternal() instead. Someone who really wanted

Re: Why you should not override isVisible

2009-01-15 Thread Scott Swank
) { visible = // whatever boolean computation } return visible; } and then it disappears from the profiler and who cares about the rest. Scott Swank wrote: My idea what an inversion of that one: Add a method to Component, such as isVisibleInternal() [no I don't love

Re: Re: Why you should not override isVisible

2009-01-16 Thread Scott Swank
, 2009 at 12:53 AM, s...@meiers.net wrote: What's taking so long in your isVisible() method? The model object should be cached, and is isPositive() so expensive? Sven - Ursprüngliche Nachricht - Von: Scott Swank Gesendet: 16.01.09 02:06 Uhr An: users@wicket.apache.org

Re: Why you should not override isVisible

2009-01-16 Thread Scott Swank
into Wicket core. Sven Scott Swank schrieb: That comes from a CompoundPropertyModelCart and is bound to total. So getModelObject() corresponds to cart.getTotal(). From there, isPositive() is quite cheap. And we can, of course, keep implementing ad hoc caching of visibility. It's in no way

Re: Plain IMG src urls

2009-01-19 Thread Scott Swank
This is what we use. It's mostly code that Igor posted in a response to me 1 year ago or so... public class StaticImage extends WebComponent { public StaticImage(String id, IModel model) { super(id, model); } public StaticImage(String id, String

Re: Plain IMG src urls

2009-01-19 Thread Scott Swank
Yes, just like that. On Mon, Jan 19, 2009 at 9:21 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: class simpleimage extends webmarkupcontainer { protected void oncomponenttag(tag) { tag.put(src, getmodelobjectasstring()); } } -igor On Mon, Jan 19, 2009 at 9:15 AM, Prag

Re: style/variation

2009-01-22 Thread Scott Swank
Liz, We have completely customized the location of resources in Wicket. Here's what I learned on the subject: http://mail-archives.apache.org/mod_mbox/wicket-users/200804.mbox/8ee6dd5c0804221651h70660293pb505d19c2c21e...@mail.gmail.com - Scott On Thu, Jan 22, 2009 at 12:22 AM, Liz Huber

Re: style/variation

2009-01-22 Thread Scott Swank
AM, Pierre Goupil goupilpie...@gmail.com wrote: Scott, I'm sorry, but the link you've sent is invalid. And I was unable to find a valid link with. Regards, Pierre On Thu, Jan 22, 2009 at 7:03 PM, Scott Swank scott.sw...@gmail.com wrote: Liz, We have completely customized the location

Re: What's your take on handling markup in properties, html, wicket

2009-02-13 Thread Scott Swank
We use a combination of the following for that sort of l10n/i18n. 1. wicket:message 2. A Label with a StringResourceModel, and setEscapeModelStrings(true) 3. Fragments Scott On Fri, Feb 13, 2009 at 8:16 AM, Warren Bell warrenbe...@gmail.com wrote: Create a panel with just the markup you need

Re: Anyone have idea on ofbiz framework

2009-02-13 Thread Scott Swank
http://lmgtfy.com/?q=ofbizl=1 On Fri, Feb 13, 2009 at 3:20 PM, Swapna Rachamalla swapna.rachama...@gmail.com wrote: Hi Anyone have any idea on ofbiz framework Thanks Swapna On Fri, Feb 13, 2009 at 10:04 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: in your form.onsubmit() you can

Re: Wicket Focus Policy

2009-02-24 Thread Scott Swank
The chief problem in constructing pages with a consistent tabindex is that you must: 1. Know from which parent component you are basing your numbering. 2. Handle ajax insertions of of components within your current tabindex strategy. Our current code has edge conditions where it fails, and is on

Re: How (not) to: IModel and Collections (and generics)

2009-03-04 Thread Scott Swank
Does AbstractReadOnlyModel accomplish what you're talking about? Scott On Wed, Mar 4, 2009 at 4:50 AM, Johannes Schneider maili...@cedarsoft.com wrote: Hi, the concept of IModel seems to be very obvious. It is simply some kind of reference and offers a getter and a setter. When used with

Re: VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-04 Thread Scott Swank
I agree. It is very sensible to be able to provide a ModelListInteger as the choices for a dropdown that has ModelNumber. Restricting the choices to ModelListT only eliminates (sensible) options for the client code. Scott On Wed, Mar 4, 2009 at 8:08 AM, Johannes Schneider

The ServerSide Java Symposium

2009-03-20 Thread Scott Swank
Is anyone in Vegas? Want to nab a beer? Cheers, Scott - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: The ServerSide Java Symposium

2009-03-20 Thread Scott Swank
http://javasymposium.techtarget.com/html/frameworks.html#ALombardiWicket On Fri, Mar 20, 2009 at 9:44 AM, Scott Swank scott.sw...@gmail.com wrote: Is anyone in Vegas?  Want to nab a beer? Cheers, Scott - To unsubscribe, e

expires header

2008-07-23 Thread Scott Swank
A co-worker who is not on the wicket user list asked me to ask: How do you change the expires header being returned by the wicket javascript (e.g. /mytrip/app/resources/org.apache.wicket.markup.html.WebResource/wicket-event.js)? Are there any options for this, or would we have to dig into the

Re: expires header

2008-07-23 Thread Scott Swank
Thank you Johan. On Wed, Jul 23, 2008 at 11:14 AM, Johan Compagner [EMAIL PROTECTED] wrote: I think the package resources just does something default. Have to check if this is already configurable. Check resource and resource request target On 7/23/08, Scott Swank [EMAIL PROTECTED] wrote

Re: expires header

2008-07-23 Thread Scott Swank
think the package resources just does something default. Have to check if this is already configurable. Check resource and resource request target On 7/23/08, Scott Swank [EMAIL PROTECTED] wrote: A co-worker who is not on the wicket user list asked me to ask: How do you change the expires

Re: expires header

2008-07-23 Thread Scott Swank
://www.wickettraining.com On Wed, Jul 23, 2008 at 5:58 PM, Scott Swank [EMAIL PROTECTED] wrote: My coworker says: I see that one of the headers is being added from WebRequestCycleProcessor but the other headers must be added using something other than setHeader. Where else might headers originate

Re: Form/Enter Key Problem

2008-08-01 Thread Scott Swank
Another solution, since we have to ignore the enter key within some FormComponents: form.visitChildren(FormComponent.class, new IVisitor() { @Override public Object component(Component component) { if (!(component instanceof Button))

Re: Comparing JSF and Wicket

2008-08-06 Thread Scott Swank
My company compared several frameworks and settled on either JSF or Wicket. We then had a 2 week development effort implementing the same proof-of-concept app with 2 teams of 4 devs each. Everyone was at least somewhat familiar with JSF, while only one person in our department had ever worked

Re: Comparing JSF and Wicket

2008-08-07 Thread Scott Swank
If you can find JSF components that do exactly what you want then JSF is more compact. If, however, you find JSF components that do nearly what you want, but you have to add a bit of functionality, well then you're into the lovely world of phase listeners and the request/response life cycle.

feedback question

2008-08-16 Thread Scott Swank
I have FeedbackPanels for each FormComponent in a form. They are in a Border and use the ContainerFormComponentFilter to nab any messages for components in the Border. This all works as expected. Then at the top of the form there is a FeedbackPanel that filters out all messages whose source is

Re: feedback question

2008-08-17 Thread Scott Swank
; } } }); } }; Thank you, Scott On Sat, Aug 16, 2008 at 7:53 AM, Scott Swank [EMAIL PROTECTED] wrote: I have FeedbackPanels for each FormComponent in a form. They are in a Border and use the ContainerFormComponentFilter to nab

Re: feedback question

2008-08-17 Thread Scott Swank
in getDependentFormComponents() it probably won't work, because the validate method will only be called if all of those components are valid. Which kinda renders your validator useless :) So your approach with returning empty list is probably right. -Matej On Sun, Aug 17, 2008 at 7:23 PM, Scott Swank [EMAIL

Re: HTML Fragments

2008-08-18 Thread Scott Swank
You implement the onClick() method of a link such as the AjaxFallbackLink http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/ajax/markup/html/AjaxFallbackLink.html If the AjaxRequestTarget is null then the browser does not have JavaScript enabled. @Override public void

validation

2008-08-22 Thread Scott Swank
I have a form where every FormComponent is wrapped by a border that contains a feedback panel. The feedback panels each use a ContainerFeedbackMessageFilter to only display their messages. Everything works as fine. We then have ontab AjaxFormComponentUpdatingBehaviors to populate the feedback --

Re: Wicket resources (css, js and images)?

2008-08-26 Thread Scott Swank
Has jquery been considered for WANG, or am I coming into this conversation late? Scott On Tue, Aug 26, 2008 at 5:51 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: Probably something for 1.5 (with WANG–Wicket Ajax Next Generation–being based on YUI) Martijn On Tue, Aug 26, 2008 at 2:25 PM,

Re: Use wicket page templates not for webapplication

2008-08-27 Thread Scott Swank
http://cwiki.apache.org/confluence/display/WICKET/FAQs#FAQs-HowcanIrendermytemplatestoaString%3F On Tue, Aug 26, 2008 at 10:43 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Kan, please put in your findings in a page on the wiki (maybe under faq). Seems it's something people

ajax dropdowns

2008-09-09 Thread Scott Swank
Possible bug in Wicket 1.3.4 JavaScript I am seeing a focus issue when an AjaxFormComponentUpdatingBehavior(onblur) is fired from a form component and the next form component is a drop down. When I then tab out of the drop down I go to the 1st item on the page rather than the next item on the

Re: ajax dropdowns

2008-09-10 Thread Scott Swank
multiple fields (do the e-mail addresses match?). Thank you, Scott On Wed, Sep 10, 2008 at 10:48 AM, Matej Knopp [EMAIL PROTECTED] wrote: Try calling AjaxRequestTarget#focusComponent(null) from the event handler. -Matej On Wed, Sep 10, 2008 at 4:24 AM, Scott Swank [EMAIL PROTECTED] wrote: Possible

Re: ajax dropdowns

2008-09-10 Thread Scott Swank
, Scott Swank [EMAIL PROTECTED] wrote: Thank you Matej. I already tried that. I get the same behavior either way. Oddly, I only get the problem if an update occurs as the onblur for the field preceding the select (drop down) element. At that point I am focused on the select and can change it's

Re: Any wicket based (or plain java) Calendars out there? (not a datepicker)

2008-09-11 Thread Scott Swank
webical uses Wicket for its UI. http://code.google.com/p/webical/wiki/StandardsAndTechnologies On Thu, Sep 11, 2008 at 6:45 AM, Wayne Pope [EMAIL PROTECTED] wrote: Hi, does anyone know of a Calendar out there - something comparible to Google's calander in terms of functionality. I've found

Re: ajax dropdowns

2008-09-11 Thread Scott Swank
of the wicket ajax response so that I can use dhtml to toggle my display? Thank you! Scott On Wed, Sep 10, 2008 at 5:57 PM, Scott Swank [EMAIL PROTECTED] wrote: Matej, I duplicated this scenario in a simple Wicket page and I do not see the problem, so this seems to be the result of some other

Re: ajax dropdowns

2008-09-12 Thread Scott Swank
javascript should work. -Matej On Thu, Sep 11, 2008 at 11:15 PM, Scott Swank [EMAIL PROTECTED] wrote: This is apparently an IE6 bug, in that inserting an image in the dom above the select screws up the tabindex/focus in some way. If I have the span/image already in the dom and I just toggle

ModalWindow tabindex bug

2008-09-16 Thread Scott Swank
Wicket 1.3.4 I have noticed that in ie 6 7 the tab order no longer corresponds to the tabindex order for form fields after a ModalWindow is opened and then closed. It is not the case that the tabindex attributes have been modified via dhtml, but rather the tabindex is simply no longer obeyed.

Re: ModalWindow tabindex bug

2008-09-16 Thread Scott Swank
Brilliant. Thank you Timo, I'll give it a try in the morning. Scott On Tue, Sep 16, 2008 at 7:20 PM, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Tue, 16 Sep 2008, Scott Swank wrote: Wicket 1.3.4 I have noticed that in ie 6 7 the tab order no longer corresponds to the tabindex order

Re: ModalWindow tabindex bug

2008-09-17 Thread Scott Swank
Confirmed: the 1.3.5 modal.js fixes my problem. Thanks again. On Tue, Sep 16, 2008 at 7:20 PM, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Tue, 16 Sep 2008, Scott Swank wrote: Wicket 1.3.4 I have noticed that in ie 6 7 the tab order no longer corresponds to the tabindex order for form

Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)

2008-09-28 Thread Scott Swank
And Nokia http://www.s60.com/life/thisiss60/s60indetail/technologiesandfeatures/webruntime http://www.s60.com/life/thisiss60/s60indetail/technologiesandfeatures/webruntime/webruntimedetail On Sun, Sep 28, 2008 at 7:01 PM, Jörn Zaefferer [EMAIL PROTECTED] wrote: There is something new to

Re: Serializing model. DetachedModel or not

2008-10-08 Thread Scott Swank
And don't forget final scopes: final Thing thing = component.getModelObject(); add(new Label(this, that) { @Override public boolean isVisible() { return thing.isGreen(); } }); For the object thing to be accessible in the anonymous inner class it had to be declared final. Because the

Re: setObject( ), getObject( )

2008-10-21 Thread Scott Swank
However setObject() doesn't work as well on AbstractReadOnlyModel as it does on Model, which is particularly important for immutable backing objects such as Strings. On Tue, Oct 21, 2008 at 2:35 AM, Johan Compagner [EMAIL PROTECTED] wrote: we have also AbstractReadOnlyModel for that so igor are

Re: Wicket and URLs

2008-10-28 Thread Scott Swank
One option is to define urls in your application: mountBookmarkablePage(/Tour, TourBrowsePage.class); On Tue, Oct 28, 2008 at 4:03 PM, S D [EMAIL PROTECTED] wrote: Hi, I was browsing through examples, it looks very impressive but there's a thing that bothers me somewhat. The Basic Label

Re: Wicket and URLs

2008-10-28 Thread Scott Swank
?hl=enq=wicketstart=10sa=N Thanks --- On Tue, 10/28/08, Scott Swank [EMAIL PROTECTED] wrote: One option is to define urls in your application: mountBookmarkablePage(/Tour, TourBrowsePage.class); On Tue, Oct 28, 2008 at 4:03 PM, S D [EMAIL PROTECTED] wrote: Hi, I was browsing

Re: Using wicket to create html (in replace of velocity templates)

2008-10-29 Thread Scott Swank
Have you seen: http://cwiki.apache.org/confluence/display/WICKET/FAQs#FAQs-HowcanIrendermytemplatestoaString%3F Scott On Wed, Oct 29, 2008 at 3:58 PM, fatefree [EMAIL PROTECTED] wrote: I was working on a velocity template and came into some internationalization problems, when I realized it

Re: Moving from Tapestry to Wicket?

2008-10-31 Thread Scott Swank
Regarding session state, you really have basic options. State is kept in implementations of IModel. 1. Model is just a holder for an object. If you use it then your object is in your session. 2. LoadableDetachableModel stores an id (or whatever) and retrieves the relevant object from your

Re: Render a Wicket page to a string for HTML email

2008-11-06 Thread Scott Swank
Here is a largely equivalent class that I created. It simply extends BaseWicketTester. public class PageRenderer extends BaseWicketTester { private final Locale locale; public PageRenderer(Locale locale) { this.locale = locale; } public

Re: Render a Wicket page to a string for HTML email

2008-11-06 Thread Scott Swank
this problem. However, I like the simpler approach in this thread. http://cwiki.apache.org/confluence/display/WICKET/Use+wicket+as+template+engine Scott Swank wrote: Here is a largely equivalent class that I created. It simply extends BaseWicketTester. ... -- View this message in context: http

Re: How to detect model leakage into session

2009-08-26 Thread Scott Swank
If you are certain that detach is always called then you must have references to the underlying model objects. I would look through every call to IModel#getObject(). One thought is that if you create a final variable and refer to that variable in an anonymous inner class then you have bound the

Re: Google App Engine and Wicket

2009-08-29 Thread Scott Swank
Here's a minor point that tripped me up. I have my WicketFilter mapped to a given path: filter-mapping filter-nameWicketFilter/filter-name url-pattern/evansforlv/*/url-pattern /filter-mapping And then when I start up my local app and browse to

Re: Complicated workflows

2009-09-29 Thread Scott Swank
Phil, Would an event-centric approach simplify things? I'm thinking that you could then have multiple listeners for a given event and the various listeners would not have to be aware of one another. This might reduce the task/sub-task interactions. Adding errors, or refreshing components could

Re: Default implementation of IChainingModel

2009-09-30 Thread Scott Swank
I searched the JIRA for IChainingModel and didn't get any hits. Did anyone create a JIRA issue? Here's an implementation of mine. public class BaseChainingModel implements IChainingModel { private static final long serialVersionUID = 1L; private Object target; public

Re: Default implementation of IChainingModel

2009-09-30 Thread Scott Swank
.  If you create one, can you post yours and post a link to it back on this thread? Thanks! -- Jeremy Thomerson http://www.wickettraining.com On Wed, Sep 30, 2009 at 4:45 PM, Scott Swank scott.sw...@gmail.com wrote: I searched the JIRA for IChainingModel and didn't get any hits.  Did

Re: how to map 2 html files to 1 class?

2009-10-05 Thread Scott Swank
Have you considered using variant or style? http://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html Scott On Mon, Oct 5, 2009 at 2:35 PM, Alex Rass a...@itbsllc.com wrote: Yeah, that's what I had before. (Many fake classes that do nothing but extend default one). But I

Re: how to map 2 html files to 1 class?

2009-10-05 Thread Scott Swank
have made it clear earlier). -Original Message- From: Scott Swank [mailto:scott.sw...@gmail.com] Sent: Monday, October 05, 2009 5:38 PM To: users@wicket.apache.org Subject: Re: how to map 2 html files to 1 class? Have you considered using variant or style? http://cwiki.apache.org

Re: how to map 2 html files to 1 class?

2009-10-05 Thread Scott Swank
Alternately, I'm unsure why variation wouldn't work for you, something like: public EmptyPage(String pageVariation) { this.pageVariation = pageVariation; } @Override public String getVariation() { return pageVariation; } Then you could have html classes such as: BasePage_home.html

Re: how to map 2 html files to 1 class?

2009-10-05 Thread Scott Swank
I don't see a Component#setVariation() method, but then we're still on 1.3.5. On Mon, Oct 5, 2009 at 4:06 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Yes - this sounds like a good idea.  I believe you could also call setVariation(parameters.get(0 or type, etc)) in your constructor and

Re: How do you achieve persistency

2009-10-06 Thread Scott Swank
All you really need is a good database browser. http://mh-nexus.de/en/hxd/ On Tue, Oct 6, 2009 at 2:17 PM, Sam Stainsby s...@sustainablesoftware.com.au wrote: On Tue, 06 Oct 2009 14:02:56 -0700, Igor Vaynberg wrote: i think all the suggestions you have gotten until now are overcomplicated

Re: OT: Relational database + Hibenate vs Content Repository (Jackrabbit)

2009-11-12 Thread Scott Swank
Before you consider a non-rdbms solution you should really think about who might be interested in your data. If anyone in the organization is going to want to report on, or do analysis of the data then it should be in a relational db. How many X per hour, and how does that compare with the same

Re: Calling IN TO Wicket from JSP

2009-11-12 Thread Scott Swank
There's always Apache HttpClient. Hopefully someone else has a better option for you. On Thu, Nov 12, 2009 at 8:34 AM, Corbin, James jcor...@iqnavigator.com wrote: That is exactly the issue that is causing the problem and what I need clarification on how to do J.D. -Original

redirect parameter encoding issue

2009-11-18 Thread Scott Swank
I believe that I see a but in Wicket 1.3.5. Perhaps it has been fixed in a subsequent version. Under certain circumstances an http parameter that contains a slash / ascii 47 results in the following exception: *** URL fragment has unmatched key/value pairs, responding with 404. *** The

brix hippo

2009-12-16 Thread Scott Swank
Has anyone used Brix and Hippo enough to give a reasonable comparison of their respective strengths or perhaps differences in approach? Thank you, Scott - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: How to have multiple HTML files per panel?

2009-12-17 Thread Scott Swank
You would either do so at the session level via session.setStyle(small) or at the component level by implementing LoginPanel.getVariation() and having it return small as appropriate. http://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html Scott On Thu, Dec 17, 2009 at

Re: creating item after form is submitted via ajax

2009-12-30 Thread Scott Swank
Alternately, you can put an EmptyPanel in as a placeholder until you have Panel2. ---Java Psuedo-Code--- Panel panel1 = new RandomPanel(panel1); panel1.add(new EmptyPanel(panel2)); add(panel1); add(new AjaxButton(button, form){ onSubmit(AjaxRequestTarget target, Form form){ Panel

Re: OnChangeAjaxBehavior with palette

2010-01-07 Thread Scott Swank
You could add an AjaxFormComponentUpdatingBehavior to your palette so that your selections are pushed back to the underlying model. On Thu, Jan 7, 2010 at 9:40 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: any help? i cant be the only person to have tried this. Original

Re: OnChangeAjaxBehavior with palette

2010-01-07 Thread Scott Swank
into the list as a whole which puts them into the available menu. can you give me a code snippet and better explanation of what you mean? Original Message: - From: Scott Swank scott.sw...@gmail.com Date: Thu, 7 Jan 2010 09:49:41 -0800 To: users@wicket.apache.org Subject: Re

Re: Help with Wicket Adoption Numbers

2010-01-07 Thread Scott Swank
The wiki has a list of some web sites that use Wicket. http://cwiki.apache.org/WICKET/websites-based-on-wicket.html A quick search of IBM shows approx 1,080 articles on Wicket: http://www.google.com/search?q=site:ibm.com+wicket Scott On Thu, Jan 7, 2010 at 4:43 PM, Lester Chua

Re: moving to spring 3

2010-01-20 Thread Scott Swank
Check out jWeekend's maven archetype generator: Leg Up. Spring 3.0.0 is in there with jdbc jpa, respectively. http://www.jweekend.com/dev/LegUp Scott On Wed, Jan 20, 2010 at 2:25 PM, tubin gen fachh...@gmail.com wrote: I am using wicket 1.4.1  , can I move to spring 3  ?

Re: HTML can't reference a component (Label) multiple times?

2009-03-26 Thread Scott Swank
Surprisingly getDebugSettings().setComponentUseCheck(false) allows this behavior, at least on 1.3. add(new Label(authorName)); span wicket:id=authorName/span span wicket:id=authorName/span ... not that I'm advocating this side effect. Scott On Fri, Feb 13, 2009 at 10:26 AM, Igor

Re: HTML can't reference a component (Label) multiple times?

2009-03-26 Thread Scott Swank
Should I open a JIRA for this, or is this an accepted side-effect? Scott On Thu, Mar 26, 2009 at 2:39 PM, Scott Swank scott.sw...@gmail.com wrote: Surprisingly getDebugSettings().setComponentUseCheck(false) allows this behavior, at least on 1.3.   add(new Label(authorName));   span

Re: [OT] Book/pointers on caching

2009-03-30 Thread Scott Swank
This author compared several caching libraries and recommends ehcache. http://javalandscape.blogspot.com/2009/03/intro-to-cachingcaching-algorithms-and.html - Scott On Mon, Mar 30, 2009 at 4:33 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: I wrote something about it here:

Re: Any forum (bb) components / applications written using Wicket?

2009-05-24 Thread Scott Swank
Over here http://wicketstuff.org/confluence/display/STUFFWIKI/Wiki there is bbcode tinymce integration. I haven't used either, but at least that's a starting point. Good luck. Scott On Sun, May 24, 2009 at 1:04 AM, Cristi Manole cristiman...@gmail.com wrote: Hello, I'm in the need of a

Re: Grizzly + Wicket integration

2009-06-01 Thread Scott Swank
Not that I'm aware of. What specifically do you want to do with nio? Scott On Mon, Jun 1, 2009 at 7:01 AM, Eman Nollase eman.noll...@gmail.com wrote: Hello, Is there a Wicket + Grizzly integration? Thanks a lot. Cheers.

OT: ESB

2009-06-03 Thread Scott Swank
Warning: Off Topic Has anyone worked with an open source ESB, and if so do you particularly like or dislike your choice? Please respond to me off the list, though of course if anyone wants a brief synopsis of what I pull together I'll gladly post it back to the list or send it outside of the

Re: JDeveloper - Can I get a show of hands?

2009-06-19 Thread Scott Swank
Dane, I have used JDev and it is not my preference for a Java IDE. That said, if you're having trouble with it your best resource is posting at forums.oracle.com. As for a PL/SQL IDE, why are you moving away from TOAD, the price ($600 if I remember right...)? The product PL/SQL Developer from

Re: JDeveloper - Can I get a show of hands?

2009-06-20 Thread Scott Swank
And if you're an Oracle DBA your main tool is called SQL Plus. On Fri, Jun 19, 2009 at 8:58 PM, James Carmanjcar...@carmanconsulting.com wrote: +1 to sqldeveloper (java or native).  For developers (not DBAs), it's a very nice tool and does what you need for the majority of the cases. On Fri,

  1   2   3   >