Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3353

Use Util class in WEbide

$
0
0

Hi experts,

 

Its my first time using sapui5 in combination with webide. Developing applications in eclipse/deploy to the gateway system is no problem.

I have the following problem:

 

I have  an xml view containing a table, i want to format one column with a formatter in Formatter.js file under util folder.

I get the error that function does not exits.

 

The sturucture of my project is as follows:

                  index.html

                  component.js

                  MyRouter.js

                  i18n ( folder )

                  view ( folder : here i have my views and controllers)

                  util ( folder : here i put the Formatter.js file ).

 

 

 

In my view i have the following code  tof rmat 1 column :

 

            <cells>        

              <Text text="{path:'StartDate', formatter:'com.xx.tasklist.util.Formatter.formatDate'}" />       

          </cells>

          So, i get the error FormatDate doesnot exists.

 

    The same code/project in eclipse is working fine.

 

Any body suggestion/tips? any working code within a project with such structure i have?

 

Thanks & Regards

Moo


Viewing all articles
Browse latest Browse all 3353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>