Hi, I have submit my second commit of the project, it contains four small
commits:
1. Make patch for the suggestions given by review comments of Marius for my
last commit.
2. Add some wiki editor(textarea) related utility functions for WikiEditor
object, it is useful when intergate the suggestion box to the editor.
3. Codes for the second and third part of my plan this week:
(a). Implement the function that requests the list of wiki pages
matching some prefix user input. BUT, don't actually query the database,
instead simply return a dummy list from the server.
(b). Implement the function that displays the list of wiki pages where
the caret is. But I use the suggestion box I have already implemented before
this week, instead of writing a plain HTML list inside a DIV.
4. Make a patch for modifying the suggestion json format for link suggestion
box
Here I want to explain how I Implement the function that displays the list
of wiki pages where the caret is.
When the suggestor started, I add a mask which duplicate the same content
with the same size, position and also same style of the textarea. When user
types triggers, for example, type "[[" for link suggestion, the mask will be
updated for two things:
(1). update the content to syncronized with the values in textarea. And also
surround the trigger with a "span" mark, for example, for "[[", it will be
surrounded by <span id="suggestion_mark">[[</span>. It is useful for recorde
the trigger and get its offset position which is the right place to show the
suggestion box.
(2). update the position of the mask include the scrollTop of the mask to
syncronizied with the textarea.
I use the LinkSuggestionBox which I have implemented last week to show the
suggestion results, it can be shown in the right place now. But the
navigation of the result item by up and down key does not work now, I have
found the problem and I will refine it in next commits.
--
Best wishes,
许凌志(Jame Xu)
MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University
Department of Computer Science and Technology, Xi’an Jiaotong University
Hi, I want to write some server side codes for ajax response, anyone can
tell me how to do it, is there any documents for that? Thank you very much
--
Best wishes,
许凌志(Jame Xu)
MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University
Department of Computer Science and Technology, Xi’an Jiaotong University
Hi,
I modified navigator in xwiki-android-components so that it will
communicate to XWiki instance via xwiki-android-rest. But it cannot be
tested due to following problems.
1. After building xwiki-android-rest library it doesn't have GSON
library. Therefore REST isn't working since GSON classes are not found
withing the library. I searched a method to include gson (or any
other) jar file to add to my custom library. It is said that if we use
scope of the dependency of the maven configuration as "compile" it
will include jar files in our build. But it doesn't work for me.
2. Since xwiki-android-component use xwiki-android-rest, I want to
import rest library to the component. I've done this in eclipse. But
cannot figure it out how should I do this in maven.
Due to above issues current repository give build errors.
I planned to develop object/class editor component in next few days
since xwiki-navigator is almost finish.
Eduard suggested, it should be an "open objects and classes (in a
separate and configurable object/class editor widget) ". Can you
describe about this widget further so that I can get a clear idea
about it.
Best Regards,
Chamika Weerasinghe
In this commit, I Implemented the function that logs a message in the
firebug console whenever the caret is after [[ (but just that, nothing
more!).
It contains two small commits, one if the codes for LinkSuggestor, and the
other is the test codes for it.
--
Best wishes,
许凌志(Jame Xu)
MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University
Department of Computer Science and Technology, Xi’an Jiaotong University
Hello,
I'm currently reading about XWiki and XEclipse and would like to ask if
there is any consensus about XWiki pages templates which might also be
usable from XEclipse probably after some code hacking on its plugins.
I'm currently working on some project for my client (source code will be
contributed/available later in the project stage) where there is a need
to use XEclipse and enhance it to support some predefined
forms/templates for web pages creation. So far I've found just XWiki FAQ
tutorial on
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial which
tries to deals with some kind of templates. However this looks quite
general at least so far to me and so I would like to ask the question
above about consensus where and how to go with templates in xwiki/xeclipse.
My current idea is to stick with the XWiki server as a provider of
templates to preserve ability to use templates from both browser and
xeclipse and to enhance xeclipse new page creation wizard to provide a
list of available templates on the server side...
Thanks for any idea where to start or where to look for more information
with regarding to this project task.
Karel
Hi All,
Is it possible to search(or get) a page in xwiki by its title through
RESTfulAPI?
I read in the forum that through RESTfulAPI we can only retrieve every page
in a space and check whether page with given title exists.
Or is it not the case?
Any help would be really appreciated.
Thanks,
Manish
--
View this message in context: http://xwiki.475771.n2.nabble.com/Searching-page-by-title-in-space-through-…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Salute!
Let me present you one of the largest worldwide enterprises where I work as a manager of HR department.
Our company is dealing with a great number of different fields, such as:
\ real estate
\ logistics
\ supporting in opening of banking accounts
\ etc.
And our company currently has vacant positions of regional managers in Europe:
- payment 2300 � +bonus
- max 3-4 business hours a day
- flexible working schedule
If you�re interested, please provide us your contact information in order we could contact you for further communication. Jordan(a)europ-joblist.com
Attention! We are recruiting only those who have a right to work in Europe!
We will be very happy to have you join our professional team.
Hello,
My question is about personal data management in XWiki.
How and where can I store personal data?
For example a user could have a different skin from the other users when
he logs in, or different documents (with personal content).
I'd like to know how to do it.
Thanks,
Marie
Hi guys (especially Ludovic and Thibaut),
I read [1] and [2] and I have a few questions. I would like to know very
clear what UI/UX platform changes are you proposing independent of the
Application Within Minutes.
(A) Page creation
1. Unique page name
Currently if you specify the name of an existing page in the default
create page form you get an error message saying that the specified page
already exists. Do you propose any change to this? Should we instead
create a page with a similar name based on a specified strategy (e.g.
MyPage1, MyPage2, with a simple counter strategy).
2. Skip page name
Do you propose to remove the page name field from the default create
page form (triggered from the Add > Page menu) and to automatically
generate it from the title (using the default naming strategy)?
3. Implicit location
Do you propose to remove the wiki/space fields from the default create
page form and instead always create the page in the current wiki/space?
i.e. Add > Page menu will add the page to the current wiki/space.
4. Implicit template
Currently template providers can be limited to a list of spaces. Do you
propose to automatically use a template provider if it is the only one
defined for the current/selected space?
5. Create sheet/template
Are you proposing to have a (slightly) different form even for plain
wiki pages? e.g. replace the "Save & Continue" and "Save" buttons with a
"Create" button. What other differences do you propose?
-----
I talked with Caty about this and she is against 3. and 4. She would
improve the current create page form by:
* displaying all the templates independent of the current space
(currently we display only the templates that can be applied to the
current space although we can create the page in a different space)
* when a template is selected, limit the list of spaces from the space
selector so that the user can choose only a space where the selected
template can be applied.
(B) Display Resolution
(1) Remove the "inline" editing mechanism
What do you propose to do with the "Edit > Inline form" menu seen by the
advanced users? Should we keep it and just replace the URL? What about
simple users, will they be noticing any difference (since we already
have just one Edit button that points to the proper edit mode)?
(2) Sheet parameters
Do you mean velocity variables defined in the sheet code? This will work
only if the variables are used after the sheet code is evaluated.
(3) Display Resolution Rules
I could find fields for specifying display sheets (defaultViewSheet and
defaultEditSheet) only in BaseClass (old core). XWikiDocument doesn't
have any. This makes sense because sheets are in fact *class* sheets.
That is, you write a sheet for a specific class, you don't write it for
a specific document. Have I understood correctly that you want to be
able to create a sheet for a document (not a class)? This could be
useful for documents that have multiple objects and you need a sheet
that displays data from all the objects (using the class sheet of one of
the object types is not enough).
Thanks,
Marius
[1]
http://dev.xwiki.org/xwiki/bin/view/Design/ApplicationWithinMinutesPageCrea…
[2]
http://dev.xwiki.org/xwiki/bin/view/Design/ApplicationWithinMinutesCoreChan…