I'm a liferay beginner and I've been at it for weeks now, but still I'm finding liferay a little hard to use...... especially because of the constraints I'm faced with,, If it's possible can you lend me some of your opinion on my situation?,,,,, to make the story short here it is
I need to make forms using dynamic data list(DDL) first....
After I made the whole site, I'd need to import data into it.. of course those data would have to be viewed using the pre-made DDLs.... this is my problem...
I mean it's really easy to make forms using DDL,,, but after that I need to still make the migrated information viewable and editable in those DDL's
What do you think the right steps should be,, please enlighten me... :(
oh aside from that, I made the DDLs in WCM,,,, how do I approach this problem of mine,, please help
PS the migration I did in eclipse using service builder,,, but the DDLs on the WCM.....
Related
A friend and I decided to code a discord bot in Java, using JDA. The idea is for the bot to give you a request Minecraft recipe (a picture of it). However, we don't want to have to download every single recipe (there are way too many of them). So I was wondering if there's something we can use that would give us the recipes with pictures and everything, like an API or a website that we can access from the Java code that would return something we can use. (No code attached since we haven't really done anything and it would serve no purpose).
I am not sure if an API exists that can do that for you. If the problem is spending the time to download every single recipe I might recommend creating a webscraper that could get that data from you. Getting the images from a site like https://www.minecraftcrafting.info/ would be fairly straight forward using python and beautifulsoup (https://pypi.org/project/beautifulsoup4/). Hope that helps and good luck!
Currently I am working on a program that will assist me for making decisions when trying to bet on sports. My goal is for the program is that each day I would like to retrieve things like weather, past games, player/team stats etc. then aggregate it all so that I can see which teams make the most sense to bet on.
I'm not exactly sure if it's even possible to do on IntelliJ, the text editor I'm using, because I do not think its connected to the internet on its own. I think one approach would be to use a separate program (not IntelliJ) to automatically go to each website and copy the appropriate information into an excel document; then I could copy the file into my project each day before I run it. Something like that is what I have in mind, but I would appreciate some help if anyone knows which strategy I could use to move past this obstacle.
I've recently learned how to and created a GUI to navigate my program a little easier than through the console; therefore, my work ethic is not an barrier in this instance. I've taken one programming class in college and would consider myself an apprentice (one step above a novice).
You can use jsoup for scraping data from a website, Then you can use Apache POI to add it to an excel file.
Heres the website https://jsoup.org/
Heres a good tutorial about apache POI https://www.baeldung.com/java-microsoft-excel
I asked lately how i can access the meta data of a odt file and the most recomended way to do this was using the apache tika library.
I tried finding out how i can use this Libraries in Detail.
Reading through all this stuff I find that this tika service is pretty hard (at least for someone that is new to Programming like me)
So my question is if maybe someone has a link to a side where there is like a step by step tutorial on how to use it or maybe as a different method to do this. I realy dont want you to do my work but i am working so long on this now and did not get this far so i think its time to ask for help here. :(
I want to acces and set only one property of my file which is the "DocumentID".
Thank you for helping and sorry for my maybe bad english but it is not my foreign language.
im starting in a second level of android programation and i want to get some advice and answer about first steps to do my applicaction.
My application needs to put some information in DB (mysql) from the terminal and any other terminal can get these consulting the DB... so i understand i need a BD (mysql) and a webservice to offer the procedures to insert and get data from BD.
I already code the android program and now i need only to upload the information to the BD.
There are my questions for anyone who have some experience and maybe can advice me.
i need a BD like mysql (it's ok??)
to test i installed tomcat 7.0 (it's ok??)
what more i need to do this? i want to do in java, so i need some libraries? other programas? im really lost
I know i ask for alotof things... but if someone know about some tutorial that i can follow to learn, i apreciate it
thank so much!
In java you can find a lot of libraries which can give a solution.I also tried this by using libraries "Ksop" and "json"
You can check Here and Here.Think this will help you.
Ok, Please be gentle and kind. I am taking an Android Programming class in college and its our teachers first semester so he is learning as we are... Nothing against him, he's a good teacher, just doesn't know the answer.
I don't know how to put this in Android/java language so here goes...
Is there a way to use something similar to Includes, in web design, in Android. I am looking to add similar java code from one activity to the next, can i make a file that if i change this one file it will change in all the files its included it.
I know it can be done with the XML files but i couldn't find anything to show that it can be done in the actually coding... but then again i don't know the correct terminology. Please any help would be great. And thank you for taking the time to read and answer me. I apologize if this was somewhere else, I just couldn't find it.. Thanks again
Put anything you wish to "include" in Java classes, then import them. http://leepoint.net/notes-java/language/10basics/import.html
Android Programming class! I would've loved that in University...
Regardless, if you're using Eclipse for your IDE, it should pickup any changes from your java imports automatically. If you choose to refactor other java classes within your project, a rename for example (with "Update All References"), will update all references to that class across your project.
You could also use Maven (dependency management) to pull the latest third-party (or other) .jars at build time, if that's applicable to what your needs are.
:)