I think that's a great idea, it would make the skin more extensible. Right
now I am exploring creating a xar to create a page where there can be
options-- right now for the colors, like you did with the "fluid" option on
lyrebird.
As I am separating the codes, i am wondering how far i should separate the
core? Should i just leave enough css that there is a sidebar, the header,
and the main content area?
Thank you,
Jonathan Solichin
On Mon, Jul 30, 2012 at 1:09 PM, Jonathan Solichin
<j.s.solichin(a)gmail.com>wrote:
> I think that's a great idea, it would make the skin more extensible. Right
> now I am exploring creating a xar to create a page where there can be
> options-- right now for the colors, like you did with the "fluid" option on
> lyrebird.
>
> As I am separating the codes, i am wondering how far i should separate the
> core? Should i just leave enough css that there is a sidebar, the header,
> and the main content area?
>
> Thank you,
> Jonathan Solichin
>
>
> On Thu, Jul 26, 2012 at 1:42 AM, Jonathan Solichin <jssolichin(a)gmail.com>wrote:
>
>> Hi Jerome,
>>
>> All the advise you mentioned should now be fixed on github. Ajax search
>> is now implemented.
>>
>> I will be working on color themes, while still trying to ensure
>> consistency through out XE UI.
>>
>> Thank you again!
>> Jonathan Solichin
>>
>>
>> On Tue, Jul 17, 2012 at 11:50 AM, Jonathan Solichin <jssolichin(a)gmail.com
>> > wrote:
>>
>>> Hello Friends,
>>>
>>> As you may or may not know, I have been working on a responsive skin for
>>> XWiki for GSOC (http://23.21.87.183:8080/xwiki/bin/view/Main/WebHome).
>>> As I continue to add further details and refinements into the skin, I would
>>> like to kindly ask for your help in doing so. In order to make sure that I
>>> did not miss anything and the skin is as complete as possible, I would like
>>> to, if possible, request a XAR of an existing wiki (or complex pages) so
>>> that I may see the result of implementing the skin on more than the default
>>> wiki data.
>>>
>>> If this is not a possible, I would like to still enlist your help in
>>> testing some basic/your favorite functionality/features of xwiki. There are
>>> several ways to do this:
>>>
>>> - By downloading the current skin and testing it on your XWiki:
>>> https://github.com/jssolichin/xo5
>>> - By playing around with the live instance (uses default admin
>>> user/password): http://23.21.87.183:8080/xwiki/bin/view/Main/WebHome
>>> - By letting me know of your favorite applications (so that I may
>>> look into implementing them)
>>>
>>> Anything you want to note is fine. Bug and feature request are both
>>> welcome, as I think communal ideas are often better than one. Even if you
>>> did not have a chance to play too much with the skin, go ahead and let me
>>> know what you think I should check on (based on your experience) and/or
>>> give me any suggestions that may have come up while reading this.
>>> Technicality permitting, I will check myself.
>>>
>>> Helping with this process will help make the skin better, and maybe help
>>> it to be tailored to your (/type of) wiki and the community surrounding the
>>> platform in general.
>>>
>>> Thank you in advance for your time!
>>> Jonathan Solichin
>>>
>>
>>
>
The XWiki development team is proud to announce the availability of
XWiki Enterprise 4.2 Milestone 2. This release adds support for
storing an email address and a list of wiki page names in XWiki
objects using dedicated xclass property types. It also adds the
ability to have an object property whose value is computed from the
other properties. For developers this release introduces default
custom displayers for easier customization of the way XWiki object
properties are displayed.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
Thanks
-The XWiki dev team
Hi devs,
I'd like to start the release this afternoon (EET). The CI looks in
good shape. I'll check the two failing tests in
xwiki-enterprise-test-extension. Please let me know if you have any
pending commits for 4.2M2 or any blocking issues that needs to be
fixed before the release.
Thanks,
Marius
Hi Thomas,
This is the latest result for xwiki-android-tests-instrumentation (The
UI stress testing test module)
[INFO] *Found 0 devices connected with the Android Debug Bridge*
mojoFailed com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.3.0(default-internal-pre-integration-test)
projectFailed org.xwiki.android:xwiki-android-tests-instrumentation:1.0-SNAPSHOT
sessionEnded
Need an AVD / Device connected to Jenkins to run the tests.
Also the ....test-rest will have failures if some preconditions are not
met. (like having a page named Blog/test2 )
Is there a testing server instance running on the Jenkins server?.
Best Regards
Sasinda.
PS: I created a login with username sasindar.
On Thu, Jul 12, 2012 at 6:08 PM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com>wrote:
> BTW don't put too much details in mail in general, better making sure
> that references places like
> https://github.com/xwiki-contrib/android-client/blob/master/README and
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Google+Android+Client
> are up to date and link to them. Unless the mail is about asking some
> details of course, I mostly talking about announcement mails.
>
> On Thu, Jul 12, 2012 at 2:35 PM, Thomas Mortagne
> <thomas.mortagne(a)xwiki.com> wrote:
> > On Thu, Jul 12, 2012 at 1:10 PM, sasinda rukshan
> > <sasindarukshan(a)gmail.com> wrote:
> >> Hi
> >> :-)
> >> Do you mean to put a mail to Xwiki Users list users(a)xwiki.org., Not
> >> Developers list ?
> >
> > I mean users and dev list. The idea is to talk about your project to
> > the community (what already exist, what coming, etc). Note that dev
> > mailing list is not for developers, it's for developers of XWiki
> > itself, developers that are going to use XWiki and in this case
> > android framework are users from mailing list point or view.
> >
> >> Well did you check the apk ? is it enough to show off.
> >
> > As long as it's working and there anything new to advertise it's
> > enough. The important things here is to show that there is something
> > produced which is easy to test and that people can try it whenever
> > they want to check last stuff.
> >
> >>
> >> Regards
> >> Sasinda.
> >>
> >>
> >>
> >>
> >> On Thu, Jul 12, 2012 at 3:55 PM, Thomas Mortagne <
> thomas.mortagne(a)xwiki.com>
> >> wrote:
> >>>
> >>> It's an announcement mail, not a documentation. It's made to show off
> ;)
> >>>
> >>> On Thu, Jul 12, 2012 at 12:23 PM, Thomas Mortagne
> >>> <thomas.mortagne(a)xwiki.com> wrote:
> >>> > On Thu, Jul 12, 2012 at 12:15 PM, sasinda rukshan
> >>> > <sasindarukshan(a)gmail.com> wrote:
> >>> >> Hi,
> >>> >> You mean to a real phone?
> >>> >> I was thinking about an emulator. :-)
> >>> >
> >>> > Not was talking about real quick test for end user.
> >>> >
> >>> >>>>I don't understand, you don't need command line to install any APK
> on
> >>> >>>>a phone. You just need to enable it.
> >>> >> Well I mean for the developers to test what the API offers. Not the
> >>> >> application users to check what is available.
> >>> >> The demo blog app was not meant for real users. I only spent about
> 7-8
> >>> >> hours
> >>> >> developing the UI of it.
> >>> >
> >>> > It's not a big deal, it's just about showing that you have something
> >>> > working and that it's easy to try it.
> >>> >
> >>> > You should also obviously talk about what's not visible yet and
> >>> > provide links for developers. But no need to explain developer how to
> >>> > put an APK in an emulator, just indicate what new and where it is.
> >>> >
> >>> >>
> >>> >> Regards
> >>> >> Sasinda.
> >>> >>
> >>> >>
> >>> >> On Thu, Jul 12, 2012 at 3:07 PM, Thomas Mortagne
> >>> >> <thomas.mortagne(a)xwiki.com>
> >>> >> wrote:
> >>> >>>
> >>> >>> On Thu, Jul 12, 2012 at 11:35 AM, Thomas Mortagne
> >>> >>> <thomas.mortagne(a)xwiki.com> wrote:
> >>> >>> > On Thu, Jul 12, 2012 at 11:32 AM, sasinda rukshan
> >>> >>> > <sasindarukshan(a)gmail.com> wrote:
> >>> >>> >> Hi,
> >>> >>> >> Thanks.
> >>> >>> >>>>Evaluation (you passed by the way unless Google has soemthing
> to
> >>> >>> >>>> say
> >>> >>> >>>>about it but I think they let us decide)
> >>> >>> >> Thanks a lot! I am happy to here that.
> >>> >>> >>
> >>> >>> >> By the way I did not care about making the visual aspects. Since
> >>> >>> >> you
> >>> >>> >> said
> >>> >>> >> that the API is the most important one.
> >>> >>> >> So it looks only little work.
> >>> >>> >> I mean, no one will see that I have automated the work of
> sending
> >>> >>> >> the
> >>> >>> >> representation of the Xwiki Document to the server
> >>> >>> >> with just one method call (i.e. create()). I am very happy to
> have
> >>> >>> >> made
> >>> >>> >> such an abstraction because I were originally planning to show
> the
> >>> >>> >> Blog
> >>> >>> >> demo
> >>> >>> >> using earlier project's fine grained API directly. The
> abstraction
> >>> >>> >> was
> >>> >>> >> made
> >>> >>> >> such that XE can keep on changing the ReST API without affecting
> >>> >>> >> the
> >>> >>> >> upper
> >>> >>> >> application layers.
> >>> >>> >> But I am afraid nobody(not you :-)) will notice that because all
> >>> >>> >> that
> >>> >>> >> is
> >>> >>> >> internal technical functionality.
> >>> >>> >>
> >>> >>> >>
> >>> >>> >>>> But try to do
> >>> >>> >>>>a not too technical mail and gives phone/tablet oriented
> >>> >>> >>>> instructions
> >>> >>> >>>>to install the APK
> >>> >>> >> I'll send a mail to the community without tech stuff. ( I mean
> the
> >>> >>> >> ORM
> >>> >>> >> frameworks , restful abstractions etc)
> >>> >>> >> But they will have to install it using cmd line any way.
> >>> >>> >> adb install <apk> . No GUI ;-)
> >>> >>> >> Navigation is intuitive.
> >>> >>> >
> >>> >>> > I don't understand, you don't need command line to install any
> APK
> >>> >>> > on
> >>> >>> > a phone. You just need to enable it.
> >>> >>>
> >>> >>> Talking about enable installing APK comming from "unkown sources"
> in
> >>> >>> Applications preferences.
> >>> >>>
> >>> >>> >
> >>> >>> >>
> >>> >>> >>
> >>> >>> >> I will only mention the internals in the design docs.
> >>> >>> >>
> >>> >>> >>
> >>> >>> >> Thanks.
> >>> >>> >>
> >>> >>> >>
> >>> >>> >>
> >>> >>> >>
> >>> >>> >>
> >>> >>> >>
> >>> >>> >>
> >>> >>> >> On Thu, Jul 12, 2012 at 2:00 PM, Thomas Mortagne
> >>> >>> >> <thomas.mortagne(a)xwiki.com>
> >>> >>> >> wrote:
> >>> >>> >>>
> >>> >>> >>> I'm the one that is assigned to this project as the most
> available
> >>> >>> >>> to
> >>> >>> >>> help you and follow you work but your are actually working with
> >>> >>> >>> XWiki
> >>> >>> >>> community, not just me ;)
> >>> >>> >>>
> >>> >>> >>> On Thu, Jul 12, 2012 at 10:28 AM, Thomas Mortagne
> >>> >>> >>> <thomas.mortagne(a)xwiki.com> wrote:
> >>> >>> >>> > On Thu, Jul 12, 2012 at 10:02 AM, sasinda rukshan
> >>> >>> >>> > <sasindarukshan(a)gmail.com> wrote:
> >>> >>> >>> >> Hi,
> >>> >>> >>> >> PS:
> >>> >>> >>> >>>> * Post, Publish a blog post
> >>> >>> >>> >>>> (
> >>> >>> >>> >>>> These two features use the internal functionality as
> >>> >>> >>> >>>> follows.
> >>> >>> >>> >>>> Posting a Document in the server using the new ReSTful
> >>> >>> >>> >>>> Access
> >>> >>> >>> >>>> Layer
> >>> >>> >>> >>>> simplified API.
> >>> >>> >>> >>>> Actually an API user would only have to call a
> create(doc)
> >>> >>> >>> >>>> method
> >>> >>> >>> >>>> passing the Xwik Document he made. All the logic of
> >>> >>> >>> >>>> transforming
> >>> >>> >>> >> ...
> >>> >>> >>> >> All the logic of transforming is done behind the scenes. The
> >>> >>> >>> >> developer
> >>> >>> >>> >> need
> >>> >>> >>> >> not know much about the underlying restful api. That is
> >>> >>> >>> >> he does not need to know he has to post objects to a page,
> then
> >>> >>> >>> >> post
> >>> >>> >>> >> tags
> >>> >>> >>> >> comments and etc.
> >>> >>> >>> >> All the ReST calls are done under the ReSTful Access layer.
> It
> >>> >>> >>> >> is
> >>> >>> >>> >> just
> >>> >>> >>> >> like
> >>> >>> >>> >> the hibernate layer above the Xwiki Enterprise Database
> ;-).
> >>> >>> >>> >>
> >>> >>> >>> >> Also For the API user's ease, we have integrated ORMLite a
> ORM
> >>> >>> >>> >> library. So
> >>> >>> >>> >> Hibernate, JPA users will feel familiar here.
> >>> >>> >>> >>
> >>> >>> >>> >> Those are the important points in a summary.
> >>> >>> >>> >> Further details will be provided when I update the
> >>> >>> >>> >> documentations.
> >>> >>> >>> >
> >>> >>> >>> > Again do not send all that only to me.
> >>> >>> >>> >
> >>> >>> >>> > Evaluation (you passed by the way unless Google has
> soemthing to
> >>> >>> >>> > say
> >>> >>> >>> > about it but I think they let us decide) is good period to
> start
> >>> >>> >>> > announcing what you have done so far and how to test it. But
> try
> >>> >>> >>> > to
> >>> >>> >>> > do
> >>> >>> >>> > a not too technical mail and gives phone/tablet oriented
> >>> >>> >>> > instructions
> >>> >>> >>> > to install the APK people should try since most people are
> not
> >>> >>> >>> > going
> >>> >>> >>> > to test it with the debugger ;)
> >>> >>> >>> >
> >>> >>> >>> >>
> >>> >>> >>> >> Please feel free to suggest.
> >>> >>> >>> >>
> >>> >>> >>> >> Thanks.
> >>> >>> >>> >> Best Regards.
> >>> >>> >>> >> Sasinda.
> >>> >>> >>> >>
> >>> >>> >>> >>
> >>> >>> >>> >>
> >>> >>> >>> >> On Thu, Jul 12, 2012 at 1:21 PM, sasinda rukshan
> >>> >>> >>> >> <sasindarukshan(a)gmail.com>
> >>> >>> >>> >> wrote:
> >>> >>> >>> >>>
> >>> >>> >>> >>> Hi Thomas , all,
> >>> >>> >>> >>>
> >>> >>> >>> >>> Oops.Very Sorry. I was doing it on my office machine. I
> >>> >>> >>> >>> commented
> >>> >>> >>> >>> out
> >>> >>> >>> >>> the
> >>> >>> >>> >>> parent reference. Big mistake with removing comments.
> >>> >>> >>> >>> The build did work in the local machine. The earlier
> build's
> >>> >>> >>> >>> problem
> >>> >>> >>> >>> was
> >>> >>> >>> >>> that it did not export the dependencies. Now with the older
> >>> >>> >>> >>> jayway
> >>> >>> >>> >>> plugin
> >>> >>> >>> >>> the export of dependencies to the apk is done ok.
> >>> >>> >>> >>> Thanks for pointing out.
> >>> >>> >>> >>>
> >>> >>> >>> >>> >>Note that it still not fully building.
> >>> >>> >>> >>>
> >>> >>> >>> >>> [INFO] XWiki Android - Parent POM ........................
> >>> >>> >>> >>> SUCCESS
> >>> >>> >>> >>> [5.786s]
> >>> >>> >>> >>> [INFO] XWiki REST Model ..................................
> >>> >>> >>> >>> SUCCESS
> >>> >>> >>> >>> [1.991s]
> >>> >>> >>> >>> [INFO] XWiki REST Simple-Xml Model .......................
> >>> >>> >>> >>> SUCCESS
> >>> >>> >>> >>> [4.136s]
> >>> >>> >>> >>> [INFO] XWiki REST GSON Model .............................
> >>> >>> >>> >>> SUCCESS
> >>> >>> >>> >>> [3.222s]
> >>> >>> >>> >>> [INFO] XWiki Android REST Connector ......................
> >>> >>> >>> >>> SUCCESS
> >>> >>> >>> >>> [4.277s]
> >>> >>> >>> >>> [INFO] XWiki android core lib ............................
> >>> >>> >>> >>> SUCCESS
> >>> >>> >>> >>> [6.672s]
> >>> >>> >>> >>> [INFO] Xwiki Android Components ..........................
> >>> >>> >>> >>> SUCCESS
> >>> >>> >>> >>> [4.882s]
> >>> >>> >>> >>> [INFO] XWiki Client Apps .................................
> >>> >>> >>> >>> SUCCESS
> >>> >>> >>> >>> [12.440s]
> >>> >>> >>> >>> [INFO] XWiki Android REST Tests ..........................
> >>> >>> >>> >>> FAILURE
> >>> >>> >>> >>> [8.884s]
> >>> >>> >>> >>> [INFO] XWiki Android Instrumentation Tests ...............
> >>> >>> >>> >>> SKIPPED
> >>> >>> >>> >>>
> >>> >>> >>> >>> The two test modules are not building. Well I did not check
> >>> >>> >>> >>> there
> >>> >>> >>> >>> build,
> >>> >>> >>> >>> as I did not change the lower layer APIs which they
> depended
> >>> >>> >>> >>> on.
> >>> >>> >>> >>> Well, the
> >>> >>> >>> >>> Junit version tag is missing in their poms.
> >>> >>> >>> >
> >>> >>> >>> > There were building well before you change the plugin version
> >>> >>> >>> > (and
> >>> >>> >>> > many things that has nothing to do with the plugin version
> >>> >>> >>> > despite
> >>> >>> >>> > what you indicated in the commit log) so it would be nice
> that
> >>> >>> >>> > you
> >>> >>> >>> > fix
> >>> >>> >>> > this. Having them working should be first priority. Generally
> >>> >>> >>> > specking
> >>> >>> >>> > the whole build should always work on master especially
> >>> >>> >>> > automated
> >>> >>> >>> > tests which are checking for you automatically if you
> introduce
> >>> >>> >>> > any
> >>> >>> >>> > regression.
> >>> >>> >>> >
> >>> >>> >>> >>>
> >>> >>> >>> >>> I did not add my own tests yet.
> >>> >>> >>> >>>
> >>> >>> >>> >>> But you can check out the apk at
> >>> >>> >>> >>>
> >>> >>> >>> >>>
> >>> >>> >>> >>>
> >>> >>> >>> >>>
> >>> >>> >>> >>>
> http://maven.xwiki.org/snapshots/org/xwiki/android/xwiki-android-client/1.0…
> >>> >>> >>> >>> It is working.
> >>> >>> >>> >>> Steps to install.
> >>> >>> >>> >>> 1) Download android SDK
> >>> >>> >>> >>>
> >>> >>> >>> >>>
> http://developer.android.com/sdk/installing/adding-packages.html
> >>> >>> >>> >>> 2) Start SDK Manager.exe in the extracted folder and
> download
> >>> >>> >>> >>> Android
> >>> >>> >>> >>> 2.1
> >>> >>> >>> >>> API 7 or later. (I test on API 7).
> >>> >>> >>> >>> 3) Start AVD Manager.exe and make a Android Virtual Device
> >>> >>> >>> >>> named
> >>> >>> >>> >>> exactly
> >>> >>> >>> >>> "android-7".
> >>> >>> >>> >>> 4) Make sure you have added the path to
> >>> >>> >>> >>> <android-sdk-installation
> >>> >>> >>> >>> path>/platform-tools and <android-sdk-installation
> path>/tools
> >>> >>> >>> >>> as
> >>> >>> >>> >>> described
> >>> >>> >>> >>> in the above guide at (Tip in the bottom)
> >>> >>> >>> >>>
> >>> >>> >>> >>>
> http://developer.android.com/sdk/installing/adding-packages.html
> >>> >>> >>> >>>
> >>> >>> >>> >>> 5) download
> xwiki-android-client-1.0-20120711.121416-177.apk
> >>> >>> >>> >>> or a
> >>> >>> >>> >>> later
> >>> >>> >>> >>> apk in
> >>> >>> >>> >>>
> >>> >>> >>> >>>
> >>> >>> >>> >>>
> >>> >>> >>> >>>
> http://maven.xwiki.org/snapshots/org/xwiki/android/xwiki-android-client/1.0…
> >>> >>> >>> >>> 6) run command>> adb install <your apk> ex: for the
> build on
> >>> >>> >>> >>> July 11
> >>> >>> >>> >>> adb install
> xwiki-android-client-1.0-20120711.121416-177.apk
> >>> >>> >>> >>>
> >>> >>> >>> >>> After install is successful please press the XWiki icon in
> >>> >>> >>> >>> the
> >>> >>> >>> >>> android
> >>> >>> >>> >>> virtual device's launcher.
> >>> >>> >>> >>> Features:
> >>> >>> >>> >>> * Password , username, server url remember feature added.
> >>> >>> >>> >>> * Connection timeouts added
> >>> >>> >>> >>> * Generalized Launch pad added for android client apps. (
> >>> >>> >>> >>> Client
> >>> >>> >>> >>> app
> >>> >>> >>> >>> icons
> >>> >>> >>> >>> are shown in the launch pad).
> >>> >>> >>> >>> * Post, Publish a blog post
> >>> >>> >>> >>> (
> >>> >>> >>> >>> These two features use the internal functionality as
> >>> >>> >>> >>> follows.
> >>> >>> >>> >>> Posting a Document in the server using the new ReSTful
> >>> >>> >>> >>> Access
> >>> >>> >>> >>> Layer
> >>> >>> >>> >>> simplified API.
> >>> >>> >>> >>> Actually an API user would only have to call a
> create(doc)
> >>> >>> >>> >>> method
> >>> >>> >>> >>> passing the Xwik Document he made. All the logic of
> >>> >>> >>> >>> transforming
> >>> >>> >>> >>>
> >>> >>> >>> >>>
> >>> >>> >>> >>> Conversion of XWiki Domain model to relevant rest model
> >>> >>> >>> >>> objects.
> >>> >>> >>> >>> )
> >>> >>> >>> >>>
> >>> >>> >>> >>> * Save, Load blog posts ( Persisting the XWiki Domain
> model)
> >>> >>> >>> >>>
> >>> >>> >>> >>> The UI here is just demo purpose only.
> >>> >>> >>> >>>
> >>> >>> >>> >>>
> >>> >>> >>> >>>
> >>> >>> >>> >>>
> >>> >>> >>> >>> On Wed, Jul 11, 2012 at 9:39 PM, Thomas Mortagne
> >>> >>> >>> >>> <thomas.mortagne(a)xwiki.com> wrote:
> >>> >>> >>> >>>>
> >>> >>> >>> >>>> On Wed, Jul 11, 2012 at 2:13 PM, Thomas Mortagne
> >>> >>> >>> >>>> <thomas.mortagne(a)xwiki.com> wrote:
> >>> >>> >>> >>>> > I fixed many mistakes in the root pom.xml, there is no
> way
> >>> >>> >>> >>>> > you
> >>> >>> >>> >>>> > could
> >>> >>> >>> >>>> > build anything with that so I don't understand exactly
> what
> >>> >>> >>> >>>> > you
> >>> >>> >>> >>>> > tested...
> >>> >>> >>> >>>>
> >>> >>> >>> >>>> Note that it still not fully building.
> >>> >>> >>> >>>>
> >>> >>> >>> >>>> >
> >>> >>> >>> >>>> > On Tue, Jul 10, 2012 at 9:13 AM, Thomas Mortagne
> >>> >>> >>> >>>> > <thomas.mortagne(a)xwiki.com> wrote:
> >>> >>> >>> >>>> >> The build is still failing on
> >>> >>> >>> >>>> >> http://ci.xwiki.org/job/xwiki-android-client/, you
> should
> >>> >>> >>> >>>> >> always
> >>> >>> >>> >>>> >> make
> >>> >>> >>> >>>> >> sure this is working well.
> >>> >>> >>> >>>> >>
> >>> >>> >>> >>>> >> On Mon, Jul 9, 2012 at 2:07 PM, sasinda rukshan
> >>> >>> >>> >>>> >> <sasindarukshan(a)gmail.com> wrote:
> >>> >>> >>> >>>> >>> Hi Thomas,
> >>> >>> >>> >>>> >>> The issue with the build was solved by reverting back
> to
> >>> >>> >>> >>>> >>> older
> >>> >>> >>> >>>> >>> version of
> >>> >>> >>> >>>> >>> jayway android maven plugin. This seems not the
> correct
> >>> >>> >>> >>>> >>> option,
> >>> >>> >>> >>>> >>> but
> >>> >>> >>> >>>> >>> it
> >>> >>> >>> >>>> >>> works now. :-).
> >>> >>> >>> >>>> >>>
> >>> >>> >>> >>>> >>> Thanks
> >>> >>> >>> >>>> >>> Regards.
> >>> >>> >>> >>>> >>> Sasinda.
> >>> >>> >>> >>>> >>>
> >>> >>> >>> >>>> >>> On Mon, Jul 9, 2012 at 12:51 PM, sasinda rukshan
> >>> >>> >>> >>>> >>> <sasindarukshan(a)gmail.com>wrote:
> >>> >>> >>> >>>> >>>
> >>> >>> >>> >>>> >>>> Hi Thomas,
> >>> >>> >>> >>>> >>>> >As you want, was just a suggestion to make it
> easier.
> >>> >>> >>> >>>> >>>> > Not
> >>> >>> >>> >>>> >>>> > sure
> >>> >>> >>> >>>> >>>> > how
> >>> >>> >>> >>>> >>>> >XWord deal with macros.
> >>> >>> >>> >>>> >>>>
> >>> >>> >>> >>>> >>>> Well actually I did not use code macro there. Just
> copy
> >>> >>> >>> >>>> >>>> pasted
> >>> >>> >>> >>>> >>>> from
> >>> >>> >>> >>>> >>>> eclipse ;-). Less work it was!.
> >>> >>> >>> >>>> >>>>
> >>> >>> >>> >>>> >>>> >From what I can see this is not a real issue.
> >>> >>> >>> >>>> >>>> Yes, its not a real issue.
> >>> >>> >>> >>>> >>>>
> >>> >>> >>> >>>> >>>>
> >>> >>> >>> >>>> >>>>
> >>> >>> >>> >>>> >>>> > I need
> >>> >>> >>> >>>> >>>> > to finish something before 4.2M1, will try to look
> at
> >>> >>> >>> >>>> >>>> > it
> >>> >>> >>> >>>> >>>> > after
> >>> >>> >>> >>>> >>>> > that.
> >>> >>> >>> >>>> >>>>
> >>> >>> >>> >>>> >>>> No problem. Don't be distracted with this. I am
> trying a
> >>> >>> >>> >>>> >>>> workaround,
> >>> >>> >>> >>>> >>>> to
> >>> >>> >>> >>>> >>>> copy the needed jars with maven-dependancy plugin.(I
> >>> >>> >>> >>>> >>>> upgraded
> >>> >>> >>> >>>> >>>> maven
> >>> >>> >>> >>>> >>>> to
> >>> >>> >>> >>>> >>>> 3.0.4. also) . I will try more and hopefully get this
> >>> >>> >>> >>>> >>>> thing
> >>> >>> >>> >>>> >>>> done. It
> >>> >>> >>> >>>> >>>> is not
> >>> >>> >>> >>>> >>>> halting my development because I can build with
> eclipse.
> >>> >>> >>> >>>> >>>> Thanks for offering me help. :-).
> >>> >>> >>> >>>> >>>>
> >>> >>> >>> >>>> >>>> Best Regards.
> >>> >>> >>> >>>> >>>>
> >>> >>> >>> >>>> >>>>
> >>> >>> >>> >>>> >>>>
> >>> >>> >>> >>>> >>>> On Mon, Jul 9, 2012 at 12:37 PM, Thomas Mortagne <
> >>> >>> >>> >>>> >>>> thomas.mortagne(a)xwiki.com> wrote:
> >>> >>> >>> >>>> >>>>
> >>> >>> >>> >>>> >>>>> On Mon, Jul 9, 2012 at 6:35 AM, sasinda rukshan
> >>> >>> >>> >>>> >>>>> <sasindarukshan(a)gmail.com> wrote:
> >>> >>> >>> >>>> >>>>> > Hi,
> >>> >>> >>> >>>> >>>>> > Thanks for the info.
> >>> >>> >>> >>>> >>>>> > I did it using XWord . I will do some more
> >>> >>> >>> >>>> >>>>> > documentation
> >>> >>> >>> >>>> >>>>> > after
> >>> >>> >>> >>>> >>>>> > reaching
> >>> >>> >>> >>>> >>>>> the
> >>> >>> >>> >>>> >>>>> > milestone 3( security module). That documentation
> is
> >>> >>> >>> >>>> >>>>> > not
> >>> >>> >>> >>>> >>>>> > enough
> >>> >>> >>> >>>> >>>>> > to give
> >>> >>> >>> >>>> >>>>> the
> >>> >>> >>> >>>> >>>>> > whole picture. Need to separate the API how to s,
> >>> >>> >>> >>>> >>>>> > from
> >>> >>> >>> >>>> >>>>> > the
> >>> >>> >>> >>>> >>>>> > design
> >>> >>> >>> >>>> >>>>> > and architecture descriptions.So the documentation
> >>> >>> >>> >>>> >>>>> > will
> >>> >>> >>> >>>> >>>>> > get
> >>> >>> >>> >>>> >>>>> > changed in
> >>> >>> >>> >>>> >>>>> the
> >>> >>> >>> >>>> >>>>> > future. Is it ok if I edit the formatting later at
> >>> >>> >>> >>>> >>>>> > that
> >>> >>> >>> >>>> >>>>> > time?.
> >>> >>> >>> >>>> >>>>>
> >>> >>> >>> >>>> >>>>> As you want, was just a suggestion to make it
> easier.
> >>> >>> >>> >>>> >>>>> Not
> >>> >>> >>> >>>> >>>>> sure
> >>> >>> >>> >>>> >>>>> how
> >>> >>> >>> >>>> >>>>> XWord deal with macros.
> >>> >>> >>> >>>> >>>>>
> >>> >>> >>> >>>> >>>>> >
> >>> >>> >>> >>>> >>>>> > By the way the maven build of the android project
> is
> >>> >>> >>> >>>> >>>>> > currently
> >>> >>> >>> >>>> >>>>> > having
> >>> >>> >>> >>>> >>>>> the
> >>> >>> >>> >>>> >>>>> > following issue.
> >>> >>> >>> >>>> >>>>> >
> >>> >>> >>> >>>> >>>>> >
> >>> >>> >>> >>>> >>>>> >
> >>> >>> >>> >>>> >>>>> >
> >>> >>> >>> >>>> >>>>> >
> http://code.google.com/p/maven-android-plugin/issues/detail?id=266
> >>> >>> >>> >>>> >>>>>
> >>> >>> >>> >>>> >>>>> From what I can see this is not a real issue. Also
> note
> >>> >>> >>> >>>> >>>>> that
> >>> >>> >>> >>>> >>>>> it's
> >>> >>> >>> >>>> >>>>> working well with the other application
> >>> >>> >>> >>>> >>>>> (xwiki-android-client).
> >>> >>> >>> >>>> >>>>> I
> >>> >>> >>> >>>> >>>>> need
> >>> >>> >>> >>>> >>>>> to finish something before 4.2M1, will try to look
> at
> >>> >>> >>> >>>> >>>>> it
> >>> >>> >>> >>>> >>>>> after
> >>> >>> >>> >>>> >>>>> that.
> >>> >>> >>> >>>> >>>>>
> >>> >>> >>> >>>> >>>>> > I am trying to resolve it, but still not
> successful.
> >>> >>> >>> >>>> >>>>> > The
> >>> >>> >>> >>>> >>>>> > build
> >>> >>> >>> >>>> >>>>> > works in
> >>> >>> >>> >>>> >>>>> > eclipse.
> >>> >>> >>> >>>> >>>>> > Currently I have implemented the functionality for
> >>> >>> >>> >>>> >>>>> > saving
> >>> >>> >>> >>>> >>>>> > and
> >>> >>> >>> >>>> >>>>> > loading
> >>> >>> >>> >>>> >>>>> back
> >>> >>> >>> >>>> >>>>> > xwiki document model. It is working fine.
> >>> >>> >>> >>>> >>>>> > (We can save, load , list documents stored in the
> >>> >>> >>> >>>> >>>>> > system). I
> >>> >>> >>> >>>> >>>>> > have
> >>> >>> >>> >>>> >>>>> stopped
> >>> >>> >>> >>>> >>>>> > development until the maven build issue is solved.
> >>> >>> >>> >>>> >>>>> >
> >>> >>> >>> >>>> >>>>> > Thanks.
> >>> >>> >>> >>>> >>>>> > Regards.
> >>> >>> >>> >>>> >>>>> >
> >>> >>> >>> >>>> >>>>> >
> >>> >>> >>> >>>> >>>>> >
> >>> >>> >>> >>>> >>>>> > On Sun, Jul 8, 2012 at 11:11 PM, Thomas Mortagne
> >>> >>> >>> >>>> >>>>> > <thomas.mortagne(a)xwiki.com>wrote:
> >>> >>> >>> >>>> >>>>> >
> >>> >>> >>> >>>> >>>>> >> On Sun, Jul 8, 2012 at 2:53 PM, sasinda rukshan
> >>> >>> >>> >>>> >>>>> >> <sasindarukshan(a)gmail.com> wrote:
> >>> >>> >>> >>>> >>>>> >> > Hi,
> >>> >>> >>> >>>> >>>>> >> > I updated the documentation for XWiki Android
> >>> >>> >>> >>>> >>>>> >> > project
> >>> >>> >>> >>>> >>>>> >> > at,
> >>> >>> >>> >>>> >>>>> >> >
> >>> >>> >>> >>>> >>>>> >> >
> >>> >>> >>> >>>> >>>>> >> >
> http://dev.xwiki.org/xwiki/bin/view/Design/XWikiAndroid.
> >>> >>> >>> >>>> >>>>> >> >
> >>> >>> >>> >>>> >>>>> >> > Sorry for the little formatting errors.
> >>> >>> >>> >>>> >>>>> >>
> >>> >>> >>> >>>> >>>>> >> You should use code macro instead of setting your
> >>> >>> >>> >>>> >>>>> >> own
> >>> >>> >>> >>>> >>>>> >> styling.
> >>> >>> >>> >>>> >>>>> >>
> >>> >>> >>> >>>> >>>>> >> >
> >>> >>> >>> >>>> >>>>> >> > Thanks
> >>> >>> >>> >>>> >>>>> >> > Sasinda.
> >>> >>> >>> >>>> >>>>> >> > _______________________________________________
> >>> >>> >>> >>>> >>>>> >> > devs mailing list
> >>> >>> >>> >>>> >>>>> >> > devs(a)xwiki.org
> >>> >>> >>> >>>> >>>>> >> > http://lists.xwiki.org/mailman/listinfo/devs
> >>> >>> >>> >>>> >>>>> >>
> >>> >>> >>> >>>> >>>>> >>
> >>> >>> >>> >>>> >>>>> >>
> >>> >>> >>> >>>> >>>>> >> --
> >>> >>> >>> >>>> >>>>> >> Thomas Mortagne
> >>> >>> >>> >>>> >>>>> >>
> >>> >>> >>> >>>> >>>>> > _______________________________________________
> >>> >>> >>> >>>> >>>>> > devs mailing list
> >>> >>> >>> >>>> >>>>> > devs(a)xwiki.org
> >>> >>> >>> >>>> >>>>> > http://lists.xwiki.org/mailman/listinfo/devs
> >>> >>> >>> >>>> >>>>>
> >>> >>> >>> >>>> >>>>>
> >>> >>> >>> >>>> >>>>>
> >>> >>> >>> >>>> >>>>> --
> >>> >>> >>> >>>> >>>>> Thomas Mortagne
> >>> >>> >>> >>>> >>>>> _______________________________________________
> >>> >>> >>> >>>> >>>>> devs mailing list
> >>> >>> >>> >>>> >>>>> devs(a)xwiki.org
> >>> >>> >>> >>>> >>>>> http://lists.xwiki.org/mailman/listinfo/devs
> >>> >>> >>> >>>> >>>>>
> >>> >>> >>> >>>> >>>>
> >>> >>> >>> >>>> >>>>
> >>> >>> >>> >>>> >>> _______________________________________________
> >>> >>> >>> >>>> >>> devs mailing list
> >>> >>> >>> >>>> >>> devs(a)xwiki.org
> >>> >>> >>> >>>> >>> http://lists.xwiki.org/mailman/listinfo/devs
> >>> >>> >>> >>>> >>
> >>> >>> >>> >>>> >>
> >>> >>> >>> >>>> >>
> >>> >>> >>> >>>> >> --
> >>> >>> >>> >>>> >> Thomas Mortagne
> >>> >>> >>> >>>> >
> >>> >>> >>> >>>> >
> >>> >>> >>> >>>> >
> >>> >>> >>> >>>> > --
> >>> >>> >>> >>>> > Thomas Mortagne
> >>> >>> >>> >>>>
> >>> >>> >>> >>>>
> >>> >>> >>> >>>>
> >>> >>> >>> >>>> --
> >>> >>> >>> >>>> Thomas Mortagne
> >>> >>> >>> >>>
> >>> >>> >>> >>>
> >>> >>> >>> >>
> >>> >>> >>> >
> >>> >>> >>> >
> >>> >>> >>> >
> >>> >>> >>> > --
> >>> >>> >>> > Thomas Mortagne
> >>> >>> >>>
> >>> >>> >>>
> >>> >>> >>>
> >>> >>> >>> --
> >>> >>> >>> Thomas Mortagne
> >>> >>> >>
> >>> >>> >>
> >>> >>> >
> >>> >>> >
> >>> >>> >
> >>> >>> > --
> >>> >>> > Thomas Mortagne
> >>> >>>
> >>> >>>
> >>> >>>
> >>> >>> --
> >>> >>> Thomas Mortagne
> >>> >>
> >>> >>
> >>> >
> >>> >
> >>> >
> >>> > --
> >>> > Thomas Mortagne
> >>>
> >>>
> >>>
> >>> --
> >>> Thomas Mortagne
> >>
> >>
> >
> >
> >
> > --
> > Thomas Mortagne
>
>
>
> --
> Thomas Mortagne
>
Hi,
When a document has translations, it appears in the document list as
many times as many translations exists.
This bug was added about 2 years ago and we believe it is really an
annoying one.
http://jira.xwiki.org/browse/XWIKI-6228
I'd like to ask if there is any plan for fixing it, and hopefully we can
discuss different solutions for this. Here are the original suggestion
and ours:
1. Document list should show the translated title, every document
appears as many times as many translations exists.
2. (we think this is better ;) ) Every document should appear in the
list only once according to the current language, with the following rules:
2.a. if there is no translation in the current languages, the document
should not appear
2.b. if translations exists, but the title is not translated, then the
title of the original document should appear.
Thanks,
Daniel
Hi,
i installed the "Social Login Extension" and followed the steps to implement
it to my wiki.
First i wanted to try the facebook login. Therefore, i created a facebook
app and put the app keys in the oauth_consumer.properties file.
My wiki runs on my localhost. So i put "http://localhost:8080" in the
configuration of my facebook app.
When i click on the social login button at the xwiki login it redirects me
to facebook, where i have to confirm that i want to do this. But when i am
redirected to xwiki i get the following error message:
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Script
Macro for content [import org.brickred.socialauth.AuthProvider
import org.brickred.socialauth.AuthProviderFactory
/**
* Displays a form with a single field for a new SSO user to pickup its
usernamem
*/
def outputUsernameCreationForm = { defaultValue, provider ->
if (!defaultValue)
defaultValue = ""
xwiki.ssx.use('XWiki.SocialLogin')
println """
{{html clean=false}}
<form class="xform" action=${doc.getURL('view')} method="post"
id="createUsernameForm">
<div class="centered">
<fieldset class="xwikimessage">
<legend>${msg.get('xwiki.socialLogin.youMustBeNewHere')}</legend>
<input type="hidden" name="xaction" value="createProfile" />
<p class="message">
${msg.get('xwiki.socialLogin.createProfileMessage', [provider])}
</p>
<dl>
<dt>${msg.get('xwiki.socialLogin.pickupUsername')}</dt>
<dd><input type="text" name="username" value="${defaultValue}"
/></dd>
</dl>
<div class="buttons">
<input class="button" type="submit"
value="${msg.get('xwiki.socialLogin.createMyAccount')}" />
</div>
</fieldset>
</div>
</form>
{{/html}}
"""
}
/**
* Authenticate a user and make it remembered in XWiki authentication system
*/
def authenticateUser = { userDoc ->
def password =
userDoc.getObject('XWiki.SocialLoginClass').getProperty('password_cache').value
def xwikiAuthenticator =
xwiki.@xwiki.getAuthService().@authenticators.get('xwiki')
def psm = xwikiAuthenticator.@persistentLoginManager
psm.rememberLogin(request, response, userDoc.fullName, password)
response.sendRedirect(xwiki.getURL('Main.WebHome', 'view'))
}
// Load oauth properties file
def properties = new java.util.Properties()
properties.load(com.xpn.xwiki.web.Utils.getComponent("org.xwiki.container.Container").applicationContext.getResourceAsStream("/WEB-INF/oauth_consumer.properties"))
/**
* Initiate the OAuth dance with the requested provider
*/
if(!request.callback && request.provider) {
try {
def provider = AuthProviderFactory.getInstance(request.provider,
properties)
println provider
String url =
provider.getLoginRedirectURL(doc.getExternalURL('view','callback=1'));
// Store in session
request.session.setAttribute("org.brickred.socialauth.AuthProvider",
provider);
request.session.setAttribute("org.brickred.socialauth.AuthProvider.hint",
request.provider);
response.sendRedirect(url)
}
catch(Exception e) {
println """
{{error}}
${msg.get('xwiki.socialLogin.genericError', [e.message])}
{{/error}}
"""
}
}
/**
* We've got a response from the provider, let's treat it
*/
else if (request.callback){
try {
// get the provider back from session
def provider =
request.session.getAttribute("org.brickred.socialauth.AuthProvider");
def providerID =
request.session.getAttribute("org.brickred.socialauth.AuthProvider.hint");
// verify the authentication
def profile = provider.verifyResponse(request);
// Search for this user in database
def query = services.query.xwql("from doc.object(XWiki.XWikiUsers) as
user, doc.object(XWiki.SocialLoginProfileClass) as profile where
profile.provider = '" + providerID + "' and profile.validatedId = '" +
profile.validatedId + "'")
for (result in query.execute()) {
authenticateUser(xwiki.getDocument(result))
}
// Not authenticated/redirected yet ? -> You must be new here
// You will have to pick-up a username and dad will create an account
for you
// Store the social profile in the session
request.session.setAttribute("org.brickred.socialauth.Profile",
profile);
// Try to guess what username the user will want to use
def guessedUsername = profile.displayName
// Outputs the form to create the username
outputUsernameCreationForm(guessedUsername, providerID)
} catch(Exception e) {
println """
{{error}}
${msg.get('xwiki.socialLogin.genericError', [e.message])}
{{/error}}
"""
}
}
/**
* Create a new user profile from the social profile result
*/
else if (request.xaction && request.xaction == 'createProfile') {
def profile =
request.session.getAttribute("org.brickred.socialauth.Profile")
def provider =
request.session.getAttribute("org.brickred.socialauth.AuthProvider.hint");
def username = request.username
if (username && username != '' && !xwiki.exists("XWiki." + username)) {
// Everything clear, let's proceed
def userDocName = "XWiki." + username
// Generate a random password
password = xwiki.generateRandomString(16)
def propMap = [:]
propMap.put("active", "1")
propMap.put("email", profile.email)
propMap.put("first_name", profile.firstName)
propMap.put("last_name", profile.lastName)
propMap.put("password", password)
xwiki.(a)xwiki.createUser(username, propMap, xcontext.@context)
def userDoc = xwiki.getDocument(userDocName)
def socialProfile = userDoc.getObject('XWiki.SocialLoginProfileClass',
true)
socialProfile.set('provider', provider)
socialProfile.set('fullName', profile.fullName)
socialProfile.set('firstName', profile.firstName)
socialProfile.set('lastName', profile.lastName)
socialProfile.set('displayName', profile.displayName)
socialProfile.set('email', profile.email)
socialProfile.set('profileImageURL', profile.profileImageURL)
socialProfile.set('gender', profile.gender)
socialProfile.set('dob', profile.dob)
socialProfile.set('validatedId', profile.validatedId)
socialProfile.set('country', profile.country)
socialProfile.set('location', profile.location)
def socialPrefs = userDoc.getObject('XWiki.SocialLoginClass', true)
socialPrefs.set('password_cache', password)
socialPrefs.set('preferred_provider', provider)
userDoc.saveWithProgrammingRights(msg.get('xwiki.socialLogin.updatedSocialProfile'),
true)
authenticateUser(userDoc)
}
else {
if (!username || username == '')
println """
{{error}}
${msg.get('xwiki.socialLogin.youMustPickUsername')}
{{/error}}
"""
else if (xwiki.exists('XWiki.' + username))
println """
{{error}}
${msg.get('xwiki.socialLogin.usernameAlreadyTaken')}
{{/error}}
"""
outputUsernameCreationForm("", provider);
}
}
/**
* View mode
*/
else {
println """
{{info}}
${msg.get('xwiki.socialLogin.nothingToDo')}
{{/info}}
"""
}]
at
org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:178)
at
org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:53)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:198)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:59)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:190)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:135)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:83)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:248)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:124)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:54)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:111)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:901)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:880)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:911)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:582)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1799)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1739)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854)
at sun.reflect.GeneratedMethodAccessor133.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1799)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.script.ScriptException: javax.script.ScriptException:
groovy.lang.MissingPropertyException: No such property: msg for class:
Script2
at
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:122)
at
org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.eval(AbstractJSR223ScriptMacro.java:280)
at
org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:213)
at
org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:173)
... 103 more
Caused by: javax.script.ScriptException:
groovy.lang.MissingPropertyException: No such property: msg for class:
Script2
at
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:323)
at
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:116)
... 106 more
Caused by: groovy.lang.MissingPropertyException: No such property: msg for
class: Script2
at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
at
org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)
at Script2.run(Script2.groovy:117)
at
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:320)
... 107 more
Do u have any idea, what i can do? I tried so much, but nothing worked.
Thank you a lot
Caroline
--
View this message in context: http://xwiki.475771.n2.nabble.com/Social-Login-Extension-Problem-tp7580669.…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi,
I am developing a script on groovy which compiles a table of content
"manually" and then includes the children documents before exporting to
PDF.
So finally compiled document content looks like
"
=={{{ }}}[[1. Software Requirements
Specification>>#H1.SoftwareRequirementsSpecification-1]]==
==={{{ }}}[[1.1. Use cases>>#H1.1.Usecases-1]]===
===={{{ }}}[[1.1.1. Bite registration and occlusal clearance
UC
......
......
== 1. Software Requirements Specification==
{{include document="Polaris.SoftwareRequirementsSpecification"
context="new"/}}
=== 1.1. Use cases===
{{include document="Polaris.Use cases" context="new"/}}
......
"
But when I export the document to PDf my compiled TOC(which is rather
large) is not carried on the next page, it is just cut in the middle.
The Export to RTF passes ok with carrying the TOC on the next page.
Could somebody help to understand where is the problem?
Thanks,
elena
I've improved a bit ExtensionCode.ExtensionVersionSheet to create the
additional version in one click and allow then to edit it from the
normal UI.
I'm not sure where to propose a patch for the Extension Repository UI ?
Ludovic
--
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
Hi,
I need to compile all pages (from parent to children) to one pdf
document.
Pages may contain a piece of data not to be included to the final
document. This piece of data can be bound with [Exclude] ... [/Exclude]
tags, or smth like this. Currently I see the only way to do it with
parsing the each page 'String' content before including it to the output
document and get rid of these pieces. But currently I experience some
issues with this approach and it seems not clean.
Is there another way around? Or maybe some doc links.
<sorry if the question is too dumb, I have just started with the xwiki>
thanks