I put in a Properties File and that took care of everything.
Thanks all...

I have another related question...
I want to change one of  the Contact page form component's visibility
property based in a parameter I set in another page.

Is there a page onLoad function or something where I can check the parameter
value and then change visibility of the component? If yes.. then where is it
called? Or how? When ever I try to check the parameter value within the page
constructor, I get a NullPointerException, but when the parameter is used
for other things , like from a method called within the the Form onSubmit()
there doesn't seem to be any problems.

Thanks 


Nino.Martinez wrote:
> 
> emailvalidator + required = no exceptions.. :)
> 
> newbieabc wrote:
>> Thank you. I was able to successfully use JavaMail API for the Contact
>> page.
>> I have another question related to the page, I'm not sure if I should ask
>> it
>> in this thread or not...
>>
>> I had done the rough page , and now that it works, started adding the
>> validations, to make sure required data in entered.
>>
>> Some how the setRequired and EmailAddressValidators keep throwing errors
>> if
>> I leave those fields blank.
>> I've put in a feedback panel, but instead of just showing a feedback
>> message, the page shows the exceptions....I'm not sure why.
>> If I don't use validators, the page runs fine, whether I enter data or
>> not...
>> Any ideas?
>>
>> Thanks
>>
>>
>> jwcarman wrote:
>>   
>>> Take a look at form processing and perhaps the JavaMail API (or Apache
>>> Commons Email for a simpler API).
>>>
>>> On Wed, Sep 17, 2008 at 2:35 PM, newbieabc <[EMAIL PROTECTED]> wrote:
>>>     
>>>> I'd like to create a "Contact Us" (by email) page, that lets users send
>>>> their
>>>> inquiries directly from the web page to an email address, without using
>>>> outlook.
>>>> Could someone give me some direction on how to go about doing this in
>>>> wicket?
>>>>
>>>> Thank you.
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Create-%22Contact-Us%22-Page-tp19538477p19538477.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]
>>>
>>>
>>>
>>>     
>>
>>   
> 
> -- 
> -Wicket for love
> 
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Create-%22Contact-Us%22-Page-tp19538477p19858740.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]

Reply via email to