Sounds like you're submitting the info to another website (not back to your 
wicket app), in which case you should just use a plain HTML form (without 
associated wicket form components): wicket won't change the input field names 
then.

Alex

-----Original Message-----
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED]
Sent: Sun 6/8/2008 5:31 PM
To: [email protected]
Subject: Can't get round this problem
 

I have a page that has 2 fragment. One for normal ordering and one for credit
card ordering.

When sending the input type hidden names they must have the exact name but
wicket changes it

orderPanel:Merchant_id
must be Merchant_id. How can I remove the orderPanel that adds to the
markup.

I have tried to extend the hidden field and override the protected void
onComponentTag(ComponentTag tag)  but this just makes it work even worse.
Why must wicket change the name of the input tag? Is there a way around
this. I must be able to specify my own name. I was hoping that just

 new HiddenField(  "Merchant_id", new Model(  "" ) ); would do the trick but
wicket changes that name.
-- 
View this message in context: 
http://www.nabble.com/Can%27t-get-round-this-problem-tp17723379p17723379.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to