links in portlet not working

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

links in portlet not working



<xforms:submission id="load-new-form"    action="/forms/detail/WeeklyReport" method="post"/>

   <page id="detail" path-info="/forms/detail/([^/]+)/([^/]*)" matcher="oxf:perl5-matcher"
          default-submission="detail/parameters.xml"
          view="detail/${1}/detail-view.xhtml">
        <setvalue ref="/parameters/form-id" matcher-group="1"/>
        <setvalue ref="/parameters/document-id" matcher-group="2"/>   
    </page>

Thanks
TirupatiReddy
TirupatiReddy
Hi,

   I deployed an application as a portlet in liferay tomcat6 bundle. I added it successfully. When I click any link on that page, it is displaying the same page again though I am referencing to different paths in my page-flow.xml.

The code is:
 
                                <xforms:group>
                                  <xforms:action ev:event="DOMActivate">                                       
                                       <xforms:send submission="load-new-form"/>
                                    </xforms:action>
                                    <xforms:trigger appearance="minimal">
                                        <xforms:label>
                                            <xhtml:img src="../apps/forms/images/add.gif" alt="New Form"/>
                                            <xforms:output  ref="xxforms:instance('resources-instance')//summary/labels/new-form"/>
                                        </xforms:label>
                                    </xforms:trigger>
                                </xforms:group>
                           
Reply | Threaded
Open this post in threaded view
|

Re: links in portlet not working



<xforms:submission id="load-new-form"    action="/forms/detail/WeeklyReport" method="post"/>

   <page id="detail" path-info="/forms/detail/([^/]+)/([^/]*)" matcher="oxf:perl5-matcher"
          default-submission="detail/parameters.xml"
          view="detail/${1}/detail-view.xhtml">
        <setvalue ref="/parameters/form-id" matcher-group="1"/>
        <setvalue ref="/parameters/document-id" matcher-group="2"/>   
    </page>

Thanks
TirupatiReddy
Vinith Gowda1
Instead of using matcher try giving

<page id="detail" path-info="="/forms/detail/WeeklyReport" default-submission="detail/parameters.xml"
          view="detail/<b>foldername/detail-view.xhtml">
        <setvalue ref="/parameters/form-id" matcher-group="1"/>
        <setvalue ref="/parameters/document-id" matcher-group="2"/>   
    </page>


Regards,
Vinith.

TirupatiReddy wrote
Hi,

   I deployed an application as a portlet in liferay tomcat6 bundle. I added it successfully. When I click any link on that page, it is displaying the same page again though I am referencing to different paths in my page-flow.xml.

The code is:
 
                                <xforms:group>
                                  <xforms:action ev:event="DOMActivate">                                       
                                       <xforms:send submission="load-new-form"/>
                                    </xforms:action>
                                    <xforms:trigger appearance="minimal">
                                        <xforms:label>
                                            <xhtml:img src="../apps/forms/images/add.gif" alt="New Form"/>
                                            <xforms:output  ref="xxforms:instance('resources-instance')//summary/labels/new-form"/>
                                        </xforms:label>
                                    </xforms:trigger>
                                </xforms:group>
                           
Reply | Threaded
Open this post in threaded view
|

Re: links in portlet not working

TirupatiReddy
In reply to this post by TirupatiReddy

XForms:load was not working in orbeon3.7 beta version but it is working in orbeon3.7 developer version. So the problem is solved.
Reply | Threaded
Open this post in threaded view
|

Re: Re: links in portlet not working

Erik Bruchez
Administrator
Great to hear!

-Erik

On Jun 2, 2009, at 1:15 PM, TirupatiReddy wrote:

>
>
> XForms:load was not working in orbeon3.7 beta version but it is  
> working in
> orbeon3.7 developer version. So the problem is solved.
> --
> View this message in context: http://www.nabble.com/links-in-portlet-not-working-tp23783588p23839899.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.

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