B4J Question [ABMATERIAL] Tutorials

elitevenkat

Active Member
Licensed User
Longtime User
Hi
I have gone through the frame work and found it very interesting and highly promising tool for web apps
I had got it after making a small donation.
I am very new to B4J and of course to AB. I have some basic doubts to be clarified.
1. Do i have to run Wamp or any otherweb server to make AB web apps work
2. I am able to run the Demo app of AB in B4J (in laptop). I think it seems to be a server app.How do i access it from the browser ? what address i should type in the browser address bar
3 Though the entire frame work is explained beautifully by AB, if some example (complete) project is made available (if it is there kindly provide the link) for easy understanding like Erel's B4J web app example, it can guide beginners like me.
4. Can i use AB in RPi (both for server and client)
 

rboeck

Well-Known Member
Licensed User
Longtime User
Hi, thanks for the directory structure, in mine was the font directory missing - so i copied it from 1.07 demo folder. Currently it looks like that the problem is by missing js files. In my js order are only two files: cookies and cookies.min. I tried to copy the JScript files from 1.07, where are 46 files - but also no success.
My browser is looking for: jquery.stylesheet-animate.min.js, jquery.stylesheet.min.js,b4j_ws.min.js and APlayer.min.js; i cant find it in inside my complete directory structure.

P.S: I have it running now - i have found and copied the js files from the ABMFeedback folder, here are 62 js files, in my js folder are original 2 files...
 
Last edited:
Upvote 0

Harris

Expert
Licensed User
Longtime User
Those files are only in the 1.08 package. Do you have the 1.08 package? and 1.08b that ab released the other day? (both sent to donators via email).

I think the proper ones are in the Folders/Objects/www subdir....

If you don't have a complete 1.08, use 1.07 as is....
 
Upvote 0

Harris

Expert
Licensed User
Longtime User
Sorry,
Wrong folder again....
Try the Library/www folder for new js, css and font subdirs...
 
Upvote 0

Harris

Expert
Licensed User
Longtime User
Sorry,
Wrong folder again....
Try the Library/www folder for new js, css and font subdirs...
This is where the confusion set in....
In prior versions, I used to get these folders from the Template dir... In 1.08, we have several copies of these required js, font and css.
AB has now, and logically so, placed them in the Library dir, along with the new ABMaterial jar and xml...

PLEASE correct me if I am wrong. I was wrong once before, but that was a long time ago... (he he).
 
Upvote 0

rboeck

Well-Known Member
Licensed User
Longtime User
You are correct; now have found the www folder inside the library folder; i did not expect anything further in the library folder than libraries.

Thanks
 
Upvote 0
Top