mail function

2003-03-17 Thread boessem
Title: Nachricht



hi,
 
i am quite new to 
cocoon, and try to write a registration using xsp.
 
my question is, if 
there is a funktion like within php to automatically send a mail to me, with the 
registration informations.
 
any comment would be 
helpfull. i searched for comments on this within the cocoon mailinglist archive, 
but couldn#t even find questions related to that subject. so if anyone knows 
links, to give me a brief overview how to archive a function like this, please 
mail.
 
thanks
and 
regards


AW: AW: AW: encoding and xsp

2003-03-07 Thread boessem
Hi, thanks for your hints. It works now. What i have done was to put into my main 
sitemap this:


1024
ISO-8859-1


I just changed it within a sub sitemap. Anyway thanks

Best regard to you ;-)

-Ursprüngliche Nachricht-
Von: Antonio Gallardo [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 7. März 2003 14:40
An: [EMAIL PROTECTED]
Betreff: Re: AW: AW: encoding and xsp


Hi:

Take it easy! This is a standard problem when you start to using Cocoon. :-D

What I am trying to said is that only putting the header is not enough. Just for 
reference. I use spanish and I had the same problem as you we I started with Cocoon.

I dont use Windows anymore. But I can recommend you jEdit.
(http://www.jEdit.org) to write XML stuff.

In jEdit you have "buffer options" that allow you to define the character encoding for 
your saved files. That means How the file will be encoded BEFORE is saved into the 
hard disk. Of course the headers are importants too.

Please feel free to ask if you have more questions. ;-)

Best Regards,

Antonio Gallardo


> I am not shure what you mean, but i added to the header of all xsp and 
> xsl document the same encoding sceme!
>
> -Ursprüngliche Nachricht-
> Von: Antonio Gallardo [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 7. März 2003 14:27
> An: [EMAIL PROTECTED]
> Betreff: Re: AW: encoding and xsp
>
>
> Hi!
>
> Please note that you must be sure that you are using the correct 
> encoding to save your files.
>
> Antonio Gallardo.
>
>
>
>> hi,
>>
>> thanks for your hints. i tried it, but it still does not work. i was 
>> not sure, if you mean to specifiy it within the , or 
>>  i did it in both. i also specified it within in the 
>> jdbc connection. but no success.
>>
>> Is it necessary to specify main sitemap, or is it also possible to 
>> put  it into the sub-sitemap?
>>
>> here is how i added it:
>>
>>  
>>   
>>ISO-8859-1
>>   
>>  i did the same for the serializer and
>> transformer.
>>
>> and ...
>>
>>
>> 
>>  ISO-8859-1
>> 
>> 
>>  ISO-8859-1
>> 
>> 
>>  ISO-8859-1
>> 
>>
>>
>> if i read through the outputtet html, there is still a tag like:
>>
>> 
>>
>>
>>
>> -Ursprüngliche Nachricht-
>> Von: Andres, Judith [mailto:[EMAIL PROTECTED]
>> Gesendet: Freitag, 7. März 2003 09:42
>> An: [EMAIL PROTECTED]
>> Betreff: AW: encoding and xsp
>>
>>
>> Try specifying an encoding inside the serializer declaration in your
>> sitemap:
>>
>>  
>> ISO-8859-1
>>   
>>
>> HTH Judith
>>
>>
>> -Ursprüngliche Nachricht-
>> Von: boessem [mailto:[EMAIL PROTECTED]
>> Gesendet: Freitag, 7. März 2003 09:39
>> An: Cocoon-Users
>> Betreff: encoding and xsp
>>
>>
>> hi,
>>
>> i do not understand why the encoding works different for words i use 
>> wihtin the xsp document and words i get via the url.
>>
>> an example:
>>
>> I have got a form, where students should be able to apply for a 
>> specific exame. wihtin this form (a xsp document) there are some 
>> explainations of how to use the form and what to fill in. characters 
>> within these sentences  like ä,ö,ü etc. are getting 
>> transformed  into html perfectly. (so no trouble).
>>
>> but:
>>
>> i have got text fields where students are able to fill in their 
>> names.  so if a name uses characters like ä,ö,ü etc. these 
>> names are  transformed inot funny characters like e.g. Bößem 
>> into Bößem .
>>
>> i tried to solve this problem, by adding to the header of the xsp and 
>> xsl document the encoding sceme, like > encoding="ISO-8859-1"?>, but still the same problem.
>>
>> does anyone know how to solve this problem.
>>
>> thanks and regards
>
>
>
>
> - 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> - 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: AW: encoding and xsp

2003-03-07 Thread boessem
I am not shure what you mean, but i added to the header of all xsp and xsl document 
the same encoding sceme!

-Ursprüngliche Nachricht-
Von: Antonio Gallardo [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 7. März 2003 14:27
An: [EMAIL PROTECTED]
Betreff: Re: AW: encoding and xsp


Hi!

Please note that you must be sure that you are using the correct encoding to save your 
files.

Antonio Gallardo.



> hi,
>
> thanks for your hints. i tried it, but it still does not work. i was 
> not sure, if you mean to specifiy it within the , or 
>  i did it in both. i also specified it within in the 
> jdbc connection. but no success.
>
> Is it necessary to specify main sitemap, or is it also possible to put 
> it into the sub-sitemap?
>
> here is how i added it:
>
>  
>   
>ISO-8859-1
>   
>  i did the same for the serializer and
> transformer.
>
> and ...
>
>
> 
>  ISO-8859-1
> 
> 
>  ISO-8859-1
> 
> 
>  ISO-8859-1
> 
>
>
> if i read through the outputtet html, there is still a tag like:
>
> 
>
>
>
> -Ursprüngliche Nachricht-
> Von: Andres, Judith [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 7. März 2003 09:42
> An: [EMAIL PROTECTED]
> Betreff: AW: encoding and xsp
>
>
> Try specifying an encoding inside the serializer declaration in your
> sitemap:
>
>  
> ISO-8859-1
>   
>
> HTH Judith
>
>
> -Ursprüngliche Nachricht-
> Von: boessem [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 7. März 2003 09:39
> An: Cocoon-Users
> Betreff: encoding and xsp
>
>
> hi,
>
> i do not understand why the encoding works different for words i use 
> wihtin the xsp document and words i get via the url.
>
> an example:
>
> I have got a form, where students should be able to apply for a 
> specific exame. wihtin this form (a xsp document) there are some 
> explainations of how to use the form and what to fill in. characters 
> within these sentences  like ä,ö,ü etc. are getting transformed 
> into html perfectly. (so no trouble).
>
> but:
>
> i have got text fields where students are able to fill in their names. 
> so if a name uses characters like ä,ö,ü etc. these names are 
> transformed inot funny characters like e.g. Bößem into Bößem .
>
> i tried to solve this problem, by adding to the header of the xsp and 
> xsl document the encoding sceme, like  encoding="ISO-8859-1"?>, but still the same problem.
>
> does anyone know how to solve this problem.
>
> thanks and regards




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: encoding and xsp

2003-03-07 Thread boessem
Title: Nachricht



hi,
 
thanks 
for your hints. i tried it, but it still does not work. i was not sure, if you 
mean to specifiy it within the , or  
i did it in both. i also specified it within in the jdbc connection. but no 
success. 
 
Is it 
necessary to specify main sitemap, or is it also possible to put it into the 
sub-sitemap?
 
here 
is how i added it:
 
   
   
ISO-8859-1  
     i did 
the same for the serializer and transformer.
 
and 
...
 
ISO-8859-1 ISO-8859-1 ISO-8859-1   
if i 
read through the outputtet html, there is still a tag like:
 

 


  
  -Ursprüngliche Nachricht-Von: Andres, Judith 
  [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 7. März 
  2003 09:42An: [EMAIL PROTECTED]Betreff: AW: 
  encoding and xsp
  Try specifying 
  an encoding inside the serializer declaration in your 
  sitemap:
   
   
      
  ISO-8859-1
    
  
   
  HTH 
Judith
  
  
-Ursprüngliche Nachricht-Von: boessem 
[mailto:[EMAIL PROTECTED]Gesendet: Freitag, 7. März 2003 
09:39An: Cocoon-UsersBetreff: encoding and 
xsp
hi,
 
i do not 
understand why the encoding works different for words i use wihtin the xsp 
document and words i get via the url.
 
an 
example:
 
I have got a 
form, where students should be able to apply for a specific exame. wihtin 
this form (a xsp document) there are some explainations of how to use the 
form and what to fill in. characters within these sentences  like ä,ö,ü 
etc. are getting transformed into html perfectly. (so no 
trouble).
 
but:
 
i have got text 
fields where students are able to fill in their names. so if a name uses 
characters like ä,ö,ü etc. these names are transformed inot funny characters 
like e.g. Bößem into Bößem . 

 
i tried to solve 
this problem, by adding to the header of the xsp and xsl document the 
encoding sceme, like , but 
still the same problem.
 
does anyone know 
how to solve this problem.
 
thanks and 
regards



encoding and xsp

2003-03-07 Thread boessem
Title: Nachricht



hi,
 
i do not understand 
why the encoding works different for words i use wihtin the xsp document and 
words i get via the url.
 
an 
example:
 
I have got a form, 
where students should be able to apply for a specific exame. wihtin this form (a 
xsp document) there are some explainations of how to use the form and what to 
fill in. characters within these sentences  like ä,ö,ü etc. are getting 
transformed into html perfectly. (so no trouble).
 
but:
 
i have got text 
fields where students are able to fill in their names. so if a name uses 
characters like ä,ö,ü etc. these names are transformed inot funny characters 
like e.g. Bößem into Bößem . 

 
i tried to solve 
this problem, by adding to the header of the xsp and xsl document the encoding 
sceme, like , but still the 
same problem.
 
does anyone know how 
to solve this problem.
 
thanks and 
regards



encoding problem with xsp pages

2003-03-06 Thread boessem
Title: Nachricht



hi,
 
does anyone know why 
when using xsp or espacially esql, all characters like ä,ö,ü etc. are turned 
into funny characters like Ã(ö).
 
i am trying to 
firgure out why that happens, and what unicode i have to use for languages using 
those characters, like e.g. german.
 
thanks


AW: Problems using the tag

2002-12-03 Thread boessem
Hi,

Thank for answering.

totaly right. My problem in this case is, that i dont want the common
internal server error message, rather than my own, to explain what
mistake took place.

Here is my code, to give you a better idea of what I want. 



insert
into
anmeldung

(studid,matr,vorname,name,email,id,klausur) 
values 

('','','','','','','')


An error
occurred



is there maybe something to change within the pipeling, or some where
else, or is my source code just wrong?

When I do it this way, there is still the same cocoon pre-set error
message.

-Ursprüngliche Nachricht-
Von: Olivier GUCKERT [mailto:[EMAIL PROTECTED]] 
Gesendet: Dienstag, 3. Dezember 2002 14:07
An: [EMAIL PROTECTED]
Betreff: Re: Problems using the  tag

> Hi,

 

> I am working on a simple online registration tool, to register for
exams. That for I have got a mysql database server, to >insert and read
the data.

 

> Within that database I have set a primary key that is made out of lets
say the studentid, and the id from the exam. I have > set it to primary
for the reason, that no double entry
> can be done.

 

> So if a student wants to register to one exam twice, there is an
exception saying, that there is a Duplicate entry for that > field. Now
instead of throwing out the exception within
> cocoon, I want to display something like, “an error occurs” instead”.
That for I used the tag  to give a > different
message than that from cocoon.

If i understand tour problem, you just have to do :


an error occurs




> Could anybody give me a hint how that could be done.

If it doesn't match, you just have to telle me more ...

Olivier GUCKERT

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Problems using the tag

2002-12-03 Thread boessem








Hi,

 

I am working on a simple
online registration tool, to register for exams. That for I have got a mysql database server, to insert and read the data.

 

Within that database I have
set a primary key that is made out of lets say the studentid,
and the id from the exam. I have set it to primary for the reason,
that no double entry can be done.

 

So if a student wants to
register to one exam twice, there is an exception saying, that there is a Duplicate
entry for that field. Now instead of throwing out the exception within cocoon, I
want to display something like, “an error occurs” instead”. That
for I used the tag 
to give a different message than that from cocoon.

 

Could anybody give me a hint
how that could be done.

 

__

Philipp Bößem

Heubnerstraße 10

09599 Freiberg

 

Tel:   03731/449142

Mob: 01794612471

Email: [EMAIL PROTECTED]