I need to hide a textfield based on the URI path of the page that's
being visited. For instance:
http://www.mysite.com/app/foo (hide the field)
http://www.mysite.com/app/bar (hide the field)
http://www.mysite.com/app/* (any other path, show the field).
I don't want to use the HTTP URI
Anybody? I couldn't find anything digging around in the archives...
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2008 11:13 AM
To: users@wicket.apache.org
Subject: Enabling compoents based on Wicket URI path?
I need to hide a textfield
show or hide a component, right?
Just use an IndexedParamCodingStrategy.
Does that make sense, or do you need more details?
On Wed, 2008-07-02 at 11:12 -0700, Michael Mehrle wrote:
I need to hide a textfield based on the URI path of the page that's
being visited. For instance:
http
Not to come across snide but of course I know how to set a component to
invisible. I need to know how to get the current page URL/URI as the
page loads - remember that the navigator is only a panel and can be
inside of many pages. Is this more clear?
Thanks for trying to help.
Michael
()
-igor
On Thu, Jul 3, 2008 at 7:13 AM, Michael Mehrle [EMAIL PROTECTED]
wrote:
Not to come across snide but of course I know how to set a component
to
invisible. I need to know how to get the current page URL/URI as the
page loads - remember that the navigator is only a panel and can be
inside
I build a table like this:
table width=100% cellpadding=0 cellspacing=0 border=0
tr
td class=pad5 bldwicket:message
key=dateTitle//td
tdwicket:message
key=timeTitle//td
tdwicket:message
and friends.
Martijn
On Sat, Jul 12, 2008 at 4:19 AM, Michael Mehrle [EMAIL PROTECTED]
wrote:
I build a table like this:
table width=100% cellpadding=0 cellspacing=0 border=0
tr
td class=pad5 bldwicket:message
key=dateTitle//td
I have a ListView which I have populate a table. Now, some columns are
sometimes empty and I'm trying to set the Label that occupies it with an
non-breaking space (nbsp;). However, for some reason the Label prints
it verbose . If I set the Label to empty the column gets skipped
altogether, messing
-igor
On Mon, Jul 14, 2008 at 11:04 AM, Michael Mehrle
[EMAIL PROTECTED] wrote:
I have a ListView which I have populate a table. Now, some columns are
sometimes empty and I'm trying to set the Label that occupies it with
an
non-breaking space (nbsp;). However, for some reason the Label prints
: Hiding table columns in DataViews?
http://wicketstuff.org/wicket13/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.DataTablePage
via
http://www.google.com/search?q=wicket+datatable+example
On Mon, Jul 14, 2008 at 1:26 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
Okay
it to the list. So if I did not want to show Cell Phone, I
would simply not add the PropertyColum(new Model(Cell Phone), cellPhone)
to columns.
On Mon, Jul 14, 2008 at 2:31 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
Not to be thick, but where does this show me how to hide table headers? All
I see
Hi guys - started working with Wicket a few weeks ago and I'm new to
this list. BTW, I haven't had that much fun coding client/server stuff
in a long time - never liked JSP/JSTL, etc. much.
Anyway, I'm running into a little update problem with
AutoCompleteTextField - for some reason when I
This is a simple question - I have do make an http call to an external
website inside my DAO - it's like a webservice call. The resulting XML
then needs to be parsed and used to populate my Wicket form. I was
thinking of using the Jakarta Commons HttpClient to retrieve the XML,
but was wondering
Never mind guys, I screwed up feeding the data - it's working perfectly
now.
Michael
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Monday, January 28, 2008 1:57 PM
To: users@wicket.apache.org
Subject: Update problem with AutoCompleteTextField
Hi guys - started
).
Martijn
On 1/29/08, Michael Mehrle [EMAIL PROTECTED] wrote:
Yeah, that's my plan - turn the XML into a value bean and use it as my
form model. However, my question is more related to what happens
before
that: Make an HTTP call to the external website, retrieve the XML and
*then* parse it. Again
(http, webservice, whatever) returns some kind of
business object, it'll be very easy to bind it to form values.
MyObject object = service.find();
add(new TextField(name, new PropertyModel(object, name));
make sense?
On Jan 28, 2008 5:32 PM, Michael Mehrle [EMAIL PROTECTED] wrote
that without any knowledge of said
library).
Martijn
On 1/29/08, Michael Mehrle [EMAIL PROTECTED] wrote:
Yeah, that's my plan - turn the XML into a value bean and use it as
my
form model. However, my question is more related to what happens
before
that: Make an HTTP call to the external
I have a working test page containing an AutoCompleteTextField. Thus far
the data feeding it has been an Iterator of strings which is being
passed to its overridden getChoices method. So far so good.
What I need to do now is to pass in an Iterator of POJOs instead and
have the
AM, Michael Mehrle [EMAIL PROTECTED] wrote:
I have a working test page containing an AutoCompleteTextField. Thus
far
the data feeding it has been an Iterator of strings which is being
passed to its overridden getChoices method. So far so good.
What I need to do now is to pass in an Iterator
I've got something similar to this call:
myAutoCompleteTextField.add(new AjaxFormSubmitBehavior(form, onchange)
{
protected void onSubmit(AjaxRequestTarget target) {
String selection =
myAutoCompleteTextField.getModelObjectAsString();
MyPOJO backingModel =
Anyone? All I need to know is how to assign a generated model to my form
components. The original (empty) one is a CompoundPropertyModel.
Michael
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 29, 2008 3:58 PM
To: users@wicket.apache.org
Subject
getModel().setObject(foo); on the component that is housing the
CompoundPropertyModel instance...
-igor
On Jan 29, 2008 5:01 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
Anyone? All I need to know is how to assign a generated model to my
form
components. The original (empty) one
What is the preferred way of delaying the Javascript call to
getChoices() until a certain amount of characters have been types in? I
guess I could just put in some kind of if condition that checks the
input string's length, but I was wondering if there's a more elegant way
of doing this.
Thanks!
Anybody? Was hoping for a tip or two ;-)
Michael
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Monday, February 04, 2008 3:55 PM
To: users@wicket.apache.org
Subject: Delaying AutoCompleteTextField by n characters?
What is the preferred way of delaying
on time not on number of
characthers, for that you need to roll your own javascript
-igor
On Feb 4, 2008 3:54 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
What is the preferred way of delaying the Javascript call to
getChoices() until a certain amount of characters have been types in?
I
guess I
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 getmodelobject()?
-igor
On Jan 29, 2008 11:55 AM, Michael Mehrle [EMAIL PROTECTED]
wrote:
I could - if it was a simple matter of extracting
into jira for this.
-igor
On Feb 5, 2008 4:38 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
That's exactly 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
Assuming the typical tabbed panel example below - is there a good way to
grab the tab name from the page's properties file? What I need to do is
to internationalize the tab name. I guess I could do my own call to grab
it from the classpath + the property file name. Was hoping
List tabs = new
:59 AM, James Carman [EMAIL PROTECTED]
wrote:
Have you tried StringResourceModel?
On 2/11/08, Michael Mehrle [EMAIL PROTECTED] wrote:
Assuming the typical tabbed panel example below - is there a good
way to
grab the tab name from the page's properties file? What I need to
do
StringResourceModel?
On 2/11/08, Michael Mehrle [EMAIL PROTECTED] wrote:
Assuming the typical tabbed panel example below - is there a good
way to
grab the tab name from the page's properties file? What I need to
do is
to internationalize the tab name. I guess I could do my own call
to grab
- how to pass method call instead of
bean
Michael Mehrle wrote:
One more question - what do you refer to with 'late binding' - I
assume
the value would be computed 'late' in the process? Please elaborate or
send me a pointer.
...
Alternatively, I you need late binding put
new
Well, the reason why was I didn't know that call existed ;-) Of course I
looked at the JavaDoc, but the examples there didn't show this scenario.
Thanks a LOT for your reply - this addresses exactly what I'm looking
for :-)
One more question - what do you refer to with 'late binding' - I assume
Didn't see a response - does anyone know how to do this?
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Monday, February 11, 2008 5:53 PM
To: users@wicket.apache.org
Subject: StringResourceModel - how to pass method call instead of bean
I actually have a follow
I have a TabbedPanel (a) that contains two panels which in turn each
contain one TabbedPanel (b) and (c). When I switch a tab in (b) or (c) I
need to retain the tab selection of (a) in their link logic. I am
currently overriding newLink() for all panels using
IndexedParamUrlCodingStrategy.
One
I have div like this:
div wicket:id=somePanel
a wicket:id=someModal
wicket:message key=label.link /
/a
/div
My code is:
SomePanel somePanel - new SomePanel(somePanel, someModel);
..
somePanel.add(new AjaxLink(openModal) {
..
}
I keep getting an error
=someModal is missing a
Michael Mehrle wrote:
I have div like this:
div wicket:id=somePanel
a wicket:id=someModal
wicket:message key=label.link /
/a
/div
My code is:
SomePanel somePanel - new SomePanel(somePanel, someModel);
..
somePanel.add(new AjaxLink(openModal
file.
That makes it the app-level default.
Yuesong
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2008 1:53 PM
To: users@wicket.apache.org
Subject: Resource keys for custom Validators?
If I write my own MyValidator for a field I can place my
I'm passing a ListDataProvider when creating a DataView that shows rows
of comments. Each comment has a name, a date, and a message. I am
creating the ListDataProvider with an ArrayList, which also has been
sorted with a Comparator on the date.
For whatever reason on the final page my comments
with ListDataProvider
paste your code
-igor
On Fri, Mar 7, 2008 at 2:03 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
I'm passing a ListDataProvider when creating a DataView that shows
rows
of comments. Each comment has a name, a date, and a message. I am
creating the ListDataProvider
Any idea as to why my sort order is out of whack?
Michael
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2008 2:44 PM
To: users@wicket.apache.org
Subject: RE: Sort order in DataView with ListDataProvider
Okay - some needed input first
I'm getting that error although all my panels that are being updated
have the id set. I assume I don't have to add call setOutputMarkupId()
on any components inside of the parent panel that I am updating?
This stuff keeps happening often and is a huge timesink - wished there
was a more elegant
I've got a custom TextArea which overrides getConverter(), however for
some reason that method never gets called. getConverter() returns an
implementation of IConverter - it all looks pretty basic.
Is there anything special I have to do for getConverter() to be called?
By the way I added the
]
Sent: Thursday, March 13, 2008 12:12 PM
To: users@wicket.apache.org
Subject: Re: getConverter() in TextArea not being called
you have to set the type either via constructor arg or a call to settype
-igor
On Thu, Mar 13, 2008 at 12:08 PM, Michael Mehrle
[EMAIL PROTECTED] wrote:
I've got a custom
I read the update docs and at this time assume that my component's
Validator gets called AFTER the Converter. Is that correct for 1.3?
Michael
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
,model,mytype.class);
yes, alternatvely you can override convertvalue()
-igor
On Thu, Mar 13, 2008 at 12:22 PM, Michael Mehrle
[EMAIL PROTECTED] wrote:
Thanks for help (again), Igor :-) However, I'm not sure I understand -
could you please give me a code fragment?
BTW, I just dug around
a DropDownChoice
Set the model of the DDC to the value you want to have selected.
On Thu, Mar 13, 2008 at 7:53 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
I feel silly asking this, but I can't figure it out. I need to set my
DropDownChoice component to the id I'm passing into my page via
I've got a group of seven radio buttons, some of which are supposed to
be correlated with a textfield. Meaning, when I select a particular
radio button the textfield on its right side is supposed to get a cursor
focus. Similarly, whenever I change my radio button selection, I need
any previously
Anyone? I also forgot to mention that three of the radio buttons are
associated with a textbox, but two are not (radio buttons without
textfields). Would love to know how to build this and properly assign
the model.
Michael
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED
to textfield model update
RadioChoice supports wantOnSelectionChangedNotification() you can use
that to get a callback whenever a new option is selected, then call
clearinput() on whatever textbox needs to be made blank
-igor
On Tue, Mar 18, 2008 at 1:36 PM, Michael Mehrle [EMAIL PROTECTED]
wrote
Hello? Anyone?
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2008 12:48 PM
To: users@wicket.apache.org
Subject: Linking radio buttons to textfield model update
Okay, this helps, but how do I link different components to each radio
button
to textfield model update
RadioChoice supports wantOnSelectionChangedNotification() you can use
that to get a callback whenever a new option is selected, then call
clearinput() on whatever textbox needs to be made blank
-igor
On Tue, Mar 18, 2008 at 1:36 PM, Michael Mehrle [EMAIL PROTECTED]
wrote
I've got an inner subclass of Radio:
private class FooRadio extends Radio {
public FooRadio (String id, IModel model) {
super(id, model);
setOutputMarkupId(true);
add(new AjaxEventBehavior(new
Never mind - not sure what I was thinking needed to name the JS
event properly.
Michael
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 1:06 PM
To: users@wicket.apache.org
Subject: AjaxEventBehavior never being called
I've got
I have a WMC that I added an AjaxEventBehavior(onclick) to. Inside I
want to set the focus to a particular textfield - how would I do that?
I have seen some techniques on how to do this on page load, but this is
AJAX so I need something dynamic.
Anyone solved this problem before?
Michael
]
Sent: Thursday, March 20, 2008 3:28 PM
To: users@wicket.apache.org
Subject: Re: How to set focus to a textfield inside AJAX
why cant you do this with javascript without ajax?? seems like a huge
waste to have a server callback just to set focus
-igor
On Thu, Mar 20, 2008 at 3:14 PM, Michael Mehrle
('+textfield.getmarkupid()+').focus();}));
-igor
On Thu, Mar 20, 2008 at 3:51 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
Well, it doesn't necessarily have to happen in there. What I need to
do
is to bind a Radio component to a TextField component. When the Radio
gets clicked I want the focus in it's
textfield.setoutputmarkupid(true);
radio.add(new behavior() { oncomponenttag(tag) { tag.put(onclick,
getelementbyid('+textfield.getmarkupid()+').focus();}));
-igor
On Thu, Mar 20, 2008 at 3:51 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
Well, it doesn't necessarily have to happen in there. What I need
@wicket.apache.org
Subject: Re: No AjaxRadioChoice?
On Thu, 20 Mar 2008, Michael Mehrle wrote:
How come there is no AjaxRadioChoice? I would like to have my form
updated cleared when one of my radio buttons is selected. What's the
best way of doing this?
Add a suitable AjaxBehavior
According to this old threat, the use of a file upload field inside a
wicket Ajax modal was not possible:
http://tinyurl.com/3e4z35
Has anyone found a work-around to this (besides placing the field into a
regular page ;-) ?
Thanks!
Michael
upload is not possible i think.
Or do you have examples where they do that?
On Mon, Mar 24, 2008 at 6:08 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
According to this old threat, the use of a file upload field inside a
wicket Ajax modal was not possible:
http://tinyurl.com/3e4z35
Has anyone
Subject: Re: File upload field inside of a modal?
usually it is done with a hidden iframe which does the POST
-igor
On Mon, Mar 24, 2008 at 12:05 PM, Michael Mehrle
[EMAIL PROTECTED] wrote:
No, I don't have an example - looking for a way to make it work...
Michael
-Original Message
of a modal?
via javascript: form.submit();
-igor
On Mon, Mar 24, 2008 at 2:03 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
That sounds worthwhile exploring. How do I trigger a POST request in
an
iFrame from within a Wicket modal window?
Thanks again for your input.
Michael
://www.phpletter.com/Demo/AjaxFileUpload-Demo/
we cannot use jquery in wicket core projects directly because it is
not properly namespaced...
-igor
On Mon, Mar 24, 2008 at 2:12 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
Right - the old fashioned way. Igor strikes again - I'll give that a
shot
Never mind - found it, but it's PHP. Well, might help to structure
things properly.
Thanks,
Michael
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2008 2:24 PM
To: users@wicket.apache.org
Subject: RE: File upload field inside of a modal?
What
, 2008 at 4:04 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
I was actually trying something close with overriding
renderHead(IHeaderResponse iHeaderResponse). Didn't seem to stick
though...
Just for the record - would the above method be an alternative to
making
this work?
Thanks a bunch
I guess I could just do something like this:
button.add(new AttributeModifier(onClick, return jsMethod();));
but I remember there's a standard way of doing that...
Michael
OR, even simpler via a wicket:message: button wicket:id=fooButton
wicket:message=onclick:fooMethod
What I don't like about this is that the JS call would actually wind up
in my properties file.
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27
Yup, that is a lot cleaner - thanks :)
Michael
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2008 4:54 PM
To: users@wicket.apache.org
Subject: Re: Adding JS onclick behavior to button?
override oncomponenttag and do it there
-igor
I have a non-Wicket AJAX request call a Wicket page to process some data
(it's that jQuery file uploader I was working on). Now, the PHP example
that came with that jQuery based file uploader writes out some status
information to the AJAX JS script via HTTP Response like this (I'm no
PHP coder):
, so you should try
((webresponse)getresponse).gethttpservletresponse().getoutputstream().wr
ite
-igor
On Fri, Mar 28, 2008 at 2:16 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
I have a non-Wicket AJAX request call a Wicket page to process some
data
(it's that jQuery file uploader I was working
, so you should try
((webresponse)getresponse).gethttpservletresponse().getoutputstream().wr
ite
-igor
On Fri, Mar 28, 2008 at 2:16 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
I have a non-Wicket AJAX request call a Wicket page to process some
data
(it's that jQuery file uploader I was working
I wrote a file uploader that works inside a Wicket modal window based on
jQuery. Here's the original PHP based framework I based my work on:
http://www.phpletter.com/Demo/AjaxFileUpload-Demo/
It's up and running (took some tweaking to say the least), but I am
still facing one hurdle:
The file
I wrote a file uploader that works inside a Wicket modal window based on
jQuery. Here's the original PHP based framework I based my work on:
http://www.phpletter.com/Demo/AjaxFileUpload-Demo/
It's up and running (took some tweaking to say the least), but I am
still facing one hurdle:
The file
When closing my modal (modal.close()) I get this:
IllegalStateException: ServletRequest does not contain multipart content
Multipart is not set on my form, so I'm not sure why this is
happening...
Any ideas? I'm kind of stuck on this one.
Michael
Simple scenario: I've got a hidden wicket field which I'm setting with
JavaScript to a value like this:
hiddenField.value = data.msg;
When I pop up a JS alert it seems the value is set.
However, back on the Java side I'm trying to log the field's value in my
onClose() method as part of a
Anyone? Could use a pointer...
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2008 11:42 AM
To: users@wicket.apache.org
Subject: Setting wicket field component model via JavaScript
Simple scenario: I've got a hidden wicket field which I'm
Still fiddling with that same problem. I set my outputmarkup and added
my field as a target. However, when trying to grab the model as a string
it's always empty.
Is there anything special I have to do when grabbing a field's value
inside an AjaxButton's onSubmit (which contains my
?
Then you should be able to get the field's value using
field.getModelObject().
Maurice
On Wed, Apr 2, 2008 at 11:22 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
Anyone? Could use a pointer...
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02
Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Gravener
Sent: Wednesday, April 02, 2008 4:27 PM
To: users@wicket.apache.org
Subject: Re: Setting wicket field component model via JavaScript
new PropertyModel(this, photoId)
On 4/2/08, Michael Mehrle [EMAIL PROTECTED
I created a RadioGroup with three radios attached. For some reason the form is
being drawn with the last radio pre-selected, which I don't want. How can I
pre-select a default radio and also how can I set the group to nothing selected?
Thanks,
Michael
Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2008 8:49 PM
To: users@wicket.apache.org
Subject: Default selection in radio group?
I created a RadioGroup with three radios attached. For some reason the
form is being drawn with the last radio pre
I need to sync a link to a checkbox. Meaning, that clicking on the
checkbox or clicking on the link should select/deselect the checkbox.
I was thinking on adding an AbstractBehavior to the link and then do it
manually with Javascript in the onComponentTag method. Alternatively, I
might be able to
Regarding the debugging:
Debugging is very easy in Wicket since most of the meat is in Java
(instead of tags). What do you mean by setting breakpoints in templates?
I assume that it 'might' be possible to debug the component tag
rendering process, but then one would have to skip the jars and load
I'm getting some strange 'Channel busy - postponing' errors in my AJAX
in Safari. Read up on it and I think the solution might be to throttle
the AJAX call (especially since it works fine in Firefox).
The call I dug up is 'setThrottleDelay(...)' - but I only see that as
part of an
I need to build a TabbedPanel with three tabs which are part of one form
- the selected tab will contain form components which need to be
submitted by that one form. It seems FormComponentPanel is the way to
go: are there any good examples of this?
Also, would this be the recommended approach?
, April 11, 2008 4:52 PM
To: users@wicket.apache.org
Subject: Re: Good example for FormComponentPanel?
It seems that a simple panel would be the best approach.
On Sat, Apr 12, 2008 at 1:37 AM, Michael Mehrle [EMAIL PROTECTED] wrote:
I need to build a TabbedPanel with three tabs which are part
TabbedPanel extends Panel --- it extends the panel
{ ... }
Am I wrong? :)
On Sat, Apr 12, 2008 at 2:11 AM, Michael Mehrle [EMAIL PROTECTED] wrote:
Yes, I agree, Vitaly - but unfortunately the design decision is out of my
hand. It's got to have tabs. Of course it is possible to do the tabbing
Not sure if anyone cares about this - but I hear that ALL captchas out
there have been broken. Not really much of a hurdle anymore.
-Original Message-
From: Dan Kaplan [mailto:[EMAIL PROTECTED]
Sent: Monday, April 14, 2008 11:08 AM
To: users@wicket.apache.org
Subject: ReCaptcha Panel
for FormComponentPanel?
if you replace tabbedpanel links to submitlink it will
-igor
On Mon, Apr 14, 2008 at 12:51 PM, Michael Mehrle
[EMAIL PROTECTED] wrote:
So, a form CAN contain a panel? Meaning, I am able to add a
tabbedpanel
to a form and it'll work?
Michael
-Original Message-
From
instead.
-igor
On Mon, Apr 14, 2008 at 3:28 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
You mean the links that select/toggle each panel? Not sure what you
mean
though - can you please elaborate?
Michael
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent
for FormComponentPanel?
On Mon, Apr 14, 2008 at 3:52 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
Oh, I think you misunderstood
no, i didnt. instead of all this theorizing why dont you try to
implement this and see what the problems with it are. you will find
that since tabbed panel uses are regular links any
I need to create a div in my template that is being set to a different
css class before it gets drawn. So, a regular non-wicket div HTML tag
is out. How can I create a simple div tag without using a wicket
panel? (I'm inside a form, so I don't want to use a panel).
Thanks,
Michael
component?
You can attach WebMarkupContainer to it.
Vitek
Michael Mehrle wrote:
I need to create a div in my template that is being set to a
different
css class before it gets drawn. So, a regular non-wicket div HTML
tag
is out. How can I create a simple div tag without using a wicket
panel? (I'm
Simple actually - I need to select a radio in a group programmatically
(without user interaction). Is this done via setting the model of the
radio to a true Boolean?
Michael
Subject: Re: Selecting a radio programmatically?
Radio objects can have values other than boolean.
On Wed, Apr 16, 2008 at 8:53 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
Simple actually - I need to select a radio in a group programmatically
(without user interaction). Is this done via setting
I'm creating my own DropDownChoice:
private class WeekdayChoice extends DropDownChoice {
public WeekdayChoice(String id,
IModel model) {
super(id, model, new
Model(new DateFormatSymbols().getWeekdays()));
Do, I have to set up a converter for textfields that use integers as
models? Or is that being converted implicitly?
Michael
I got a textfield:
add(fooTextField = new TextField(foo, new PropertyModel(eventSchedule,
foo), Integer.class));
eventSchedule is a bean that has a foo field which is an integer.
For some reason it's never being updated, although the field picks it up
when I programmatically call
To: users@wicket.apache.org
Subject: Re: Integer models for textfields?
You can do new TextField(id, model,Integer.class) and the textfield
will automatically convert everything to integers.
Maurice
On Mon, Apr 21, 2008 at 8:25 PM, Michael Mehrle [EMAIL PROTECTED]
wrote:
Do, I have to set up
that code as well?
-- Edvin
Michael Mehrle skrev:
Sure:
saveButton.add(ajaxSaveBehavior = new
AjaxEventBehavior(JavaScriptUtil.CLICK) {
@Override
protected void onEvent(AjaxRequestTarget target) {
modalWindow.setWindowClosedCallback(new
1 - 100 of 207 matches
Mail list logo