loicdescotte / play2-html5tags Goto Github PK
View Code? Open in Web Editor NEWHTML5 form tags module for Play Framework
HTML5 form tags module for Play Framework
I am currently using bootstrap forms, so along with that I am using the play twitter bootstrap field helper. Can I utilize this with the twitter bootstrap? Or would the code need to be modified to support that? Thanks!
Hello,
Is it possible to manage attributes AngularJS ?
A+
In line 16 of Html5Templates.scala, findType checks for "constraint.max" twice instead of checking for "constraint.min".
Hi,
In order to translate my app, I haven't found any clue about the key of the "invalid value" error string which is thrown when everything is entered in the @Number input except numbers ?
I'm using play 2.0.4 and the dependency can't be found.
copy pasted the repo url and dependency from the readme file so no typos or something like that...
also, is this intended as a play 2.x plugin or just for 2.1.x?
[warn] ==== github repo for html5tags: tried
[warn] http://loicdescotte.github.com/releases/com.loicdescotte.coffeebean/html5tags_2.10/1.0-RC1/ivys/ivy.xml
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.loicdescotte.coffeebean#html5tags_2.10;1.0-RC1: not found
Can you please add support for decimal number..
Example:
@column(nullable = false, scale = 2, precision = 5)
@Constraints.Required
@Constraints.Min(0)
public BigDecimal price;
and
@Number(field = myForm("price"), args = 'placeholder -> "Price", '_label -> "Price")
would render something like this..
or
Please add a license file or license text so that users know under what conditions they can use this module.
I am trying to update my application to Play 2.3.3, but the library is not pulling down. So I tried to downgrade to 2.3.1 incase it was compiled against a version and that didn't work.
This is in my build.sbt:
"com.loicdescotte.coffeebean" %% "html5tags" % "1.2.1",
"github repo for html5tags" at "http://loicdescotte.github.io/Play2-HTML5Tags/releases/",
But this throws the following error:
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.loicdescotte.coffeebean#html5tags_2.11;1.2.1: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: com.loicdescotte.coffeebean#html5tags_2.11;1.2.1: not found
at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:217)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:126)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:125)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:115)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:115)
at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:103)
at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:48)
at sbt.IvySbt$$anon$3.call(Ivy.scala:57)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:98)
at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:81)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:102)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:62)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:52)
at xsbt.boot.Locks$.apply0(Locks.scala:31)
at xsbt.boot.Locks$.apply(Locks.scala:28)
at sbt.IvySbt.withDefaultLogger(Ivy.scala:57)
at sbt.IvySbt.withIvy(Ivy.scala:98)
at sbt.IvySbt.withIvy(Ivy.scala:94).....
Any thoughts on what I am diong wrong?
hi,
I want to use play2-html5tags with spray1.3.1 and twirl, not with play2, Can play2-html5tags support this?
Thanks
Best Rgards
tiGer
Current version is not compatible with Play 2.4 because of changes in the template engine.
See https://www.playframework.com/documentation/2.4.x/Migration24
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.