create an instance from check box

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

create an instance from check box

srikanth.prodigy

Hello All,

 

I’m trying to create an instance from checkbox selected values of email addresses

Such that I can submit that instance to email processor .how to create an instance from checkbox list

The checkbox will have email address values

----------------------------------------------------------------------------------------------------------------------------------------------------

The xml instance that has to be submitted in this format only to email processor

<message><smtp-host>mail.example.org</smtp-host><from><email>[hidden email]</email><name>Trove Smith</name></from><to><email>[hidden email]</email><name>Jani Smith</name></to><subject>Reminder</subject><body content-type="text/plain">Hello, Jani!</body></message>

------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Thanks,

Srikanth



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: create an instance from check box

Hank Ratzesberger

Hope I didn't miss a reply....

If you have an instance of all your email addresses, such as the one 
you used in a repeat or model that is the content for the checkboxes, it 
may be more manageable. 

But I only say that because I have not tried building checkboxes that 
could potentially have very long values.  The values get added/subtracted
as strings to single string.

There is an example on the blog:


(along with my comments that I had to make corrections to, oh well...)

Hope that is some help,
Hank


On Apr 10, 2009, at 10:40 AM, Srikanth A wrote:

Hello All,

 

I’m trying to create an instance from checkbox selected values of email addresses

Such that I can submit that instance to email processor .how to create an instance from checkbox list

The checkbox will have email address values

----------------------------------------------------------------------------------------------------------------------------------------------------

The xml instance that has to be submitted in this format only to email processor

<message><smtp-host>mail.example.org</smtp-host><from><email>[hidden email]</email><name>Trove Smith</name></from><to><email>[hidden email]</email><name>Jani Smith</name></to><subject>Reminder</subject><body content-type="text/plain">Hello, Jani!</body></message>

------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Thanks,

Srikanth


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
OW2 mailing lists service home page: http://www.ow2.org/wws

Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws