Hi All
I'm having problems to make a radio component work the way I need.
I have a list of PhoneNumber objects:
class PhoneNumber {
String number;
boolean default;
}
The list can have only one entry set as default value. I'm trying to
make the radio button set the value of default in each
) {
CompoundPropertyModel model = new CompoundPropertyModel(phoneNumber);
add(TextField(number), model.bind(number));
add(Radio(default, model.bind(default)));
}
Let me know if this works.
Cheers,
Rodrigo
On Tue, Aug 9, 2011 at 6:48 PM, Marco Aurélio Silva marc...@gmail.com
wrote:
Hi All
I'm having
suggestion.
On Tue, Aug 9, 2011 at 7:19 PM, Marco Aurélio Silva marc...@gmail.com wrote:
Hi Rodrigo,
Thanks for the fast response, but that approach didn't solve the
problem. Actually, the problem is not the CompoundPropertyModel, if I
use a PropertyModel instead it wouldn't work as well... in both
Hi All
I'm having a problem using replaceWith method on a panel. That panel is
inside a tab on AjaxTabbedPanel, and everything works fine, except when I
need to open the page with a tab selected (call to
mypage.tabbedPanel.setSelectedTab),
then the panel is replaced on the tab itself instead of be
] wrote:
Just test the pagemap accessstack what exactly happens.
Place a few breakpoints there, if you press the backbutton, then ie
does a call to the server an ff doesnt? But that shouldnt be to much
of a problem. That page just should be there.
On 4/29/08, Marco Aurélio Silva [EMAIL
Move to 1.3 now is not an option :(
On Mon, Apr 28, 2008 at 5:55 PM, Johan Compagner [EMAIL PROTECTED] wrote:
Dont know why it is different in ie compared to ff, but do upgrade to
1.3 because then page expired are pretty much none excistent.
On 4/28/08, Marco Aurélio Silva [EMAIL
(Integer.parseInt(id), versionNumber);
the page returns null, that's why I got the page expired :/
Any suggestion?
On Tue, Apr 29, 2008 at 9:35 AM, Marco Aurélio Silva [EMAIL PROTECTED] wrote:
Move to 1.3 now is not an option :(
On Mon, Apr 28, 2008 at 5:55 PM, Johan Compagner [EMAIL
Hi All
I'm using wicket 1.2.6 and I'm having problems with back button on IE.
I can go back with back button of browser, but when I try to go
forward, I get a Page Expired. The log is set to debug, but I can't
find anything in log file to help me find out what is causing this. I
don't know if
/works any time/etc.
Browsers are notorious for incompatible behavior for standards
compliant markup. You just found out what happens with non-standards
compliant markup.
Martijn
On 3/31/08, Marco Aurélio Silva [EMAIL PROTECTED] wrote:
But it works fine on FF
On Mon, Mar 31, 2008 at 5
, Marco Aurélio Silva [EMAIL PROTECTED]
wrote:
Hi all
I found a bug in ModalWindow of wicket 1.2.6. If the markup of
modalwindow
is inside a tag p, the modal doesn't work on IE6 and IE7.
I wrote a CMS componente where the user can insert links on the page.
If
user insert a link
will never contain
the gt;
-Matej
On Wed, Mar 19, 2008 at 6:57 PM, Marco Aurélio Silva [EMAIL PROTECTED]
wrote:
Hi all
Is there a way to set EscapeModelStrings to false in a global way (to
all
components)? I'm having problems with this. If the size of a column on
database is 20
Hi All
I'm having a problem with TextField on wicket 1.2.6.
I must format the integer numbers, so, when the number is 123456780 it will
be formated as 123,456,789 or 123.456.789 (according to user locale). The
problem is that when I submit the form, the validation fails because
123,456,789 is
MyApplication());
-igor
On Feb 6, 2008 9:11 AM, Marco Aurélio Silva [EMAIL PROTECTED] wrote:
How to make it use my application subclass?
WicketTester.set(Application application) trow this exception:
wicket.WicketRuntimeException: Use Application.init() method for
configuring your
Hi all
I'm writing test cases for my wicket application (1.2.6), and I'm
having problems with the ResourceModel and StringResourceModel. It
seems like when loaded by a WicketTester (with startPage method) these
components doesn't load the global resource file
MyApplication.properties. If I put
)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
On Feb 6, 2008 1:55 PM, Igor Vaynberg [EMAIL PROTECTED] wrote:
you have to make wicket tester use _your_ application subclass
-igor
On Feb 6, 2008 8:50 AM, Marco Aurélio Silva [EMAIL
Hi all
I'm writing some test cases for my wicket application, and I got the
follow exception:
Caused by: java.util.MissingResourceException: Unable to find
resource: home for component:
pathway:repeater:i_want_to:stepLink:stepColor
at wicket.Localizer.getString(Localizer.java:262)
Hi All
In my application I have 2 properties file: MKBApplication.properties
and MKBApplication_nl.properties
When the browser is set to other language than Dutch, everything is
working fine. But, when the language is Dutch, wicket is not showing
the labels that are not on MKBApplication_nl
Sorry, I forgot this detail. I'm using version 1.2.6
Thank you
On Jan 17, 2008 12:47 PM, Johan Compagner [EMAIL PROTECTED] wrote:
Which version of wicket?
On 1/17/08, Marco Aurélio Silva [EMAIL PROTECTED] wrote:
Hi All
In my application I have 2 properties file
Hi
I'm trying to create a PDF file with Jasper inside a page with wicket
1.2.6, but I'm getting an exception:
Root cause:
java.io.NotSerializableException:
org.apache.catalina.core.ApplicationContextFacade
.
.
Complete stack:
wicket.WicketRuntimeException: Internal error cloning object. Make
Hi
I'm having problems with validation on a date field. Is there a easy
way to validate user input on date fields? If user types a invalid
date like 32-01-2008 I got a ConversionException:
wicket.util.convert.ConversionException: Cannot parse '32-01-2008'
using format [EMAIL PROTECTED]
at
On Jan 8, 2008 9:34 PM, Marco Aurélio Silva [EMAIL PROTECTED] wrote:
Hi
I'm having problems with validation on a date field. Is there a easy
way to validate user input on date fields? If user types a invalid
date like 32-01-2008 I got a ConversionException
Simple solution... thank you!
On Jan 8, 2008 12:38 PM, Eelco Hillenius [EMAIL PROTECTED] wrote:
You should set the type to Date by either using the appropriate
constructor or by calling setType.
Eelco
On Jan 8, 2008 10:16 PM, Marco Aurélio Silva [EMAIL PROTECTED] wrote:
Wicket 1.2.6
Hi
I'm trying to use a SubmitLink to submit a form, but it is not working on
Firefox. I get the follow message:
f.submit is not a function
Inspecting the code generated by wicket, I noticed that on firefox the call
to line 9 ( f.submit() ) is calling the element e, because the instruction
on
The problem was on the submitLink ID. I was using the ID submit. Changing
the id to submitButton solved the problem.
Thank you
Marco
On Dec 26, 2007 10:21 AM, Marco Aurélio Silva [EMAIL PROTECTED] wrote:
Hi
I'm trying to use a SubmitLink to submit a form, but it is not working on
Firefox. I
Hi
I'm trying to use some HTML codes with internationalized page. For example,
some texts have words in italic and I need to use the i tag. But when
wicket renders the text the i tag is showed on screen instead make the
word italic. Any suggestion?
Thank you
Marco
And is there a way to this without a label, houst with the wicket:message?
On Dec 12, 2007 1:23 PM, Sébastien Piller [EMAIL PROTECTED] wrote:
Marco Aurélio Silva a écrit :
Hi
I'm trying to use some HTML codes with internationalized page. For
example,
some texts have words in italic
Hi
I'm having problems to close a modal window after submit the form. What I
need to do is:
do a search
if search result is empty show a message in modal window
else, close the modal window
The problem is that to make the search I must submit the form to get the
values, and to close the window
answers. Then add
such a panel repeatedly, perhaps with a ListView.
- Scott
On Nov 13, 2007 10:58 AM, Marco Aurélio Silva [EMAIL PROTECTED] wrote:
Hi
I need to add fields to a page dynamically. I neet do build something
like a
survey where the questions and answers are stored
Hi
I need to add fields to a page dynamically. I neet do build something like a
survey where the questions and answers are stored on the database, so they
can be changed by the administrator because this I can't create the
HTML file with the fields Is there a way to do this?
Thank you
.
On Nov 13, 2007 12:58 PM, Marco Aurélio Silva [EMAIL PROTECTED] wrote:
Hi
I need to add fields to a page dynamically. I neet do build something
like
a
survey where the questions and answers are stored on the database, so
they
can be changed by the administrator because this I
. Then add
such a panel repeatedly, perhaps with a ListView.
- Scott
On Nov 13, 2007 10:58 AM, Marco Aurélio Silva [EMAIL PROTECTED] wrote:
Hi
I need to add fields to a page dynamically. I neet do build something
like a
survey where the questions and answers are stored
Hi all
I have a Panel that is open with a ModalWindow, and when it is closed the
main page is updated. The problem is that I can't get the values from
dropDowns of panel, they are coming always null. Is there something I'm
doing wrong? Is possible to use Form on Panel?
Thanks in advance!
Marco
='red';this.style.cursor='pointer'
onmouseout=this.style.background='white';
onclick=alert('bang')
tdTest/td
tdTest/td
tdTest/td
tdTest/td
/tr
/table
(Source:
http://radio.javaranch.com/pascarello/2004/12/30/1104419159000.html)
Marco Aurélio Silva wrote:
Hi all
Is there a way to do it without javascript?
Thanks
On Nov 6, 2007 3:27 PM, Al Maw [EMAIL PROTECTED] wrote:
Marco Aurélio Silva wrote:
I'm using a PageableListView component and I want to make each row of
the
list clickable. I don't want to add a column with a label like
details, I
just
34 matches
Mail list logo