Yes I use POST, I´m not using any wicket form, I just set to my value a Tesxt fiels and then I add the wicket in this form, but as I said bfore it seems the wicket is lost by the way to pay pal because I appears empty, I´m thinking now maybe is something related with the pay pal´s encryption.....
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <!-- Identify your business so that you can collect the payments. --> <input type="hidden" name="business" value="herschelgo...@xyzzyu.com"> <!-- Specify a Buy Now button. --> <input type="hidden" name="cmd" value="_xclick"> <!-- Specify details about the item that buyers will purchase. --> <input type="text" name="item_name" value="Hot Sauce-12 oz. Bottle"> <input type="text" name="item_name" wicket:id="product" > <!-- in the java file Model value=new Model(); value.setObject("My Product"); Textfield product=new TextField ("product", value); --> <input type="hidden" name="amount" value="5.95"> <input type="hidden" name="currency_code" value="USD"> <!-- Display the payment button. --> <input type="image" name="submit" border="0" src="https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" alt="PayPal - The safer, easier way to pay online"> https://www.paypal.com/en_US/i/scr/pixel.gif </form> MartinM wrote: > > Do you use POST or GET ? > > ** > Martin > > 2010/3/29 victorTrapiello <vic...@trapiello.net>: >> >> hahahha it is not as easy as you think, I just put these 2 lines to show >> how >> it is in the reallity and how I´m trying to do with wickets, I only have >> this one on in my progrmam >> >> <input type="text" name="item_name" wicket:id="itemName"> >> >> >> >> msc65jap wrote: >>> >>> It not a wicket issue. You have two input elements with the same name: >>> >>> 1.<input type="text" name="item_name"> >>> 2.<input type="text" name="item_name" wicket:id="itemName"> >>> >>> Remove the line 1 and voila! >>> >>> Best, >>> James. >>> >>> On 28 March 2010 22:06, victorTrapiello <vic...@trapiello.net> wrote: >>>> >>>> Hello guys! I´m trying to implement a simple "buy now" action with pay >>>> pal: >>>> with the code: >>>> >>>> # xxx >>>> >>>> <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> >>>> <!-- Identify your business so that you can collect the payments. --> >>>> <input type="hidden" name="business" value="herschelgo...@xyzzyu.com"> >>>> <!-- Specify a Buy Now button. --> >>>> <input type="hidden" name="cmd" value="_xclick"> >>>> <!-- Specify details about the item that buyers will purchase. --> >>> >>>> <input type="hidden" name="amount" value="5.95"> >>>> <input type="hidden" name="currency_code" value="USD"> >>>> <!-- Display the payment button. --> >>>> <input type="image" name="submit" border="0" >>>> src="styles/images/comprar.jpg" >>>> alt="PayPal - The safer, easier way to pay online"> >>>> styles/images/comprar.gif >>>> </form> >>>> >>>> if for example I excute >>>> <input type="text" name="item_name" wicket:id="itemName"> >>>> it appears on the scream the text box filled with my item_name but when >>>> you >>>> press the form´s button it sends you to a paypal web page in which the >>>> field >>>> item_name appears empty, it is like the wicket is lost by the way.... >>>> any >>>> help¿? >>>> >>>> Thanks guys!!! >>>> >>>> >>>> jwcarman wrote: >>>>> >>>>> Does anyone have a required border class (something that automatically >>>>> puts a little red "*" next to a required field)? I have one that I'm >>>>> using, but it doesn't work under ajax! When the component gets >>>>> updated via ajax, it keeps appending little red "*"s to the markup. >>>>> Don't get me wrong, it's quite funny, but I just don't think my users >>>>> will get it. I've tried using a border and I've also tried doing it >>>>> as a behavior. Either way I get the endless string if "*"s. >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>>>> For additional commands, e-mail: users-h...@wicket.apache.org >>>>> >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: >>>> http://old.nabble.com/Required-Border...-tp28006887p28062450.html >>>> Sent from the Wicket - User mailing list archive at Nabble.com. >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>>> For additional commands, e-mail: users-h...@wicket.apache.org >>>> >>>> >>> >>> >>> >>> -- >>> Best, >>> James. >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >>> >> >> -- >> View this message in context: >> http://old.nabble.com/Required-Border...-tp28006887p28065083.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://old.nabble.com/Required-Border...-tp28006887p28065193.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org