No, there are only one id="navomaticBorder:form", I attach whole HTML.
Johan Compagner wrote:
do you have anywhere in the page another
"navomaticBorder:form" ??
Because that is the id the form did get:
<form action=""gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">/homepage?wicket:interface=:1:navomaticBorder:form::IFormSubmitListener"
wicket:id="form" method="post" id="navomaticBorder:form">
so this:
document.getElementById
('navomaticBorder:form').submit();
should just work.
johan
On 3/24/06, Martin Bednar <[EMAIL PROTECTED]
> wrote:
When
I upgrading from 1.1 to 1.2beta2 roundtrip to server dosn't work.
private Form getForm() {
if (null == form) {
form = new Form("form");
getNavomaticBorder().add(form);
getNavomaticBorder().add(new FeedbackPanel("feedback"));
}
return form;
};
getForm().add(
new DropDownChoice("campaignType", new Model(), al,
new IChoiceRenderer() {
public String getDisplayValue(Object
object) {
return ((Type) object).getValue();
}
public String getIdValue(Object object, int
index) {
return ((Type) object).name();
}
}) {
...
...
...
@Override
protected boolean
wantOnSelectionChangedNotifications() {
return true;
}
});
HTML is rendered correctly with _javascript_, but dosn't work (using
FireFox 1.0.7 on Linux).
JS console show error message: Error:
document.getElementById("navomaticBorder:form").submit is not a function
....
<form
action=""
wicket:id="form" method="post" id="navomaticBorder:form">
<input type="hidden" name="navomaticBorder:form:hf:0"
id="navomaticBorder:form:hf:0"/>Typ:<select
wicket:id="campaignType"
name="campaignType">
<option selected="selected" value="">Choose One</option>
<option value="BANNER">Banner</option>
<option value="DIRECT_MAIL">Direct mail</option>
<option value="HTML_BANNER">Html banner</option>
<option value="TEXT_BANNER">Textový banner</option>
</select><br />
....
</form>
....
Prefix:<input value="" type="text" wicket:id="prefix"
name="prefix"></input><br />
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
|
Title: Marathon
|
|
Nová kampaň
Typ:
Banner
Direct mail
Html banner
Textový banner
Prefix:
Date from:
Date to:
Comment:
Odesláno mailů:
Z toho na blacklistu:
URL původního DM:
Soubor s preview obrázkem:
Personalizovaný DM ?
Google Analytics Image
UTM T:
UTM AC:
UTM CTR:
U CTR:
UTM CSR:
UTM CMD:
UTM CNN:
Google Analytics Href
UTM Source:
UTM Medium:
UTM Campaign:
|
|
|
- Re: [Wicket-user] DropDownChoice.wantOnSelectionChangedNot... Martin Bednar
-