--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/10e55169-629d-42ab-af06-9e5c5d7bdb34%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/e45e83bf-8cb4-46ce-9389-3d6380ea8114%40googlegroups.com.
public Result hello()
{
DynamicForm requestData = formFactory.form().bindFromRequest();
//Long id = requestData.get("id");
String name = requestData.get("name");
return ok("hello"+name);
}
GET /hello controllers.HomeController.hello()
<a class="btn success" id="add" href="@routes.HomeController.hello()">Add a new computer</a>
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/506cae7b-7704-4d56-909e-6dee7802f657%40googlegroups.com.
The "add a new computer" button is an HTML link, which I think originally was meant to render another page to enter in the info for the new item
controllers.HomeController.create()
controllers.HomeController.hello()
public Result hello()
{
DynamicForm requestData = formFactory.form().bindFromRequest();
//Long id = requestData.get("id");
String name = requestData.get("name");
Logger.info("coucou");
return ok("Hello white page "+name);
}
I suspect you want to make that POST an HTML form that submits the information in the body.
DynamicForm
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/2c8a4f34-7b3e-4dfa-863e-540397a6178a%40googlegroups.com.
Hi Greg,
You mean that it is possible to get Requestvalues from <form page> but not from a <list page> ?
I can go too far with "play framework" Because I Worked in various Many EARs (relatives to privates frameworks) and I can tell you That Many customers needs are:
Selecting items >> Execute Action (Such as a scheduled task / Generating Report XLS / PDF / changing a status .... activate a job..etc
I never been a good developer but my purpose is to explore this framework and I get really mad when the simplests things such as:
Input / Output items are difficulties to integrate with Play in page Lists...
Does someone else has an idea abt how to get one or multiple (ids like : ids=500;501;503;504 names=Name500;Name501;Name503;Name504) in the sample : Computer Database please ?
Le samedi 25 juin 2016 15:13:41 UTC, Hannah J Swystun a écrit :Hello,
Can someone help please!
Thank you.
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/8c426177-d9b2-43c0-8f10-4940f4639701%40googlegroups.com.
During my various experiences, I worked on many private and robust Frameworks such as : Sage / SAP / LABVANTAGE...whatever...
I think that the minimum thing that should be well explained is the fact to give beginners or experts More Samples to help them to be familiar with the product.
As an IT consultant, I think that PLAY FRAMEWORK should offers easily the way to get : Input properties & Output Properties and I mean (select/deselect items in a page list), to add also first & second javascript or JQUERY validation because in the final stage, people needs to add Java or Scala Actions for various needs..etc. & unfortunatly ! this is not well explained.
I tried hardly to get <<namessss>> separated by <<;>> in the page list of computer database sample by using this handler but it returns nothing in the final :
My goal is to touch a concrete sample that illustrates the <Data Submitted to the server> from Javascript, jQuery, Angular or whatever ...
This is a good example in HTML, JS that submitted checkedboxes list => However, i have no idea how to get them in my Application.java in the controller ???????
http://www.gyrocode.com/lab/articles/jquery-datatables-checkboxes/serverside.html
When You Said <We-have pretty big Plays A Few apps> ... can you please send me a link Of Those samples please
response().setHeader(Http.HeaderNames.CONTENT_DISPOSITION, "inline; filename=my.pdf");
But that will only work if the browser of the person allows it.
Do I Have to duplicate many times the same form for each new button please ? or there is another option for the other new Button without duplicating !!!!
response().setHeader(Http.HeaderNames.CONTENT_DISPOSITION, "inline; filename=my.pdf");