config/theme/format.xpl?

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

config/theme/format.xpl?

Pascal Heus
Hi:
Have not upgraded OPS for a while and just installed the 20060922
nightly build.
What happened to the /config/theme/format.xpl file? Has this been
removed and replaced by another utility?
The following no longer seems to work in xforms:
            <xforms:bind nodeset="instance('formatted-instance')"
                        calculate="saxon:serialize(xxforms:call-xpl
                            ('oxf:/config/theme/format.xpl', 'data',
instance('instance'), 'data')/*, 'html')"/>
Thanks
*P



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: config/theme/format.xpl?

Ryan Puddephatt
Pascal,
        The format.xpl has moved to ops-private-resources.jar in /lib. Some
changes have been made in the web.xml to allow you to access in the way your
trying to, probably best to do a comparison on your web.xml and the new one
to make the changes

Hope this helps

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

>-----Original Message-----
>From: Pascal Heus [mailto:[hidden email]]
>Sent: 23 September 2006 20:47
>To: [hidden email]
>Subject: [ops-users] config/theme/format.xpl?
>
>Hi:
>Have not upgraded OPS for a while and just installed the
>20060922 nightly build.
>What happened to the /config/theme/format.xpl file? Has this
>been removed and replaced by another utility?
>The following no longer seems to work in xforms:
>            <xforms:bind nodeset="instance('formatted-instance')"
>                        calculate="saxon:serialize(xxforms:call-xpl
>                            ('oxf:/config/theme/format.xpl',
>'data', instance('instance'), 'data')/*, 'html')"/> Thanks *P
>
>



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: config/theme/format.xpl?

Pascal Heus
Ryan:
thanks for the feedback. I actually just found out the new xxforms:serialize() function which is pretty close to what I'm trying to achieve.
Is there a format supported by xxforms:serialize() that would return the source formatted with line wrapping and colors the same way the config/theme/format.xpl used to do?
Something like 'xhtml-formatted'? This would be very useful.
thanks
*P

Ryan Puddephatt wrote:
Pascal,
	The format.xpl has moved to ops-private-resources.jar in /lib. Some
changes have been made in the web.xml to allow you to access in the way your
trying to, probably best to do a comparison on your web.xml and the new one
to make the changes

Hope this helps

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

  
-----Original Message-----
From: Pascal Heus [[hidden email]] 
Sent: 23 September 2006 20:47
To: [hidden email]
Subject: [ops-users] config/theme/format.xpl?

Hi:
Have not upgraded OPS for a while and just installed the 
20060922 nightly build.
What happened to the /config/theme/format.xpl file? Has this 
been removed and replaced by another utility?
The following no longer seems to work in xforms:
           <xforms:bind nodeset="instance('formatted-instance')"
                       calculate="saxon:serialize(xxforms:call-xpl
                           ('oxf:/config/theme/format.xpl', 
'data', instance('instance'), 'data')/*, 'html')"/> Thanks *P


    


  

-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: config/theme/format.xpl?

Ryan Puddephatt
xxforms:serialize() just replaces saxon:serialize() so the you will need to use xxforms:call-xpl() to call the format.xpl like you were using before
 
I agree this would be very good, and make the code much nicer to deal with rather than having to use xxforms:call-xpl()
 
Ryan

Ryan Puddephatt
Software Engineer
 

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com

 


From: Pascal Heus [mailto:[hidden email]]
Sent: 24 September 2006 01:06
To: [hidden email]
Subject: Re: [ops-users] config/theme/format.xpl?

Ryan:
thanks for the feedback. I actually just found out the new xxforms:serialize() function which is pretty close to what I'm trying to achieve.
Is there a format supported by xxforms:serialize() that would return the source formatted with line wrapping and colors the same way the config/theme/format.xpl used to do?
Something like 'xhtml-formatted'? This would be very useful.
thanks
*P

Ryan Puddephatt wrote:
Pascal,
	The format.xpl has moved to ops-private-resources.jar in /lib. Some
changes have been made in the web.xml to allow you to access in the way your
trying to, probably best to do a comparison on your web.xml and the new one
to make the changes

Hope this helps

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

  
-----Original Message-----
From: Pascal Heus [[hidden email]] 
Sent: 23 September 2006 20:47
To: [hidden email]
Subject: [ops-users] config/theme/format.xpl?

Hi:
Have not upgraded OPS for a while and just installed the 
20060922 nightly build.
What happened to the /config/theme/format.xpl file? Has this 
been removed and replaced by another utility?
The following no longer seems to work in xforms:
           <xforms:bind nodeset="instance('formatted-instance')"
                       calculate="saxon:serialize(xxforms:call-xpl
                           ('oxf:/config/theme/format.xpl', 
'data', instance('instance'), 'data')/*, 'html')"/> Thanks *P


    


  

-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

XForms Instance debugging

marc-62
In reply to this post by Ryan Puddephatt
Hi all,

Some times ago (06/06/29) Ryan provides us a nice stylesheet to call in
xforms-epilogue.xpl to debug XML instances.
As some ressources have moved to ops-private-resources.jar, how is it
possible to use these stylesheet in the new OPS version ?

TIA,

--
Marc



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: config/theme/format.xpl?

Erik Bruchez
Administrator
In reply to this post by Pascal Heus
Pascal,

That would be nice, but no we don't have that yet. xxforms:serialize()
is a binding to the saxon:serialize() function. You still have to call
format.xpl to perform formatting, but, as noted, you have to change the
path to oxf:/utils/formatting/format.xpl.

-Erik

Pascal Heus wrote:

> Ryan:
> thanks for the feedback. I actually just found out the new
> xxforms:serialize() function which is pretty close to what I'm trying to
> achieve.
> Is there a format supported by xxforms:serialize() that would return the
> source formatted with line wrapping and colors the same way the
> config/theme/format.xpl used to do?
> Something like 'xhtml-formatted'? This would be very useful.
> thanks
> *P
>
> Ryan Puddephatt wrote:
>> Pascal,
>> The format.xpl has moved to ops-private-resources.jar in /lib. Some
>> changes have been made in the web.xml to allow you to access in the way your
>> trying to, probably best to do a comparison on your web.xml and the new one
>> to make the changes
>>
>> Hope this helps
>>
>> Ryan
>>
>> Ryan Puddephatt
>> Software Engineer
>>
>> Teleflex Group - IT UK
>> 1 Michaelson Square
>> Livingston
>> West Lothian
>> Scotland
>> EH54 7DP
>>
>> e> [hidden email]
>> t> +44(0)1506 407 110
>> f> +44(0)1506 407 108
>>
>>  
>>
>>  
>>> -----Original Message-----
>>> From: Pascal Heus [mailto:[hidden email]]
>>> Sent: 23 September 2006 20:47
>>> To: [hidden email]
>>> Subject: [ops-users] config/theme/format.xpl?
>>>
>>> Hi:
>>> Have not upgraded OPS for a while and just installed the
>>> 20060922 nightly build.
>>> What happened to the /config/theme/format.xpl file? Has this
>>> been removed and replaced by another utility?
>>> The following no longer seems to work in xforms:
>>>            <xforms:bind nodeset="instance('formatted-instance')"
>>>                        calculate="saxon:serialize(xxforms:call-xpl
>>>                            ('oxf:/config/theme/format.xpl',
>>> 'data', instance('instance'), 'data')/*, 'html')"/> Thanks *P
>>>
>>>
>>>    
>>
>>
>>  
>> ------------------------------------------------------------------------
>>
>>
>> --
>> 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
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>  
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: config/theme/format.xpl?

Pascal Heus
Erik:
thanks for the feedback. I unfortunately can't find format.xpl in the 20060922 build. The following bind gives me a org.orbeon.oxf.resources.ResourceNotFoundException.
<xforms:bind nodeset="instance('formatted-instance')" calculate="saxon:serialize(xxforms:call-xpl ('oxf:/utils/formatting/format.xpl', 'data', instance('instance'), 'data')/*, 'html')"/>
I understand from Ryan that it's been moved to ops-resources-private.jar in /lib. Would it then still be accessible through xxforms:call-xpl?
I can always pick it up from  the source CVS and/or just recreate the XPL but I would rather base my code on a standard OPS build.
<p/>

Erik Bruchez wrote:
Pascal,

That would be nice, but no we don't have that yet. xxforms:serialize() is a binding to the saxon:serialize() function. You still have to call format.xpl to perform formatting, but, as noted, you have to change the path to oxf:/utils/formatting/format.xpl.

-Erik

Pascal Heus wrote:
Ryan:
thanks for the feedback. I actually just found out the new xxforms:serialize() function which is pretty close to what I'm trying to achieve.
Is there a format supported by xxforms:serialize() that would return the source formatted with line wrapping and colors the same way the config/theme/format.xpl used to do?
Something like 'xhtml-formatted'? This would be very useful.
thanks
*P

Ryan Puddephatt wrote:
Pascal,
    The format.xpl has moved to ops-private-resources.jar in /lib. Some
changes have been made in the web.xml to allow you to access in the way your
trying to, probably best to do a comparison on your web.xml and the new one
to make the changes

Hope this helps

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

 
-----Original Message-----
From: Pascal Heus [[hidden email]] Sent: 23 September 2006 20:47
To: [hidden email]
Subject: [ops-users] config/theme/format.xpl?

Hi:
Have not upgraded OPS for a while and just installed the 20060922 nightly build.
What happened to the /config/theme/format.xpl file? Has this been removed and replaced by another utility?
The following no longer seems to work in xforms:
           <xforms:bind nodeset="instance('formatted-instance')"
                       calculate="saxon:serialize(xxforms:call-xpl
                           ('oxf:/config/theme/format.xpl', 'data', instance('instance'), 'data')/*, 'html')"/> Thanks *P


   


  ------------------------------------------------------------------------


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
 


------------------------------------------------------------------------


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XForms Instance debugging

Erik Bruchez
Administrator
In reply to this post by marc-62
Marc,

One possibility is to extract the content of ops-resources-private.jar
under you "resources" directory. This will recreate the "ops" and
"config/theme" directories, and you can then modify the files like
before. Even better, I would advise only extracting and modifying
xforms-epilogue.xpl.

Ideally in the future we can make such a feature standard :-)

-Erik

marc wrote:
> Hi all,
>
> Some times ago (06/06/29) Ryan provides us a nice stylesheet to call in
> xforms-epilogue.xpl to debug XML instances.
> As some ressources have moved to ops-private-resources.jar, how is it
> possible to use these stylesheet in the new OPS version ?
>
> TIA,

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: config/theme/format.xpl?

Erik Bruchez
Administrator
In reply to this post by Pascal Heus
Pascal,

My bad, I meant "oxf:/ops/utils/formatting/format.xpl".

Yes, resources in ops.jar are accessible like other resources.

-Erik

Pascal Heus wrote:

> Erik:
> thanks for the feedback. I unfortunately can't find format.xpl in the
> 20060922 build. The following bind gives me a
> org.orbeon.oxf.resources.ResourceNotFoundException.
> <xforms:bind nodeset="instance('formatted-instance')"
> calculate="saxon:serialize(xxforms:call-xpl
> ('oxf:/utils/formatting/format.xpl', 'data', instance('instance'),
> 'data')/*, 'html')"/>
> I understand from Ryan that it's been moved to ops-resources-private.jar
> in /lib. Would it then still be accessible through xxforms:call-xpl?
> I can always pick it up from  the source CVS and/or just recreate the
> XPL but I would rather base my code on a standard OPS build.
> <p/>
>
> Erik Bruchez wrote:
>> Pascal,
>>
>> That would be nice, but no we don't have that yet. xxforms:serialize()
>> is a binding to the saxon:serialize() function. You still have to call
>> format.xpl to perform formatting, but, as noted, you have to change
>> the path to oxf:/utils/formatting/format.xpl.
>>
>> -Erik
>>
>> Pascal Heus wrote:
>>> Ryan:
>>> thanks for the feedback. I actually just found out the new
>>> xxforms:serialize() function which is pretty close to what I'm trying
>>> to achieve.
>>> Is there a format supported by xxforms:serialize() that would return
>>> the source formatted with line wrapping and colors the same way the
>>> config/theme/format.xpl used to do?
>>> Something like 'xhtml-formatted'? This would be very useful.
>>> thanks
>>> *P
>>>
>>> Ryan Puddephatt wrote:
>>>> Pascal,
>>>>     The format.xpl has moved to ops-private-resources.jar in /lib. Some
>>>> changes have been made in the web.xml to allow you to access in the
>>>> way your
>>>> trying to, probably best to do a comparison on your web.xml and the
>>>> new one
>>>> to make the changes
>>>>
>>>> Hope this helps
>>>>
>>>> Ryan
>>>>
>>>> Ryan Puddephatt
>>>> Software Engineer
>>>>
>>>> Teleflex Group - IT UK
>>>> 1 Michaelson Square
>>>> Livingston
>>>> West Lothian
>>>> Scotland
>>>> EH54 7DP
>>>>
>>>> e> [hidden email]
>>>> t> +44(0)1506 407 110
>>>> f> +44(0)1506 407 108
>>>>
>>>>  
>>>>
>>>>  
>>>>> -----Original Message-----
>>>>> From: Pascal Heus [mailto:[hidden email]] Sent: 23 September
>>>>> 2006 20:47
>>>>> To: [hidden email]
>>>>> Subject: [ops-users] config/theme/format.xpl?
>>>>>
>>>>> Hi:
>>>>> Have not upgraded OPS for a while and just installed the 20060922
>>>>> nightly build.
>>>>> What happened to the /config/theme/format.xpl file? Has this been
>>>>> removed and replaced by another utility?
>>>>> The following no longer seems to work in xforms:
>>>>>            <xforms:bind nodeset="instance('formatted-instance')"
>>>>>                        calculate="saxon:serialize(xxforms:call-xpl
>>>>>                            ('oxf:/config/theme/format.xpl', 'data',
>>>>> instance('instance'), 'data')/*, 'html')"/> Thanks *P
>>>>>
>>>>>
>>>>>    
>>>>
>>>>
>>>>  
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>>
>>>> --
>>>> 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
>>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>>>  
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> --
>>> 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
>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> 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
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>  
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: XForms Instance debugging

Ryan Puddephatt
In reply to this post by marc-62
Create the directorys /ops/pfc and copy the xforms-epilogue.xpl from the
ops-private-resources.jar into this folder. You'll need to add the call to
the instance-debugger.xsl, which goes just before the call for the widget
stylesheet

We have this running fine, but you will need to restart tomcat so it pickups
the change between using the jar version and the file version

Hope this helps

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

>-----Original Message-----
>From: marc [mailto:[hidden email]]
>Sent: 25 September 2006 14:22
>To: [hidden email]
>Subject: [ops-users] XForms Instance debugging
>
>Hi all,
>
>Some times ago (06/06/29) Ryan provides us a nice stylesheet
>to call in xforms-epilogue.xpl to debug XML instances.
>As some ressources have moved to ops-private-resources.jar,
>how is it possible to use these stylesheet in the new OPS version ?
>
>TIA,
>
>--
>Marc
>
>



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: config/theme/format.xpl?

Ryan Puddephatt
In reply to this post by Pascal Heus
Pascal,
    It is still possible to call resources that are stored in the jar. I didn't know of the utils directory, but I use oxf:/config/theme/format.xpl if that helps at all?
 
Ryan
 

Ryan Puddephatt
Software Engineer
 

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com

 


From: Pascal Heus [mailto:[hidden email]]
Sent: 25 September 2006 16:40
To: [hidden email]
Subject: Re: [ops-users] config/theme/format.xpl?

Erik:
thanks for the feedback. I unfortunately can't find format.xpl in the 20060922 build. The following bind gives me a org.orbeon.oxf.resources.ResourceNotFoundException.
<xforms:bind nodeset="instance('formatted-instance')" calculate="saxon:serialize(xxforms:call-xpl ('oxf:/utils/formatting/format.xpl', 'data', instance('instance'), 'data')/*, 'html')"/>
I understand from Ryan that it's been moved to ops-resources-private.jar in /lib. Would it then still be accessible through xxforms:call-xpl?
I can always pick it up from  the source CVS and/or just recreate the XPL but I would rather base my code on a standard OPS build.
<p/>

Erik Bruchez wrote:
Pascal,

That would be nice, but no we don't have that yet. xxforms:serialize() is a binding to the saxon:serialize() function. You still have to call format.xpl to perform formatting, but, as noted, you have to change the path to oxf:/utils/formatting/format.xpl.

-Erik

Pascal Heus wrote:
Ryan:
thanks for the feedback. I actually just found out the new xxforms:serialize() function which is pretty close to what I'm trying to achieve.
Is there a format supported by xxforms:serialize() that would return the source formatted with line wrapping and colors the same way the config/theme/format.xpl used to do?
Something like 'xhtml-formatted'? This would be very useful.
thanks
*P

Ryan Puddephatt wrote:
Pascal,
    The format.xpl has moved to ops-private-resources.jar in /lib. Some
changes have been made in the web.xml to allow you to access in the way your
trying to, probably best to do a comparison on your web.xml and the new one
to make the changes

Hope this helps

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

 
-----Original Message-----
From: Pascal Heus [[hidden email]] Sent: 23 September 2006 20:47
To: [hidden email]
Subject: [ops-users] config/theme/format.xpl?

Hi:
Have not upgraded OPS for a while and just installed the 20060922 nightly build.
What happened to the /config/theme/format.xpl file? Has this been removed and replaced by another utility?
The following no longer seems to work in xforms:
           <xforms:bind nodeset="instance('formatted-instance')"
                       calculate="saxon:serialize(xxforms:call-xpl
                           ('oxf:/config/theme/format.xpl', 'data', instance('instance'), 'data')/*, 'html')"/> Thanks *P


   


  ------------------------------------------------------------------------


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
 


------------------------------------------------------------------------


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XForms Instance debugging

marc-62
In reply to this post by Ryan Puddephatt
Erik, Ryan,

Thank you for that. It works.

Is there any benefit/drawback to use the jar version vs the file version ?

--
Marc

Ryan Puddephatt a écrit :

>Create the directorys /ops/pfc and copy the xforms-epilogue.xpl from the
>ops-private-resources.jar into this folder. You'll need to add the call to
>the instance-debugger.xsl, which goes just before the call for the widget
>stylesheet
>
>We have this running fine, but you will need to restart tomcat so it pickups
>the change between using the jar version and the file version
>
>Hope this helps
>  
>



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XForms Instance debugging

Erik Bruchez
Administrator
Marc,

> Thank you for that. It works.
>
> Is there any benefit/drawback to use the jar version vs the file version ?

Not sure if this is your question, but if you make changes to files like
xforms-epilogue.xpl, it is easier to keep them out of the JAR. Also,
modifying them this way will allow OPS to pick-up changes automatically
without restarting. On the other hand the JAR file is easier to deploy.

-Erik

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XForms Instance debugging

marc-62
Erik,

My question was why have you done these changes ? Performance, easy to
deploy... ? Of course I understand the benefit I can have with the file
version to apply some changes.

Thanks,

--
Marc

Erik Bruchez a écrit :

> Marc,
>
>> Thank you for that. It works.
>>
>> Is there any benefit/drawback to use the jar version vs the file
>> version ?
>
>
> Not sure if this is your question, but if you make changes to files
> like xforms-epilogue.xpl, it is easier to keep them out of the JAR.
> Also, modifying them this way will allow OPS to pick-up changes
> automatically without restarting. On the other hand the JAR file is
> easier to deploy.
>
> -Erik
>
>------------------------------------------------------------------------
>
>
>--
>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
>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  
>



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XForms Instance debugging

Erik Bruchez
Administrator
Marc,

The reasons are ease of upgrade, ease of deployment and reduction of
developer confusion (in particular, people were constantly wondering
what this "ops" directory was in their resources).

In addition we want soon to further split this into resources that are
private (only used on the server) and resources that are served to the
client through HTTP.

The particular case of config/theme is probabbly debatable, so we may
reintroduce the "theme" subdirectory at some point, in a way or another.

-Erik

marc wrote:
> Erik,
>
> My question was why have you done these changes ? Performance, easy to
> deploy... ? Of course I understand the benefit I can have with the file
> version to apply some changes.
>
> Thanks,

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws