Ricky, what are you using as the model for your refreshing view?
You should be using some sort of detachable model that re-fetches the
items for the list from the DB each time.
--
Sam Barnum
360 Works
http://www.360works.com
415.865.0952
On Jun 5, 2008, at 10:32 AM, Ricky wrote:
Hi,
I
Thanks as always, Igor
getDebugSettings().setAjaxDebugModeEnabled(true);
-igor
-Sam
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
I may have been mis-diagnosing the cause of the problem. A total re-
build and redeploy of the application seems to have fixed the issue.
Sorry about the false alarm :(
On May 29, 2008, at 9:10 PM, Sam Barnum wrote:
I'm using an AjaxFormChoiceComponentUpdatingBehavior on a
RadioGro
I'm using an AjaxFormChoiceComponentUpdatingBehavior on a RadioGroup
to show/hide a component elsewhere on the page.
This works great in development mode. When I push it up to the
server, I get nothing, clicking on the various radio buttons doesn't
do anything. And unfortunately, the hand
Awesome, that works! I forgot that you can always get the request
from that ThreadLocal. Thanks a ton Gerolf, this doesn't seem too
hacky.
--
Sam Barnum
360 Works
On May 15, 2008, at 10:58 AM, Gerolf Seitz wrote:
On Thu, May 15, 2008 at 6:25 PM, Sam Barnum <[EMAIL PROTECTED
e extension
* Count the number of digits in the phone number part. Make sure
there are 10, then format it as (###) ###- ext. ###
--
Sam Barnum
360 Works
http://www.360works.com
415.865.0952
On May 14, 2008, at 11:06 PM, Matthew Young wrote:
Sorry I can't help you with your quest
lar issue happened to the WicketAjaxIndicatorAppender.
take a look at WicketAjaxIndicatorAppender#renderHead to see
how this is solved there.
maybe you can do something similar with your RequiredBorder.
regards,
Gerolf
On Thu, May 15, 2008 at 2:58 AM, Sam Barnum <[EMAIL PROTECTED]> wrote:
n-
ajax actions? It seems like this is one of many issues I've run into
when doing this.
Thanks,
-Sam Barnum
+1 on the london wicket slides, an excellent (and quick) read. Would
love to see more example like this. Guice?
-Sam
On Mar 20, 2008, at 8:46 AM, James Carman wrote:
On 3/20/08, Ned Collyer <[EMAIL PROTECTED]> wrote:
Thanks Craig,
Perfect.
Super perfect :)
Yeah, that's really cool
IntelliJ does a good job of locating String usages of property names
when you refactor a property name, which is nice. Not sure if
Eclipse/Netbeans do this also.
If you use CompoundPropertyModels then wouldn't refactoring your
business objects will still silently break code?
It seems tha
Wicket doesn't really include a web services component that I know
of, but you can run web services in the same application server using
xfire, xerces, or jaxws
-Sam
On Feb 26, 2008, at 5:46 AM, Martin Makundi wrote:
Why you need wicket for?
2008/2/26, Klearhos Klearhou <[EMAIL PROTECTED]
ts is
essential.
-Sam
On Feb 25, 2008, at 7:35 PM, Timo Rantalaiho wrote:
On Mon, 25 Feb 2008, Sam Barnum wrote:
It seems like writing a custom behavior is the right way to do this,
but once I call setVisible(false) on a component the beforeRender()
method in my behavior doesn't get call
dd(new TextField("myTextField"));
It seems like the isTemporary() method in my behavior gets called,
even if the component is invisible. This hardly seems like the right
place to put the code, though.
Should I always keep the component visible and have my behavior
replace all the contents after rendering?
-Sam Barnum
though they're just
Strings. Obviously things get really sticky when you're dealing with
CompoundPropertyModels, etc.
Best case, of course, would be an addition to the java language that
lets you refer to a property in a type-safe way. Is there a JSR for
this?
-Sam Bar
tly what I wound up doing. I wrote my custom renderer that
grabs the name field of my POJO for rendering. Of course that is what
I'm getting back from getModelObjectAsString(). It's a work-around
and
I
was hoping for a more elegant way of doing this...
Michael
-Original Mes
Oops, I think this is fixed in the latest version of IntelliJ
Check "Settings / Compiler". There's an option for "Deploy web
applications to server after compilation"
On Feb 5, 2008, at 3:58 PM, Sam Barnum wrote:
I use IntelliJ for wicket development, and for
ng matches the user-selected text.
I'm probably missing something obvious, but I don't think
getModelObject() is it...
--
Sam Barnum
360 Works
http://www.360works.com
415.865.0952
On Feb 5, 2008, at 2:12 PM, Igor Vaynberg wrote:
shouldnt the pojo be availble from getmodelobjec
ly recommend you get the WicketForge IntelliJ plugin as well,
it's quite helpful for identifying wicket:id attribtues in your HTML
file which don't match a component in your java file.
--
Sam Barnum
360 Works
http://www.360works.com
415.865.0952
On Feb 5, 2008, at 11:32 AM, <[E
wrote:
Answer inline.
On Jan 31, 2008 8:42 PM, Sam Barnum <[EMAIL PROTECTED]> wrote:
Question on detachable models:
You use detachable models in the contact edit page. It seems like
this would cause your changes to be lost if the edit process takes
more than one request to complete.
If you use
ew to this
stuff. It seems that for edit pages you want a non-detachable model,
which gets serialized to the session.
Thanks for taking the time to write this article, and thanks in
advance for any clarification on this topic.
--
Sam Barnum
360 Works
http://www.360works.com
415.865.0952
ith
the boolean method, which is overkill).
Or, should I pass both settings objects into the
SettingsEditComponent, as pictured above? It seems like it would be
harder to have detachable models in this case (I guess I'd just need
to override detatchModels()).
Or, some other option
ion?
Should I serve the resized versions via wicket, or instead try to
save them in a folder which is served directly by my webserver?
These won't be in the classes directory, since I don't want them
wiped out during redeployment.
Thank
You might be thinking of an onsubmit javascript that returns false.
...
You could add the onsubmit attribute dynamically, and it could
presumably call wicket with some sort of ajax behavior (still haven't
gone there).
--
Sam Barnum
360 Works
http://www.360works.com
415.865.0952
O
Right, like for an "accept terms" checkbox after some legalese stuff,
for example.
On Jan 7, 2008, at 5:09 PM, Kent Tong wrote:
Dan Kaplan-3 wrote:
But another way to look at it is this: When a checkbox is
unchecked, it
has
a value of "unchecked". Therefore, if you setRequired=true o
24 matches
Mail list logo