maling taglib for multipart/alternative mails
Has anyone any experience using the mailing taglib to send multipart/alternative messages i.e. html and text in one message. I know how to do this using the javamail api directly but not using the taglibs. I will use a templating mechanism (similar to struts templates) to retrieve the content of the mail from a jsp page and insert it into the content of the mail. Regards, Asle _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Transactions with dbTags
Xose, You might want to check the 'sql' tags in JSTL. They provide transaction support. JSTL is implemented in the 'standard' project. See http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html -- Pierre Xose Ramon Sousa Vazquez wrote: I am working with dbTags and PostgreSQL. I'd like to perform TRANSACTIONS with dbTags. How can i do it?. I have tried to send a several queries like BEGIN insert.. COMMENT, but it performs an error before the first insert. Is it posible to make a transaction using only dbtags sql:statement id=a con=b/sql:statemenmt? Thanks in advance Xosé Ramón Sousa Vázquez Optare Solutions S.L. [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Taglibs to provide an abstraction for mobile device guis
Are there any taglibs out there that provide an abstraction layer for PDA device displays? An example of such would be the Microsoft ASP.NET mobile controls. The controls will properly render the gui widgets on about 200 devices ... JavaServer Faces, currently being defined in JSR-127, should help with this. See http://jcp.org/en/jsr/detail?id=127 -- Pierre -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Getting values from a Map in JSTL-EL
I have two questions. How to get values if my bean has a method that returns a Map? I have a bean with getValues() method that returns a Map. I have tried c:out value=${specs.values.paramId} / c:out value=${specs.values[paramId]} / c:out value=${specs.values.map.paramId} / But I get the following error: Unable to find a value for map in object of class java.util.HashMap$Values using operator .' (correspondingly) Also my bean also has a method that takes a String and returns the value Object from the map. Its signature is: public Object getValue(String key) How do I use this method using EL? Thanks a lot. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Getting values from a Map in JSTL-EL
Affan == Affan Qureshi [EMAIL PROTECTED] writes: Affan I have two questions. How to get values if my bean has a method that returns Affan a Map? I have a bean with getValues() method that returns a Map. Affan I have tried Affan c:out value=${specs.values.paramId} / Affan c:out value=${specs.values[paramId]} / Affan c:out value=${specs.values.map.paramId} / Affan But I get the following error: Affan Unable to find a value for map in object of class Affan java.util.HashMap$Values using operator .' (correspondingly) Did you try all three of these at the same time? The last one is obviously broken, which is why you got the error. The second one and the first one are actually slightly different. The first one looks for a key of paramId in the map, and the second one looks in the map with a key that is STORED IN the scoped attribute named paramId. If you wanted to change the second one to do the same thing as the first, change it to: c:out value='${specs.values[paramId]}' / Affan Also my bean also has a method that takes a String and returns the value Affan Object from the map. Its signature is: Affan public Object getValue(String key) Affan How do I use this method using EL? You can't. This kind of expression (called mapped properties) is supported by the Jakarta Commons BeanUtils package, but not with the JSTL. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] ; SCJP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]