Hi,
I just had a terrible time getting rid of the Unable to serialize class:
error. The class was derived from an abstract class. I tried everything to
fix it, including getting the latest wicket binaries, rebuilding wicket
trunk with my Java (1.5.0_08), and whole bunch of test code. The funny
That is absolutely true. The point was that the same class was not
serializable with Tomcat 5.x but was serializable with 6.x
Martijn Dashorst wrote:
On Wed, Jul 9, 2008 at 9:29 PM, m_salman [EMAIL PROTECTED]
wrote:
The funny
thing was that class tested fine to be serializable if (p2
Hi,
For a DropDownChoice I am using a simple list as following:
ListString choices = new LinkedListString();
choices.add(choice1);
choices.add(choice2);
Here is the code for the DropDownChoice:
add(new DropDownChoiceString(
Thanks guys.
It works with using the class object.
There was just this confusion for me. I was expecting that I would get back
the id of the selected object back. But I get the selected object itself.
Which I think is even better but..
So thanks again.
--
View this message in context:
Hi,
In my subclass of WebSession the constructor has to call a method that
throws an exception. As you know the WebApplication calls the constructor
of the WebSession.
public UserSession(Request request)
{
super(request);
try
{
That works. Thanks.
throw restartresponseexception with your error page
--
View this message in context:
http://www.nabble.com/Handling-Exceptions-in-WebSession-or-WebApplication-tp19175475p19175698.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Hi,
I would like to allow the user/customer to be able to provide his html file
(with the style elements or sheet) to be used with the components created by
java. So I guess the java code will need to know which html file to use
based on the user.
Is that possible to do so with Wicket? If so
Hi,
Did anything come out of it?
I seem to be having a similar problem. I go to my application (no sign in)
using two browser instances from ONE machine. But it seems that the two
sessions affect it each other. One example is that one browser a step
results a button to be hidden. on the
Thanks for your response.
Well, I tried what you suggested using Firefox and IE.
In one a button (makeEditable) was made disabled.
When I tried to click on the button still visible in the other browser I got
this error:
WicketMessage: Submit Button makeEditable
Well that is not intentional atleast.
Here are some snippets from the code:
public class ButtonEdit extends AjaxButton
{
public ButtonEdit(String id)
{
super(id);
}
@Override
protected void onSubmit(
Thanks for your offer.
I would need to extract the code or may be develop some small example.
Thanks again.
igor.vaynberg wrote:
i cant really tell from this. can you create a quickstart and attach
it to a jira issue so i can reproduce the problem locally?
-igor
--
View this
My appologies. The problem was bad design and code on my part.
--
View this message in context:
http://www.nabble.com/session-%22jumping%22--tp18999615p19395226.html
Sent from the Wicket - User mailing list archive at Nabble.com.
implementations? Is that what Igor suggested? Your isVisible()
method cheeking a static value?
2008/9/9 m_salman [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/session-%22jumping%22--tp18999615p19402436.html
Sent from the Wicket - User mailing list archive at Nabble.com
I am not sure what the getrequestcycle().setredirect(true); is for.
Can you please explain that a little bit. Why can't I just set the response
page.
Is that something special for logouts?
Do I need to use 'setRedirect(true)' for th following also?
catch (ApplicationException ae)
{
Thanks for your reply.
Since I don't have much understanding of these things -- I am a kicking and
screaming web GUI developer, can you please tell me if I should use the
redirect command for my error handling code.
Really appreciate your help.
jwcarman wrote:
The setRedirect(true) call
Hi,
I am really happy with what wicket has allowed me to do with Ajax and all
that. I have just implemented an AutoCompleteTextfield. It is very nice
but I would like to improve it so that the user is restricted to items in
the list. So, the list is shown when the user types the first one or
Hi,
I need some help with the AutoCompleteTextField. I would like it to show
the choice list when some one clicks in the field not just when the user
type a letter or two. I find that, atleast in my case, when I click on the
field getChoices method is not called.
I have tried some thing
Hi,
This was a big help for me in getting what I wanted to do. It works really
good except for one problem. When the form shows up with a non null empty
object, the autocomplete field has the class name for the object in it,
i.e., com.michni.search.bean.urll...@c1853. Once I load an object in
Thanks so much for yoru response. I tried a few things from your response
and one solution solved the problem. I changed the ChoiceRenderer
constructor to include the id part. And it worked.
So here is the code:
form = new FormIParameterMetaData(
I would appreciate very much if some one can tell me how can I use this
method, or any other method, to display xml in a panel. I want xml to be
displayed in an interactive format in a panel when a form is submitted.
Thanks.
--
View this message in context:
Thanks for the quick response. Well I am using the label but I get the
output as booktitleBook on
Logic/titleauthorAristotle/author/book
How can I show that in interactive form as shown in a browser?
Thanks again.
Jeremy Thomerson-5 wrote:
XML is just another type of markup. If the XML
What I mean is that I click on the '+' sign and it expands, '-' sign
condenses it.
I think it is the response header thing. Can that be set for the label?
But you do say that has to be for the entire response..
Thanks.
Jeremy
Thomerson-5 wrote:
What do you mean interactive form? Most
Hi,
I am very very new to Wicket and I am at a very early stage of my
understanding. I have upgraded to 1.4_m1. But I seem to have a weired
problem which I don't see any one else have a problem with.
I would appreciate any quick help. Thanks.
Problem is with the add(firstNameTextField) line
Oops, darn. jar files in WEB-INF\lib were not updated.
Thanks so much for the quick response.
Jonathan Locke wrote:
are you sure you are running against the same wicket jar you compiled
against?
m_salman wrote:
Hi,
I am very very new to Wicket and I am at a very early stage
Hi,
I have designed a panel of form text fields which I would like to repeat in
a panel of form.
Here is the code:
EmptyForm.java
public class EmptyForm extends Form
{
private final ValueMap properties = new ValueMap();
public EmptyForm(final String id)
{
Nino.Martinez wrote:
use a listview,propertylistview or repeater...
Differences are:
listview: iterates over a list
propertylistviw:-||- and bound the item.model via a compound model, very
usefull if you use compound models a lot.
repeater: repeats for int times, as I remember it..
Hi,
Is there any one available to provide Wicket training and/or consulting in
the SF Bay area?
I need help urgently. Off hours is fine.
Thanks,
-Mohammad
--
View this message in context:
http://www.nabble.com/wicket-training-consulting-in-the-SF-Bay-Area-tp17859255p17859255.html
Sent
27 matches
Mail list logo