Form Runner email failure - date

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

Form Runner email failure - date

Nigel Hardy
I am working with orbeon-dev-3.7.1.200905272119 under Vista (also
running apps under XP) using glassfish.

I am trying to get the "workflow-send" feature working from Form Runner.
It fails complaining that the date line in the email is not acceptable.
It seems to be absent. I have solved this by patching
apps/fr/email/email-form.xpl in obeon-form-runner.jar, adding code to
create a Date: header line. (I remember doing this some time ago in an
older version when I was _very_ green with Orbeon). Am I missing
something? Should I be invoking something to get a date generated rather
than hacking?

As a second request - is there any explanation of the semantics of the
value of oxf.fr.detail.send.uri.*.* ? I can get this to work if I give a
URL which is a "directory" (i.e. ends in /) but just pointing at a plain
html file fails. Coupled with the explanation I have of
oxf.fr.detail.send.pdf.*.* I am guessing that this feature is cleverer
that is first apparent.

Nigel Hardy



--
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

nwh.vcf (294 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Form Runner email failure - date

Alessandro Vernet
Administrator
Nigel,

Nigel Hardy wrote
I am trying to get the "workflow-send" feature working from Form Runner.
It fails complaining that the date line in the email is not acceptable.
It seems to be absent. I have solved this by patching
apps/fr/email/email-form.xpl in obeon-form-runner.jar, adding code to
create a Date: header line. (I remember doing this some time ago in an
older version when I was _very_ green with Orbeon). Am I missing
something? Should I be invoking something to get a date generated rather
than hacking?
I will let Erik respond to that part of you question.

Nigel Hardy wrote
As a second request - is there any explanation of the semantics of the
value of oxf.fr.detail.send.uri.*.* ? I can get this to work if I give a
URL which is a "directory" (i.e. ends in /) but just pointing at a plain
html file fails. Coupled with the explanation I have of
oxf.fr.detail.send.pdf.*.* I am guessing that this feature is cleverer
that is first apparent.
See this paragraph about wildcards on the wiki:

http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties#TOC-Wildcards-in-Properties

Is this what you were looking for?

Alex
Reply | Threaded
Open this post in threaded view
|

Re: Re: Form Runner email failure - date

Nigel Hardy
Alessandro Vernet wrote:

> Nigel Hardy wrote:
>  
>> As a second request - is there any explanation of the semantics of the
>> value of oxf.fr.detail.send.uri.*.* ? I can get this to work if I give a
>> URL which is a "directory" (i.e. ends in /) but just pointing at a plain
>> html file fails. Coupled with the explanation I have of
>> oxf.fr.detail.send.pdf.*.* I am guessing that this feature is cleverer
>> that is first apparent.
>>
>>    
>
> See this paragraph about wildcards on the wiki:
>
> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties#TOC-Wildcards-in-Properties
>
> Is this what you were looking for?
>  
Alex,

thanks, but no. I was using the wildcards to generalise my question. It
is the value of these properties (however obtained - wildcarded or
specific) which I do not understand. Must the value of
oxf.fr.detail.send.uri. be a special resource? Empirically, a static web
page is not acceptable.

Nigel



--
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

nwh.vcf (294 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: Form Runner email failure - date

Alessandro Vernet
Administrator
Nigel,

Nigel Hardy wrote
thanks, but no. I was using the wildcards to generalise my question. It
is the value of these properties (however obtained - wildcarded or
specific) which I do not understand. Must the value of
oxf.fr.detail.send.uri. be a special resource? Empirically, a static web
page is not acceptable.
I see. The value of this property is used as the value of the "resource" attribute in an <xforms:submission>. So it has to be a path that your browser can reach, such as /my/path or http://www.google.com/.

Alex
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Form Runner email failure - date

Nigel Hardy
Many thanks, I am am under way with it now.

Nigel

Alessandro Vernet wrote:

> Nigel,
>
>
> Nigel Hardy wrote:
>  
>> thanks, but no. I was using the wildcards to generalise my question. It
>> is the value of these properties (however obtained - wildcarded or
>> specific) which I do not understand. Must the value of
>> oxf.fr.detail.send.uri. be a special resource? Empirically, a static web
>> page is not acceptable.
>>
>>    
>
> I see. The value of this property is used as the value of the "resource"
> attribute in an <xforms:submission>. So it has to be a path that your
> browser can reach, such as /my/path or http://www.google.com/.
>
> Alex
>  


--
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

nwh.vcf (294 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Form Runner email failure - date

Alessandro Vernet
Administrator
Nigel,

Nigel Hardy wrote
Many thanks, I am am under way with it now.
Excellent; I am glad this works.

Alex
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Form Runner email failure - date

Erik Bruchez
Administrator
Nigel,

So do you still have the issue with the date format?

-Erik

On Jun 26, 2009, at 2:52 PM, Alessandro Vernet wrote:

>
> Nigel,
>
>
> Nigel Hardy wrote:
>>
>> Many thanks, I am am under way with it now.
>>
>
> Excellent; I am glad this works.
>
> Alex
>
> -----
> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
> Orbeon's Blog: http://www.orbeon.com/blog/
> Personal Blog: http://avernet.blogspot.com/
> Twitter - http://twitter.com/avernet
> --  
> View this message in context: http://www.nabble.com/Form-Runner-email-failure---date-tp24181871p24227784.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> 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
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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