You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2013/09/17 22:55:52 UTC

[jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Dan Haywood created ISIS-537:
--------------------------------

             Summary: Convert Wicket viewer to use Bootstrap, so that it can be themed.
                 Key: ISIS-537
                 URL: https://issues.apache.org/jira/browse/ISIS-537
             Project: Isis
          Issue Type: New Feature
          Components: Viewer: Wicket
    Affects Versions: viewer-wicket-1.2.0
            Reporter: Dan Haywood
            Assignee: Dan Haywood
             Fix For: viewer-wicket-1.4.0


Using https://github.com/l0rdn1kk0n/wicket-bootstrap as the wicket/bootstrap integration.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Martin Grigorov <mg...@apache.org>.
On Fri, Oct 11, 2013 at 1:48 PM, Dan Haywood
<da...@haywood-associates.co.uk>wrote:

> If Isis running on 1.6 ends up being a blocker for you, then I'm happy to
> start a discussion thread on dropping 1.6 support in Isis and only
> running/building on 1.7.
>

Yep. This is option 3). And I think the best if possible.

Wicket 7.0 will also mandate JDK 1.7


> I believe that at least some other Apache projects have dropped 1.6
> support; would be interesting to see if we get any pushback in the Isis
> community.
>
> Dan
>
>
>
> On 11 October 2013 10:11, Martin Grigorov <mg...@apache.org> wrote:
>
> > There are some issues with the new versions of
> > Wicket-Bootstrap:0.9.0-SNAPSHOT (WB) and Wicket-Webjars:0.3.1 (WW) - they
> > are built with JDK 1.7.
> > Since ISIS is built (and run) with 1.6 this causes problems.
> >
> > Options:
> > 1) at the moment WB doesn't depend on any JD 1.7 feature so to be able to
> > work on ISIS I have a local build with 1.6:
> > diff --git i/pom.xml w/pom.xml
> > index c0ef00d..d00e17a 100644
> > --- i/pom.xml
> > +++ w/pom.xml
> > @@ -37,6 +37,7 @@
> >      </modules>
> >
> >      <properties>
> > +        <mvn.build.java.version>1.6</mvn.build.java.version>
> >          <github.global.server>github</github.global.server>
> >
> > 2) run any ISIS + Wicket viewer apps with JDK 1.7
> >
> > About 1) : I understand why Michael wants to use 1.7 - it is 2013.
> Several
> > years ago in one of my projects we needed to produce jars for clients
> which
> > were deploying on older web containers. We used some Maven plugin that I
> > cannot find right now, but this plugin produced Maven artifacts with
> > classifiers like "jdk1.4" and "jdk1.5". Maybe this is an option for WB
> and
> > WW projects.
> >
> >
> >
> > On Fri, Oct 11, 2013 at 11:50 AM, Martin Grigorov <mgrigorov@apache.org
> >wrote:
> >
> >> Hi,
> >>
> >> @Dan: what is your development workflow for ISIS ?
> >> Because of the problem with Intellij IDEA's plugin for DataNucleus I
> >> cannot use Start.java and the only way to run the demo application is
> via
> >> 'mvn jetty:run[-exploded]'. But if I make a change in Wicket Viewer
> code I
> >> need to run 'mvn install' and to restart Jetty. This takes a lot of
> time.
> >> Since you don't use Start.java I guess you have some other flow that is
> >> faster than mine.
> >>
> >>
> >>
> >>
> >> On Tue, Oct 8, 2013 at 1:52 PM, Martin Grigorov <mgrigorov@apache.org
> >wrote:
> >>
> >>>
> >>>
> >>>
> >>> On Tue, Oct 8, 2013 at 1:29 PM, Dan Haywood <
> >>> dan@haywood-associates.co.uk> wrote:
> >>>
> >>>>
> >>>> On 8 October 2013 10:57, Martin Grigorov <mg...@apache.org>
> wrote:
> >>>>
> >>>>> I've pulled the latest changes and now I cannot start the app because
> >>>>> of:
> >>>>> Caused by: org.hsqldb.HsqlException: column of LOB or ARRAY type
> >>>>> cannot be used in operation
> >>>>>  at org.hsqldb.error.Error.error(Unknown Source)
> >>>>>  at org.hsqldb.error.Error.error(Unknown Source)
> >>>>> at org.hsqldb.Constraint.setColumnsIndexes(Unknown Source)
> >>>>>  at
> >>>>> org.hsqldb.ParserDDL.compileAlterTableAddForeignKeyConstraint(Unknown
> >>>>> Source)
> >>>>> at org.hsqldb.ParserDDL.compileAlterTable(Unknown Source)
> >>>>>  at org.hsqldb.ParserDDL.compileAlter(Unknown Source)
> >>>>> ....
> >>>>>
> >>>>> I don't use any plugins for JDO in Intellij IDEA. Last time the app
> >>>>> was starting fine.
> >>>>>
> >>>>
> >>>> Hmm, well... that error means that the DOM objects have not been
> >>>> enhanced.  You will need to do enhancement by one means or another (I
> can't
> >>>> quite see how it would have started otherwise).  If IntelliJ runs
> Maven
> >>>> plugins, then that would have done it, I guess.
> >>>>
> >>>> IntelliJ does have a DN plugin, probably worth spending the time
> >>>> getting it configured.
> >>>>
> >>>
> >>> It was working OK last time. Not sure how.
> >>>
> >>> Just installed IntelliJ plugin but it fails with:
> >>>
> >>> 25003 [ApplicationImpl pooled thread 4] ERROR
> >>> #com.intellij.application.impl.ApplicationImpl  - null
> >>> java.lang.NullPointerException
> >>>  at
> >>>
> org.datanucleus.ide.idea.IdeaProjectUtils.packageToPath(IdeaProjectUtils.java:192)
> >>> at org.datanucleus.ide.idea.DNEComputable$1.run(DNEComputable.java:631)
> >>>  at
> >>>
> com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
> >>> at
> >>>
> org.datanucleus.ide.idea.DNEComputable.getAnnotatedClassFiles(DNEComputable.java:595)
> >>>  at
> >>>
> org.datanucleus.ide.idea.DNEProjectComponent.createAnnotatedClassFilesGuiModel(DNEProjectComponent.java:384)
> >>> at
> >>>
> org.datanucleus.ide.idea.DNEProjectComponent.getGuiState(DNEProjectComponent.java:277)
> >>>  at
> >>>
> org.datanucleus.ide.idea.DNEProjectComponent.createComponent(DNEProjectComponent.java:212)
> >>> at
> >>>
> com.intellij.openapi.options.newEditor.OptionsEditor$Simple.<init>(OptionsEditor.java:1270)
> >>> ....
> >>>
> >>>
> >>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>
> >>>>> On command line I cannot build ISIS-537 branch because of :
> >>>>>
> >>>>> [INFO] --- maven-enforcer-plugin:1.2:enforce (validate-enforce) @
> >>>>> isis-viewer-wicket-ui ---
> >>>>> [WARNING]
> >>>>> Dependency convergence error for org.webjars:jquery:1.9.0 paths to
> >>>>> dependency are:
> >>>>> +-org.apache.isis.viewer:isis-viewer-wicket-ui:1.3.0-SNAPSHOT
> >>>>>
> +-de.agilecoders.wicket:wicket-bootstrap-core:0.9.0-20131001.073459-3
> >>>>>     +-org.webjars:bootstrap:3.0.0
> >>>>>       +-org.webjars:jquery:1.9.0
> >>>>> and
> >>>>> +-org.apache.isis.viewer:isis-viewer-wicket-ui:1.3.0-SNAPSHOT
> >>>>>
> >>>>>
> +-de.agilecoders.wicket:wicket-bootstrap-extensions:0.9.0-20131001.073550-3
> >>>>>     +-org.webjars:jquery-ui:1.10.2-1
> >>>>>       +-org.webjars:jquery:1.9.1
> >>>>>
> >>>>> Can we disable these checks for this branch ?
> >>>>>
> >>>>>
> >>>>  yeah, happy to.  Could you add a comment (or even better, a subtask)
> >>>> to the ISIS-537 ticket as something to address prior to remerging in
> the
> >>>> future.
> >>>>
> >>>
> >>> ISIS-556
> >>>
> >>>
> >>>>
> >>>> Thx
> >>>> Dan
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>
> >>>>> On Tue, Oct 8, 2013 at 12:40 PM, Martin Grigorov <
> mgrigorov@apache.org
> >>>>> > wrote:
> >>>>>
> >>>>>> Hi Dan,
> >>>>>>
> >>>>>> I'll work on this task this week again.
> >>>>>>
> >>>>>> Thx
> >>>>
> >>>>
> >>>
> >>
> >
>

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
If Isis running on 1.6 ends up being a blocker for you, then I'm happy to
start a discussion thread on dropping 1.6 support in Isis and only
running/building on 1.7.

I believe that at least some other Apache projects have dropped 1.6
support; would be interesting to see if we get any pushback in the Isis
community.

Dan



On 11 October 2013 10:11, Martin Grigorov <mg...@apache.org> wrote:

> There are some issues with the new versions of
> Wicket-Bootstrap:0.9.0-SNAPSHOT (WB) and Wicket-Webjars:0.3.1 (WW) - they
> are built with JDK 1.7.
> Since ISIS is built (and run) with 1.6 this causes problems.
>
> Options:
> 1) at the moment WB doesn't depend on any JD 1.7 feature so to be able to
> work on ISIS I have a local build with 1.6:
> diff --git i/pom.xml w/pom.xml
> index c0ef00d..d00e17a 100644
> --- i/pom.xml
> +++ w/pom.xml
> @@ -37,6 +37,7 @@
>      </modules>
>
>      <properties>
> +        <mvn.build.java.version>1.6</mvn.build.java.version>
>          <github.global.server>github</github.global.server>
>
> 2) run any ISIS + Wicket viewer apps with JDK 1.7
>
> About 1) : I understand why Michael wants to use 1.7 - it is 2013. Several
> years ago in one of my projects we needed to produce jars for clients which
> were deploying on older web containers. We used some Maven plugin that I
> cannot find right now, but this plugin produced Maven artifacts with
> classifiers like "jdk1.4" and "jdk1.5". Maybe this is an option for WB and
> WW projects.
>
>
>
> On Fri, Oct 11, 2013 at 11:50 AM, Martin Grigorov <mg...@apache.org>wrote:
>
>> Hi,
>>
>> @Dan: what is your development workflow for ISIS ?
>> Because of the problem with Intellij IDEA's plugin for DataNucleus I
>> cannot use Start.java and the only way to run the demo application is via
>> 'mvn jetty:run[-exploded]'. But if I make a change in Wicket Viewer code I
>> need to run 'mvn install' and to restart Jetty. This takes a lot of time.
>> Since you don't use Start.java I guess you have some other flow that is
>> faster than mine.
>>
>>
>>
>>
>> On Tue, Oct 8, 2013 at 1:52 PM, Martin Grigorov <mg...@apache.org>wrote:
>>
>>>
>>>
>>>
>>> On Tue, Oct 8, 2013 at 1:29 PM, Dan Haywood <
>>> dan@haywood-associates.co.uk> wrote:
>>>
>>>>
>>>> On 8 October 2013 10:57, Martin Grigorov <mg...@apache.org> wrote:
>>>>
>>>>> I've pulled the latest changes and now I cannot start the app because
>>>>> of:
>>>>> Caused by: org.hsqldb.HsqlException: column of LOB or ARRAY type
>>>>> cannot be used in operation
>>>>>  at org.hsqldb.error.Error.error(Unknown Source)
>>>>>  at org.hsqldb.error.Error.error(Unknown Source)
>>>>> at org.hsqldb.Constraint.setColumnsIndexes(Unknown Source)
>>>>>  at
>>>>> org.hsqldb.ParserDDL.compileAlterTableAddForeignKeyConstraint(Unknown
>>>>> Source)
>>>>> at org.hsqldb.ParserDDL.compileAlterTable(Unknown Source)
>>>>>  at org.hsqldb.ParserDDL.compileAlter(Unknown Source)
>>>>> ....
>>>>>
>>>>> I don't use any plugins for JDO in Intellij IDEA. Last time the app
>>>>> was starting fine.
>>>>>
>>>>
>>>> Hmm, well... that error means that the DOM objects have not been
>>>> enhanced.  You will need to do enhancement by one means or another (I can't
>>>> quite see how it would have started otherwise).  If IntelliJ runs Maven
>>>> plugins, then that would have done it, I guess.
>>>>
>>>> IntelliJ does have a DN plugin, probably worth spending the time
>>>> getting it configured.
>>>>
>>>
>>> It was working OK last time. Not sure how.
>>>
>>> Just installed IntelliJ plugin but it fails with:
>>>
>>> 25003 [ApplicationImpl pooled thread 4] ERROR
>>> #com.intellij.application.impl.ApplicationImpl  - null
>>> java.lang.NullPointerException
>>>  at
>>> org.datanucleus.ide.idea.IdeaProjectUtils.packageToPath(IdeaProjectUtils.java:192)
>>> at org.datanucleus.ide.idea.DNEComputable$1.run(DNEComputable.java:631)
>>>  at
>>> com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
>>> at
>>> org.datanucleus.ide.idea.DNEComputable.getAnnotatedClassFiles(DNEComputable.java:595)
>>>  at
>>> org.datanucleus.ide.idea.DNEProjectComponent.createAnnotatedClassFilesGuiModel(DNEProjectComponent.java:384)
>>> at
>>> org.datanucleus.ide.idea.DNEProjectComponent.getGuiState(DNEProjectComponent.java:277)
>>>  at
>>> org.datanucleus.ide.idea.DNEProjectComponent.createComponent(DNEProjectComponent.java:212)
>>> at
>>> com.intellij.openapi.options.newEditor.OptionsEditor$Simple.<init>(OptionsEditor.java:1270)
>>> ....
>>>
>>>
>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>> On command line I cannot build ISIS-537 branch because of :
>>>>>
>>>>> [INFO] --- maven-enforcer-plugin:1.2:enforce (validate-enforce) @
>>>>> isis-viewer-wicket-ui ---
>>>>> [WARNING]
>>>>> Dependency convergence error for org.webjars:jquery:1.9.0 paths to
>>>>> dependency are:
>>>>> +-org.apache.isis.viewer:isis-viewer-wicket-ui:1.3.0-SNAPSHOT
>>>>>   +-de.agilecoders.wicket:wicket-bootstrap-core:0.9.0-20131001.073459-3
>>>>>     +-org.webjars:bootstrap:3.0.0
>>>>>       +-org.webjars:jquery:1.9.0
>>>>> and
>>>>> +-org.apache.isis.viewer:isis-viewer-wicket-ui:1.3.0-SNAPSHOT
>>>>>
>>>>> +-de.agilecoders.wicket:wicket-bootstrap-extensions:0.9.0-20131001.073550-3
>>>>>     +-org.webjars:jquery-ui:1.10.2-1
>>>>>       +-org.webjars:jquery:1.9.1
>>>>>
>>>>> Can we disable these checks for this branch ?
>>>>>
>>>>>
>>>>  yeah, happy to.  Could you add a comment (or even better, a subtask)
>>>> to the ISIS-537 ticket as something to address prior to remerging in the
>>>> future.
>>>>
>>>
>>> ISIS-556
>>>
>>>
>>>>
>>>> Thx
>>>> Dan
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>> On Tue, Oct 8, 2013 at 12:40 PM, Martin Grigorov <mgrigorov@apache.org
>>>>> > wrote:
>>>>>
>>>>>> Hi Dan,
>>>>>>
>>>>>> I'll work on this task this week again.
>>>>>>
>>>>>> Thx
>>>>
>>>>
>>>
>>
>

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Martin Grigorov <mg...@apache.org>.
There are some issues with the new versions of
Wicket-Bootstrap:0.9.0-SNAPSHOT (WB) and Wicket-Webjars:0.3.1 (WW) - they
are built with JDK 1.7.
Since ISIS is built (and run) with 1.6 this causes problems.

Options:
1) at the moment WB doesn't depend on any JD 1.7 feature so to be able to
work on ISIS I have a local build with 1.6:
diff --git i/pom.xml w/pom.xml
index c0ef00d..d00e17a 100644
--- i/pom.xml
+++ w/pom.xml
@@ -37,6 +37,7 @@
     </modules>

     <properties>
+        <mvn.build.java.version>1.6</mvn.build.java.version>
         <github.global.server>github</github.global.server>

2) run any ISIS + Wicket viewer apps with JDK 1.7

About 1) : I understand why Michael wants to use 1.7 - it is 2013. Several
years ago in one of my projects we needed to produce jars for clients which
were deploying on older web containers. We used some Maven plugin that I
cannot find right now, but this plugin produced Maven artifacts with
classifiers like "jdk1.4" and "jdk1.5". Maybe this is an option for WB and
WW projects.



On Fri, Oct 11, 2013 at 11:50 AM, Martin Grigorov <mg...@apache.org>wrote:

> Hi,
>
> @Dan: what is your development workflow for ISIS ?
> Because of the problem with Intellij IDEA's plugin for DataNucleus I
> cannot use Start.java and the only way to run the demo application is via
> 'mvn jetty:run[-exploded]'. But if I make a change in Wicket Viewer code I
> need to run 'mvn install' and to restart Jetty. This takes a lot of time.
> Since you don't use Start.java I guess you have some other flow that is
> faster than mine.
>
>
>
>
> On Tue, Oct 8, 2013 at 1:52 PM, Martin Grigorov <mg...@apache.org>wrote:
>
>>
>>
>>
>> On Tue, Oct 8, 2013 at 1:29 PM, Dan Haywood <dan@haywood-associates.co.uk
>> > wrote:
>>
>>>
>>> On 8 October 2013 10:57, Martin Grigorov <mg...@apache.org> wrote:
>>>
>>>> I've pulled the latest changes and now I cannot start the app because
>>>> of:
>>>> Caused by: org.hsqldb.HsqlException: column of LOB or ARRAY type cannot
>>>> be used in operation
>>>>  at org.hsqldb.error.Error.error(Unknown Source)
>>>>  at org.hsqldb.error.Error.error(Unknown Source)
>>>> at org.hsqldb.Constraint.setColumnsIndexes(Unknown Source)
>>>>  at
>>>> org.hsqldb.ParserDDL.compileAlterTableAddForeignKeyConstraint(Unknown
>>>> Source)
>>>> at org.hsqldb.ParserDDL.compileAlterTable(Unknown Source)
>>>>  at org.hsqldb.ParserDDL.compileAlter(Unknown Source)
>>>> ....
>>>>
>>>> I don't use any plugins for JDO in Intellij IDEA. Last time the app was
>>>> starting fine.
>>>>
>>>
>>> Hmm, well... that error means that the DOM objects have not been
>>> enhanced.  You will need to do enhancement by one means or another (I can't
>>> quite see how it would have started otherwise).  If IntelliJ runs Maven
>>> plugins, then that would have done it, I guess.
>>>
>>> IntelliJ does have a DN plugin, probably worth spending the time getting
>>> it configured.
>>>
>>
>> It was working OK last time. Not sure how.
>>
>> Just installed IntelliJ plugin but it fails with:
>>
>> 25003 [ApplicationImpl pooled thread 4] ERROR
>> #com.intellij.application.impl.ApplicationImpl  - null
>> java.lang.NullPointerException
>>  at
>> org.datanucleus.ide.idea.IdeaProjectUtils.packageToPath(IdeaProjectUtils.java:192)
>> at org.datanucleus.ide.idea.DNEComputable$1.run(DNEComputable.java:631)
>>  at
>> com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
>> at
>> org.datanucleus.ide.idea.DNEComputable.getAnnotatedClassFiles(DNEComputable.java:595)
>>  at
>> org.datanucleus.ide.idea.DNEProjectComponent.createAnnotatedClassFilesGuiModel(DNEProjectComponent.java:384)
>> at
>> org.datanucleus.ide.idea.DNEProjectComponent.getGuiState(DNEProjectComponent.java:277)
>>  at
>> org.datanucleus.ide.idea.DNEProjectComponent.createComponent(DNEProjectComponent.java:212)
>> at
>> com.intellij.openapi.options.newEditor.OptionsEditor$Simple.<init>(OptionsEditor.java:1270)
>> ....
>>
>>
>>
>>>
>>>
>>>
>>>
>>>
>>>>
>>>> On command line I cannot build ISIS-537 branch because of :
>>>>
>>>> [INFO] --- maven-enforcer-plugin:1.2:enforce (validate-enforce) @
>>>> isis-viewer-wicket-ui ---
>>>> [WARNING]
>>>> Dependency convergence error for org.webjars:jquery:1.9.0 paths to
>>>> dependency are:
>>>> +-org.apache.isis.viewer:isis-viewer-wicket-ui:1.3.0-SNAPSHOT
>>>>   +-de.agilecoders.wicket:wicket-bootstrap-core:0.9.0-20131001.073459-3
>>>>     +-org.webjars:bootstrap:3.0.0
>>>>       +-org.webjars:jquery:1.9.0
>>>> and
>>>> +-org.apache.isis.viewer:isis-viewer-wicket-ui:1.3.0-SNAPSHOT
>>>>
>>>> +-de.agilecoders.wicket:wicket-bootstrap-extensions:0.9.0-20131001.073550-3
>>>>     +-org.webjars:jquery-ui:1.10.2-1
>>>>       +-org.webjars:jquery:1.9.1
>>>>
>>>> Can we disable these checks for this branch ?
>>>>
>>>>
>>>  yeah, happy to.  Could you add a comment (or even better, a subtask) to
>>> the ISIS-537 ticket as something to address prior to remerging in the
>>> future.
>>>
>>
>> ISIS-556
>>
>>
>>>
>>> Thx
>>> Dan
>>>
>>>
>>>
>>>
>>>
>>>>
>>>> On Tue, Oct 8, 2013 at 12:40 PM, Martin Grigorov <mg...@apache.org>wrote:
>>>>
>>>>> Hi Dan,
>>>>>
>>>>> I'll work on this task this week again.
>>>>>
>>>>> Thx
>>>
>>>
>>
>

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Martin Grigorov <mg...@apache.org>.
On Fri, Oct 11, 2013 at 1:37 PM, Dan Haywood
<da...@haywood-associates.co.uk>wrote:

>
>
> On 11 October 2013 09:50, Martin Grigorov <mg...@apache.org> wrote:
>
>> Hi,
>>
>> @Dan: what is your development workflow for ISIS ?
>>
>
>
> I use Eclipse with the DN plugin, and the use the .launch files in
> ide/eclipse/launch to run up Isis' WebServer class, that in turn spins up
> an embedded jetty.
>
> I've just recorded and uploaded a very rough-n-ready screencast to show in
> a bit more detail [1].
>

Thanks! I'll check it soon.


>
> HTH
> Dan
>
> [1] http://www.youtube.com/watch?v=ljwQiGsVq2A&feature=youtu.be
>
>
>
>

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
On 11 October 2013 09:50, Martin Grigorov <mg...@apache.org> wrote:

> Hi,
>
> @Dan: what is your development workflow for ISIS ?
>


I use Eclipse with the DN plugin, and the use the .launch files in
ide/eclipse/launch to run up Isis' WebServer class, that in turn spins up
an embedded jetty.

I've just recorded and uploaded a very rough-n-ready screencast to show in
a bit more detail [1].

HTH
Dan

[1] http://www.youtube.com/watch?v=ljwQiGsVq2A&feature=youtu.be

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

@Dan: what is your development workflow for ISIS ?
Because of the problem with Intellij IDEA's plugin for DataNucleus I cannot
use Start.java and the only way to run the demo application is via 'mvn
jetty:run[-exploded]'. But if I make a change in Wicket Viewer code I need
to run 'mvn install' and to restart Jetty. This takes a lot of time.
Since you don't use Start.java I guess you have some other flow that is
faster than mine.




On Tue, Oct 8, 2013 at 1:52 PM, Martin Grigorov <mg...@apache.org>wrote:

>
>
>
> On Tue, Oct 8, 2013 at 1:29 PM, Dan Haywood <da...@haywood-associates.co.uk>wrote:
>
>>
>> On 8 October 2013 10:57, Martin Grigorov <mg...@apache.org> wrote:
>>
>>> I've pulled the latest changes and now I cannot start the app because of:
>>> Caused by: org.hsqldb.HsqlException: column of LOB or ARRAY type cannot
>>> be used in operation
>>>  at org.hsqldb.error.Error.error(Unknown Source)
>>>  at org.hsqldb.error.Error.error(Unknown Source)
>>> at org.hsqldb.Constraint.setColumnsIndexes(Unknown Source)
>>>  at
>>> org.hsqldb.ParserDDL.compileAlterTableAddForeignKeyConstraint(Unknown
>>> Source)
>>> at org.hsqldb.ParserDDL.compileAlterTable(Unknown Source)
>>>  at org.hsqldb.ParserDDL.compileAlter(Unknown Source)
>>> ....
>>>
>>> I don't use any plugins for JDO in Intellij IDEA. Last time the app was
>>> starting fine.
>>>
>>
>> Hmm, well... that error means that the DOM objects have not been
>> enhanced.  You will need to do enhancement by one means or another (I can't
>> quite see how it would have started otherwise).  If IntelliJ runs Maven
>> plugins, then that would have done it, I guess.
>>
>> IntelliJ does have a DN plugin, probably worth spending the time getting
>> it configured.
>>
>
> It was working OK last time. Not sure how.
>
> Just installed IntelliJ plugin but it fails with:
>
> 25003 [ApplicationImpl pooled thread 4] ERROR
> #com.intellij.application.impl.ApplicationImpl  - null
> java.lang.NullPointerException
>  at
> org.datanucleus.ide.idea.IdeaProjectUtils.packageToPath(IdeaProjectUtils.java:192)
> at org.datanucleus.ide.idea.DNEComputable$1.run(DNEComputable.java:631)
>  at
> com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
> at
> org.datanucleus.ide.idea.DNEComputable.getAnnotatedClassFiles(DNEComputable.java:595)
>  at
> org.datanucleus.ide.idea.DNEProjectComponent.createAnnotatedClassFilesGuiModel(DNEProjectComponent.java:384)
> at
> org.datanucleus.ide.idea.DNEProjectComponent.getGuiState(DNEProjectComponent.java:277)
>  at
> org.datanucleus.ide.idea.DNEProjectComponent.createComponent(DNEProjectComponent.java:212)
> at
> com.intellij.openapi.options.newEditor.OptionsEditor$Simple.<init>(OptionsEditor.java:1270)
> ....
>
>
>
>>
>>
>>
>>
>>
>>>
>>> On command line I cannot build ISIS-537 branch because of :
>>>
>>> [INFO] --- maven-enforcer-plugin:1.2:enforce (validate-enforce) @
>>> isis-viewer-wicket-ui ---
>>> [WARNING]
>>> Dependency convergence error for org.webjars:jquery:1.9.0 paths to
>>> dependency are:
>>> +-org.apache.isis.viewer:isis-viewer-wicket-ui:1.3.0-SNAPSHOT
>>>   +-de.agilecoders.wicket:wicket-bootstrap-core:0.9.0-20131001.073459-3
>>>     +-org.webjars:bootstrap:3.0.0
>>>       +-org.webjars:jquery:1.9.0
>>> and
>>> +-org.apache.isis.viewer:isis-viewer-wicket-ui:1.3.0-SNAPSHOT
>>>
>>> +-de.agilecoders.wicket:wicket-bootstrap-extensions:0.9.0-20131001.073550-3
>>>     +-org.webjars:jquery-ui:1.10.2-1
>>>       +-org.webjars:jquery:1.9.1
>>>
>>> Can we disable these checks for this branch ?
>>>
>>>
>>  yeah, happy to.  Could you add a comment (or even better, a subtask) to
>> the ISIS-537 ticket as something to address prior to remerging in the
>> future.
>>
>
> ISIS-556
>
>
>>
>> Thx
>> Dan
>>
>>
>>
>>
>>
>>>
>>> On Tue, Oct 8, 2013 at 12:40 PM, Martin Grigorov <mg...@apache.org>wrote:
>>>
>>>> Hi Dan,
>>>>
>>>> I'll work on this task this week again.
>>>>
>>>> Thx
>>
>>
>

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Martin Grigorov <mg...@apache.org>.
On Tue, Oct 8, 2013 at 1:29 PM, Dan Haywood <da...@haywood-associates.co.uk>wrote:

>
> On 8 October 2013 10:57, Martin Grigorov <mg...@apache.org> wrote:
>
>> I've pulled the latest changes and now I cannot start the app because of:
>> Caused by: org.hsqldb.HsqlException: column of LOB or ARRAY type cannot
>> be used in operation
>>  at org.hsqldb.error.Error.error(Unknown Source)
>>  at org.hsqldb.error.Error.error(Unknown Source)
>> at org.hsqldb.Constraint.setColumnsIndexes(Unknown Source)
>>  at
>> org.hsqldb.ParserDDL.compileAlterTableAddForeignKeyConstraint(Unknown
>> Source)
>> at org.hsqldb.ParserDDL.compileAlterTable(Unknown Source)
>>  at org.hsqldb.ParserDDL.compileAlter(Unknown Source)
>> ....
>>
>> I don't use any plugins for JDO in Intellij IDEA. Last time the app was
>> starting fine.
>>
>
> Hmm, well... that error means that the DOM objects have not been enhanced.
>  You will need to do enhancement by one means or another (I can't quite see
> how it would have started otherwise).  If IntelliJ runs Maven plugins, then
> that would have done it, I guess.
>
> IntelliJ does have a DN plugin, probably worth spending the time getting
> it configured.
>

It was working OK last time. Not sure how.

Just installed IntelliJ plugin but it fails with:

25003 [ApplicationImpl pooled thread 4] ERROR
#com.intellij.application.impl.ApplicationImpl  - null
java.lang.NullPointerException
 at
org.datanucleus.ide.idea.IdeaProjectUtils.packageToPath(IdeaProjectUtils.java:192)
at org.datanucleus.ide.idea.DNEComputable$1.run(DNEComputable.java:631)
 at
com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
at
org.datanucleus.ide.idea.DNEComputable.getAnnotatedClassFiles(DNEComputable.java:595)
 at
org.datanucleus.ide.idea.DNEProjectComponent.createAnnotatedClassFilesGuiModel(DNEProjectComponent.java:384)
at
org.datanucleus.ide.idea.DNEProjectComponent.getGuiState(DNEProjectComponent.java:277)
 at
org.datanucleus.ide.idea.DNEProjectComponent.createComponent(DNEProjectComponent.java:212)
at
com.intellij.openapi.options.newEditor.OptionsEditor$Simple.<init>(OptionsEditor.java:1270)
....



>
>
>
>
>
>>
>> On command line I cannot build ISIS-537 branch because of :
>>
>> [INFO] --- maven-enforcer-plugin:1.2:enforce (validate-enforce) @
>> isis-viewer-wicket-ui ---
>> [WARNING]
>> Dependency convergence error for org.webjars:jquery:1.9.0 paths to
>> dependency are:
>> +-org.apache.isis.viewer:isis-viewer-wicket-ui:1.3.0-SNAPSHOT
>>   +-de.agilecoders.wicket:wicket-bootstrap-core:0.9.0-20131001.073459-3
>>     +-org.webjars:bootstrap:3.0.0
>>       +-org.webjars:jquery:1.9.0
>> and
>> +-org.apache.isis.viewer:isis-viewer-wicket-ui:1.3.0-SNAPSHOT
>>
>> +-de.agilecoders.wicket:wicket-bootstrap-extensions:0.9.0-20131001.073550-3
>>     +-org.webjars:jquery-ui:1.10.2-1
>>       +-org.webjars:jquery:1.9.1
>>
>> Can we disable these checks for this branch ?
>>
>>
>  yeah, happy to.  Could you add a comment (or even better, a subtask) to
> the ISIS-537 ticket as something to address prior to remerging in the
> future.
>

ISIS-556


>
> Thx
> Dan
>
>
>
>
>
>>
>> On Tue, Oct 8, 2013 at 12:40 PM, Martin Grigorov <mg...@apache.org>wrote:
>>
>>> Hi Dan,
>>>
>>> I'll work on this task this week again.
>>>
>>> Thx
>
>

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
On 8 October 2013 10:57, Martin Grigorov <mg...@apache.org> wrote:

> I've pulled the latest changes and now I cannot start the app because of:
> Caused by: org.hsqldb.HsqlException: column of LOB or ARRAY type cannot be
> used in operation
>  at org.hsqldb.error.Error.error(Unknown Source)
>  at org.hsqldb.error.Error.error(Unknown Source)
> at org.hsqldb.Constraint.setColumnsIndexes(Unknown Source)
>  at org.hsqldb.ParserDDL.compileAlterTableAddForeignKeyConstraint(Unknown
> Source)
> at org.hsqldb.ParserDDL.compileAlterTable(Unknown Source)
>  at org.hsqldb.ParserDDL.compileAlter(Unknown Source)
> ....
>
> I don't use any plugins for JDO in Intellij IDEA. Last time the app was
> starting fine.
>

Hmm, well... that error means that the DOM objects have not been enhanced.
 You will need to do enhancement by one means or another (I can't quite see
how it would have started otherwise).  If IntelliJ runs Maven plugins, then
that would have done it, I guess.

IntelliJ does have a DN plugin, probably worth spending the time getting it
configured.





>
> On command line I cannot build ISIS-537 branch because of :
>
> [INFO] --- maven-enforcer-plugin:1.2:enforce (validate-enforce) @
> isis-viewer-wicket-ui ---
> [WARNING]
> Dependency convergence error for org.webjars:jquery:1.9.0 paths to
> dependency are:
> +-org.apache.isis.viewer:isis-viewer-wicket-ui:1.3.0-SNAPSHOT
>   +-de.agilecoders.wicket:wicket-bootstrap-core:0.9.0-20131001.073459-3
>     +-org.webjars:bootstrap:3.0.0
>       +-org.webjars:jquery:1.9.0
> and
> +-org.apache.isis.viewer:isis-viewer-wicket-ui:1.3.0-SNAPSHOT
>
> +-de.agilecoders.wicket:wicket-bootstrap-extensions:0.9.0-20131001.073550-3
>     +-org.webjars:jquery-ui:1.10.2-1
>       +-org.webjars:jquery:1.9.1
>
> Can we disable these checks for this branch ?
>
>
yeah, happy to.  Could you add a comment (or even better, a subtask) to the
ISIS-537 ticket as something to address prior to remerging in the future.

Thx
Dan





>
> On Tue, Oct 8, 2013 at 12:40 PM, Martin Grigorov <mg...@apache.org>wrote:
>
>> Hi Dan,
>>
>> I'll work on this task this week again.
>>
>> Thx

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Martin Grigorov <mg...@apache.org>.
I've pulled the latest changes and now I cannot start the app because of:
Caused by: org.hsqldb.HsqlException: column of LOB or ARRAY type cannot be
used in operation
at org.hsqldb.error.Error.error(Unknown Source)
 at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.Constraint.setColumnsIndexes(Unknown Source)
 at org.hsqldb.ParserDDL.compileAlterTableAddForeignKeyConstraint(Unknown
Source)
at org.hsqldb.ParserDDL.compileAlterTable(Unknown Source)
 at org.hsqldb.ParserDDL.compileAlter(Unknown Source)
....

I don't use any plugins for JDO in Intellij IDEA. Last time the app was
starting fine.

On command line I cannot build ISIS-537 branch because of :

[INFO] --- maven-enforcer-plugin:1.2:enforce (validate-enforce) @
isis-viewer-wicket-ui ---
[WARNING]
Dependency convergence error for org.webjars:jquery:1.9.0 paths to
dependency are:
+-org.apache.isis.viewer:isis-viewer-wicket-ui:1.3.0-SNAPSHOT
  +-de.agilecoders.wicket:wicket-bootstrap-core:0.9.0-20131001.073459-3
    +-org.webjars:bootstrap:3.0.0
      +-org.webjars:jquery:1.9.0
and
+-org.apache.isis.viewer:isis-viewer-wicket-ui:1.3.0-SNAPSHOT

+-de.agilecoders.wicket:wicket-bootstrap-extensions:0.9.0-20131001.073550-3
    +-org.webjars:jquery-ui:1.10.2-1
      +-org.webjars:jquery:1.9.1

Can we disable these checks for this branch ?



On Tue, Oct 8, 2013 at 12:40 PM, Martin Grigorov <mg...@apache.org>wrote:

> Hi Dan,
>
> I'll work on this task this week again.
>
> On Mon, Oct 7, 2013 at 10:35 AM, Dan Haywood <dan@haywood-associates.co.uk
> > wrote:
>
>> Hi Martin, Michael...
>> I've been keeping the master branch up to date of the bootstrap3 fork of
>> Isis [1], but I noticed that there haven't been any commits recently on the
>> ISIS-537 branch [2].
>>
>> Questions:
>> * are you currently busy on other stuff?  (that's fine if you are), or
>> * are you blocked / do I need to get more involved here?
>>
>> As you can imagine, I'm really keen to see this work progress, so if
>> there's anything I can provide to help ensure ongoing progress, I'd like to
>> do that.
>>
>> Also, given things are currently quiet on that branch, would now be a
>> good time for me to do a rebase of ISIS-537 onto master?
>>
>> Cheers
>> Dan
>>
>> [1] https://github.com/l0rdn1kk0n/isis
>> [2] https://github.com/l0rdn1kk0n/isis/commits/ISIS-537
>>
>>
>> On 18 September 2013 13:22, Dan Haywood <da...@haywood-associates.co.uk>wrote:
>>
>>>
>>>
>>> On 18 September 2013 13:13, Martin Grigorov <mg...@apache.org>wrote:
>>>
>>>> On Wed, Sep 18, 2013 at 1:28 PM, Martin Grigorov <mgrigorov@apache.org
>>>> >wrote:
>>>>
>>>> > I was able to run quickstart_wicket_restful_jdo webapp successfully.
>>>> >
>>>> > I see Jetty 6.x is used. I'll update it to 8.x.
>>>> >
>>>>
>>>> I've updated it to Jetty 7.6.13.v20130916 because I've noticed that
>>>> there
>>>> are dependencies to geronimo-servlet-2.5 and jsp-2.1.
>>>> Jetty 8.x requires Servlet API 3.x and maybe there are ISIS users with
>>>> older web servers.
>>>>
>>>
>>> given how young Isis is, that's probably unlikely.  But I agree there's
>>> no need to go all the way to Servlet API 3.x at this time.
>>>
>>>
>>>
>>>>
>>>> Why there is a dependency to JSP-2.1 ? I hope ISIS doesn't use JSPs.
>>>>
>>>>
>>> It doesn't.  Or rather, it shouldn't.  Or rather, the Wicket viewer
>>> doesn't.  Would be curious to see why that's added.  If you can't remove it
>>> easily, I'll help.
>>>
>>>
>>>
>>>>
>>>> > Additionally I'll add Start.java (as in Wicket's quickstart) because
>>>> it
>>>> > allows to develop/debug much faster. Especially when you use DCEVM (
>>>> >
>>>> http://blog.jetbrains.com/idea/2013/07/get-true-hot-swap-in-java-with-dcevm-and-intellij-idea/
>>>> > ).
>>>> >
>>>>
>>>
>>> ok
>>>
>>>
>>>> > At the moment ISIS-537 branch build fails with some issue related to
>>>> > having several versions of ANTLR. We will have to fix it.
>>>>
>>>
>>> this might be an interaction with JDO/DN; have seen something related to
>>> this before.
>>>
>>>
>>>
>>>> >
>>>> > Also we (me and Michael) prefer to use Twitter Bootstrap 3, so we will
>>>> > have to use Wicket Bootstrap 0.8.5-SNAPSHOT<
>>>> https://github.com/l0rdn1kk0n/wicket-bootstrap/tree/bootstrap3> build
>>>> > from 'bootstrap3' branch. At the moment these snapshots are not
>>>> deployed
>>>> > anywhere so every developer will have to clone Wicket Bootstrap
>>>> project
>>>> > locally and install it (as simple as "mvn clean install")
>>>> >
>>>>
>>>
>>> ok
>>>
>>>
>>>
>>>>
>>>> Twitter Bootstrap 3 doesn't support IE8. Is that a problem for ISIS ?
>>>>
>>>
>>> Nope, that's fine.
>>>
>>> Cheers
>>> Dan
>>>
>>>
>>>
>>>
>>>
>>>
>>
>

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Martin Grigorov <mg...@apache.org>.
Hi Dan,

I'll work on this task this week again.

On Mon, Oct 7, 2013 at 10:35 AM, Dan Haywood
<da...@haywood-associates.co.uk>wrote:

> Hi Martin, Michael...
> I've been keeping the master branch up to date of the bootstrap3 fork of
> Isis [1], but I noticed that there haven't been any commits recently on the
> ISIS-537 branch [2].
>
> Questions:
> * are you currently busy on other stuff?  (that's fine if you are), or
> * are you blocked / do I need to get more involved here?
>
> As you can imagine, I'm really keen to see this work progress, so if
> there's anything I can provide to help ensure ongoing progress, I'd like to
> do that.
>
> Also, given things are currently quiet on that branch, would now be a good
> time for me to do a rebase of ISIS-537 onto master?
>
> Cheers
> Dan
>
> [1] https://github.com/l0rdn1kk0n/isis
> [2] https://github.com/l0rdn1kk0n/isis/commits/ISIS-537
>
>
> On 18 September 2013 13:22, Dan Haywood <da...@haywood-associates.co.uk>wrote:
>
>>
>>
>> On 18 September 2013 13:13, Martin Grigorov <mg...@apache.org> wrote:
>>
>>> On Wed, Sep 18, 2013 at 1:28 PM, Martin Grigorov <mgrigorov@apache.org
>>> >wrote:
>>>
>>> > I was able to run quickstart_wicket_restful_jdo webapp successfully.
>>> >
>>> > I see Jetty 6.x is used. I'll update it to 8.x.
>>> >
>>>
>>> I've updated it to Jetty 7.6.13.v20130916 because I've noticed that there
>>> are dependencies to geronimo-servlet-2.5 and jsp-2.1.
>>> Jetty 8.x requires Servlet API 3.x and maybe there are ISIS users with
>>> older web servers.
>>>
>>
>> given how young Isis is, that's probably unlikely.  But I agree there's
>> no need to go all the way to Servlet API 3.x at this time.
>>
>>
>>
>>>
>>> Why there is a dependency to JSP-2.1 ? I hope ISIS doesn't use JSPs.
>>>
>>>
>> It doesn't.  Or rather, it shouldn't.  Or rather, the Wicket viewer
>> doesn't.  Would be curious to see why that's added.  If you can't remove it
>> easily, I'll help.
>>
>>
>>
>>>
>>> > Additionally I'll add Start.java (as in Wicket's quickstart) because it
>>> > allows to develop/debug much faster. Especially when you use DCEVM (
>>> >
>>> http://blog.jetbrains.com/idea/2013/07/get-true-hot-swap-in-java-with-dcevm-and-intellij-idea/
>>> > ).
>>> >
>>>
>>
>> ok
>>
>>
>>> > At the moment ISIS-537 branch build fails with some issue related to
>>> > having several versions of ANTLR. We will have to fix it.
>>>
>>
>> this might be an interaction with JDO/DN; have seen something related to
>> this before.
>>
>>
>>
>>> >
>>> > Also we (me and Michael) prefer to use Twitter Bootstrap 3, so we will
>>> > have to use Wicket Bootstrap 0.8.5-SNAPSHOT<
>>> https://github.com/l0rdn1kk0n/wicket-bootstrap/tree/bootstrap3> build
>>> > from 'bootstrap3' branch. At the moment these snapshots are not
>>> deployed
>>> > anywhere so every developer will have to clone Wicket Bootstrap project
>>> > locally and install it (as simple as "mvn clean install")
>>> >
>>>
>>
>> ok
>>
>>
>>
>>>
>>> Twitter Bootstrap 3 doesn't support IE8. Is that a problem for ISIS ?
>>>
>>
>> Nope, that's fine.
>>
>> Cheers
>> Dan
>>
>>
>>
>>
>>
>>
>

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Hi Martin, Michael...
I've been keeping the master branch up to date of the bootstrap3 fork of
Isis [1], but I noticed that there haven't been any commits recently on the
ISIS-537 branch [2].

Questions:
* are you currently busy on other stuff?  (that's fine if you are), or
* are you blocked / do I need to get more involved here?

As you can imagine, I'm really keen to see this work progress, so if
there's anything I can provide to help ensure ongoing progress, I'd like to
do that.

Also, given things are currently quiet on that branch, would now be a good
time for me to do a rebase of ISIS-537 onto master?

Cheers
Dan

[1] https://github.com/l0rdn1kk0n/isis
[2] https://github.com/l0rdn1kk0n/isis/commits/ISIS-537


On 18 September 2013 13:22, Dan Haywood <da...@haywood-associates.co.uk>wrote:

>
>
> On 18 September 2013 13:13, Martin Grigorov <mg...@apache.org> wrote:
>
>> On Wed, Sep 18, 2013 at 1:28 PM, Martin Grigorov <mgrigorov@apache.org
>> >wrote:
>>
>> > I was able to run quickstart_wicket_restful_jdo webapp successfully.
>> >
>> > I see Jetty 6.x is used. I'll update it to 8.x.
>> >
>>
>> I've updated it to Jetty 7.6.13.v20130916 because I've noticed that there
>> are dependencies to geronimo-servlet-2.5 and jsp-2.1.
>> Jetty 8.x requires Servlet API 3.x and maybe there are ISIS users with
>> older web servers.
>>
>
> given how young Isis is, that's probably unlikely.  But I agree there's no
> need to go all the way to Servlet API 3.x at this time.
>
>
>
>>
>> Why there is a dependency to JSP-2.1 ? I hope ISIS doesn't use JSPs.
>>
>>
> It doesn't.  Or rather, it shouldn't.  Or rather, the Wicket viewer
> doesn't.  Would be curious to see why that's added.  If you can't remove it
> easily, I'll help.
>
>
>
>>
>> > Additionally I'll add Start.java (as in Wicket's quickstart) because it
>> > allows to develop/debug much faster. Especially when you use DCEVM (
>> >
>> http://blog.jetbrains.com/idea/2013/07/get-true-hot-swap-in-java-with-dcevm-and-intellij-idea/
>> > ).
>> >
>>
>
> ok
>
>
>> > At the moment ISIS-537 branch build fails with some issue related to
>> > having several versions of ANTLR. We will have to fix it.
>>
>
> this might be an interaction with JDO/DN; have seen something related to
> this before.
>
>
>
>> >
>> > Also we (me and Michael) prefer to use Twitter Bootstrap 3, so we will
>> > have to use Wicket Bootstrap 0.8.5-SNAPSHOT<
>> https://github.com/l0rdn1kk0n/wicket-bootstrap/tree/bootstrap3> build
>> > from 'bootstrap3' branch. At the moment these snapshots are not deployed
>> > anywhere so every developer will have to clone Wicket Bootstrap project
>> > locally and install it (as simple as "mvn clean install")
>> >
>>
>
> ok
>
>
>
>>
>> Twitter Bootstrap 3 doesn't support IE8. Is that a problem for ISIS ?
>>
>
> Nope, that's fine.
>
> Cheers
> Dan
>
>
>
>
>
>

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
On 18 September 2013 13:13, Martin Grigorov <mg...@apache.org> wrote:

> On Wed, Sep 18, 2013 at 1:28 PM, Martin Grigorov <mgrigorov@apache.org
> >wrote:
>
> > I was able to run quickstart_wicket_restful_jdo webapp successfully.
> >
> > I see Jetty 6.x is used. I'll update it to 8.x.
> >
>
> I've updated it to Jetty 7.6.13.v20130916 because I've noticed that there
> are dependencies to geronimo-servlet-2.5 and jsp-2.1.
> Jetty 8.x requires Servlet API 3.x and maybe there are ISIS users with
> older web servers.
>

given how young Isis is, that's probably unlikely.  But I agree there's no
need to go all the way to Servlet API 3.x at this time.



>
> Why there is a dependency to JSP-2.1 ? I hope ISIS doesn't use JSPs.
>
>
It doesn't.  Or rather, it shouldn't.  Or rather, the Wicket viewer
doesn't.  Would be curious to see why that's added.  If you can't remove it
easily, I'll help.



>
> > Additionally I'll add Start.java (as in Wicket's quickstart) because it
> > allows to develop/debug much faster. Especially when you use DCEVM (
> >
> http://blog.jetbrains.com/idea/2013/07/get-true-hot-swap-in-java-with-dcevm-and-intellij-idea/
> > ).
> >
>

ok


> > At the moment ISIS-537 branch build fails with some issue related to
> > having several versions of ANTLR. We will have to fix it.
>

this might be an interaction with JDO/DN; have seen something related to
this before.



> >
> > Also we (me and Michael) prefer to use Twitter Bootstrap 3, so we will
> > have to use Wicket Bootstrap 0.8.5-SNAPSHOT<
> https://github.com/l0rdn1kk0n/wicket-bootstrap/tree/bootstrap3> build
> > from 'bootstrap3' branch. At the moment these snapshots are not deployed
> > anywhere so every developer will have to clone Wicket Bootstrap project
> > locally and install it (as simple as "mvn clean install")
> >
>

ok



>
> Twitter Bootstrap 3 doesn't support IE8. Is that a problem for ISIS ?
>

Nope, that's fine.

Cheers
Dan

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Martin Grigorov <mg...@apache.org>.
On Wed, Sep 18, 2013 at 1:28 PM, Martin Grigorov <mg...@apache.org>wrote:

> I was able to run quickstart_wicket_restful_jdo webapp successfully.
>
> I see Jetty 6.x is used. I'll update it to 8.x.
>

I've updated it to Jetty 7.6.13.v20130916 because I've noticed that there
are dependencies to geronimo-servlet-2.5 and jsp-2.1.
Jetty 8.x requires Servlet API 3.x and maybe there are ISIS users with
older web servers.

Why there is a dependency to JSP-2.1 ? I hope ISIS doesn't use JSPs.


> Additionally I'll add Start.java (as in Wicket's quickstart) because it
> allows to develop/debug much faster. Especially when you use DCEVM (
> http://blog.jetbrains.com/idea/2013/07/get-true-hot-swap-in-java-with-dcevm-and-intellij-idea/
> ).
>
> At the moment ISIS-537 branch build fails with some issue related to
> having several versions of ANTLR. We will have to fix it.
>
> Also we (me and Michael) prefer to use Twitter Bootstrap 3, so we will
> have to use Wicket Bootstrap 0.8.5-SNAPSHOT<https://github.com/l0rdn1kk0n/wicket-bootstrap/tree/bootstrap3> build
> from 'bootstrap3' branch. At the moment these snapshots are not deployed
> anywhere so every developer will have to clone Wicket Bootstrap project
> locally and install it (as simple as "mvn clean install")
>

Twitter Bootstrap 3 doesn't support IE8. Is that a problem for ISIS ?


>
>
> On Wed, Sep 18, 2013 at 1:02 PM, Dan Haywood <dan@haywood-associates.co.uk
> > wrote:
>
>> aha.  A silly cut-n-paste error.  Thx, will fix this eve.
>>
>>
>>
>>
>> On 18 September 2013 10:57, Martin Grigorov <mg...@apache.org> wrote:
>>
>> > My first feedback:
>> >
>> > Page
>> >
>> http://isis.apache.org/components/objectstores/jdo/datanucleus-and-maven.htmlhas
>> > a link  how to use JDO/DataNucleus with Maven<
>> http://isis.apache.org/components/objectstores/jdo/datanucleus-and-eclipse.html>
>> but
>> > it really means/point to the "with Eclipse" docu.
>> >
>> >
>> > On Wed, Sep 18, 2013 at 11:45 AM, GESCONSULTOR - Óscar Bou <
>> > o.bou@gesconsultor.com> wrote:
>> >
>> >>
>> >> Nice to see all these team!
>> >>
>> >>  I still think you may need UI developers :) I know some
>> >> Java/Scala/JavaScript but don't expect nice looking UI from me. My
>> >> CSS/LESS
>> >> skills are very poor.
>> >>
>> >>
>> >>
>> >> Don't worry. You could have a "Picasso" design, and nobody would be
>> >> completely happy with them. That's the territory of designers.
>> >>
>> >> I think that the best effort should result in easing as much as
>> possible
>> >> the integration of existing Bootstrap themes.
>> >>
>> >> That was the reason I mentioned LESS on the initial email. It could
>> allow
>> >> to "inherit" over, for example, generic Isis CSS classes, other CSS
>> styles
>> >> defined on a free or paid Bootstrap theme, through what I think Less
>> calls
>> >> "mixins".
>> >>
>> >> At least this is our current use of LESS... But it's a first time
>> >> experience, so we will closely monitor all your debates! ;-)
>> >>
>> >> Thanks again,
>> >>
>> >> Oscar
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> El 18/09/2013, a las 10:32, Dan Haywood <da...@haywood-associates.co.uk>
>> >> escribió:
>> >>
>> >> On 18 September 2013 09:23, Martin Grigorov <mg...@apache.org>
>> wrote:
>> >>
>> >>
>> >>
>> >> We will be glad to help with our experience!
>> >>
>> >> I still think you may need UI developers :) I know some
>> >> Java/Scala/JavaScript but don't expect nice looking UI from me. My
>> >> CSS/LESS
>> >> skills are very poor.
>> >>
>> >>
>> >> No worries.. I've already contacted the guy who did our current styling
>> >> (Clayton Lloyd), he's up for doing some restyling when we're ready to.
>> >>  ECP
>> >> (who are sponsoring the Isis/Estatio development) indicated they'd be
>> ok
>> >> to
>> >> pick up the tab on that.
>> >>
>> >>
>> >>
>> >>
>> >> @Dan: should we move our discussion about ISIS-537 here at dev@instead
>> >> of
>> >> our private mail thread ?
>> >>
>> >>
>> >> Yes, please.  *Could you and Michael both subscribe here *and we'll use
>> >>
>> >> this as the channel, as you say.
>> >>
>> >>
>> >>
>> >>
>> >> We will general ISIS questions so I think every ISIS dev can help us.
>> >>
>> >>
>> >> Indeed.  Of course, I wrote the Wicket viewer, so I'm probably the only
>> >> one
>> >> who can field questions on that.  But I'd much rather they were asked
>> and
>> >> answered in the open, per the "Apache way".
>> >>
>> >> Cheers
>> >> Dan
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> Óscar Bou Bou
>> >> Responsable de Producto
>> >> Auditor Jefe de Certificación ISO 27001 en BSI
>> >> CISA, CRISC, APMG ISO 20000, ITIL-F
>> >>
>> >>    902 900 231 / 620 267 520
>> >>    http://www.twitter.com/oscarbou
>> >>
>> >>    http://es.linkedin.com/in/oscarbou
>> >>
>> >>    http://www.GesConsultor.com <http://www.gesconsultor.com/>
>> >>
>> >>
>> >>
>> >> Este mensaje y los ficheros anexos son confidenciales. Los mismos
>> >> contienen información reservada que no puede ser difundida. Si usted ha
>> >> recibido este correo por error, tenga la amabilidad de eliminarlo de su
>> >> sistema y avisar al remitente mediante reenvío a su dirección
>> electrónica;
>> >> no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
>> >> Su dirección de correo electrónico junto a sus datos personales constan
>> >> en un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es
>> la
>> >> de mantener el contacto con Ud. Si quiere saber de qué información
>> >> disponemos de Ud., modificarla, y en su caso, cancelarla, puede hacerlo
>> >> enviando un escrito al efecto, acompañado de una fotocopia de su
>> D.N.I. a
>> >> la siguiente dirección: Gesdatos Software, S.L. , Paseo de la
>> Castellana,
>> >> 153 bajo - 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC -
>> 46015
>> >> (Valencia). Asimismo, es su responsabilidad comprobar que este mensaje
>> o
>> >> sus archivos adjuntos no contengan virus informáticos, y en caso que
>> los
>> >> tuvieran eliminarlos.
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >
>>
>
>

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Martin Grigorov <mg...@apache.org>.
I was able to run quickstart_wicket_restful_jdo webapp successfully.

I see Jetty 6.x is used. I'll update it to 8.x.
Additionally I'll add Start.java (as in Wicket's quickstart) because it
allows to develop/debug much faster. Especially when you use DCEVM (
http://blog.jetbrains.com/idea/2013/07/get-true-hot-swap-in-java-with-dcevm-and-intellij-idea/
).

At the moment ISIS-537 branch build fails with some issue related to having
several versions of ANTLR. We will have to fix it.

Also we (me and Michael) prefer to use Twitter Bootstrap 3, so we will have
to use Wicket Bootstrap
0.8.5-SNAPSHOT<https://github.com/l0rdn1kk0n/wicket-bootstrap/tree/bootstrap3>
build
from 'bootstrap3' branch. At the moment these snapshots are not deployed
anywhere so every developer will have to clone Wicket Bootstrap project
locally and install it (as simple as "mvn clean install")


On Wed, Sep 18, 2013 at 1:02 PM, Dan Haywood
<da...@haywood-associates.co.uk>wrote:

> aha.  A silly cut-n-paste error.  Thx, will fix this eve.
>
>
>
>
> On 18 September 2013 10:57, Martin Grigorov <mg...@apache.org> wrote:
>
> > My first feedback:
> >
> > Page
> >
> http://isis.apache.org/components/objectstores/jdo/datanucleus-and-maven.htmlhas
> > a link  how to use JDO/DataNucleus with Maven<
> http://isis.apache.org/components/objectstores/jdo/datanucleus-and-eclipse.html>
> but
> > it really means/point to the "with Eclipse" docu.
> >
> >
> > On Wed, Sep 18, 2013 at 11:45 AM, GESCONSULTOR - Óscar Bou <
> > o.bou@gesconsultor.com> wrote:
> >
> >>
> >> Nice to see all these team!
> >>
> >>  I still think you may need UI developers :) I know some
> >> Java/Scala/JavaScript but don't expect nice looking UI from me. My
> >> CSS/LESS
> >> skills are very poor.
> >>
> >>
> >>
> >> Don't worry. You could have a "Picasso" design, and nobody would be
> >> completely happy with them. That's the territory of designers.
> >>
> >> I think that the best effort should result in easing as much as possible
> >> the integration of existing Bootstrap themes.
> >>
> >> That was the reason I mentioned LESS on the initial email. It could
> allow
> >> to "inherit" over, for example, generic Isis CSS classes, other CSS
> styles
> >> defined on a free or paid Bootstrap theme, through what I think Less
> calls
> >> "mixins".
> >>
> >> At least this is our current use of LESS... But it's a first time
> >> experience, so we will closely monitor all your debates! ;-)
> >>
> >> Thanks again,
> >>
> >> Oscar
> >>
> >>
> >>
> >>
> >>
> >>
> >> El 18/09/2013, a las 10:32, Dan Haywood <da...@haywood-associates.co.uk>
> >> escribió:
> >>
> >> On 18 September 2013 09:23, Martin Grigorov <mg...@apache.org>
> wrote:
> >>
> >>
> >>
> >> We will be glad to help with our experience!
> >>
> >> I still think you may need UI developers :) I know some
> >> Java/Scala/JavaScript but don't expect nice looking UI from me. My
> >> CSS/LESS
> >> skills are very poor.
> >>
> >>
> >> No worries.. I've already contacted the guy who did our current styling
> >> (Clayton Lloyd), he's up for doing some restyling when we're ready to.
> >>  ECP
> >> (who are sponsoring the Isis/Estatio development) indicated they'd be ok
> >> to
> >> pick up the tab on that.
> >>
> >>
> >>
> >>
> >> @Dan: should we move our discussion about ISIS-537 here at dev@ instead
> >> of
> >> our private mail thread ?
> >>
> >>
> >> Yes, please.  *Could you and Michael both subscribe here *and we'll use
> >>
> >> this as the channel, as you say.
> >>
> >>
> >>
> >>
> >> We will general ISIS questions so I think every ISIS dev can help us.
> >>
> >>
> >> Indeed.  Of course, I wrote the Wicket viewer, so I'm probably the only
> >> one
> >> who can field questions on that.  But I'd much rather they were asked
> and
> >> answered in the open, per the "Apache way".
> >>
> >> Cheers
> >> Dan
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Óscar Bou Bou
> >> Responsable de Producto
> >> Auditor Jefe de Certificación ISO 27001 en BSI
> >> CISA, CRISC, APMG ISO 20000, ITIL-F
> >>
> >>    902 900 231 / 620 267 520
> >>    http://www.twitter.com/oscarbou
> >>
> >>    http://es.linkedin.com/in/oscarbou
> >>
> >>    http://www.GesConsultor.com <http://www.gesconsultor.com/>
> >>
> >>
> >>
> >> Este mensaje y los ficheros anexos son confidenciales. Los mismos
> >> contienen información reservada que no puede ser difundida. Si usted ha
> >> recibido este correo por error, tenga la amabilidad de eliminarlo de su
> >> sistema y avisar al remitente mediante reenvío a su dirección
> electrónica;
> >> no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
> >> Su dirección de correo electrónico junto a sus datos personales constan
> >> en un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es
> la
> >> de mantener el contacto con Ud. Si quiere saber de qué información
> >> disponemos de Ud., modificarla, y en su caso, cancelarla, puede hacerlo
> >> enviando un escrito al efecto, acompañado de una fotocopia de su D.N.I.
> a
> >> la siguiente dirección: Gesdatos Software, S.L. , Paseo de la
> Castellana,
> >> 153 bajo - 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC -
> 46015
> >> (Valencia). Asimismo, es su responsabilidad comprobar que este mensaje o
> >> sus archivos adjuntos no contengan virus informáticos, y en caso que los
> >> tuvieran eliminarlos.
> >>
> >>
> >>
> >>
> >>
> >>
> >
>

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
aha.  A silly cut-n-paste error.  Thx, will fix this eve.




On 18 September 2013 10:57, Martin Grigorov <mg...@apache.org> wrote:

> My first feedback:
>
> Page
> http://isis.apache.org/components/objectstores/jdo/datanucleus-and-maven.html has
> a link  how to use JDO/DataNucleus with Maven<http://isis.apache.org/components/objectstores/jdo/datanucleus-and-eclipse.html> but
> it really means/point to the "with Eclipse" docu.
>
>
> On Wed, Sep 18, 2013 at 11:45 AM, GESCONSULTOR - Óscar Bou <
> o.bou@gesconsultor.com> wrote:
>
>>
>> Nice to see all these team!
>>
>>  I still think you may need UI developers :) I know some
>> Java/Scala/JavaScript but don't expect nice looking UI from me. My
>> CSS/LESS
>> skills are very poor.
>>
>>
>>
>> Don't worry. You could have a "Picasso" design, and nobody would be
>> completely happy with them. That's the territory of designers.
>>
>> I think that the best effort should result in easing as much as possible
>> the integration of existing Bootstrap themes.
>>
>> That was the reason I mentioned LESS on the initial email. It could allow
>> to "inherit" over, for example, generic Isis CSS classes, other CSS styles
>> defined on a free or paid Bootstrap theme, through what I think Less calls
>> "mixins".
>>
>> At least this is our current use of LESS... But it's a first time
>> experience, so we will closely monitor all your debates! ;-)
>>
>> Thanks again,
>>
>> Oscar
>>
>>
>>
>>
>>
>>
>> El 18/09/2013, a las 10:32, Dan Haywood <da...@haywood-associates.co.uk>
>> escribió:
>>
>> On 18 September 2013 09:23, Martin Grigorov <mg...@apache.org> wrote:
>>
>>
>>
>> We will be glad to help with our experience!
>>
>> I still think you may need UI developers :) I know some
>> Java/Scala/JavaScript but don't expect nice looking UI from me. My
>> CSS/LESS
>> skills are very poor.
>>
>>
>> No worries.. I've already contacted the guy who did our current styling
>> (Clayton Lloyd), he's up for doing some restyling when we're ready to.
>>  ECP
>> (who are sponsoring the Isis/Estatio development) indicated they'd be ok
>> to
>> pick up the tab on that.
>>
>>
>>
>>
>> @Dan: should we move our discussion about ISIS-537 here at dev@ instead
>> of
>> our private mail thread ?
>>
>>
>> Yes, please.  *Could you and Michael both subscribe here *and we'll use
>>
>> this as the channel, as you say.
>>
>>
>>
>>
>> We will general ISIS questions so I think every ISIS dev can help us.
>>
>>
>> Indeed.  Of course, I wrote the Wicket viewer, so I'm probably the only
>> one
>> who can field questions on that.  But I'd much rather they were asked and
>> answered in the open, per the "Apache way".
>>
>> Cheers
>> Dan
>>
>>
>>
>>
>>
>>
>>
>> Óscar Bou Bou
>> Responsable de Producto
>> Auditor Jefe de Certificación ISO 27001 en BSI
>> CISA, CRISC, APMG ISO 20000, ITIL-F
>>
>>    902 900 231 / 620 267 520
>>    http://www.twitter.com/oscarbou
>>
>>    http://es.linkedin.com/in/oscarbou
>>
>>    http://www.GesConsultor.com <http://www.gesconsultor.com/>
>>
>>
>>
>> Este mensaje y los ficheros anexos son confidenciales. Los mismos
>> contienen información reservada que no puede ser difundida. Si usted ha
>> recibido este correo por error, tenga la amabilidad de eliminarlo de su
>> sistema y avisar al remitente mediante reenvío a su dirección electrónica;
>> no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
>> Su dirección de correo electrónico junto a sus datos personales constan
>> en un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es la
>> de mantener el contacto con Ud. Si quiere saber de qué información
>> disponemos de Ud., modificarla, y en su caso, cancelarla, puede hacerlo
>> enviando un escrito al efecto, acompañado de una fotocopia de su D.N.I. a
>> la siguiente dirección: Gesdatos Software, S.L. , Paseo de la Castellana,
>> 153 bajo - 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC - 46015
>> (Valencia). Asimismo, es su responsabilidad comprobar que este mensaje o
>> sus archivos adjuntos no contengan virus informáticos, y en caso que los
>> tuvieran eliminarlos.
>>
>>
>>
>>
>>
>>
>

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Martin Grigorov <mg...@apache.org>.
My first feedback:

Page
http://isis.apache.org/components/objectstores/jdo/datanucleus-and-maven.html
has
a link  how to use JDO/DataNucleus with
Maven<http://isis.apache.org/components/objectstores/jdo/datanucleus-and-eclipse.html>
but
it really means/point to the "with Eclipse" docu.


On Wed, Sep 18, 2013 at 11:45 AM, GESCONSULTOR - Óscar Bou <
o.bou@gesconsultor.com> wrote:

>
> Nice to see all these team!
>
> I still think you may need UI developers :) I know some
> Java/Scala/JavaScript but don't expect nice looking UI from me. My CSS/LESS
> skills are very poor.
>
>
>
> Don't worry. You could have a "Picasso" design, and nobody would be
> completely happy with them. That's the territory of designers.
>
> I think that the best effort should result in easing as much as possible
> the integration of existing Bootstrap themes.
>
> That was the reason I mentioned LESS on the initial email. It could allow
> to "inherit" over, for example, generic Isis CSS classes, other CSS styles
> defined on a free or paid Bootstrap theme, through what I think Less calls
> "mixins".
>
> At least this is our current use of LESS... But it's a first time
> experience, so we will closely monitor all your debates! ;-)
>
> Thanks again,
>
> Oscar
>
>
>
>
>
>
> El 18/09/2013, a las 10:32, Dan Haywood <da...@haywood-associates.co.uk>
> escribió:
>
> On 18 September 2013 09:23, Martin Grigorov <mg...@apache.org> wrote:
>
>
>
> We will be glad to help with our experience!
>
> I still think you may need UI developers :) I know some
> Java/Scala/JavaScript but don't expect nice looking UI from me. My CSS/LESS
> skills are very poor.
>
>
> No worries.. I've already contacted the guy who did our current styling
> (Clayton Lloyd), he's up for doing some restyling when we're ready to.  ECP
> (who are sponsoring the Isis/Estatio development) indicated they'd be ok to
> pick up the tab on that.
>
>
>
>
> @Dan: should we move our discussion about ISIS-537 here at dev@ instead of
> our private mail thread ?
>
>
> Yes, please.  *Could you and Michael both subscribe here *and we'll use
>
> this as the channel, as you say.
>
>
>
>
> We will general ISIS questions so I think every ISIS dev can help us.
>
>
> Indeed.  Of course, I wrote the Wicket viewer, so I'm probably the only one
> who can field questions on that.  But I'd much rather they were asked and
> answered in the open, per the "Apache way".
>
> Cheers
> Dan
>
>
>
>
>
>
>
> Óscar Bou Bou
> Responsable de Producto
> Auditor Jefe de Certificación ISO 27001 en BSI
> CISA, CRISC, APMG ISO 20000, ITIL-F
>
>    902 900 231 / 620 267 520
>    http://www.twitter.com/oscarbou
>
>    http://es.linkedin.com/in/oscarbou
>
>    http://www.GesConsultor.com <http://www.gesconsultor.com/>
>
>
>
> Este mensaje y los ficheros anexos son confidenciales. Los mismos
> contienen información reservada que no puede ser difundida. Si usted ha
> recibido este correo por error, tenga la amabilidad de eliminarlo de su
> sistema y avisar al remitente mediante reenvío a su dirección electrónica;
> no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
> Su dirección de correo electrónico junto a sus datos personales constan en
> un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es la de
> mantener el contacto con Ud. Si quiere saber de qué información disponemos
> de Ud., modificarla, y en su caso, cancelarla, puede hacerlo enviando un
> escrito al efecto, acompañado de una fotocopia de su D.N.I. a la siguiente
> dirección: Gesdatos Software, S.L. , Paseo de la Castellana, 153 bajo -
> 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC - 46015 (Valencia).
> Asimismo, es su responsabilidad comprobar que este mensaje o sus archivos
> adjuntos no contengan virus informáticos, y en caso que los tuvieran
> eliminarlos.
>
>
>
>
>
>

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by GESCONSULTOR - Óscar Bou <o....@gesconsultor.com>.
Nice to see all these team!

>> I still think you may need UI developers :) I know some
>> Java/Scala/JavaScript but don't expect nice looking UI from me. My CSS/LESS
>> skills are very poor.


Don't worry. You could have a "Picasso" design, and nobody would be completely happy with them. That's the territory of designers.

I think that the best effort should result in easing as much as possible the integration of existing Bootstrap themes.  

That was the reason I mentioned LESS on the initial email. It could allow to "inherit" over, for example, generic Isis CSS classes, other CSS styles defined on a free or paid Bootstrap theme, through what I think Less calls "mixins".

At least this is our current use of LESS... But it's a first time experience, so we will closely monitor all your debates! ;-)

Thanks again,

Oscar






El 18/09/2013, a las 10:32, Dan Haywood <da...@haywood-associates.co.uk> escribió:

> On 18 September 2013 09:23, Martin Grigorov <mg...@apache.org> wrote:
> 
>> 
> 
> We will be glad to help with our experience!
>> I still think you may need UI developers :) I know some
>> Java/Scala/JavaScript but don't expect nice looking UI from me. My CSS/LESS
>> skills are very poor.
>> 
> 
> No worries.. I've already contacted the guy who did our current styling
> (Clayton Lloyd), he's up for doing some restyling when we're ready to.  ECP
> (who are sponsoring the Isis/Estatio development) indicated they'd be ok to
> pick up the tab on that.
> 
> 
> 
>> 
>> @Dan: should we move our discussion about ISIS-537 here at dev@ instead of
>> our private mail thread ?
>> 
> 
> Yes, please.  *Could you and Michael both subscribe here *and we'll use
> this as the channel, as you say.
> 
> 
> 
> 
>> We will general ISIS questions so I think every ISIS dev can help us.
>> 
> 
> Indeed.  Of course, I wrote the Wicket viewer, so I'm probably the only one
> who can field questions on that.  But I'd much rather they were asked and
> answered in the open, per the "Apache way".
> 
> Cheers
> Dan
> 
> 
> 
>> 
>> 


Óscar Bou Bou
Responsable de Producto
Auditor Jefe de Certificación ISO 27001 en BSI
CISA, CRISC, APMG ISO 20000, ITIL-F

   902 900 231 / 620 267 520
   http://www.twitter.com/oscarbou

   http://es.linkedin.com/in/oscarbou

   http://www.GesConsultor.com 




Este mensaje y los ficheros anexos son confidenciales. Los mismos contienen información reservada que no puede ser difundida. Si usted ha recibido este correo por error, tenga la amabilidad de eliminarlo de su sistema y avisar al remitente mediante reenvío a su dirección electrónica; no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
Su dirección de correo electrónico junto a sus datos personales constan en un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es la de mantener el contacto con Ud. Si quiere saber de qué información disponemos de Ud., modificarla, y en su caso, cancelarla, puede hacerlo enviando un escrito al efecto, acompañado de una fotocopia de su D.N.I. a la siguiente dirección: Gesdatos Software, S.L. , Paseo de la Castellana, 153 bajo - 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC - 46015 (Valencia). Asimismo, es su responsabilidad comprobar que este mensaje o sus archivos adjuntos no contengan virus informáticos, y en caso que los tuvieran eliminarlos.






Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
On 18 September 2013 09:23, Martin Grigorov <mg...@apache.org> wrote:

>

We will be glad to help with our experience!
> I still think you may need UI developers :) I know some
> Java/Scala/JavaScript but don't expect nice looking UI from me. My CSS/LESS
> skills are very poor.
>

No worries.. I've already contacted the guy who did our current styling
(Clayton Lloyd), he's up for doing some restyling when we're ready to.  ECP
(who are sponsoring the Isis/Estatio development) indicated they'd be ok to
pick up the tab on that.



>
> @Dan: should we move our discussion about ISIS-537 here at dev@ instead of
> our private mail thread ?
>

Yes, please.  *Could you and Michael both subscribe here *and we'll use
this as the channel, as you say.




> We will general ISIS questions so I think every ISIS dev can help us.
>

Indeed.  Of course, I wrote the Wicket viewer, so I'm probably the only one
who can field questions on that.  But I'd much rather they were asked and
answered in the open, per the "Apache way".

Cheers
Dan



>
>

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Martin Grigorov <mg...@apache.org>.
Hi Isis devs,


On Wed, Sep 18, 2013 at 10:55 AM, GESCONSULTOR - Óscar Bou <
o.bou@gesconsultor.com> wrote:

>
>
> Sure!
>
>
> Really good news! Isis is becoming a powerful horse for BDD-driven,
> database-agnostic Domain implementation.
>
> We are at the moment that strongly experienced UI developers are in need,
> so welcome aboard!
>

We will be glad to help with our experience!
I still think you may need UI developers :) I know some
Java/Scala/JavaScript but don't expect nice looking UI from me. My CSS/LESS
skills are very poor.

@Dan: should we move our discussion about ISIS-537 here at dev@ instead of
our private mail thread ?
We will general ISIS questions so I think every ISIS dev can help us.


>
> Regards,
>
> Oscar
>
>
>
>
> El 18/09/2013, a las 09:39, Dan Haywood <da...@haywood-associates.co.uk>
> escribió:
>
> > Very good... glad we're evolving your bespoke UI and Isis out-of-the-box
> > UIs "sympathetically".
> >
> > Meanwhile, I've asked offline whether Martin Grigorov (a Wicket committer
> > and who I know has been following Isis) and his colleague, Michael Haitz,
> > whether they would be interested in helping me to port Wicket to
> Bootstrap
> > using their wicket-bootstrap integration [1].  Glad to say they are both
> > enthusiastic to do so.  Michael has forked the Isis repo [1], and I have
> > push rights.  I made a start stripping out the current CSS and
> integrating
> > in wicket-bootstrap; I'm doing this work in a fork [3] so can do a merge
> > when complete.
> >
> > No timescales defined for this, but I'm very happy to have two
> experienced
> > Wicketeers help me on this.
> >
> > Later!
> > Dan
> >
> >
> > [1] https://github.com/l0rdn1kk0n/wicket-bootstrap
> > [2] https://github.com/l0rdn1kk0n/isis
> > [3] https://github.com/l0rdn1kk0n/isis/tree/ISIS-537
> >
> >
> >
> > On 18 September 2013 08:30, GESCONSULTOR - Óscar Bou <
> o.bou@gesconsultor.com
> >> wrote:
> >
> >>
> >> Hi, Dan.
> >>
> >> Just to let you know.
> >>
> >> We are adapting this week our UI to a Bootstrap theme. It's being really
> >> easy by using LESS [1], as it allows to "mix" distinct CSS styles.
> >>
> >> In that way, we can have a predefined CSS style for our UI components
> >> (i.e., .wm_gesconsultor .wmbutton), and, on a styles.less file, define
> it
> >> as an "extension" to the ".btn.blue" class defined on a styles.css file.
> >>
> >> As an example:
> >>
> >> @import "style-metro.less";
> >> @import "bootstrap.less";
> >> @import "style.less";
> >>
> >>
> >> .wm_gesconsultor .wmbutton {
> >>    &:extend(.btn.blue all);
> >>    border: 0px solid !important;
> >> }
> >>
> >> .wm_gesconsultor .dijitButtonNode {
> >>    &:extend(.btn.blue all);
> >>
> >>    border: 0px solid !important;
> >>    margin: 4px;
> >>    padding: 0px;
> >>    overflow: hidden;
> >>    left: 0px;
> >>    top: 0px;
> >>    width: 72px;
> >>    height: 24px;
> >>    line-height: normal;
> >> }
> >>
> >>
> >> On this way, for changing the theme, only the .less file must be
> upgraded,
> >> to "map" the "isis-button", etc. to the new "css" defined on the style
> that
> >> the user wants to.
> >>
> >> HTH,
> >>
> >> Oscar
> >>
> >>
> >> [1] http://lesscss.org/
> >>
> >>
> >> El 17/09/2013, a las 22:55, "Dan Haywood (JIRA)" <ji...@apache.org>
> >> escribió:
> >>
> >>> Dan Haywood created ISIS-537:
> >>> --------------------------------
> >>>
> >>>            Summary: Convert Wicket viewer to use Bootstrap, so that it
> >> can be themed.
> >>>                Key: ISIS-537
> >>>                URL: https://issues.apache.org/jira/browse/ISIS-537
> >>>            Project: Isis
> >>>         Issue Type: New Feature
> >>>         Components: Viewer: Wicket
> >>>   Affects Versions: viewer-wicket-1.2.0
> >>>           Reporter: Dan Haywood
> >>>           Assignee: Dan Haywood
> >>>            Fix For: viewer-wicket-1.4.0
> >>>
> >>>
> >>> Using https://github.com/l0rdn1kk0n/wicket-bootstrap as the
> >> wicket/bootstrap integration.
> >>>
> >>> --
> >>> This message is automatically generated by JIRA.
> >>> If you think it was sent incorrectly, please contact your JIRA
> >> administrators
> >>> For more information on JIRA, see:
> >> http://www.atlassian.com/software/jira
> >>
> >>
>
>

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by GESCONSULTOR - Óscar Bou <o....@gesconsultor.com>.

Sure!


Really good news! Isis is becoming a powerful horse for BDD-driven, database-agnostic Domain implementation.

We are at the moment that strongly experienced UI developers are in need, so welcome aboard!

Regards,

Oscar




El 18/09/2013, a las 09:39, Dan Haywood <da...@haywood-associates.co.uk> escribió:

> Very good... glad we're evolving your bespoke UI and Isis out-of-the-box
> UIs "sympathetically".
> 
> Meanwhile, I've asked offline whether Martin Grigorov (a Wicket committer
> and who I know has been following Isis) and his colleague, Michael Haitz,
> whether they would be interested in helping me to port Wicket to Bootstrap
> using their wicket-bootstrap integration [1].  Glad to say they are both
> enthusiastic to do so.  Michael has forked the Isis repo [1], and I have
> push rights.  I made a start stripping out the current CSS and integrating
> in wicket-bootstrap; I'm doing this work in a fork [3] so can do a merge
> when complete.
> 
> No timescales defined for this, but I'm very happy to have two experienced
> Wicketeers help me on this.
> 
> Later!
> Dan
> 
> 
> [1] https://github.com/l0rdn1kk0n/wicket-bootstrap
> [2] https://github.com/l0rdn1kk0n/isis
> [3] https://github.com/l0rdn1kk0n/isis/tree/ISIS-537
> 
> 
> 
> On 18 September 2013 08:30, GESCONSULTOR - Óscar Bou <o.bou@gesconsultor.com
>> wrote:
> 
>> 
>> Hi, Dan.
>> 
>> Just to let you know.
>> 
>> We are adapting this week our UI to a Bootstrap theme. It's being really
>> easy by using LESS [1], as it allows to "mix" distinct CSS styles.
>> 
>> In that way, we can have a predefined CSS style for our UI components
>> (i.e., .wm_gesconsultor .wmbutton), and, on a styles.less file, define it
>> as an "extension" to the ".btn.blue" class defined on a styles.css file.
>> 
>> As an example:
>> 
>> @import "style-metro.less";
>> @import "bootstrap.less";
>> @import "style.less";
>> 
>> 
>> .wm_gesconsultor .wmbutton {
>>    &:extend(.btn.blue all);
>>    border: 0px solid !important;
>> }
>> 
>> .wm_gesconsultor .dijitButtonNode {
>>    &:extend(.btn.blue all);
>> 
>>    border: 0px solid !important;
>>    margin: 4px;
>>    padding: 0px;
>>    overflow: hidden;
>>    left: 0px;
>>    top: 0px;
>>    width: 72px;
>>    height: 24px;
>>    line-height: normal;
>> }
>> 
>> 
>> On this way, for changing the theme, only the .less file must be upgraded,
>> to "map" the "isis-button", etc. to the new "css" defined on the style that
>> the user wants to.
>> 
>> HTH,
>> 
>> Oscar
>> 
>> 
>> [1] http://lesscss.org/
>> 
>> 
>> El 17/09/2013, a las 22:55, "Dan Haywood (JIRA)" <ji...@apache.org>
>> escribió:
>> 
>>> Dan Haywood created ISIS-537:
>>> --------------------------------
>>> 
>>>            Summary: Convert Wicket viewer to use Bootstrap, so that it
>> can be themed.
>>>                Key: ISIS-537
>>>                URL: https://issues.apache.org/jira/browse/ISIS-537
>>>            Project: Isis
>>>         Issue Type: New Feature
>>>         Components: Viewer: Wicket
>>>   Affects Versions: viewer-wicket-1.2.0
>>>           Reporter: Dan Haywood
>>>           Assignee: Dan Haywood
>>>            Fix For: viewer-wicket-1.4.0
>>> 
>>> 
>>> Using https://github.com/l0rdn1kk0n/wicket-bootstrap as the
>> wicket/bootstrap integration.
>>> 
>>> --
>>> This message is automatically generated by JIRA.
>>> If you think it was sent incorrectly, please contact your JIRA
>> administrators
>>> For more information on JIRA, see:
>> http://www.atlassian.com/software/jira
>> 
>> 


Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Very good... glad we're evolving your bespoke UI and Isis out-of-the-box
UIs "sympathetically".

Meanwhile, I've asked offline whether Martin Grigorov (a Wicket committer
and who I know has been following Isis) and his colleague, Michael Haitz,
whether they would be interested in helping me to port Wicket to Bootstrap
using their wicket-bootstrap integration [1].  Glad to say they are both
enthusiastic to do so.  Michael has forked the Isis repo [1], and I have
push rights.  I made a start stripping out the current CSS and integrating
in wicket-bootstrap; I'm doing this work in a fork [3] so can do a merge
when complete.

No timescales defined for this, but I'm very happy to have two experienced
Wicketeers help me on this.

Later!
Dan


[1] https://github.com/l0rdn1kk0n/wicket-bootstrap
[2] https://github.com/l0rdn1kk0n/isis
[3] https://github.com/l0rdn1kk0n/isis/tree/ISIS-537



On 18 September 2013 08:30, GESCONSULTOR - Óscar Bou <o.bou@gesconsultor.com
> wrote:

>
> Hi, Dan.
>
> Just to let you know.
>
> We are adapting this week our UI to a Bootstrap theme. It's being really
> easy by using LESS [1], as it allows to "mix" distinct CSS styles.
>
> In that way, we can have a predefined CSS style for our UI components
> (i.e., .wm_gesconsultor .wmbutton), and, on a styles.less file, define it
> as an "extension" to the ".btn.blue" class defined on a styles.css file.
>
> As an example:
>
> @import "style-metro.less";
> @import "bootstrap.less";
> @import "style.less";
>
>
> .wm_gesconsultor .wmbutton {
>     &:extend(.btn.blue all);
>     border: 0px solid !important;
> }
>
> .wm_gesconsultor .dijitButtonNode {
>     &:extend(.btn.blue all);
>
>     border: 0px solid !important;
>     margin: 4px;
>     padding: 0px;
>     overflow: hidden;
>     left: 0px;
>     top: 0px;
>     width: 72px;
>     height: 24px;
>     line-height: normal;
> }
>
>
> On this way, for changing the theme, only the .less file must be upgraded,
> to "map" the "isis-button", etc. to the new "css" defined on the style that
> the user wants to.
>
> HTH,
>
> Oscar
>
>
> [1] http://lesscss.org/
>
>
> El 17/09/2013, a las 22:55, "Dan Haywood (JIRA)" <ji...@apache.org>
> escribió:
>
> > Dan Haywood created ISIS-537:
> > --------------------------------
> >
> >             Summary: Convert Wicket viewer to use Bootstrap, so that it
> can be themed.
> >                 Key: ISIS-537
> >                 URL: https://issues.apache.org/jira/browse/ISIS-537
> >             Project: Isis
> >          Issue Type: New Feature
> >          Components: Viewer: Wicket
> >    Affects Versions: viewer-wicket-1.2.0
> >            Reporter: Dan Haywood
> >            Assignee: Dan Haywood
> >             Fix For: viewer-wicket-1.4.0
> >
> >
> > Using https://github.com/l0rdn1kk0n/wicket-bootstrap as the
> wicket/bootstrap integration.
> >
> > --
> > This message is automatically generated by JIRA.
> > If you think it was sent incorrectly, please contact your JIRA
> administrators
> > For more information on JIRA, see:
> http://www.atlassian.com/software/jira
>
>

Re: [jira] [Created] (ISIS-537) Convert Wicket viewer to use Bootstrap, so that it can be themed.

Posted by GESCONSULTOR - Óscar Bou <o....@gesconsultor.com>.
Hi, Dan.

Just to let you know. 

We are adapting this week our UI to a Bootstrap theme. It's being really easy by using LESS [1], as it allows to "mix" distinct CSS styles.

In that way, we can have a predefined CSS style for our UI components (i.e., .wm_gesconsultor .wmbutton), and, on a styles.less file, define it as an "extension" to the ".btn.blue" class defined on a styles.css file.

As an example:

@import "style-metro.less";
@import "bootstrap.less"; 
@import "style.less"; 


.wm_gesconsultor .wmbutton {
    &:extend(.btn.blue all);
    border: 0px solid !important;    
}

.wm_gesconsultor .dijitButtonNode {
    &:extend(.btn.blue all);

    border: 0px solid !important;
    margin: 4px;
    padding: 0px;
    overflow: hidden;
    left: 0px;
    top: 0px;
    width: 72px;
    height: 24px;
    line-height: normal;    
}


On this way, for changing the theme, only the .less file must be upgraded, to "map" the "isis-button", etc. to the new "css" defined on the style that the user wants to.

HTH,

Oscar


[1] http://lesscss.org/


El 17/09/2013, a las 22:55, "Dan Haywood (JIRA)" <ji...@apache.org> escribió:

> Dan Haywood created ISIS-537:
> --------------------------------
> 
>             Summary: Convert Wicket viewer to use Bootstrap, so that it can be themed.
>                 Key: ISIS-537
>                 URL: https://issues.apache.org/jira/browse/ISIS-537
>             Project: Isis
>          Issue Type: New Feature
>          Components: Viewer: Wicket
>    Affects Versions: viewer-wicket-1.2.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>             Fix For: viewer-wicket-1.4.0
> 
> 
> Using https://github.com/l0rdn1kk0n/wicket-bootstrap as the wicket/bootstrap integration.
> 
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira