[JBoss Seam] - Re: inline image email attachment
by sandy_brydon
I have now tried with Seam 2.0.1.CR1 with the same results.
here is what is happening (i'll include all this stuff in the JIRA ticket as well):
| Header...
| Content-Type: multipart/mixed; boundary="outer-boundary"
|
| --outer-boundary
| Content-Type: image/gif; charset=ISO-8859-1; name=logo.gif
| Content-Transfer-Encoding: base64
| Content-ID: <image-content-id>
| Content-Disposition: inline; filename=logo.gif
|
| BASE64=ENCODED=IMAGE=DATA==
| --outer-boundary
| Content-Type: multipart/alternative; boundary="inner-boundary"
| Content-Disposition: inline
|
| --inner-boundary
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 7bit
| Content-Disposition: inline
|
| my plain text
| --inner-boundary
| Content-Type: text/html; charset=ISO-8859-1
| Content-Transfer-Encoding: 7bit
| Content-Disposition: inline
| <html>
| <body>
| my html text<br />
| <img src="cid:image-content-id" />
| </body>
| </html>
| --inner-boundary--
|
| --outer-boundary--
|
and here is how it looks like the boundaries/content types need to be set up:
| Header...
| Content-Type: multipart/alternative; boundary="outer-boundary"
|
| --outer-boundary
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 7bit
|
| my plain text
| --outer-boundary
| Content-Type: multipart/related;
| boundary="inner-boundary"
|
| --inner-boundary
| Content-Type: text/html; charset=ISO-8859-1
| Content-Transfer-Encoding: 7bit
| <html>
| <body>
| my html text<br />
| <img src="cid:image-content-id" />
| </body>
| </html>
| --inner-boundary
| Content-Type: image/gif; name="logo.gif"
| Content-Transfer-Encoding: base64
| Content-ID: <image-content-id>
| Content-Disposition: inline; filename="logo.gif"
|
| BASE64=ENCODED=IMAGE=DATA==
| --inner-boundary--
|
| --outer-boundary--
|
it's a bit hard to read so i'll summarize:
- it looks like Content-Disposition: inline; is on every content declaration, i don't know if this matters
- in order to have proper inline html image content it looks like both the file and the content it's being included in is required to be part of Content-Type: multipart/related; http://tools.ietf.org/html/rfc2387
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123257#4123257
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123257
18 years, 4 months
[JBoss jBPM] - Re: Cannot build JBPM source from CVS
by kukeltje
anonymous wrote : copies generated GPD jars and makes eclipse distribution ready to use ONLY for Windows.
Not as far as I know... it makes a GPD plugin which is totally independent of os version. You should be able to install that in linux also. It does not make a full GPD+eclipse. If it does, it is totally new to me.
anonymous wrote : Disabling building GPD certainly helped, now I have some artifacts built, but not all, e.g bamconsole and jboss.
| I know that bamconsole is work in progress and that maybe is not integrated yet. But what is the case with jboss folder?
hmm... I have to admit I did not do a build for over a month.... I'll have a look over the weekend (curious to the bam console)
anonymous wrote : But then I added few nodes: task node, new ESB node, mail node and nothing happens when I double click them, also I see no option when I right-click on them, so I cannot define task in a tasknode. Also, I cannot add swimlane.
| Any idea, why is this happening?
Sure... because everything is happening in the properties pane/tab. below (or where you put it) Currently there are almost no right-click options.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123256#4123256
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123256
18 years, 4 months
[Beginners Corner] - Re: jboss AS, jboss Web and php
by rotsen
Peter/nitzan,
I was hoping to get a hand from you. I am trying to get jboss-portal-2.6.3.GA to work with php.
installation
------------------------------------------------------------------
JBOSS_HOME: C:\Documents and Settings\nflorez\My Documents\DOWNLOADS\jboss-portal-2.6.3.GA
JAVA: C:\Program Files\Java\jdk1.5.0_14\bin\java
JAVA_OPTS: -Djava.library.path="C:\Documents and Settings\nflorez\My Documents\DOWNLOADS\jboss-portal-2.6.3.GA\bin\native;
C:\Perl\bin;
C:\Python\.;
X:\Orawin9i\bin;
C:\Documents and Settings\nflorez\My Documents\DOWNLOADS\jboss-portal-2.6.3.GA\bin;
C:\Documents and Settings\nflorez\My Documents\DOWNLOADS\jboss-portal-2.6.3.GA\bin\native;
C:\Documents and Settings\nflorez\My Documents\DOWNLOADS\php5servlet-windows-SP1-i586\PHP\bin;
C:\Documents and Settings\nflorez\My Documents\DOWNLOADS\php5servlet-windows-SP1-i586\PHP\bin\ext;
C:\Program Files\Control Center;
C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;
C:\Documents and Settings\nflorez\My Documents\libxml2\bin" -Dprogram.name=run.bat -server -Xms128m -Xmx
512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: C:\Program Files\Java\jdk1.5.0_14\lib\tools.jar;
C:\Documents and Settings\nflorez\My Documents\DOWNLOADS\jboss-portal-2.6.3.GA\bin\run.jar
------------------------------------------------------------------
My PHP is a regular 4.4.2 php installation. PHP= C:\php
1) Will it work with a regular php ionstallation?
2) Do I need to copy the C:\Documents and Settings\nflorez\My Documents\DOWNLOADS\php5servlet-windows-SP1-i586\PHP\ext\*.dll to my c:\php\extensions directory?
In the http://samaxes.com/php-tutorial/jbossweb.php in the section "it's now time to run" it says to create an index.php file in the jbossweb.sar/ROOT.war folder but I do not have that folder, so I created it in the jboss-web.deployer folder.
How do I see that is there???
Thanks,
Nestor :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123254#4123254
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123254
18 years, 4 months