i thought this just pointed to a template?

im confused as to what the parameter 'template' actually does...

i will investigate on monday.... 

thanks for the heads up! 

Liam Tipler
Designer 
Simons Group




In your template with the simple mail tag, you should be able to do 
something like:

<cms:setNode var="currentPara" />
<cmsu:simpleMail to="${param.toAddrFrmField}" 
from="${param.fromAddrFrmField} subject="${param.formFieldSubject}" 
template="${currentPara.someTemplate}"/>

param is a jsp implicit object containing a map to all the form field 
values.  The above is a really simple example.  In truth you'd want to 
do some field validation before attempting this so your web page doesn't 
become a spam gateway.

--David

LIAM_TIPLER wrote:

>Hello fellow magnolians!
>
>i am trying to adapt a form using the simpleMail tag. 
>
>i would like to have a form that users can submit and send information to 

>other users via email. like a simple 'email your friend' style form. 
>
>my issue is that i cannot figure out a way to get the data out of a html 
>field and into java somehow, without saving the form first. obviously we 
>dont want people to have to save the form. i was hoping i could set the 
>value of a field into a 'pageContext.setAttribute' or similar but i think 

>i would have to save the form to do this
>
>any help appreciated. i guess i am overlooking something but i obviously 
>have the friday feeling and am thinking about the pub too much today :) 
>
>have a good weekend anyway!
>
>Liam Tipler
>Designer 
>Simons Group




_____________________________________________________________________
Simons Construction - Building Magazine Contractor of the Year 2007 - For more 
information go to www.building.co.uk
View our latest Team Builder here -  http://www.simonsgroup.com/teambuilder.pdf
View our latest news release here -  http://www.simonsgroup.com/news.pdf
_____________________________________________________________________
Simons Developments - 2007 Property Company of the Year in the North East & 
Yorkshire
Click here to read the full article. 
http://www.estatesgazetteawards.co.uk/index.shtml
_____________________________________________________________________
Simons Group Limited, including Simons Construction, Simons Design and Simons 
Developments, Registered Office 991 Doddington Road, Lincoln, LN6 3AA. Tel: 
0808 2023 991, Fax: 0845 0721 800. registered number 2147887, registered in 
England and Wales.

The information contained in this e-mail message and any files transmitted with 
it is confidential and may be legally privileged. It is intended only for the 
addressee and others authorised to receive it. If you are not the intended 
recipient or the person responsible for delivering the message to the intended 
recipient you are advised that you have received the e-mail in error and that 
any disclosure, copying, distribution or action taken in reliance on the 
contents of the e-mail and its attachments is strictly prohibited and may be 
unlawful. Please advise the sender immediately if you are not the intended 
recipient.

This message has been checked for all known viruses through the MessageLabs 
Virus Scanning Service.

Web site http://www.simonsgroup.com
_____________________________________________________________________

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to