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
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
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
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
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.
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
>>
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
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
, 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
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.
>
>
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
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
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
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 --
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
else {
>>form.error("Errors
>> below...");
>>return
>> IVisitor.STOP_TRAVERSAL;
>> }
>&g
_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
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
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
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
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))
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
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
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
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
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
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
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
--
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
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
> 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
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
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 &
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
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
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
+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
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)
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
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
: 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
> 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
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
>
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
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
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
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&
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
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
> >
> >
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:
> >
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
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
&
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
- 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.
; 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
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
> &
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
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
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
().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
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
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
>
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'
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
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
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:
>
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
, 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
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
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
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
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
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
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.
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
> &
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
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
+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]
t; -
> To
> > > unsubscribe, e-mail: [EMAIL PROTECTED] For additional
> > > commands, e-mail: [EMAIL PROTECTED]
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional com
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
0L;
@Override
protected void onUpdate(AjaxRequestTarget target)
{
target.addComponent(wisconsinResidentWrapper);
}
});
--
Scott Swank
reformed mathematici
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
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]
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]
CTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> > --
> > Resizable and reorderable grid components.
> > http://www.inme
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
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());
>
-
> 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]
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]
>
&
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
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
; > > > > valided, but then a new Employee instance is created, and
> > the
> > > > > > > > FormComponent
> > > > > > > > > values are not copied to the newly instantiated Employee.
> > > > They're
> > > > >
"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
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
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
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
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
;
> 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
#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]
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
101 - 200 of 243 matches
Mail list logo