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

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 cons

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 o

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 l

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: ajax & dropdowns

2008-09-12 Thread Scott Swank
nd/append 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 >>

Re: ajax & dropdowns

2008-09-11 Thread Scott Swank
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 re

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

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 &g

Re: ajax & dropdowns

2008-09-10 Thread Scott Swank
every field onblur so that we can perform validation across 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. > >

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 f

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 peo

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:2

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: 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 o

Re: feedback question

2008-08-17 Thread Scott Swank
else { >>form.error("Errors >> below..."); >>return >> IVisitor.STOP_TRAVERSAL; >> } >&g

Re: feedback question

2008-08-17 Thread Scott Swank
_TRAVERSAL; } } }); } }; 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 Contai

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 a

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. Dant

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 wit

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: expires header

2008-07-23 Thread Scott Swank
gt; Jeremy Thomerson > http://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 h

Re: expires header

2008-07-23 Thread Scott Swank
ECTED]> 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: >> A co-worker who is not on the wicket user lis

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 Sw

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 s

Re: Adding custom resource properties files

2008-06-30 Thread Scott Swank
The ComponentStringResourceLoader uses an Iterator named something like (no code in front of me) "ResourceNameIterator". This iterator is used to find resources and markup. You can't just set it on the Application.getResourceSettings (though I should create a jira & patch for that...), so you hav

Re: render PageParameters

2008-06-23 Thread Scott Swank
s taken from code in: > URIRequestTargetUrlCodingStrategy > > -- > Jeremy Thomerson > http://www.wickettraining.com > > On Mon, Jun 23, 2008 at 4:01 PM, Scott Swank <[EMAIL PROTECTED]> wrote: > >> Is there code available to me to generate the the http get paramete

render PageParameters

2008-06-23 Thread Scott Swank
Is there code available to me to generate the the http get parameter string that corresponds to a PageParameters instance? I am generating links from our confirmation e-mail back to bookmarkable pages in our application. Thank you, Scott --

Re: DataView and PagingNavigator for columns

2008-06-03 Thread Scott Swank
I'll answer my own question. A PageableCoordinator such as the above is a workable way to create pageable columns. I created a separate DataView for each row and then the coordinator points them all at the appropriate page. DataView recommendedView = new AirlineRecommendedView("recommend

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-02 Thread Scott Swank
Agreed. I don't see a problem with having to type Link or Page instead of Link/Page. That's simply the way that generics are implemented in Java. Are there places in the API where an end user would have to type something like Class>>? That way madness lies, however I haven't seen anything like

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-02 Thread Scott Swank
> 1) Generifying* Wicket > [X] Can best be done like currently in the 1.4 branch, where models > and components are both generified. I care most about the improved > static type checking generified models and components give Wicket. > [X2] Can best be done in a limited fashion, where we only ge

Re: Problem with Stress

2008-05-30 Thread Scott Swank
The above is now in the wiki as well. :) http://cwiki.apache.org/WICKET/everything-about-wicket-internationalization.html On Fri, May 30, 2008 at 6:51 PM, francisco treacy <[EMAIL PROTECTED]> wrote: > fabien, > > take a look at this (taken from > http://day-to-day-stuff.blogspot.com/2008/05/wick

Re: DataView and PagingNavigator for columns

2008-05-30 Thread Scott Swank
On Fri, May 30, 2008 at 4:48 PM, Scott Swank <[EMAIL PROTECTED]> wrote: > I need to create a 3 row x N column table with 5 columns per page. > The problem is that I end up with: > > stuff > stuff > stuff > > > > Where I want the contents of row1, row2 &

DataView and PagingNavigator for columns

2008-05-30 Thread Scott Swank
I need to create a 3 row x N column table with 5 columns per page. The problem is that I end up with: stuff stuff stuff Where I want the contents of row1, row2 & row3 coordinated with respect to the PagingNavigator. Has anyone gone down such a path, and if so are there any relevant lessons lea

Re: Sortable Paging DataView inside a tabpanel and backbutton

2008-05-30 Thread Scott Swank
Sorry to jump in at the last minute, but what does "you need equals on UUID in Java" mean? - Scott On Fri, May 30, 2008 at 5:47 AM, jensiator <[EMAIL PROTECTED]> wrote: > > Okey. Found a bug in my code forget everything. Wicket components is > working fine, no problem in constructors. Use to

Re: Wicket i18n options

2008-05-25 Thread Scott Swank
have > been a better place for this. But by then, it was too late to change the > language and start over. > > Regards, > Erik. > > > Scott Swank wrote: >> >> +1 >> >> On Sun, May 25, 2008 at 6:44 AM, Eyal Golan <[EMAIL

Re: Wicket i18n options

2008-05-25 Thread Scott Swank
+1 On Sun, May 25, 2008 at 6:44 AM, Eyal Golan <[EMAIL PROTECTED]> wrote: > Great stuff !! > Thanks, > Should be put in Wiki. > > > On Sun, May 25, 2008 at 4:09 PM, Erik van Oosten <[EMAIL PROTECTED]> > wrote: > >> Hi, >> >> As there was no complete overview of Wicket's i18n options (even Wicket i

Re: ListItem queries

2008-05-19 Thread Scott Swank
MyPanel firstPanel = null; ListView featuresList = new ListView("listView", myList) { protected void populateItem(ListItem item) { MyPanel panel = new MyPanel("panel", item.getModelObject())); if (firstPanel == null) firstPanel = panel; item.add(panel); } }.setReuseItems(true)

Re: Select a directory in a textfield

2008-05-16 Thread Scott Swank
Are you thinking about some sort of file upload? It's not at all clear what you're trying to accomplish. On Fri, May 16, 2008 at 5:30 PM, James Carman <[EMAIL PROTECTED]> wrote: > A directory where? On the client machine? What will you do with that > directory when you've selected it? > > On Fr

Re: Jump to tab in tabbed panel dynamically

2008-05-09 Thread Scott Swank
TabbedPanel.setSelectedTab(zeroBasedIndex) On Fri, May 9, 2008 at 2:42 PM, rtow <[EMAIL PROTECTED]> wrote: > > hi, > > I have a tab just like "Tabbed Panel Example: demonstrates ajax enabled > tabbed panel " > > List tabs = new ArrayList(); > tabs.add(new AbstractTab(new Model("first t

Re: Good wicket patterns

2008-05-08 Thread Scott Swank
: listeners) request.addComponent(listener); } } On Thu, May 8, 2008 at 6:07 PM, Scott Swank <[EMAIL PROTECTED]> wrote: > > Ajax > > > > 3. Now im working with more Ajax. What is a good inter component > > communication scheme? Swing ha

Re: Good wicket patterns

2008-05-08 Thread Scott Swank
> Ajax > > 3. Now im working with more Ajax. What is a good inter component > communication scheme? Swing has its listeners, but in wicket i tend to call > methods on dependent components from ajax event handlers. Is this a good > approach - (it atleast dont feel so good)? I try to have my co

Re: IDataProvider and grouping

2008-05-07 Thread Scott Swank
components I'll send something along. Cheers, Scott On Wed, May 7, 2008 at 4:18 PM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > On Tue, May 6, 2008 at 10:51 AM, Scott Swank <[EMAIL PROTECTED]> wrote: > > Has anyone implemented grouping of items, i.e. sort/group items by >

IDataProvider and grouping

2008-05-06 Thread Scott Swank
Has anyone implemented grouping of items, i.e. sort/group items by location and thereby add a location-level grouping. I'm considering implementing this as a Border around groups of items. Basically any lessons learned would be more than welcome. If I get anything particularly reusable I'll make

Re: Bulk form field edits - possible? - RESOLVED

2008-05-02 Thread Scott Swank
I will typically just put those fields on the form itself instead of creating a separate pojo/bean. For what it's worth... - Scott On Fri, May 2, 2008 at 10:39 AM, Ritz123 <[EMAIL PROTECTED]> wrote: > > Thanks guys for the response. > > Just to complete the thread... > > Like you guys mention

Re: Bulk form field edits - possible?

2008-05-01 Thread Scott Swank
What do you mean when you say that you want to "globally update" multiple textfields? Do you mean that you want to add 1 to each quantity? Or do you want to query the current quantities from a database? Essentially you just want to update their model objects' values and refresh the page. - Scot

Re: What is the best way to create layouts in Wicket?

2008-04-29 Thread Scott Swank
Where of course RedPage extends BasePage... On Tue, Apr 29, 2008 at 9:15 AM, Scott Swank <[EMAIL PROTECTED]> wrote: > The method just has to be stateless, particularly from the perspective > of instantiation. > > public BasePage(...) { > add(createFooPanel("fooId&

Re: What is the best way to create layouts in Wicket?

2008-04-29 Thread Scott Swank
The method just has to be stateless, particularly from the perspective of instantiation. public BasePage(...) { add(createFooPanel("fooId")); add(createBarPanel("barId")); } protected abstract Panel createFooPanel(String id); protected abstract Panel createFooPanel(String id); - public

Re: What is the best way to create layouts in Wicket?

2008-04-28 Thread Scott Swank
ss in the superclass' constructor. In your case, it may work, > but in general, it's bad practice. > > > > On Mon, Apr 28, 2008 at 4:34 PM, Scott Swank <[EMAIL PROTECTED]> wrote: > > Yes, in the constructor. > > > > - Scott > > > >

Re: What is the best way to create layouts in Wicket?

2008-04-28 Thread Scott Swank
Yes, in the constructor. - Scott On Mon, Apr 28, 2008 at 11:12 AM, James Carman <[EMAIL PROTECTED]> wrote: > And, when does the base page do the adding? In the constructor? > > > > On Mon, Apr 28, 2008 at 1:38 PM, Scott Swank <[EMAIL PROTECTED]> wrote: > >

Re: What is the best way to create layouts in Wicket?

2008-04-28 Thread Scott Swank
I have done this by creating an abstract base page with an abstract factory methods getFooPanel() or getBarPanel(). Then the base page add()s the result of getFooPanel(), while the implementations supply it. - Scott On Mon, Apr 28, 2008 at 10:09 AM, Cristi Manole <[EMAIL PROTECTED]> wrote: > To

Re: 1.3, resource locator and properties

2008-04-22 Thread Scott Swank
Thu, Apr 17, 2008 at 10:36 AM, Scott Swank <[EMAIL PROTECTED]> wrote: > It seems that the problem is that the ComponentStringResourceLoader > does not handle the MyApplication.properties (never mind what its > javadoc says). Instead the ClassStringResourceLoader does. It is &

Re: Swarm/Wasp or wicket-auth-roles or ?

2008-04-18 Thread Scott Swank
You want the "Authentication" and "Authorization" examples near the bottom of the Wicket Examples. http://wicketstuff.org/wicket13/ - Scott On Fri, Apr 18, 2008 at 8:54 AM, mfs <[EMAIL PROTECTED]> wrote: > > Also if someone could point to some examples of wicket-auth-roles usage...I > could s

Re: 1.3, resource locator and properties

2008-04-17 Thread Scott Swank
- Scott On Thu, Apr 17, 2008 at 10:36 AM, Scott Swank <[EMAIL PROTECTED]> wrote: > It seems that the problem is that the ComponentStringResourceLoader > does not handle the MyApplication.properties (never mind what its > javadoc says). Instead the ClassStringResourceLoader does.

Re: 1.3, resource locator and properties

2008-04-17 Thread Scott Swank
; wrote: > No problem, thank me after the issue are solved:) But you would send the > thing to me? I haven't received anything yet FYI... > > > > Scott Swank wrote: > > > Thank you Nino. I'll send the quickstart directly to you since the > > list doesn't a

Re: 1.3, resource locator and properties

2008-04-16 Thread Scott Swank
ino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > Hi Scott > > Could you provide a quickstart? I have some time tomorrow... > > Scott Swank wrote: > > > > > > > > > I have subclassed ComponentStringResourceLoader so that I can drive it > &

Re: 1.3, resource locator and properties

2008-04-16 Thread Scott Swank
Can someone at least verify that my e-mail is getting through to the Wicket list? :) On Wed, Apr 16, 2008 at 11:34 AM, Scott Swank <[EMAIL PROTECTED]> wrote: > I have subclassed ComponentStringResourceLoader so that I can drive it > from a custom ResourceNameIterator (in particula

Re: 1.3, resource locator and properties

2008-04-16 Thread Scott Swank
break; } container = container.getParent(); } } return searchStack; } What am I missing? Thank you, Scott On Tue, Apr 15, 2008 at 12:30 PM, Scott Swank <[EMAIL PROTECTED]> wrote: > Pre

Re: Unable to serialize class: org.apache.wicket.util.io.DeferredFileOutputStream

2008-04-15 Thread Scott Swank
Your AjouterTableauWizardPage should not have a stream on it as a serializable field. If you need to have that field then you'll need to make it transient. - Scott On Tue, Apr 15, 2008 at 12:14 PM, adrienleroy <[EMAIL PROTECTED]> wrote: > > Hello, > > I experience a serialization problem with

Re: 1.3, resource locator and properties

2008-04-15 Thread Scott Swank
().getAthenaDocRoot()); CompoundResourceStreamLocator locator = (CompoundResourceStreamLocator) getResourceSettings().getResourceStreamLocator(); locator.add(0, new WebPageResourceStreamLocator(resourceFinder)); Thank you, Scott On Tue, Apr 15, 2008 at 10:55 AM, Scott Swank <[EM

1.3, resource locator and properties

2008-04-15 Thread Scott Swank
We are finally upgrading to Wicket 1.3 (in particular to 1.3.3 from 1.2.6) and our StringResourceModels can no longer find their property files, which leaves our web pages containing the following: [Warning: String resource for 'tickets' not found] Our application init method contains: IR

Re: authentication

2008-04-11 Thread Scott Swank
tstuff.org/confluence/display/STUFFWIKI/Security+Framework+Comparison > > regards > Michael > > > > Scott Swank wrote: > > > > What do folk recommend for authentication? > > > > 1) In Wicket in Action there is a simple, custom authentication >

authentication

2008-04-10 Thread Scott Swank
What do folk recommend for authentication? 1) In Wicket in Action there is a simple, custom authentication implementation. 2) In Wicket Examples authentication is based on wicket-auth-roles. 3) Then there's WASP & SWARM Is there any sort of comparison of wicket-auth-roles with SWARM that I haven'

Re: ListView params from 1.2 to 1.3 - detached data

2008-04-04 Thread Scott Swank
The 2nd constructor, below, takes an id & IModel. http://wicketstuff.org/wicket13doc/org/apache/wicket/markup/html/list/ListView.html ListView(java.lang.String id) ListView(java.lang.String id, IModel model) ListView(java.lang.String id, java.util.List list) - Scott On Fri, Apr 4, 2008 at 9:07

Re: refreshing page

2008-04-01 Thread Scott Swank
My guess is that you are using a static model like "new Model(someDomainObject)" when you need to use a dynamic model. See: http://cwiki.apache.org/WICKET/working-with-wicket-models.html - Scott On Tue, Apr 1, 2008 at 2:25 PM, Andrew Broderick <[EMAIL PROTECTED]> wrote: > All I want to know is

Re: clustering failover error

2008-03-27 Thread Scott Swank
te: > > Glad it works for you. > > Tried what you said below, but doesn't solve my problem. > > > > http://www.nabble.com/Finding-the-cause-of-an-Exception-td16088387.html#a16112402 > > > > > > On Thu, 2008-03-27 at 10:01 -0700, Scott Swank wrote: >

Re: clustering failover error

2008-03-27 Thread Scott Swank
So that at least eliminates the possibility that cglib is somehow involved. On Thu, Mar 27, 2008 at 5:33 PM, Scott Swank <[EMAIL PROTECTED]> wrote: > Here's a simple example that reproduces the problem on fail-over, also > for 1.2. All we really need is to have something i

Re: clustering failover error

2008-03-27 Thread Scott Swank
, Mar 25, 2008 at 9:55 AM, Scott Swank <[EMAIL PROTECTED]> wrote: > Thank you. We'll give that a try and let you know the results. > > > > On Mon, Mar 24, 2008 at 11:43 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > see WICKET-1445. upgrade wick

Re: clustering failover error

2008-03-27 Thread Scott Swank
d object, but serialization lets to replace objects in > stream > > > (writeReplace/readResolve contract). To add "writeReplace" method to > proxy > > > class declare this method in interface with exact signature specified by > > > JAVA seria

Re: clustering failover error

2008-03-26 Thread Scott Swank
That did not take care of our problem. We are examining our session to see whether it mistakenly contains some sort of cglib proxy -- our typesafe model, or maybe something from Hibernate. Thank you again for the help. Scott On Tue, Mar 25, 2008 at 9:55 AM, Scott Swank <[EMAIL PROTEC

Re: clustering failover error

2008-03-25 Thread Scott Swank
Thank you. We'll give that a try and let you know the results. On Mon, Mar 24, 2008 at 11:43 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > see WICKET-1445. upgrade wicket to trunk and try again. > > -igor > > > > > On Mon, Mar 24, 2008 at 3:15 PM, Sc

Re: clustering failover error

2008-03-24 Thread Scott Swank
software? > > -igor > > > > > On Mon, Mar 24, 2008 at 4:52 PM, Scott Swank <[EMAIL PROTECTED]> wrote: > > If we use ObjectOutputStream to write the session to disk we can read > > it back on the same jvm. However, a separate jvm cannot read the file > &g

Re: clustering failover error

2008-03-24 Thread Scott Swank
If we use ObjectOutputStream to write the session to disk we can read it back on the same jvm. However, a separate jvm cannot read the file -- we get the same StreamCorruptedException. What could be jvm-specific? Thank you, Scott On Mon, Mar 24, 2008 at 4:35 PM, Scott Swank <[EMAIL PROTEC

Re: clustering failover error

2008-03-24 Thread Scott Swank
Using the HttpSessionStore pushes this exception to JBoss. It seems that something in the session just can't be deserialized by a separate jvm. On Mon, Mar 24, 2008 at 3:54 PM, Scott Swank <[EMAIL PROTECTED]> wrote: > We run JBoss and haven't tried this on other app servers.

Re: clustering failover error

2008-03-24 Thread Scott Swank
is? Do you get it on other app servers? > > > > On 3/24/08, Scott Swank <[EMAIL PROTECTED]> wrote: > > We are trying to get clustering working with Wicket 1.3.2 (on JBoss > > 4.3.0) and we get the following exception when one node fails over to > &

clustering failover error

2008-03-24 Thread Scott Swank
We are trying to get clustering working with Wicket 1.3.2 (on JBoss 4.3.0) and we get the following exception when one node fails over to another node. Has anyone seen anything like this before? Any suggestions/guesses? Thank you, Scott 15:02:17,320 ERROR [RequestCycle] Could not deserialize ob

Re: Display of own message in FeedbackPanel

2008-03-20 Thread Scott Swank
You can use the EqualInputValidator to compare the password values. Then you can override resourceKey() to tell Wicket to look for your own error message in .properties. On Thu, Mar 20, 2008 at 9:24 AM, Fabien D. <[EMAIL PROTECTED]> wrote: > > Hi everybody, > > I'm a new french user of wicket, a

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Scott Swank
+1 > > [ ] +1, Wicket 1.4 is 1.3 + generics, drop support for 1.3 > > [ ] -1, I need a supported version running on Java 1.4 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Planning Wicket Next Generation

2008-03-16 Thread Scott Swank
t; - > To > > > unsubscribe, e-mail: [EMAIL PROTECTED] For additional > > > commands, e-mail: [EMAIL PROTECTED] > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional com

Re: Is it possible to escape HTML in a feedback message?

2008-03-12 Thread Scott Swank
his message in context: > >> > http://www.nabble.com/Is-it-possible-to-escape-HTML-in-a-feedback-message--tp16008403p16009950.html > >> > >> > >> Sent from the Wicket - User mailing list archive at Nab

form component parameter missing in request

2008-03-12 Thread Scott Swank
0L; @Override protected void onUpdate(AjaxRequestTarget target) { target.addComponent(wisconsinResidentWrapper); } }); -- Scott Swank reformed mathematici

Re: Can anyone recommend any good wicket books?

2008-03-10 Thread Scott Swank
Yup http://www.manning.com/dashorst/ On Mon, Mar 10, 2008 at 8:18 PM, Gareth Segree <[EMAIL PROTECTED]> wrote: > -- Scott Swank reformed mathematician - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: Textfield length validator?

2008-03-04 Thread Scott Swank
CTED] > 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: Integrating with a forum application...?

2008-02-29 Thread Scott Swank
t; http://www.jayway.dk > > +45 2936 7684 > > > > > > ----- > > 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: Our new and shiny Wicket site!

2008-02-27 Thread Scott Swank
CTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > -- > > Resizable and reorderable grid components. > > http://www.inme

Re: CompoundModel based on proxies

2008-02-26 Thread Scott Swank
I'm working on a non-trivial app that uses this model (we submitted it), and I like it. :) On Tue, Feb 26, 2008 at 11:00 AM, Sam Barnum <[EMAIL PROTECTED]> wrote: > IntelliJ does a good job of locating String usages of property names > when you refactor a property name, which is nice. Not sure

Re: CompoundModel based on proxies

2008-02-26 Thread Scott Swank
I just added a relevant note about serialization (learned the hard way...) to the jira. - Scott On Tue, Feb 26, 2008 at 3:18 AM, Matej Knopp <[EMAIL PROTECTED]> wrote: > We've reworked the implementation a bit,it works like this: > > > SafePropertyModel p = new SafePropertyModel(new Person()); >

Re: Wicket for beginners?

2008-02-21 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: Where to find documentation for Wicket tags?

2008-02-21 Thread Scott Swank
5618680p15618680.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > &

Re: TabbedPanel and model load...

2008-02-11 Thread Scott Swank
inal order, > - apply any memento's present in a temp space (session) > - apply new changes > - create a memento > - discard changes to DB > > > 2008/2/11, Scott Swank <[EMAIL PROTECTED]>: > > > > The order has one or more order mementos (pre/post editing) a

Re: TabbedPanel and model load...

2008-02-11 Thread Scott Swank
finally do a commit or rollback? > > 2008/2/11, Scott Swank <[EMAIL PROTECTED]>: > > > > > I suggest using the GoF memento pattern here. You keep your changes > > in one or more mementos, which can be kept in the session. Then you > > push the changes back

Re: TabbedPanel and model load...

2008-02-11 Thread Scott Swank
; > > > > valided, but then a new Employee instance is created, and > > the > > > > > > > > FormComponent > > > > > > > > > values are not copied to the newly instantiated Employee. > > > > They're > > > > >

Re: CompoundModel based on proxies

2008-02-08 Thread Scott Swank
"firstName", > model.getFirstName()).setRequired(true); > add(firstName); > > where getFirstName() returns the model > > johan > > > > > > On Feb 6, 2008 6:57 PM, Scott Swank <[EMAIL PROTECTED]> wrote: > > > One of our more clever developer

Re: CompoundModel based on proxies

2008-02-06 Thread Scott Swank
gt; > > >> (where .property, .field and .method are long-missing declarative > > >> reflections like .class) > > >> > > >> it does make me think we could be doing more with CGLIB in general. our > > >> model classes ought to be able to detect

Re: CompoundModel based on proxies

2008-02-06 Thread Scott Swank
I have his approval, but I can get him if you like. Let me know either way. On Feb 6, 2008 3:22 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > On 2/7/08, Scott Swank <[EMAIL PROTECTED]> wrote: > > No problem. I didn't even write a line of it. :) > > Just

Re: CompoundModel based on proxies

2008-02-06 Thread Scott Swank
No problem. I didn't even write a line of it. :) On Feb 6, 2008 2:30 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > Thanks! And I always thought: what happens in Vegas, stays in Vegas... > > > Martijn - To unsubscribe, e-mai

Re: CompoundModel based on proxies

2008-02-06 Thread Scott Swank
https://issues.apache.org/jira/browse/WICKET-1327 On Feb 6, 2008 1:12 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > jira, that way you can click the "im donating attachment to the > project through ASL license" checkbox > > -igor > > > > On Feb 6, 200

Re: CompoundModel based on proxies

2008-02-06 Thread Scott Swank
; > On Feb 6, 2008 1:04 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > please share for Wicket 1.4, if cglib's license is permitting, I think > > we should add this to core. > > > > Martijn > > > > > > On 2/6/08, Scott Swank <[EMAIL P

CompoundModel based on proxies

2008-02-06 Thread Scott Swank
#x27;re happy to share if folk like this approach. N.B. that the .to() call is for readability rather than out of any necessity. Cheers, Scott -- Scott Swank reformed mathematician - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Evaluating Wicket

2008-02-06 Thread Scott Swank
The chief advantage in my mind is that the code is all Java. I was easily (2 dozen lines of code) able to write a behavior that replicates model between related form components so that when someone types a first name into a field it is replicated to other first name fields and those fields are upd

<    1   2   3   >