Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

master -> Lift 30 merge #1512

Merged
merged 113 commits into from
Jan 22, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
1c56bf9
Fix spelling mistake in supplimentalKidMenuItems
nafg Feb 20, 2013
f9ce11a
Implementation of onEventIf, a version of onEvent guarded by confirm().
farmdawgnation May 14, 2013
b6155e7
Issue #1453: LAFuture.collect crashes when futures are resolved out o…
tuhlmann May 25, 2013
6363f72
Merge pull request #1453 from lift/uhl_issue_1453
dpp May 27, 2013
2307df3
Merge pull request #1450 from lift/msf_issue_1450
dpp May 30, 2013
5169861
Null testing for headers. Closes #1452
dpp May 30, 2013
afc9487
Closes #1455. Finer grained sync
dpp May 30, 2013
820a15d
Fixed a real deadlock
dpp Jun 2, 2013
ee08fbd
Fix typo when constructing secured multi options
pbrant Jun 4, 2013
538e694
A few CSS parser robustness improvements
pbrant May 29, 2013
adbee44
Merge pull request #1459 from lift/pmb_cssparser
dpp Jun 4, 2013
ac00240
Merge pull request #1458 from lift/pmb_multiselectfix
dpp Jun 4, 2013
497ddba
Tweak deprecated information for supplimentalKidMenuItems.
farmdawgnation Jun 5, 2013
0e0732e
Merge pull request #1445 from lift/nafg/supplimental
farmdawgnation Jun 5, 2013
4090d0e
Replaced many HashMap with ConcurrentHashMap
dpp Jun 7, 2013
0373f17
Fix an edge case for HTML5 -> ByteStream
dpp Jun 11, 2013
18c6fc7
Added the Markdown package
dpp Jun 10, 2013
af2c94f
Issue #1400 - Add Joda Time support to MongoRecord
eltimn Jun 18, 2013
ec5893a
Issue #1349 - Add createdAt function to ObjectIdField
eltimn Jun 19, 2013
37121fb
Issue #1411 - dirty_? flag in Record and Meta as in Mapper
eltimn Jun 19, 2013
9849d5b
Replaced all uses of MongoId with ObjectIdPk in test code.
eltimn Jun 19, 2013
c40847c
Issue #1348 - Add lifecycle callbacks to MongoMetaRecord.update
eltimn Jun 19, 2013
2e17903
Minor cleanup re PR feedback
eltimn Jun 20, 2013
dee1408
Merge pull request #1463 from lift/tcn_issue_1400
fmpwizard Jun 21, 2013
a2b5952
Merge pull request #1464 from lift/tcn_issue_1349
fmpwizard Jun 21, 2013
8325fab
Updated mongo-java-driver to v2.11.2
eltimn Jun 25, 2013
9da1753
Add specs for mock actors.
farmdawgnation Jun 29, 2013
20e6803
Implement MockSpecializedLiftActor and MockLiftActor.
farmdawgnation Jun 29, 2013
6a301fb
Expose the mailbox of a Mock*LiftActor via the messages method.
farmdawgnation Jul 1, 2013
0238c4d
Made run-mode auto-detection customisable.
japgolly Jun 24, 2013
b2a751b
Use test run-mode when running tests from ScalaTest or IDEA.
japgolly Jun 27, 2013
75a4a1d
Signed contributors.md
japgolly Jun 27, 2013
fb725ca
Split PropertyWithModificationCondition.set() into multiple lines and…
japgolly Jun 28, 2013
6d70b8d
Removed PropertyWithModificationCondition.
japgolly Jul 3, 2013
aad79b5
Added tests for run-mode property modification.
japgolly Jul 3, 2013
de223e6
Moved Mailer's inner classes from trait to object.
japgolly Jul 1, 2013
068b19e
Fixed MailerSpec after moving Mailer inner classes from trait to object.
japgolly Jul 3, 2013
72c881b
Created observable future creation
dpp Mar 14, 2013
ed4331a
Fixed a minor issue
dpp Mar 14, 2013
82842a6
scala 2.9.x doesn't like this tail rec annotation, but it works fine …
fmpwizard Jul 13, 2013
0d98bf8
withFilter on JValue to rid warnings on for-comprehensions
hedefalk Jul 15, 2013
3acf0c6
fixed timezone spec
hedefalk Jul 17, 2013
b401fcb
Merge pull request #1472 from hedefalk/master
fmpwizard Jul 17, 2013
1b65cca
Add ValueSnippets LocParam, generalizes Snippet, LocSnippets, Dispatc…
nafg Feb 20, 2013
024facf
Simplify Loc.Snippet.apply overload disambiguation
nafg Feb 20, 2013
89e79ff
More cleanup
nafg May 12, 2013
9dc5bdb
Adds \;name for data-name selector. Adds "1 \[href\]" to only apply c…
dpp Feb 19, 2013
3dd4523
Use the "^" character to select the head element.
farmdawgnation Feb 19, 2013
30fa7b6
Fixed failing test for the css selector (select first match)
fmpwizard Jul 28, 2013
385ddab
fixed #1250 - HTTP OPTIONS verb support
fmpwizard Jul 26, 2013
5753875
Addressed Matt's comments
fmpwizard Jul 28, 2013
c81db2f
To be consistent I changed a few `def` for `val` and removed two println
fmpwizard Jul 28, 2013
544cbd1
fixed issue #1456 - Deprecate .is on mapper and fix the one on Record
fmpwizard Jul 28, 2013
8ccaa27
Removed about a million warnings after deprecating .is from Record an…
fmpwizard Jul 28, 2013
314f84e
fixed #1291 - SHtml.ajaxSelect doesn't serialize ampersands (&) corre…
fmpwizard Jul 28, 2013
7636751
fixed #1465 - Lift could annotate type of primaryKeyField as a workar…
fmpwizard Jul 29, 2013
6e3523e
Add support for X-Frame-Options
dpp Aug 2, 2013
b51eebe
fixed #1014 - A new CreatedResponse that takes JSON
fmpwizard Jul 28, 2013
e15855c
Added support for html5 templates in the test framework
fmpwizard Jul 29, 2013
c746251
fixed #1457 - Make LiftRules use the html5 parser by default
fmpwizard Jul 29, 2013
3933d8c
Fixed failing tests related to now using html5 as the default format
fmpwizard Jul 29, 2013
511a30e
Fixed the ToHeadUsages tests related to using the new html5 parser
fmpwizard Jul 29, 2013
0c24719
Closes #1126. Swallows an inner <a> for Menu.item
dpp Jan 9, 2012
2837094
We don't want to use eventually here, as it will keep sending an `Add…
fmpwizard Aug 8, 2013
b4e9743
updated readme to use 2.5.1 instead of 2.4
fmpwizard Aug 8, 2013
edd5fca
Revert "Use ThreadLocalRandom in StringHelpers.randomString on Java 7."
Shadowfiend Aug 12, 2013
4bff9c7
Fixed path in Menu
hedefalk Aug 8, 2013
f1b5bcf
removed unnescessary allocations
hedefalk Aug 8, 2013
908c37b
cleanup
hedefalk Aug 8, 2013
9167ff0
removed unnescessary structural typing hack
hedefalk Aug 8, 2013
dd7efd3
closes #1481 - [Breaking change] - Remove ActorWatcher from Lift 2.6
fmpwizard Aug 8, 2013
d7d1cd0
Fixed #1473 - SqlServerBaseDriver should set brokenLimit_? to true
fmpwizard Aug 9, 2013
feb1592
Fixed #1157 - BasicTypesHelpers.toBoolean("on") returns false
fmpwizard Aug 9, 2013
55453e4
Update comments in ListHelpers to refer to Box, not can.
Shadowfiend Aug 12, 2013
49dcb89
Upgraded to sbt 0.12.4
fmpwizard Aug 14, 2013
c0be185
Revert "removed unnescessary structural typing hack"
fmpwizard Aug 24, 2013
efcd5b9
Remove source directive from the scalatest library
dpp Aug 14, 2013
d1ab0ff
correctly escape end script tags
dpp Aug 26, 2013
8d42eb8
Name existing S.ieMode to S.legacyIeCompatibilityMode.
farmdawgnation Sep 2, 2013
cc91fee
Include user agent calculation functions in S.
farmdawgnation Sep 2, 2013
de14652
Add helpers for detecting IE10/11.
farmdawgnation Sep 2, 2013
3a1254b
IE < 6 still counts as IE.
farmdawgnation Sep 2, 2013
20fecab
Comments should reflect reality: update IE compat comments.
farmdawgnation Sep 2, 2013
244af80
Simplify Loc.doesMatch_?
farmdawgnation Sep 14, 2013
080dfc8
Add and implement the MatchWithoutCurrentValue LocParam.
farmdawgnation Sep 14, 2013
5654beb
Add specs to prove MatchWithoutCurrentValue works as expected.
farmdawgnation Sep 14, 2013
d18c6ef
Add an example of using MatchWithoutCurrentValue with IfValue.
farmdawgnation Sep 14, 2013
6407aa4
Add centralized handling for parameters not mapped to Lift functions.
Shadowfiend Aug 14, 2013
518b137
Strip a no-longer-relevant warning about synchronization.
Shadowfiend Aug 14, 2013
61a5019
Fix some indentation fail.
Shadowfiend Sep 9, 2013
91f79b2
Update License section of readme to reflect committer policy.
farmdawgnation Sep 14, 2013
5a275ca
Small fix in ListenerManager trait's comments
Tmr Aug 22, 2013
754fd5b
Fixed parsing json double values in scientific notation with e+
Sep 10, 2013
74a951f
Merge pull request #1487 from lift/msf_issue_1487
fmpwizard Oct 2, 2013
d1413ea
added a target jvm of java 1.6, as I'm building with java 1.7
fmpwizard Oct 5, 2013
c7a0239
override JObject#hashCode
xuwei-k Oct 15, 2013
8f753cf
JObject equals hashCode test
xuwei-k Oct 15, 2013
7359309
Update contributors
xuwei-k Oct 15, 2013
626b977
Merge pull request #1499 from xuwei-k/jobject-hashcode
fmpwizard Oct 24, 2013
a2c2939
Improve performance of decomposing case classes to Json
Nov 3, 2013
a89ce26
To build the project for java6, you have to have java6, you cannot si…
fmpwizard Nov 7, 2013
bdffe18
the latest pgp plugin does not sign jars with publish, now you have t…
fmpwizard Nov 8, 2013
23cfba4
Merge pull request #1500 from chriswebster/perfFix
fmpwizard Nov 9, 2013
8172183
Add spec to ReqSpec for correctly identifying IE versions.
farmdawgnation Dec 14, 2013
758d872
Update defaultIeCalcFunction to correctly detect IE 11.
farmdawgnation Dec 14, 2013
8d5c917
Fix compile in Scala 2.10.1+
pbrant Dec 20, 2013
0898f2d
Merge pull request #1503 from lift/msf_issue_1503
Shadowfiend Dec 22, 2013
b3ea46e
Update README.md to clarify pull request guidelines
kevg Jan 6, 2014
b3ad354
Merge pull request #1511 from infofinity/master
fmpwizard Jan 6, 2014
71b80c0
Explicitly note list discussions in PR requirements.
Shadowfiend Jan 6, 2014
d4b3bdb
Align readme PR verbiage with contributing.md.
Shadowfiend Jan 6, 2014
fd38c7a
Merge pull request #1509 from lift/pmb_liftscreenfix
Shadowfiend Jan 16, 2014
0c63c45
Merge remote-tracking branch 'origin/master' into lift_30_merge
Shadowfiend Jan 18, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ The policy on issues is:

We will accept pull requests into the Lift codebase if the pull requests meet
the following criteria:
* The request handles an issue that has been discussed on the Lift mailing list
and whose solution has been requested (and in general adheres to the spirit of
the issue guidelines above).
* The request represents one or more of the following:
* Documentation including ScalaDoc comments in code
* Example code
Expand Down
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ Because Lift applications are written in [Scala](http://www.scala-lang.org), an
We will accept pull requests into the [Lift codebase](https://github.com/lift)
if the pull requests meet the following criteria:

* One or more of the following:
* Documentation including ScalaDoc comments in code
* Example code
* Small changes, enhancements, or bug fixes to Lift's code
* Each pull request must include a signature at the bottom of the
`/contributors.md` file.
* The request handles an issue that has been discussed on the [Lift mailing list](http://groups.google.com/forum/#!forum/liftweb)
and whose solution has been requested (and in general adheres to the spirit of
the issue guidelines outlined in [CONTRIBUTING.md](https://github.com/lift/framework/blob/master/CONTRIBUTING.md)).
* The request represents one or more of the following:
* Documentation including ScalaDoc comments in code
* Example code
* Small changes, enhancements, or bug fixes to Lift’s code
* The request includes a signature at the bottom of the `/contributors.md` file.

For more details, see [CONTRIBUTING.md](https://github.com/lift/framework/blob/master/CONTRIBUTING.md).

## Getting Started

Expand Down Expand Up @@ -59,10 +63,10 @@ Or, you can add Lift to your `pom.xml` like so:
<dependency>
<groupId>net.liftweb</groupId>
<artifactId>lift-mapper_${scala.version}</artifactId>
<version>2.4</version>
<version>2.5.1</version>
</dependency>

Where `${scala.version}` is `2.8.0`, `2.8.1`, `2.9.1` etc.
Where `${scala.version}` is `2.9.1` etc. For scala 2.10.x, which is binary compatible, you just use `2.10`, and that will work for `2.10.0` ,`2.10.1` ,`2.10.2`

You can [learn more on the wiki](http://www.assembla.com/wiki/show/liftweb/Using_Maven).

Expand Down Expand Up @@ -128,7 +132,7 @@ The Lift wiki is hosted on Assembla and can be found at [http://www.assembla.com

### ScalaDocs

The ScalaDocs for each release of Lift, in additional to the actual JARs, are available on ScalaTools. You can access the source code–based documentation for releases via the site's homepage or by navigating directly to the URL for the specific release. For instance, the Lift 2.4 release can be accessed at [http://scala-tools.org/mvnsites/liftweb-2.4/](http://scala-tools.org/mvnsites/liftweb-2.4/).
The ScalaDocs for each release of Lift, in additional to the actual JARs, are available on the Liftweb.net site. You can access the source code–based documentation for releases via the site's homepage or by navigating directly to the URL for the specific release. For instance, the Lift 2.5 release can be accessed at [http://liftweb.net/api/25/api/](http://liftweb.net/api/25/api/).

### Cookbook

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ trait InlineParsers extends BaseParsers {
}
}



/**
* all markdown inline element parsers or'ed together
*/
Expand Down Expand Up @@ -434,4 +432,4 @@ trait InlineParsers extends BaseParsers {

false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class SingleThreadedTransformer extends Transformer
* val input:String = ...
* val xhtml:String = new ActuariusTransformer()(input)
*
* Note that this markdown parser isn't inherantly thread-safe, as Scala Parser Combinators isn't, so this
* Note that this markdown parser isn't inherently thread-safe, as Scala Parser Combinators aren't, so this
* class instantiates a SingleThreadedTransformer for each thread.
* You'll need to write your own pooled implementation if this isn't efficient for your usage.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,18 @@ class InlineParsersTest extends FlatSpec with ShouldMatchers with InlineParsers{
("``code ` code``", "<code>code ` code</code>")
)

val entityTest = List("Hello &nbsp; World" -> "Hello &nbsp; World",
"Hello & World" -> "Hello &amp; World",
("test &egrave; text" ->"test &egrave; text"),
"test &egrave; text" ->"test &egrave; text",
"test&egrave; text" -> "test&egrave; text",
"test &egrave;" -> "test &egrave;",
"test &omega;" -> "test &omega;",
"test &unknown;" -> "test &amp;unknown;",
"AT&T" -> "AT&amp;T",
"<ATT" -> "&lt;ATT",
"test&nbsp;hello" -> "test&nbsp;hello",
"test &nbsp; hello&nbsp;;" -> "test &nbsp; hello&nbsp;;")

val entityTest = List("Hello &nbsp; World" -> "Hello &nbsp; World",
"Hello & World" -> "Hello &amp; World",
("test &egrave; text" ->"test &egrave; text"),
"test &egrave; text" ->"test &egrave; text",
"test&egrave; text" -> "test&egrave; text",
"test &egrave;" -> "test &egrave;",
"test &omega;" -> "test &omega;",
"test &unknown;" -> "test &amp;unknown;",
"AT&T" -> "AT&amp;T",
"<ATT" -> "&lt;ATT",
"test&nbsp;hello" -> "test&nbsp;hello",
"test &nbsp; hello&nbsp;;" -> "test &nbsp; hello&nbsp;;")

val linkTests = List(
("""[link text](http://example.com "link title")""",
Expand Down Expand Up @@ -173,7 +172,7 @@ class InlineParsersTest extends FlatSpec with ShouldMatchers with InlineParsers{

val allInlineTests = italicTests ++ boldTests ++ entityTest ++
codeTests ++ linkTests ++ fastLinkTests ++ imageTests ++ brTests ++
xmlStartTagTests ++ xmlEndTagTests ++ xmlInlineTests ++ dummyTests
xmlStartTagTests ++ xmlEndTagTests ++ xmlInlineTests ++ dummyTests

it should "create italic text" in {
runSucceedingParsingTests(emAsterisk(new InlineContext())|emUnderscore(new InlineContext()) , italicTests)
Expand Down
15 changes: 9 additions & 6 deletions core/util/src/main/scala/net/liftweb/util/CSSHelpers.scala
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,11 @@ case class CSSParser(prefix: String) extends Parsers {
case 'u' if (seqDone == 0) => seqDone = 1;
case 'r' if (seqDone == 1) => seqDone = 2;
case 'l' if (seqDone == 2) => seqDone = 3;
case ' ' | '\t' | '\n' | '\r' if (seqDone == 3 || seqDone == 4) => seqDone = 4
case '(' if (seqDone == 3 || seqDone == 4) => seqDone = 5
case _ => seqDone = 0
}
seqDone == 3;
seqDone == 5;
}

Success(content toString, rest);
Expand All @@ -94,15 +96,16 @@ case class CSSParser(prefix: String) extends Parsers {
c == ';' || c == '.' ||
c == '+' || c == '-' ||
c == '=' || c == ':' ||
c == ' ' || c == '_').+ ^^ {case l => l.mkString("")}
c == ' ' || c == '_' ||
c == '#').+ ^^ {case l => l.mkString("")}

// the URL might be wrapped in simple quotes
lazy val seq1 = elem('\'') ~> path <~ elem('\'')
// the URL might be wrapped in double quotes
lazy val seq2 = elem('\"') ~> path <~ elem('\"')
// do the parsing per CSS spec http://www.w3.org/TR/REC-CSS2/syndata.html#uri section 4.3.4
lazy val expr = (spaces ~ elem('(') ~ spaces) ~> ( seq1 | seq2 | path ) <~ (spaces <~ elem(')')) ^^ {case s => {
"('" + (s.trim.startsWith("/") match {
lazy val expr = spaces ~> ( seq1 | seq2 | path ) <~ (spaces <~ elem(')')) ^^ {case s => {
"'" + (s.trim.startsWith("/") match {
case true => prefix + s.trim
case _ => s.trim
}) + "')"
Expand All @@ -114,9 +117,9 @@ case class CSSParser(prefix: String) extends Parsers {
def fixCSS(in: String): Box[String] = phrase(in) match {
case Success(v, r) => (r atEnd) match {
case true => Full(v)
case _ => Empty // return Empty if the reader is not at end as it implies that parsing ended due to a parser error
case _ => common.Failure("Parser did not consume all input. Parser error?") // return Failure if the reader is not at end as it implies that parsing ended due to a parser error
}
case _ => Empty
case x => common.Failure("Parse failed with result %s".format(x))
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ extends MappedLong[T](theOwner) with MappedForeignKey[Long,T,O] with BaseForeign

def foreignMeta = _foreignMeta

def box: Box[Long] = if (defined_?) Full(is) else Empty
def box: Box[Long] = if (defined_?) Full(get) else Empty

type KeyType = Long
type KeyedForeignType = O
Expand Down
13 changes: 1 addition & 12 deletions web/webkit/src/main/scala/net/liftweb/http/CometActor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,17 @@ package http

import net.liftweb.common._
import net.liftweb.actor._
import scala.collection.mutable.{ListBuffer}
import net.liftweb.util.Helpers._
import net.liftweb.util._
import net.liftweb.json._
import scala.xml.{NodeSeq, Text, Elem, Node, Group, Null, PrefixedAttribute, UnprefixedAttribute}
import scala.collection.immutable.TreeMap
import scala.collection.mutable.{HashSet, ListBuffer}
import scala.collection.mutable.ListBuffer
import net.liftweb.http.js._
import JsCmds._
import JE._
import java.util.concurrent.atomic.AtomicLong
import java.util.Locale


/**
* This is used as an indicator message for linked actors.
*
* @see ActorWatcher
*/
case object RelinkToActorWatcher

trait DeltaTrait {
def toJs: JsCmd
}
Expand Down Expand Up @@ -881,7 +871,6 @@ trait CometActor extends LiftActor with LiftCometActor with BindHelpers {


case PerformSetupComet2(initialReq) => {
// this ! RelinkToActorWatcher
localSetup()
captureInitialReq(initialReq)
performReRender(true)
Expand Down
4 changes: 2 additions & 2 deletions web/webkit/src/main/scala/net/liftweb/http/LiftRules.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1597,8 +1597,8 @@ class LiftRules() extends Factory with FormVendor with LazyLoggable {
css.map(str => CSSHelpers.fixCSS(new BufferedReader(
new StringReader(str)), prefix openOr (S.contextPath)) match {
case (Full(c), _) => CSSResponse(c)
case (_, input) => {
logger.info("Fixing " + cssPath + " failed");
case (x, input) => {
logger.info("Fixing " + cssPath + " failed with result %s".format(x));
CSSResponse(input)
}
})
Expand Down
12 changes: 6 additions & 6 deletions web/webkit/src/main/scala/net/liftweb/http/LiftScreen.scala
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ trait AbstractScreen extends Factory {
case AVal(v: (T => List[FieldError])) => v
},
stuff.toList.collect {
case AFilter(v) => v
case AFilter(v) => v.asInstanceOf[T => T]
},
stuff)
}
Expand Down Expand Up @@ -484,7 +484,7 @@ trait AbstractScreen extends Factory {
}.toList

override def setFilter = stuff.collect {
case AFilter(f) => f
case AFilter(f) => f.asInstanceOf[ValueType => ValueType]
}.toList

override def is = underlying.get
Expand Down Expand Up @@ -586,7 +586,7 @@ trait AbstractScreen extends Factory {
}.toList

override def setFilter = stuff.collect {
case AFilter(f) => f
case AFilter(f) => f.asInstanceOf[ValueType => ValueType]
}.toList

override def is = underlying.openOrThrowException("Legacy code").get
Expand Down Expand Up @@ -617,7 +617,7 @@ trait AbstractScreen extends Factory {
case AVal(v: (T => List[FieldError])) => List(v)
case _ => Nil
}, stuff.toList.flatMap {
case AFilter(v) => List(v)
case AFilter(v) => List(v.asInstanceOf[T => T])
case _ => Nil
}, stuff).make

Expand Down Expand Up @@ -755,7 +755,7 @@ trait AbstractScreen extends Factory {
override lazy val formElemAttrs: Seq[SHtml.ElemAttr] = grabParams(stuff)

override val setFilter = stuff.flatMap {
case AFilter(f) => List(f)
case AFilter(f) => List(f.asInstanceOf[ValueType => ValueType])
case _ => Nil
}.toList
override val validations = stuff.flatMap {
Expand Down Expand Up @@ -792,7 +792,7 @@ trait AbstractScreen extends Factory {
override lazy val formElemAttrs: Seq[SHtml.ElemAttr] = grabParams(stuff)

override val setFilter = stuff.flatMap {
case AFilter(f) => List(f)
case AFilter(f) => List(f.asInstanceOf[ValueType => ValueType])
case _ => Nil
}.toList
override val validations = stuff.flatMap {
Expand Down
Loading