Wizard using ListView and RadioGroup

2010-03-28 Thread Robert Gründler
Hi all,

i'm working on a Wizard that displays a list of Addresses in one step, where
an address can be selected using a radiobutton.

The relevant code of the addresslist-wizardstep looks like this:

addressList = new ArrayListUserAddress(user.getAddresses());
final RadioGroup group = new RadioGroup(group, new 
CompoundPropertyModel(addressList));
add(group);

ListViewUserAddress userAddresses = new ListViewUserAddress(addresses, 
addressList) {
@Override
protected void populateItem(ListItemUserAddress item) {
item.setDefaultModel(new 
CompoundPropertyModelUserAddress(item.getModelObject()));
item.add(new Radio(is_default));  

item.add(new Label(address.street));
item.add(new Label(address.zip));
item.add(new Label(address.city));
item.add(new Label(address.country));
}
};

group.add(userAddresses);
group.setRequired(true);

My Problem is that i need to select an address by default based on the 
is_default field in the UserAddress jointable, but only
when the wizardStep is displayed for the first time. If the user changes the 
selected address, it should not jump back
to the is_default value when switching back and forth between wizard-steps.

I've already tried the solution described in the wiki for setting default 
values to radiogroups (http://cwiki.apache.org/WICKET/using-radiogroups.html),
but this resets the selected radiobutton when switching wizard pages to the 
default value, so the wizard doesn't remember  if a default option
has been changed by the user.

I'd appreciate any hints on how to solve this one.


thanks!


-robert






Re: Weird feedback message formats

2010-03-28 Thread ayman elwany
is this solution could be used for feedback messages in feedback panels
instead of the componenet/field path as resource key ??

On Thu, Mar 25, 2010 at 8:18 AM, Martin Makundi 
martin.maku...@koodaripalvelut.com wrote:

 Use same label localization property name as wicket component id:

 Application.properties:
 mysecret=My password

 labelwicket:message key=mysecret//label: input
 type=password wicket:id=mysecret/



 Ofcourse there are other ways too, but the above is way simplest.


 http://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html

 **
 Martin

 2010/3/25 Sigmar Muuga meedi...@gmail.com:
  Hello,
  how to customize error / feedback messages in wicket?
  At the moment wicket displays quite stupidly password errors:
  mysecret is too short and so on.
 
  I would like to use translated field labels in feedback messages instead
 of
  field names, that are not so user friendly.
 
  Sigmar
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




change tr background color when ListView iterate....

2010-03-28 Thread Arnaud Garcia
Hello,

Using a ListView on a tr html markup, I would like to alternate the
background color of each new tr when the list iterate...

I just find how to do this on the label inside the td... not on the tr
level..., so just the background color of the title is changed and not the
full line !

here is an example of my code

html:


table
tr wicket:id=cdList
   tdspan wicket:id=title//td
/tr
/table


java:
--
ListViewCD aList = new ListViewCD(cdList,CDList) {

 private boolean alternateLine = true; // to switch css class
attribute at each new item...

 @Override
 protected void populateItem(ListItemCD item) {

 Label title = new Label(title, new
PropertyModelString(item.getModelObject(), title));

 if (alternateLine) {
 title.add(new SimpleAttributeModifier(class, line1));
// change the color !
 } else {
 title.add(new SimpleAttributeModifier(class, line2));
 }
 alternateLine = !alternateLine;

 item.add(title)
}
}


thanks,

Arnaud


Re: change tr background color when ListView iterate....

2010-03-28 Thread Mauro Ciancio
Take a look at:

ListItem#newItem(final int index)

and:

org.apache.wicket.markup.repeater.OddEvenItem.

Cheers.

On Sun, Mar 28, 2010 at 11:40 AM, Arnaud Garcia arn...@imagemed-87.com wrote:
 Hello,

 Using a ListView on a tr html markup, I would like to alternate the
 background color of each new tr when the list iterate...

 I just find how to do this on the label inside the td... not on the tr
 level..., so just the background color of the title is changed and not the
 full line !

 here is an example of my code

 html:
 

 table
    tr wicket:id=cdList
       tdspan wicket:id=title//td
    /tr
 /table


 java:
 --
 ListViewCD aList = new ListViewCD(cdList,CDList) {

         private boolean alternateLine = true; // to switch css class
 attribute at each new item...

         @Override
         protected void populateItem(ListItemCD item) {

             Label title = new Label(title, new
 PropertyModelString(item.getModelObject(), title));

             if (alternateLine) {
                 title.add(new SimpleAttributeModifier(class, line1));
 // change the color !
             } else {
                 title.add(new SimpleAttributeModifier(class, line2));
             }
             alternateLine = !alternateLine;

             item.add(title)
            }
 }


 thanks,

 Arnaud




-- 
Mauro Ciancio maurociancio at gmail dot com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



How to customize FormComponentFeedbackBorder's error indicator

2010-03-28 Thread David Chang
I would like to replace the default indicator asterisk with an image. How can I 
do it? What is the most elegant way?

Thanks for any info or pointer.

All the best,
David


  

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicketstuff updated!

2010-03-28 Thread Major Péter
JavaEE-Inject is tested, and OK.

It looks like there are projects, which are depending to a specific
wicket version (1.4-rc*, 1.4.5):
* multi-text-input-parent
* flot-parent/flot
* flot-parent/flot-examples
* wicket-html5-parent
* ddcalendar-parent/ddcalendar
* ddcalendar-parent/ddcalendar-examples

What's going to happen with them?

Regards,
Peter

2010-03-24 22:14 keltezéssel, Boris Goldowsky írta:
 As discussed, and not hearing any objections, I've updated the
 wicketstuff-core project to depend on Wicket 1.4.7.  wicketstuff-core's
 version number is now 1.4.7-SNAPSHOT, and the idea is that people can
 test it, and barring any major problems it can be released as a stable
 version 1.4.7 .
 
 Now, before people can easily test this, the artifacts need to get into
 the wicket snapshots maven repository, right?  Can someone with the
 requisite permissions make this happen?  In the meantime of course
 people are encouraged to download the projects and build and test them
 locally.
 
 In addition to wicket, the following dependencies were also updated to
 the latest stable version within the same major version of the project. 
 I did not attempt to move Lucene from version 2.4.1 to 3.0.1, for
 instance, since more significant changes might be required for this (if
 any subproject is actually using it).
 
  Jetty: 6.1.22
  Lucene: 2.4.1
  slf4j: 1.5.11
  JUnit: 4.8.1
 
 I had to make a couple of changes to get everything to build with the
 new dependencies (commented out wagon-ssh-external extension from
 inmethod-grid; added new required constructor argument to two instances
 of SpringComponentInjector).  People should test the build and make sure
 these changes are ok.  But at least for me, I can do a mvn install at
 the top level and it works.
 
 Bng

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Wickit JMS

2010-03-28 Thread Marek Šabo
Hi all,

I would like to ask if anyone ever tried asynchronous messaging systems
like JMS with Wicket. I will be implementing some modules which will do
some work on configuration files and then return. Is there a way to get
these events to wicket asynchronously and then probably contact user via
ajax about it?

TIA,

 
--
Marek Šabo


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: PROBLEM WITH PAY PAL INTEGRATION

2010-03-28 Thread James Perry
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



Prevent messages from being displayed in FeedbackPanel if displayed in ComponentFeedbackPanel

2010-03-28 Thread David Chang
I have a page which has a FeedbackPanel for collecting and displaying messages.

On this page there is also a form. I use ComponentFeedbackPanel to display any 
validation error messages for fields.

When a validation error happens, it ends up being displayed in both 
FeedbackPanel and ComponentFeedbackPanel. 

I wish to control the message diplay like this:

If a message is displayed in ComponentFeedbackPanel, it will not be displayed 
again in FeedbackPanel.

Is this doable? Any ideas of how do this?

Regards.



  

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Prevent messages from being displayed in FeedbackPanel if displayed in ComponentFeedbackPanel

2010-03-28 Thread Jeremy Thomerson
You could use a custom IFeedbackMessageFilter

--
Jeremy Thomerson
http://www.wickettraining.com



On Sun, Mar 28, 2010 at 9:42 PM, David Chang david_q_zh...@yahoo.comwrote:

 I have a page which has a FeedbackPanel for collecting and displaying
 messages.

 On this page there is also a form. I use ComponentFeedbackPanel to display
 any validation error messages for fields.

 When a validation error happens, it ends up being displayed in both
 FeedbackPanel and ComponentFeedbackPanel.

 I wish to control the message diplay like this:

 If a message is displayed in ComponentFeedbackPanel, it will not be
 displayed again in FeedbackPanel.

 Is this doable? Any ideas of how do this?

 Regards.





 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Wickit JMS

2010-03-28 Thread Jeremy Thomerson
I have used ActiveMQ (and the Spring integration(s)) extensively with
Wicket.  But I have not really provided AJAX feedback associated with it.
 This would be fairly easy to do.  Just have an AJAX timer that polls a
middle-tier service to get the status of the pending changes / work /
etc

--
Jeremy Thomerson
http://www.wickettraining.com



On Sun, Mar 28, 2010 at 7:32 PM, Marek Šabo ms...@buk.cvut.cz wrote:

 Hi all,

 I would like to ask if anyone ever tried asynchronous messaging systems
 like JMS with Wicket. I will be implementing some modules which will do
 some work on configuration files and then return. Is there a way to get
 these events to wicket asynchronously and then probably contact user via
 ajax about it?

 TIA,


 --
 Marek Šabo


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: PROBLEM WITH PAY PAL INTEGRATION

2010-03-28 Thread victorTrapiello

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



Re: PROBLEM WITH PAY PAL INTEGRATION

2010-03-28 Thread Martin Makundi
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



Re: PROBLEM WITH PAY PAL INTEGRATION

2010-03-28 Thread victorTrapiello

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.



Re: PROBLEM WITH PAY PAL INTEGRATION

2010-03-28 Thread Steve Swinsburg
Why not process your form normally via Wicket, then make a POST request to 
PayPal?

cheers,
Steve


On 29/03/2010, at 4:49 PM, victorTrapiello wrote:

 
 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
 
 
 
 
 --