|
List Info
Thread: Created: (JBSEAM-823) Add capability to supply an InputStream to Ren
|
|
| Created: (JBSEAM-823) Add capability to
supply an InputStream to Ren |
  United States |
2007-02-12 08:44:29 |
Add capability to supply an InputStream to Renderer (for
email rendering)
------------------------------------------------------------
-------------
Key: JBSEAM-823
URL: http://j
ira.jboss.com/jira/browse/JBSEAM-823
Project: JBoss Seam
Issue Type: Feature Request
Components: Mail
Reporter: Bradley Smith
Assigned To: Peter Muir
I'm requesting the addition of a method on the Renderer
component that takes an InputStream.
Currently, Renderer only takes the String path to a facelets
file:
In(create=true)
private Renderer renderer;
public void send() {
try {
renderer.render("/simple.xhtml");
facesMessages.add("Email sent
successfully");
} catch (Exception e) {
facesMessages.add("Email sending failed: "
+ e.getMessage());
}
}
If possible, I would like to supply an InputStream so that I
can store templates in the database, also allows me to
upload new templates to a deployed application.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira
_______________________________________________
jbossseam-issues mailing list
jbossseam-issues lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es
|
|
| Commented: (JBSEAM-823) Add capability
to supply an InputStream to R |
  United States |
2007-02-12 08:50:29 |
[ http://jira.jboss.com/jira/browse/JBSE
AM-823?page=comments#action_12352853 ]
Gavin King commented on JBSEAM-823:
-----------------------------------
Does it have to be an InputStream, of would a Writer be
fine?
> Add capability to supply an InputStream to Renderer
(for email rendering)
>
------------------------------------------------------------
-------------
>
> Key: JBSEAM-823
> URL: http://j
ira.jboss.com/jira/browse/JBSEAM-823
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: Mail
> Reporter: Bradley Smith
> Assigned To: Peter Muir
>
> I'm requesting the addition of a method on the Renderer
component that takes an InputStream.
> Currently, Renderer only takes the String path to a
facelets file:
> In(create=true)
> private Renderer renderer;
>
> public void send() {
> try {
> renderer.render("/simple.xhtml");
> facesMessages.add("Email sent
successfully");
> } catch (Exception e) {
> facesMessages.add("Email sending failed:
" + e.getMessage());
> }
> }
> If possible, I would like to supply an InputStream so
that I can store templates in the database, also allows me
to upload new templates to a deployed application.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira
_______________________________________________
jbossseam-issues mailing list
jbossseam-issues lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es
|
|
| Commented: (JBSEAM-823) Add capability
to supply an InputStream to R |
  United States |
2007-02-12 08:52:30 |
[ http://jira.jboss.com/jira/browse/JBSE
AM-823?page=comments#action_12352854 ]
Gavin King commented on JBSEAM-823:
-----------------------------------
Oh, I mean a Reader. You want to stream the template, not
the rendered result...
> Add capability to supply an InputStream to Renderer
(for email rendering)
>
------------------------------------------------------------
-------------
>
> Key: JBSEAM-823
> URL: http://j
ira.jboss.com/jira/browse/JBSEAM-823
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: Mail
> Reporter: Bradley Smith
> Assigned To: Peter Muir
>
> I'm requesting the addition of a method on the Renderer
component that takes an InputStream.
> Currently, Renderer only takes the String path to a
facelets file:
> In(create=true)
> private Renderer renderer;
>
> public void send() {
> try {
> renderer.render("/simple.xhtml");
> facesMessages.add("Email sent
successfully");
> } catch (Exception e) {
> facesMessages.add("Email sending failed:
" + e.getMessage());
> }
> }
> If possible, I would like to supply an InputStream so
that I can store templates in the database, also allows me
to upload new templates to a deployed application.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira
_______________________________________________
jbossseam-issues mailing list
jbossseam-issues lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es
|
|
| Closed: (JBSEAM-823) Add capability to
supply an InputStream to Rend |
  United States |
2007-02-12 08:58:30 |
[ http://jira.jboss.com/jira/browse/JBSEAM-823?page=all
]
Gavin King closed JBSEAM-823.
-----------------------------
Resolution: Won't Fix
Looks like I cant implement this ... facelets does not seem
to support taking input from a stream. Sorry.
> Add capability to supply an InputStream to Renderer
(for email rendering)
>
------------------------------------------------------------
-------------
>
> Key: JBSEAM-823
> URL: http://j
ira.jboss.com/jira/browse/JBSEAM-823
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: Mail
> Reporter: Bradley Smith
> Assigned To: Peter Muir
>
> I'm requesting the addition of a method on the Renderer
component that takes an InputStream.
> Currently, Renderer only takes the String path to a
facelets file:
> In(create=true)
> private Renderer renderer;
>
> public void send() {
> try {
> renderer.render("/simple.xhtml");
> facesMessages.add("Email sent
successfully");
> } catch (Exception e) {
> facesMessages.add("Email sending failed:
" + e.getMessage());
> }
> }
> If possible, I would like to supply an InputStream so
that I can store templates in the database, also allows me
to upload new templates to a deployed application.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira
_______________________________________________
jbossseam-issues mailing list
jbossseam-issues lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es
|
|
| Commented: (JBSEAM-823) Add capability
to supply an InputStream to R |
  United States |
2007-02-12 08:58:29 |
[ http://jira.jboss.com/jira/browse/JBSE
AM-823?page=comments#action_12352855 ]
Bradley Smith commented on JBSEAM-823:
--------------------------------------
Reader is fine - you get what I would like to do.
Thanks
> Add capability to supply an InputStream to Renderer
(for email rendering)
>
------------------------------------------------------------
-------------
>
> Key: JBSEAM-823
> URL: http://j
ira.jboss.com/jira/browse/JBSEAM-823
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: Mail
> Reporter: Bradley Smith
> Assigned To: Peter Muir
>
> I'm requesting the addition of a method on the Renderer
component that takes an InputStream.
> Currently, Renderer only takes the String path to a
facelets file:
> In(create=true)
> private Renderer renderer;
>
> public void send() {
> try {
> renderer.render("/simple.xhtml");
> facesMessages.add("Email sent
successfully");
> } catch (Exception e) {
> facesMessages.add("Email sending failed:
" + e.getMessage());
> }
> }
> If possible, I would like to supply an InputStream so
that I can store templates in the database, also allows me
to upload new templates to a deployed application.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira
_______________________________________________
jbossseam-issues mailing list
jbossseam-issues lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es
|
|
[1-5]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|