Hi,
I have an application similar to bizdoc2. I put a xxforms:link "show-pdf" to every row of the table. It's working very well, but if I hit the same link again, I get wrong data entries in my pdf. Thats not happening, if I refresh the page before using same link again. 1.) So how can I solve that behavior? 2.) Maybe a refresh is what I need after using the link. How can I do that? Here is a snippet of my page-flow: <page id="summary" path-info="/dvz2" model="summary/summary-model.xpl" view="summary/summary-view.xhtml"> <action when="/form/action = 'show-pdf'" action="summary/find-document-action.xpl"> <result page="pdf-detail" transform="oxf:xslt"> <document-id xsl:version="2.0" xmlns=""> <xsl:value-of select="doc('input:action')/document-info/document-id" /> </document-id> </result> </action> </page> <page id="pdf-detail" path-info="/dvz2/pdf-detail" model="summary/pdf-detail.xpl"/> -- 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 |
Administrator
|
Hi,
What do you mean by "the wrong data entries"? What data are you getting, when it is not the data that you expected? Which version of PresentationServer and what browser are you using? Alex On 12/9/05, [hidden email] <[hidden email]> wrote: > Hi, > I have an application similar to bizdoc2. I put a xxforms:link "show-pdf" to every row of the table. It's working very well, but if I hit the same link again, I get wrong data entries in my pdf. Thats not happening, if I refresh the page before using same link again. > > 1.) So how can I solve that behavior? > 2.) Maybe a refresh is what I need after using the link. How can I do that? > > Here is a snippet of my page-flow: > > <page id="summary" path-info="/dvz2" model="summary/summary-model.xpl" view="summary/summary-view.xhtml"> > <action when="/form/action = 'show-pdf'" action="summary/find-document-action.xpl"> > <result page="pdf-detail" transform="oxf:xslt"> > <document-id xsl:version="2.0" xmlns=""> > <xsl:value-of select="doc('input:action')/document-info/document-id" /> > </document-id> > </result> > </action> > </page> > > <page id="pdf-detail" path-info="/dvz2/pdf-detail" model="summary/pdf-detail.xpl"/> > > > > > -- > 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 > > > -- Blog (XML, Web apps, Open Source): 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi,
I am using firefox 1.0.7, ops 3 beta4. When I hit button show-pdf, I get an pdf doc, which I can save or open. Pdf doc should contain data with doc id of the repeate index (It's the same in BizDoc2 example, but using an other pipeline.). When I hit show-pdf first time I get the right data entries in my pdf-doc. But when I hit a second time, I am getting data of first row. It seems that repeat index is lost when using the same button twice (serial). When using in no serial way (hit button 1"pdf-show",2"xml-show",3"pdf-show"), data entries are correct. So what do you think? thanks submission and trigger: <xforms:submission id="main-submission" ref="instance('request-instance')" method="post" action="/dvz2" /> <xforms:trigger appearance="xxforms:link"> <xforms:label>PDF-show</xforms:label> <xforms:action ev:event="DOMActivate"> <xforms:setvalue ref="instance('request-instance')/action">show-pdf</xforms:setvalue> <xforms:setvalue ref="instance('request-instance')/document-id" value="instance('document-infos-instance')/document-info[index('documentInfoRepeat')]/document-id" /> <xforms:setvalue ref="instance('request-instance')/document-name" value="instance('document-infos-instance')/document-info[index('documentInfoRepeat')]/document-name" /> <xforms:send submission="main-submission" /> </xforms:action> </xforms:trigger> -- 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 |
Administrator
|
[hidden email] wrote:
> Hi, > I am using firefox 1.0.7, ops 3 beta4. > When I hit button show-pdf, I get an pdf doc, which I can save or open. Pdf doc should contain data with doc id of the repeate index (It's the same in BizDoc2 example, but using an other pipeline.). > When I hit show-pdf first time I get the right data entries in my pdf-doc. > But when I hit a second time, I am getting data of first row. It seems that repeat index is lost when using the same button twice (serial). > When using in no serial way (hit button 1"pdf-show",2"xml-show",3"pdf-show"), data entries are correct. > So what do you think? That probably a reproducible case is in order ;-) -Erik > thanks > > submission and trigger: > <xforms:submission id="main-submission" ref="instance('request-instance')" method="post" action="/dvz2" /> > <xforms:trigger appearance="xxforms:link"> > <xforms:label>PDF-show</xforms:label> > <xforms:action ev:event="DOMActivate"> > <xforms:setvalue ref="instance('request-instance')/action">show-pdf</xforms:setvalue> > <xforms:setvalue ref="instance('request-instance')/document-id" value="instance('document-infos-instance')/document-info[index('documentInfoRepeat')]/document-id" /> > <xforms:setvalue ref="instance('request-instance')/document-name" value="instance('document-infos-instance')/document-info[index('documentInfoRepeat')]/document-name" /> > <xforms:send submission="main-submission" /> > </xforms:action> > </xforms:trigger> -- 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 |
Hi,
I'm attempting to use OPS 3.0beta4 under Tomcat 5.5.12 with Firefox 1.5: the full ops.war works fine. So I then remove the following subdirectories from resources: doc, example, examples-portal, examples-standalone and init-database; put in my own subdirectory called query and the following page-flow.xml in resources: <config xmlns="http://www.orbeon.com/oxf/controller" xmlns:xu="http://www.xmldb.org/xupdate" xmlns:oxf="http://www.orbeon.com/oxf/processors"> <!-- Files to serve directly --> <files path-info="*.gif"/> <files path-info="*.css"/> <files path-info="*.pdf"/> <files path-info="*.js"/> <files path-info="*.png"/> <files path-info="*.jpg"/> <files path-info="*.html" mime-type="text/html"/> <files path-info="*.java" mime-type="text/plain"/> <files path-info="*.txt" mime-type="text/plain"/> <files path-info="*.xq" mime-type="text/plain"/> <page id="home" path-info="/"/> <!-- Search --> <page id="search" path-info="/search*" model="/query/page-flow.xpl"/> <!-- "Not Found" page displayed when no page matches the request URL --> <page id="not-found" path-info="/not-found" view="/config/not-found.xml"/> <page id="layout-css" path-info="/oxf-theme/orbeon-layout.cssd" model="/oxf-the me/orbeon-layout.xpl"/> <epilogue url="/config/epilogue.xpl"/> <not-found-handler page="not-found"/> </config> The page-flow.xpl in query is just: <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:oxf="http://www.orbeon.com/oxf/processors"> <p:processor name="oxf:page-flow"> <p:input name="controller" href="page-flow.xml"/> </p:processor> </p:config> and page-flow.xml is: <config xmlns="http://www.orbeon.com/oxf/controller" xmlns:xu="http://www.xmldb.org/xupdate"> <page id="search" path-info="/search" view="search.xhtml"/> <epilogue url="oxf:/config/epilogue.xpl"/> </config> Finally search.xhtml is just: <xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:widget="http://orbeon.org/oxf/xml/widget" xmlns:ev="http://www.w3.org/2001/xml-events"> <xhtml:head> <xhtml:title>Search the VOEventNet Nexus</xhtml:title> <xforms:model> <xforms:instance> <form> <identifier/> <document/> </form> </xforms:instance> <xforms:submission id="main" method="post" action="/resolve"/> <xforms:submission id="back" method="post" action="/index"/> </xforms:model> </xhtml:head> <xhtml:body> <xforms:group ref="/form"> <widget:tabs> <widget:tab id="specific" selected="true"> <widget:label>Specific packet</widget:label> <xforms:input ref="identifier"> <xforms:label>Identifier:</xforms:label> </xforms:input> <xforms:trigger> <xforms:label>Retrieve</xforms:label> <xforms:action ev:event="DOMActivate"> <xforms:send submission="main"/> </xforms:action> </xforms:trigger> </widget:tab> <widget:tab id="citation"> <widget:label>Citation</widget:label> <p>This is empty for the moment</p> </widget:tab> </widget:tabs> </xforms:group> </xhtml:body> </xhtml:html> When I go to localhost:8080/ops/search, however, I just get the input box and no tabs. It looks as though the style sheets are not being applied. What am I doing wrong? Cheers, Matthew -- 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 |
Matthew,
You have removed the page-flow which adds the styles, add the below and it should work <page id="layout-css" path-info="/oxf-theme/orbeon-layout.cssd" model="/oxf-the me/orbeon-layout.xpl"/> Ryan Ryan Puddephatt Web Developer TFX Group 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 -----Original Message----- From: Matthew Graham [mailto:[hidden email]] Sent: 14 December 2005 01:02 To: [hidden email] Subject: [ops-users] Problems with OPS 3.0beta4: blank pages Hi, I'm attempting to use OPS 3.0beta4 under Tomcat 5.5.12 with Firefox 1.5: the full ops.war works fine. So I then remove the following subdirectories from resources: doc, example, examples-portal, examples-standalone and init-database; put in my own subdirectory called query and the following page-flow.xml in resources: <config xmlns="http://www.orbeon.com/oxf/controller" xmlns:xu="http://www.xmldb.org/xupdate" xmlns:oxf="http://www.orbeon.com/oxf/processors"> <!-- Files to serve directly --> <files path-info="*.gif"/> <files path-info="*.css"/> <files path-info="*.pdf"/> <files path-info="*.js"/> <files path-info="*.png"/> <files path-info="*.jpg"/> <files path-info="*.html" mime-type="text/html"/> <files path-info="*.java" mime-type="text/plain"/> <files path-info="*.txt" mime-type="text/plain"/> <files path-info="*.xq" mime-type="text/plain"/> <page id="home" path-info="/"/> <!-- Search --> <page id="search" path-info="/search*" model="/query/page-flow.xpl"/> <!-- "Not Found" page displayed when no page matches the request URL --> <page id="not-found" path-info="/not-found" view="/config/not-found.xml"/> <page id="layout-css" path-info="/oxf-theme/orbeon-layout.cssd" model="/oxf-the me/orbeon-layout.xpl"/> <epilogue url="/config/epilogue.xpl"/> <not-found-handler page="not-found"/> </config> The page-flow.xpl in query is just: <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:oxf="http://www.orbeon.com/oxf/processors"> <p:processor name="oxf:page-flow"> <p:input name="controller" href="page-flow.xml"/> </p:processor> </p:config> and page-flow.xml is: <config xmlns="http://www.orbeon.com/oxf/controller" xmlns:xu="http://www.xmldb.org/xupdate"> <page id="search" path-info="/search" view="search.xhtml"/> <epilogue url="oxf:/config/epilogue.xpl"/> </config> Finally search.xhtml is just: <xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:widget="http://orbeon.org/oxf/xml/widget" xmlns:ev="http://www.w3.org/2001/xml-events"> <xhtml:head> <xhtml:title>Search the VOEventNet Nexus</xhtml:title> <xforms:model> <xforms:instance> <form> <identifier/> <document/> </form> </xforms:instance> <xforms:submission id="main" method="post" action="/resolve"/> <xforms:submission id="back" method="post" action="/index"/> </xforms:model> </xhtml:head> <xhtml:body> <xforms:group ref="/form"> <widget:tabs> <widget:tab id="specific" selected="true"> <widget:label>Specific packet</widget:label> <xforms:input ref="identifier"> <xforms:label>Identifier:</xforms:label> </xforms:input> <xforms:trigger> <xforms:label>Retrieve</xforms:label> <xforms:action ev:event="DOMActivate"> <xforms:send submission="main"/> </xforms:action> </xforms:trigger> </widget:tab> <widget:tab id="citation"> <widget:label>Citation</widget:label> <p>This is empty for the moment</p> </widget:tab> </widget:tabs> </xforms:group> </xhtml:body> </xhtml:html> When I go to localhost:8080/ops/search, however, I just get the input box and no tabs. It looks as though the style sheets are not being applied. What am I doing wrong? Cheers, Matthew -- 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 |
Administrator
|
Ryan, this is no longer need with beta 4: we now generate static CSS
files as part of the build process. -Erik Ryan Puddephatt wrote: > Matthew, > You have removed the page-flow which adds the styles, add the below > and it should work > > <page id="layout-css" path-info="/oxf-theme/orbeon-layout.cssd" > model="/oxf-the > me/orbeon-layout.xpl"/> > > Ryan > > Ryan Puddephatt > Web Developer > TFX Group > 1 Michaelson Square > Livingston > West Lothian > Scotand > EH54 7DP > > * [hidden email] > ( 01506 407 110 > 7 01506 407 108 > > > -----Original Message----- > From: Matthew Graham [mailto:[hidden email]] > Sent: 14 December 2005 01:02 > To: [hidden email] > Subject: [ops-users] Problems with OPS 3.0beta4: blank pages > > Hi, > > I'm attempting to use OPS 3.0beta4 under Tomcat 5.5.12 with Firefox 1.5: > the full ops.war works fine. So I then remove the following > subdirectories from resources: doc, example, examples-portal, > examples-standalone and init-database; put in my own subdirectory called > query and the following page-flow.xml in resources: > > <config xmlns="http://www.orbeon.com/oxf/controller" > xmlns:xu="http://www.xmldb.org/xupdate" > xmlns:oxf="http://www.orbeon.com/oxf/processors"> > > <!-- Files to serve directly --> > <files path-info="*.gif"/> > <files path-info="*.css"/> > <files path-info="*.pdf"/> > <files path-info="*.js"/> > <files path-info="*.png"/> > <files path-info="*.jpg"/> > <files path-info="*.html" mime-type="text/html"/> > <files path-info="*.java" mime-type="text/plain"/> > <files path-info="*.txt" mime-type="text/plain"/> > <files path-info="*.xq" mime-type="text/plain"/> > > <page id="home" path-info="/"/> > > <!-- Search --> > <page id="search" path-info="/search*" model="/query/page-flow.xpl"/> > > <!-- "Not Found" page displayed when no page matches the request URL --> > <page id="not-found" path-info="/not-found" > view="/config/not-found.xml"/> > > <page id="layout-css" path-info="/oxf-theme/orbeon-layout.cssd" > model="/oxf-the > me/orbeon-layout.xpl"/> > > <epilogue url="/config/epilogue.xpl"/> > <not-found-handler page="not-found"/> > > </config> > > > The page-flow.xpl in query is just: > > <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" > xmlns:oxf="http://www.orbeon.com/oxf/processors"> > > <p:processor name="oxf:page-flow"> > <p:input name="controller" href="page-flow.xml"/> > </p:processor> > > </p:config> > > and page-flow.xml is: > > <config xmlns="http://www.orbeon.com/oxf/controller" > xmlns:xu="http://www.xmldb.org/xupdate"> > > <page id="search" path-info="/search" view="search.xhtml"/> > > <epilogue url="oxf:/config/epilogue.xpl"/> > </config> > > Finally search.xhtml is just: > > <xhtml:html > xmlns:xforms="http://www.w3.org/2002/xforms" > xmlns:xhtml="http://www.w3.org/1999/xhtml" > xmlns:widget="http://orbeon.org/oxf/xml/widget" > xmlns:ev="http://www.w3.org/2001/xml-events"> > <xhtml:head> > <xhtml:title>Search the VOEventNet Nexus</xhtml:title> > <xforms:model> > <xforms:instance> > <form> > <identifier/> > <document/> > </form> > </xforms:instance> > <xforms:submission id="main" method="post" action="/resolve"/> > <xforms:submission id="back" method="post" action="/index"/> > </xforms:model> > </xhtml:head> > <xhtml:body> > <xforms:group ref="/form"> > <widget:tabs> > <widget:tab id="specific" selected="true"> > <widget:label>Specific packet</widget:label> > <xforms:input ref="identifier"> > <xforms:label>Identifier:</xforms:label> > </xforms:input> > <xforms:trigger> > <xforms:label>Retrieve</xforms:label> > <xforms:action ev:event="DOMActivate"> > <xforms:send submission="main"/> > </xforms:action> > </xforms:trigger> > </widget:tab> > <widget:tab id="citation"> > <widget:label>Citation</widget:label> > <p>This is empty for the moment</p> > </widget:tab> > </widget:tabs> > </xforms:group> > </xhtml:body> > </xhtml:html> > > When I go to localhost:8080/ops/search, however, I just get the input > box and no tabs. It looks as though the style sheets are not being > applied. What am I doing wrong? > > Cheers, > > Matthew > > > > > > ------------------------------------------------------------------------ > > > -- > 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 |
Ok Erik, Thanks I'll remove that from my Page-Flow!
Ryan Puddephatt Web Developer TFX Group 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: 14 December 2005 16:06 To: [hidden email] Subject: Re: [ops-users] Problems with OPS 3.0beta4: blank pages Ryan, this is no longer need with beta 4: we now generate static CSS files as part of the build process. -Erik Ryan Puddephatt wrote: > Matthew, > You have removed the page-flow which adds the styles, add the below > and it should work > > <page id="layout-css" path-info="/oxf-theme/orbeon-layout.cssd" > model="/oxf-the > me/orbeon-layout.xpl"/> > > Ryan > > Ryan Puddephatt > Web Developer > TFX Group > 1 Michaelson Square > Livingston > West Lothian > Scotand > EH54 7DP > > * [hidden email] > ( 01506 407 110 > 7 01506 407 108 > > > -----Original Message----- > From: Matthew Graham [mailto:[hidden email]] > Sent: 14 December 2005 01:02 > To: [hidden email] > Subject: [ops-users] Problems with OPS 3.0beta4: blank pages > > Hi, > > I'm attempting to use OPS 3.0beta4 under Tomcat 5.5.12 with Firefox 1.5: > the full ops.war works fine. So I then remove the following > subdirectories from resources: doc, example, examples-portal, > examples-standalone and init-database; put in my own subdirectory called > query and the following page-flow.xml in resources: > > <config xmlns="http://www.orbeon.com/oxf/controller" > xmlns:xu="http://www.xmldb.org/xupdate" > xmlns:oxf="http://www.orbeon.com/oxf/processors"> > > <!-- Files to serve directly --> > <files path-info="*.gif"/> > <files path-info="*.css"/> > <files path-info="*.pdf"/> > <files path-info="*.js"/> > <files path-info="*.png"/> > <files path-info="*.jpg"/> > <files path-info="*.html" mime-type="text/html"/> > <files path-info="*.java" mime-type="text/plain"/> > <files path-info="*.txt" mime-type="text/plain"/> > <files path-info="*.xq" mime-type="text/plain"/> > > <page id="home" path-info="/"/> > > <!-- Search --> > <page id="search" path-info="/search*" model="/query/page-flow.xpl"/> > > <!-- "Not Found" page displayed when no page matches the request URL > <page id="not-found" path-info="/not-found" > view="/config/not-found.xml"/> > > <page id="layout-css" path-info="/oxf-theme/orbeon-layout.cssd" > model="/oxf-the > me/orbeon-layout.xpl"/> > > <epilogue url="/config/epilogue.xpl"/> > <not-found-handler page="not-found"/> > > </config> > > > The page-flow.xpl in query is just: > > <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" > xmlns:oxf="http://www.orbeon.com/oxf/processors"> > > <p:processor name="oxf:page-flow"> > <p:input name="controller" href="page-flow.xml"/> > </p:processor> > > </p:config> > > and page-flow.xml is: > > <config xmlns="http://www.orbeon.com/oxf/controller" > xmlns:xu="http://www.xmldb.org/xupdate"> > > <page id="search" path-info="/search" view="search.xhtml"/> > > <epilogue url="oxf:/config/epilogue.xpl"/> > </config> > > Finally search.xhtml is just: > > <xhtml:html > xmlns:xforms="http://www.w3.org/2002/xforms" > xmlns:xhtml="http://www.w3.org/1999/xhtml" > xmlns:widget="http://orbeon.org/oxf/xml/widget" > xmlns:ev="http://www.w3.org/2001/xml-events"> > <xhtml:head> > <xhtml:title>Search the VOEventNet Nexus</xhtml:title> > <xforms:model> > <xforms:instance> > <form> > <identifier/> > <document/> > </form> > </xforms:instance> > <xforms:submission id="main" method="post" action="/resolve"/> > <xforms:submission id="back" method="post" action="/index"/> > </xforms:model> > </xhtml:head> > <xhtml:body> > <xforms:group ref="/form"> > <widget:tabs> > <widget:tab id="specific" selected="true"> > <widget:label>Specific packet</widget:label> > <xforms:input ref="identifier"> > <xforms:label>Identifier:</xforms:label> > </xforms:input> > <xforms:trigger> > <xforms:label>Retrieve</xforms:label> > <xforms:action ev:event="DOMActivate"> > <xforms:send submission="main"/> > </xforms:action> > </xforms:trigger> > </widget:tab> > <widget:tab id="citation"> > <widget:label>Citation</widget:label> > <p>This is empty for the moment</p> > </widget:tab> > </widget:tabs> > </xforms:group> > </xhtml:body> > </xhtml:html> > > When I go to localhost:8080/ops/search, however, I just get the input > box and no tabs. It looks as though the style sheets are not being > applied. What am I doing wrong? > > Cheers, > > Matthew > > > > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] > 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 |
Administrator
|
You just have to make sure that your theme is doing what the default
them is doing: <xhtml:link rel="stylesheet" href="/config/theme/xforms.css" type="text/css"/> <xhtml:link rel="stylesheet" href="/config/theme/orbeon.css" type="text/css"/> instead of referring to orbeon-layout.cssd. -Erik Ryan Puddephatt wrote: > Ok Erik, Thanks I'll remove that from my Page-Flow! > > Ryan Puddephatt > Web Developer > TFX Group > 1 Michaelson Square > Livingston > West Lothian > Scotand > EH54 7DP > > * [hidden email] > ( 01506 407 110 > 7 01506 407 108 > > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > Sent: 14 December 2005 16:06 > To: [hidden email] > Subject: Re: [ops-users] Problems with OPS 3.0beta4: blank pages > > Ryan, this is no longer need with beta 4: we now generate static CSS > files as part of the build process. > > -Erik > > Ryan Puddephatt wrote: > >>Matthew, >> You have removed the page-flow which adds the styles, add the below >>and it should work >> >><page id="layout-css" path-info="/oxf-theme/orbeon-layout.cssd" >>model="/oxf-the >>me/orbeon-layout.xpl"/> >> >>Ryan >> >>Ryan Puddephatt >>Web Developer >>TFX Group >>1 Michaelson Square >>Livingston >>West Lothian >>Scotand >>EH54 7DP >> >>* [hidden email] >>( 01506 407 110 >>7 01506 407 108 >> >> >>-----Original Message----- >>From: Matthew Graham [mailto:[hidden email]] >>Sent: 14 December 2005 01:02 >>To: [hidden email] >>Subject: [ops-users] Problems with OPS 3.0beta4: blank pages >> >>Hi, >> >>I'm attempting to use OPS 3.0beta4 under Tomcat 5.5.12 with Firefox 1.5: >>the full ops.war works fine. So I then remove the following >>subdirectories from resources: doc, example, examples-portal, >>examples-standalone and init-database; put in my own subdirectory called >>query and the following page-flow.xml in resources: >> >><config xmlns="http://www.orbeon.com/oxf/controller" >> xmlns:xu="http://www.xmldb.org/xupdate" >> xmlns:oxf="http://www.orbeon.com/oxf/processors"> >> >> <!-- Files to serve directly --> >> <files path-info="*.gif"/> >> <files path-info="*.css"/> >> <files path-info="*.pdf"/> >> <files path-info="*.js"/> >> <files path-info="*.png"/> >> <files path-info="*.jpg"/> >> <files path-info="*.html" mime-type="text/html"/> >> <files path-info="*.java" mime-type="text/plain"/> >> <files path-info="*.txt" mime-type="text/plain"/> >> <files path-info="*.xq" mime-type="text/plain"/> >> >> <page id="home" path-info="/"/> >> >> <!-- Search --> >> <page id="search" path-info="/search*" model="/query/page-flow.xpl"/> >> >> <!-- "Not Found" page displayed when no page matches the request URL > > --> > >> <page id="not-found" path-info="/not-found" >>view="/config/not-found.xml"/> >> >> <page id="layout-css" path-info="/oxf-theme/orbeon-layout.cssd" >>model="/oxf-the >>me/orbeon-layout.xpl"/> >> >> <epilogue url="/config/epilogue.xpl"/> >> <not-found-handler page="not-found"/> >> >></config> >> >> >>The page-flow.xpl in query is just: >> >><p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" >> xmlns:oxf="http://www.orbeon.com/oxf/processors"> >> >> <p:processor name="oxf:page-flow"> >> <p:input name="controller" href="page-flow.xml"/> >> </p:processor> >> >></p:config> >> >>and page-flow.xml is: >> >><config xmlns="http://www.orbeon.com/oxf/controller" >> xmlns:xu="http://www.xmldb.org/xupdate"> >> >> <page id="search" path-info="/search" view="search.xhtml"/> >> >> <epilogue url="oxf:/config/epilogue.xpl"/> >></config> >> >>Finally search.xhtml is just: >> >><xhtml:html >> xmlns:xforms="http://www.w3.org/2002/xforms" >> xmlns:xhtml="http://www.w3.org/1999/xhtml" >> xmlns:widget="http://orbeon.org/oxf/xml/widget" >> xmlns:ev="http://www.w3.org/2001/xml-events"> >> <xhtml:head> >> <xhtml:title>Search the VOEventNet Nexus</xhtml:title> >> <xforms:model> >> <xforms:instance> >> <form> >> <identifier/> >> <document/> >> </form> >> </xforms:instance> >> <xforms:submission id="main" method="post" action="/resolve"/> >> <xforms:submission id="back" method="post" action="/index"/> >> </xforms:model> >> </xhtml:head> >> <xhtml:body> >> <xforms:group ref="/form"> >> <widget:tabs> >> <widget:tab id="specific" selected="true"> >> <widget:label>Specific packet</widget:label> >> <xforms:input ref="identifier"> >> <xforms:label>Identifier:</xforms:label> >> </xforms:input> >> <xforms:trigger> >> <xforms:label>Retrieve</xforms:label> >> <xforms:action ev:event="DOMActivate"> >> <xforms:send submission="main"/> >> </xforms:action> >> </xforms:trigger> >> </widget:tab> >> <widget:tab id="citation"> >> <widget:label>Citation</widget:label> >> <p>This is empty for the moment</p> >> </widget:tab> >> </widget:tabs> >> </xforms:group> >> </xhtml:body> >></xhtml:html> >> >>When I go to localhost:8080/ops/search, however, I just get the input >>box and no tabs. It looks as though the style sheets are not being >>applied. What am I doing wrong? >> >> Cheers, >> >> Matthew >> >> >> >> >> >>------------------------------------------------------------------------ >> >> >>-- >>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 |
Free forum by Nabble | Edit this page |