I am just really confused by all of this. I do not understand why there is
not a way to get all the form fields onSubmit. There has got to be a way to
just say get all form fields or something. If not can we think about adding
it in the next version. it would make things a lot easier than passing
On Mon, Mar 3, 2008 at 5:33 AM, taygolf [EMAIL PROTECTED] wrote:
I am just really confused by all of this. I do not understand why there is
not a way to get all the form fields onSubmit. There has got to be a way to
just say get all form fields or something. If not can we think about adding
I think I found the problem in my code igor. It seems that I was messing it
all up by setting the panel model to the same model I wanted to pass to the
textfield
TextFieldPanel.java
public TextFieldPanel(String id, PropertyModel pm) {
super(id, pm);
add(new
do you have the necessary setters/ getters for teststring???
Regards,
Korbinian
taygolf schrieb:
teststring in onSubmit is always null no matter what I have entered in the
textfield.
Any help with this would be most appreciated.
Thanks
T
igor.vaynberg wrote:
what about it didnt work?
what about it didnt work? it looks fine...
-igor
On Thu, Feb 28, 2008 at 12:43 PM, taygolf [EMAIL PROTECTED] wrote:
hey igor thanks for all the help I really am learning a lot here.
I am having an issue forwarding the model tp my textfiled in my panel and I
wanted to show you my code
if you create a quickstart it will make it very easy for me to see and
will give us both something to work with...
-igor
On Fri, Feb 29, 2008 at 12:48 PM, taygolf [EMAIL PROTECTED] wrote:
teststring in onSubmit is always null no matter what I have entered in the
textfield.
Any help with
Don't you need to provide getter and setter for teststring?
On Fri, Feb 29, 2008 at 3:48 PM, taygolf [EMAIL PROTECTED] wrote:
teststring in onSubmit is always null no matter what I have entered in the
textfield.
Any help with this would be most appreciated.
Thanks
T
igor.vaynberg
hey igor thanks for all the help I really am learning a lot here.
I am having an issue forwarding the model tp my textfiled in my panel and I
wanted to show you my code and see what you thought the issue is. I am sure
it is something simple I have overlooked.
Template.java
public class Template
I have been looking at that today but I am still lost.
Basically what I want to do is have a form with panels in it. the panel will
add a textfield everytime it is called. and it will set the markupId to a
unique id that I am generating and well as setOutputMarkupId to true.
Then when the user
why do you want to pass it to another page for processing?
sounds like you are thinking about the old jsp model. in wicket
components are stateful and so the lifecycle is different...
the form submits to itself, and updates models of any form components
inside. then you can override
yes all of my experiance is in JSP so I guess I am just confused about how
forms work in wicket compared to JSP. Maybe you can help me understand and
suggest a way to accomplish what I am looking to do.
I have a form that takes in 2 dropdown chioces. When selected these
dropdownchoices are set
class page1 {
private object selection1;
private object selection2;
public page1() {
form form=new form(form) {
onsubmit() { setresponsepage(new page2(selection1,selection2)); }
}
form.add(new dropdownchoice(s1, new propertymodel(this,
selection1), ...));
Thanks igor I really appreciate the help. My code was really close but I was
not creating:
private object selection1;
private object selection2;
which was giving me my issues of getting the object in the onSubmit
override. I do not know why I did not see something that simple I think I
was just
no, it wont change, just have the panel forward the model to the textfield.
-igor
On Wed, Feb 27, 2008 at 1:50 PM, taygolf [EMAIL PROTECTED] wrote:
Thanks igor I really appreciate the help. My code was really close but I was
not creating:
private object selection1;
private object
when a form is posted all the values the user entered are pushed into
the model. i suggest you read the models page on the wiki and look at
forminput example. in wicket you do not have a post page, the form
submits to itself...
-igor
On Tue, Feb 26, 2008 at 12:52 PM, taygolf [EMAIL PROTECTED]
15 matches
Mail list logo