calling multiple services in ofbiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
26 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: calling multiple services in ofbiz

Atul Vani
hi Prasanthi,

you can include a menu in a screen using <include-menu ... /> tag
if you have multiple screens that needs same menu then you can also
create a decorator and use it in all those screens

looking at your screenshots i think you might have missed to include the
menu
or for some reason it's not getting included, may be the conditions
aren't fulfilled to include it.

i hope this helps...

--

Thanks & Regards
Atul Vani
Jr. Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/


prasanthi_ofbiz wrote:

> Hi vani,
> I tried to render the page from the Financial Account Transaction screen to
> other screens in the third level menu like Menus.xml#AccountingAppBar, but
> its not able to navigate.
>
>  I think the problem is like its not able to include the submenu which will
> contain the Accounting transaction screen.
> Financial Account is in the CommonScreens.xml where as Accounting
> transaction screen is in Menu.xml
>
> Attached the screens shots of all menu description screen, and the
> navigation screen from Financial Account Transaction to Accounting
> transaction Posting screen
>
> (10:39:57 AM) Shanthi(5375): Hi vani,
> I tried to render the page from the Financial Account Transaction screen to
> other screens in the third level menu like Menus.xml#AccountingAppBar, but
> its not able to navigate.
>
>  I think the problem is like its not able to include the submenu which will
> contain the Accounting transaction screen.
> Financial Account is in the CommonScreens.xml where as Accounting
> transaction screen is in Menu.xml
>
> Attached the screens shots of all menu description screen, and the
> navigation screen from Financial Account Transaction to Accounting
> transaction Posting screen
> http://n4.nabble.com/file/n2219096/menuDescription.png menuDescription.png
>
>
> http://n4.nabble.com/file/n2219096/navigationScreen.png navigationScreen.png
Reply | Threaded
Open this post in threaded view
|

Re: calling multiple services in ofbiz

prasanthi_ofbiz
Hi Vani,
   I tried to include the form there it self earlier only but its giving rendering problem like,
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#FindScreenDecorator]: java.lang.RuntimeException: Error rendering included form named [AccountingAppBar] at location [component://accounting/widget/Menus.xml]: java.lang.NullPointerException (Error rendering included form named [AccountingAppBar] at location [component://accounting/widget/Menus.xml]: java.lang.NullPointerException)

Please let me know what is the problem
Reply | Threaded
Open this post in threaded view
|

Re: calling multiple services in ofbiz

prasanthi_ofbiz
In reply to this post by Atul Vani
Hi Vani,
If I see the view Source then the  After the AccountingAppBar is ended its starting section and ending the section with out including any forms
The Source is like,





Actually this section should include the below two forms


<div class="button-bar tab-bar no-clear">
<ul>
<li>
 <ul>
  <li>Setup</li>

  <li class="selected ">Accounting</li>
 </ul>
</li>
</ul>
 <br class="clear"/>
</div>


<div class="button-bar tab-bar no-clear">
<ul>
<li>
 <ul>

  <li>Summary</li>
  <li>Account Reconciliation</li>
  <li>Account Reconcilled</li>
  <li class="selected ">Accounting Transactions</li>
  <li>Accounting Transactions Entries</li>
  <li>Reports</li>

 </ul>
</li>
</ul>
 <br class="clear"/>
</div>

<div>
 For: Bhubaneswar Municipal Corporation





</div>



Regards,
Prasanthi
Reply | Threaded
Open this post in threaded view
|

Re: calling multiple services in ofbiz

Atul Vani
In reply to this post by prasanthi_ofbiz
prasanthi_ofbiz wrote:

> Hi Vani,
>    I tried to include the form there it self earlier only but its giving
> rendering problem like,
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
> [component://common/widget/CommonScreens.xml#FindScreenDecorator]:
> java.lang.RuntimeException: Error rendering included form named
> [AccountingAppBar] at location [component://accounting/widget/Menus.xml]:
> java.lang.NullPointerException (Error rendering included form named
> [AccountingAppBar] at location [component://accounting/widget/Menus.xml]:
> java.lang.NullPointerException)
>
> Please let me know what is the problem
>  
hi Prasanthi,

there are three different tags

<include-menu/> <include-form/> and <include-screen/>
for including menu, form and screen

"Error rendering included form named [AccountingAppBar] at location
[component://accounting/widget/Menus.xml]"

[AccountingAppBar] is a menu i guess and you are supposed to use
<include-menu/> with it,

i hope that helps.

--
Thanks & Regards
Atul Vani
Jr. Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/

Reply | Threaded
Open this post in threaded view
|

Re: calling multiple services in ofbiz

prasanthi_ofbiz
Hi Vani,
I included the menu also still same problem. Its not navigating to Posting Transaction Screen

Thanks & Regards,
Prasanthi
Reply | Threaded
Open this post in threaded view
|

Re: calling multiple services in ofbiz

prasanthi_ofbiz
In reply to this post by Atul Vani
Hi vani
I tried one more thing like in the EditFinAccountTrans screen I have included one link and given target as EditAcctgTrans then its navigating to the posting screen but why its not working fine in my case?
Help me in this issue...

Regards,
Prasanthi

12