Every repository with this icon (
Every repository with this icon (
| Description: | The Lift web framework for Scala edit |
-
0 comments Created 9 days ago by nafgMapperxnafgxOn Review BoardxManyToMany should skip broken joins rather than call Predef.errorWork In ProgressxCurrently MappedManyToMany.children throws an error when, in the process of looking up the child elements via the join table, a join found to be broken (no child element for it).
Instead, it should use flatMap to skip broken joins. This requires some conversion of indexes between the join list and the children list.
Comments
-
0 comments Created about 1 month ago by hseebergerhseebergerxlift-core.properties contains misspelled key for reset.password.confirmationWork In ProgressxIt is spelled reset.pasword.confirmarion
Comments
-
0 comments Created 6 months ago by tjweirderekchenbeckerxUpdate Lift and JPA page on WikiwikixUpdate Lift and JPA page on Wiki
Lighthouse #23: http://liftweb.lighthouseapp.com/projects/26102/tickets/23
Comments
-
0 comments Created 2 months ago by dppBetter handling of context and allow Lift apps to have context modified on a session-by-session basisdppxSupport for changing the context root for requests so the root can be blank even if the actual context path is not or that a context path can be added (and all requests will be rewritten removing that context path from the head of the path) or subtracted.
Comments
-
5 comments Created 6 months ago by tjweirtjweirxAdd Twitter IDs to the team page.websitexAdd Twitter IDs to the team page.
Lighthouse #3: http://liftweb.lighthouseapp.com/projects/26102/tickets/3
Comments
timperrett
Sun Jun 28 11:42:44 -0700 2009
| link
lol - i think this is the oldest ticket and its still not fixed ;-)
viktorklang
Mon Jun 29 06:55:31 -0700 2009
| link
My first(!) Twitter account (2 minutes old): "viktorklang"
timperrett
Mon Jun 29 08:54:07 -0700 2009
| link
mine is "timperrett"
-
0 comments Created 2 months ago by dppThere should be an image map function in SHtmldppxThere should be support for image maps in SHtml. See http://groups.google.com/group/liftweb/browse_frm/thread/84fee9386108a922?hl=en#
Comments
-
0 comments Created about 1 month ago by harryhSHtml.text should be able to fire an ajaxRequest on enter but not onBlurdppx -
1 comment Created 6 months ago by tjweirProblems with MappedStringIndex (Derby / H2)MapperxProblems with MappedStringIndex (Derby / H2)
Lighthouse #26: http://liftweb.lighthouseapp.com/projects/26102/tickets/26
Comments
I posted this to the mailing list back in december. Posting again so it's preserved :)
I tested this with Scala 2.7.3 and the Lift 1.0 release.
Recently I wanted to have a Mapper with a String uuid as primary key. I found out that MappedStringIndex does that. It didn't work though.Using it with with a derby driver threw this exception:
Caused by: java.sql.SQLException: 'ID' cannot be a column of a
primary key or unique key because it can contain null values.
The create table looked here like it generated the id itself, so the lift generated id isn't saved in the db.
Using the H2 driver:
CREATE TABLE myuuidmapper (id VARCHAR(64)) INSERT INTO myuuidmapper () VALUES ()This means the table has been created but the lift-generated id was not saved in the database.
I attached an example project. Boot.scala is configured to use the Derby driver. If requested I can provide an example for H2.
-
0 comments Created 3 months ago by ebiggsautocomplete widget - make options settable?mariusxthe default autocomplete options i.e.
val autocompleteOptions = JsRaw(...
need to be more easily set. I had to override and copy-paste the render function to change these. Making them settable without extending the class would be ideal. making the autocompleteOptions val an overridable outer function would be fine though.
Comments
-
0 comments Created about 1 month ago by dchenbeckerFix Date/Time parsingderekchenbeckerxIt should be reconfigured to use Joda Time
Comments
-
Support for i18n formatting/parsing of numbers
0 comments Created about 1 month ago by jeppenejsumIt would be nice if LIftRules has support for formatting/parsing of numbers in the same way as for dates. Both integers and decimals should be supported
When this is complete, Mapper should use this machinery in MappedInt (for thousand separators) and MappedDouble/Decimal
Comments
-
0 comments Created about 1 month ago by ErosCandealresiAdd script merge similar to head/tail mergedppxProblem:
On heavily JavaScript based forms (sections appearing/enabling depending on user input) it is good practice to outsource form creation code to widget/component classes (homegrown). It improves readability of Snippet code and reusability of widgets. For event registration and other client side code, each component class would generate a head/lift:tail and a script tag. While head/tail tags are merged by the Lift framework, the resulting HTML code still remains cluttered with script tags (example below).Suggested solution:
Introduce a script merge that similarly to head/tail merge merges all script tags in head into one and all script tags in tail into a second one.Comments
-
JsObj requires String for property name, ECMA-262 allows for either String or Number
0 comments Created about 1 month ago by DridusECMA-262 (http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf) section
11.1.5 describes the object initializer syntax as being either empty braces or braces containing PropertyNameAndValueList. PropertyNameAndValueList is comma-separated sequence of PropertyName : AssignmentExpression. PropertyName is one of Identifier, StringLiteral, or NumericLiteral.However, JE.JsObj.apply and JsObj both require the key to be a String, so what I would think the natural translation from the JavaScript:
{ headers: { 1: { sortable: false } } }To Lift:
JsObj("headers" -> JsObj(1 -> JsObj("sortable" -> false)))Does not work:
<console>:7: error: type mismatch; found : (Int, net.liftweb.http.js.JsObj) required: (String, net.liftweb.http.js.JsExp) JsObj("headers" -> JsObj(1 -> JsObj("sortable" -> false))) ^as 1 is not a String. This is trivially worked around by either making ones own JsExp or by converting the Int to a String:
JsObj("headers" -> JsObj("1" -> JsObj("sortable" -> false)))Apparently because JavaScript is entirely willing to treat strings as numbers and vice versa in property names, however it seems like it would be more natural.
This is low priority to me.
Comments
-
0 comments Created about 1 month ago by mariusdanciuCalendarMonthView should allow populating records from JavaScriptmariusxRelated discussion here: http://groups.google.com/group/liftweb/browse_thread/thread/7de2d785a38bf27f
Br's,
MariusComments
-
1 comment Created about 1 month ago by serefayarALTER TABLE statement cannot add an IDENTITY column to a table.aboisvertxHi, i newbie for lift and scala.. im using eclipse. i create project by maven and i try to run. thats all bu i get :
INFO - CREATE TABLE users (id BIGINT NOT NULL GENERATED ALWAYS AS IDENTITY , firstname VARCHAR(32) , lastname VARCHAR(32) , email VARCHAR(48) , locale VARCHAR(16) , timezone VARCHAR(32) , password_pw VARCHAR(48) , password_slt VARCHAR(20) , textarea VARCHAR(2048) , superuser SMALLINT , validated SMALLINT , uniqueıd VARCHAR(32))
INFO - ALTER TABLE users ADD CONSTRAINT users_PK PRIMARY KEY(id)
INFO - ALTER TABLE users ADD COLUMN id BIGINT NOT NULL GENERATED ALWAYS AS IDENTITY
ERROR - Failed to Boot
java.sql.SQLSyntaxErrorException: ALTER TABLE statement cannot add an IDENTITY column to a table.
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)Comments
-
0 comments Created 29 days ago by dlouwersdlouwersxAdd core dutch language filesWork In ProgressxAdd core nl_NL language file. Will also add as default nl language file since nl_BE isn't available.
Comments
-
0 comments Created 27 days ago by dlouwersdlouwersxAdd Ext Core support to LiftWork In ProgressxAdd Ext Core support to Lift
Comments
-
Lift Mapper (Record) camelCase to snake_case for case insensitive databases
0 comments Created 20 days ago by awhitfordPlease make the Scala identifier to database identifier translation convention dependent on whether the database supports case sensitive or case insensitive identifiers.
For example, Hibernate offers an Enhanced Naming Convention that translates Java camelCase to a more Oracle friendly snake_case. I am interested in doing the same thing with Lift Mapper/
Record. In the mean time, I need to override dbTableName and dbColumnName, but I'd like to avoid that and just agree on the convention.I could imagine that the Database Provider would maintain a flag to say whether the database is case sensitive or not, and then based on that flag, would pass either the camelCase directly (for case sensitive), or snake_case(camelCase) (for case insensitive).
I am specifically using Lift Mapper with Oracle, but I think this issue relates to Lift Record too as well as any other case insensitive database.
See discussion: http://groups.google.com/group/liftweb/t/e7f85ede13b303da
Comments
-
0 comments Created 16 days ago by dpp1.1xImplement Wizard multi-screen input formsdppxComments
-
0 comments Created 16 days ago by dppindrajitrxAutomated tests for all archetypesOn Review BoardxPart of the build process should insure that archetypes are tested automatically
Comments
-
Please add valMinLen and valMaxLen validation functions to net.liftweb.record.field.StringField. If it's preferred to put them in a separate helper object that would be fine as well.
Also, a companion object for LocaleField that has a list of all possible locales (similar to TimeZoneField) would be nice.
Thanks
Comments
-
3 comments Created 15 days ago by jeppenejsumNo scala source file in *SNAPSHOT-sources.jaraboisvertxThe *SNAPSHOT-sources.jar doesn't seem to contain any scala source files, only static resources
Comments
I'm using Maven 2.2.1 and I can't reproduce this on my machine.
I've checked that lift-util, lift-webkit and lift-common source packages (among others) all have appropriate .scala sources
jeppenejsum
Thu Nov 12 23:18:25 -0800 2009
| link
Strange again :-)
util & common seem to be ok.
If I do rm -rf ~/.m2/repository && mvn clean test && mvn eclipse:eclipse
And the search through all the source jars, these are the only files found:
find ~/.m2/repository/net/liftweb/ -name "*-sources.jar" -print|xargs -n 1 unzip -l|grep scala
6332 10-23-09 03:27 net/liftweb/actor/LiftActor.scala 1321 10-23-09 03:27 net/liftweb/actor/LAFuture.scala 2463 10-23-09 03:27 net/liftweb/actor/LAPinger.scala 1826 10-23-09 03:27 net/liftweb/common/Actor.scala 14352 10-23-09 03:27 net/liftweb/common/Box.scala 4322 10-23-09 03:27 net/liftweb/util/RE.scala 3010 10-23-09 03:27 net/liftweb/util/BindPlus.scala 7769 10-23-09 03:27 net/liftweb/util/CombParserHelpers.scala 2172 10-23-09 03:27 net/liftweb/util/VCardParser.scala 4287 10-23-09 03:27 net/liftweb/util/Lazy.scala 8053 10-23-09 03:27 net/liftweb/util/Mailer.scala 2420 10-23-09 03:27 net/liftweb/util/ThreadGlobal.scala 1333 10-23-09 03:27 net/liftweb/util/ValueHolder.scala 9586 10-23-09 03:27 net/liftweb/util/Log.scala 3264 10-23-09 03:27 net/liftweb/util/Vars.scala 3140 10-23-09 03:27 net/liftweb/util/LD.scala 11432 10-23-09 03:27 net/liftweb/util/SecurityHelpers.scala 6960 10-23-09 03:27 net/liftweb/util/ListHelpers.scala 4599 10-23-09 03:27 net/liftweb/util/Slf4jLog.scala 1749 10-23-09 03:27 net/liftweb/util/EnumWithDescription.scala 17043 10-23-09 03:27 net/liftweb/util/ClassHelpers.scala 8685 10-23-09 03:27 net/liftweb/util/HttpHelpers.scala 4074 10-23-09 03:27 net/liftweb/util/CSSHelpers.scala 3729 10-23-09 03:27 net/liftweb/util/NamedPartialFunction.scala 1628 10-23-09 03:27 net/liftweb/util/Helpers.scala 1829 10-23-09 03:27 net/liftweb/util/KeyedCache.scala 1593 10-23-09 03:27 net/liftweb/util/Misc.scala 1765 10-23-09 03:27 net/liftweb/util/LRU.scala 3272 10-23-09 03:27 net/liftweb/util/HeadHelper.scala 1159 10-23-09 03:27 net/liftweb/util/ConcurrentLock.scala 5006 10-23-09 03:27 net/liftweb/util/Maker.scala 3757 10-23-09 03:27 net/liftweb/util/ActorPing.scala 3194 10-23-09 03:27 net/liftweb/util/IOHelpers.scala 2771 10-23-09 03:27 net/liftweb/util/Currency.scala 1155 10-23-09 03:27 net/liftweb/util/LoanWrapper.scala 6887 10-23-09 03:27 net/liftweb/util/BasicTypesHelpers.scala 7399 10-23-09 03:27 net/liftweb/util/Props.scala 24153 10-23-09 03:27 net/liftweb/util/BindHelpers.scala 5490 10-23-09 03:27 net/liftweb/util/CurrencyZone.scala 6006 10-23-09 03:27 net/liftweb/util/JSON.scala 12572 10-23-09 03:27 net/liftweb/util/TimeHelpers.scala 2183 10-23-09 03:27 net/liftweb/util/CodeHelpers.scala 14901 10-23-09 03:27 net/liftweb/util/PCDataMarkupParser.scala 2030 10-23-09 03:27 net/liftweb/util/TemplateCache.scala 4660 10-23-09 03:27 net/liftweb/util/ControlHelpers.scala 3649 10-23-09 03:27 net/liftweb/util/SoftReferenceCache.scala 8809 10-23-09 03:27 net/liftweb/util/StringHelpers.scalaThis is with Maven 2.2.0, not sure if this changes anything since the jars seem to be downloaded ok?
jeppenejsum
Thu Nov 12 23:19:48 -0800 2009
| link
Also, look at the archive date of those files....
-
0 comments Created 9 days ago by hseebergerhseebergerxContribute German lift-core.propertiesWork In ProgressxComments
-
0 comments Created 6 days ago by mariusdanciuAllow HTTP headers to be added to Ajax requestsmariusxAdd a way for allowing easy specification of custom HTTP header attributes.
Br's,
MariusComments
-
Run lift-examples/example from SNAPSHOT (11/5) on a local server, autocompletion isn't happening on the AJAX Samples page. The rest of the Ajax stuff seems to work fine.
Comments
-
Ability to manually create Lift session during rewrite
0 comments Created 7 days ago by jeppenejsumNormally, the Lift session is not created in the rewrite phase. It could be useful to manually force a lift session to be created.
More details here: http://groups.google.com/group/liftweb/browse_thread/thread/efb58c2bd56556ef
Comments
-
0 comments Created 5 days ago by dppdppxAdd a second URL re-write phaseWork In ProgressxWithin the session scope. This is the phase that should be used by CRUDify.
Comments
-
non-autoincrement primary key; MetaMapper opening Empty Box
0 comments Created 3 days ago by opyateDiscussion(s):
1) http://groups.google.com/group/liftweb/browse_thread/thread/bca1ae85f1fa6a3a/b5b97a0da8b517f9?lnk=gst&q=metamapper#b5b97a0da8b517f9
2) http://groups.google.com/group/liftweb/browse_thread/thread/e295526e8a7905c8/d35f233879445ad7?lnk=gst&q=metamapper#d35f233879445ad7Runnable test case here:
http://github.com/opyate/bug.liftweb.metamapperTo re-create:
export JETPORT=8081
cd /tmp
git clone git://github.com/opyate/bug.liftweb.metamapper.git
cd bug.liftweb.metamapper/metamapperbug
mvn -U clean jetty:run -Djetty.port=$JETPORT
# now open your browser on http://localhost:$JETPORT#+ and enter an ID into the input box and click save
Generated exception:
Message: java.lang.NullPointerException: Trying to open an empty Box
net.liftweb.common.EmptyBox.open_$bang(Box.scala:370) net.liftweb.common.EmptyBox.open_$bang(Box.scala:366) net.liftweb.mapper.MetaMapper$$anonfun$runAppliers$1$1.apply(MetaMapper.scala:617)Comments
-
Allow CRUDify to be mixed with MetaMegaProtoUser
0 comments Created 2 days ago by jeppenejsumCurrently, the "def menus" collide.
Details here:http://groups.google.com/group/liftweb/browse_thread/thread/6f17647690d9aa59/32ccdf5e2907ba83#32ccdf5e2907ba83
Comments
-
1 comment Created 1 day ago by yejunOn Review BoardxCheckbox not return all elementsrmellgrenxdef checkbox[T](possible : Seq[T], actual : Seq[T], func : (Seq[T]) => Any, attrs : (String, String)*)
Func will only return first element in possible when it is checked or List().
Comments
On review board: http://reviewboard.liftweb.net/r/117/
- 1.1▾
- Derby▾
- Mapper▾
- On Review Board▾
- Sitemap▾
- Work In Progress▾
- aboisvert▾
- could not repro.▾
- derekchenbecker▾
- dlouwers▾
- dpp▾
- hseeberger▾
- indrajitr▾
- joni▾
- marius▾
- more info▾
- nafg▾
- nuttycom▾
- rmellgren▾
- tjweir▾
- tperrett▾
- website▾
- wiki▾
- Apply to Selection
-
Change Color…
Preview:preview
- Rename…
- Delete











