[help] XWiki-Eclipse-Plugin
Hi All! We have been implementing the editing part of the above plug-in and came across a little problem. Basically the editor (inside eclipse work-bench) consists of two tabs; one for editing the XWiki markup and the other for viewing the results. The XWiki markup editor tab is quite ok ( may be we can worry about some syntax highlighting later on), this is shown in edit_view.png ( see attachment ). But the problem is with rendered out put. output_view_1.png shows the output from a browser widget (using the URL of the page being edited). Here the problem is that navigation panel is repeated, one in XWiki Navigator (Plug-in component) and the other one in the browser itself (a.k.a in web page). output_view_2.png shows the output rendered with the renderContent() (refer to Confluence XML RPC API<http://confluence.atlassian.com/display/DOC/Remote+API+Specification>) method. Here the problem is that we only get a basic html output which is ugly. Ideally we should have the browser output (output_view_1.png) without the navigation panel. We're currently stuck here unable to make a decision or find an alternative method. So, any help would be really appreciated. Thanks - Tharindu & Asiri PS : We have formatted the code into standards but still working on the Maven2 build l, will finish it soon.
Hi. tharindu jayasuriya wrote:
Ideally we should have the browser output (output_view_1.png) without the navigation panel. We're currently stuck here unable to make a decision or find an alternative method. So, any help would be really appreciated.
I think xwiki print preview mode is suited for eclipse view mode. (ex: http://localhost:8080/xwiki/bin/view/Main/?xpage=print&) -- Artem Melentyev, UralSU
On 7/4/07, Artem Melentyev <[email protected]> wrote:
Hi.
tharindu jayasuriya wrote:
Ideally we should have the browser output (output_view_1.png) without the navigation panel. We're currently stuck here unable to make a decision or find an alternative method. So, any help would be really appreciated.
I think xwiki print preview mode is suited for eclipse view mode. (ex: http://localhost:8080/xwiki/bin/view/Main/?xpage=print&)
Nice.. :) I wonder if this is ok with others. But there is a small issue, when we move into implementing the off-line editing mode, we'll definitely have to render the content within the local machine. I wonder if this can be accomplished somehow. Can such a rendering library used within XWiki be embedded in our eclipse-plugin ? - Asiri --
Artem Melentyev, UralSU
-- You receive this message as a subscriber of the [email protected] list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Hi Asiri, On Jul 4, 2007, at 4:18 AM, Asiri Rathnayake wrote:
On 7/4/07, Artem Melentyev <[email protected]> wrote: Hi.
tharindu jayasuriya wrote:
Ideally we should have the browser output (output_view_1.png) without the navigation panel. We're currently stuck here unable to make a decision or find an alternative method. So, any help would be really appreciated.
I think xwiki print preview mode is suited for eclipse view mode. (ex: http://localhost:8080/xwiki/bin/view/Main/?xpage=print&)
Nice.. :)
I wonder if this is ok with others.
I'm not sure I understand what the problem is. Why shouldn't the page be rendered without the surrounding layout? I'd prefer with it because then I can know if my page looks nice or not, if I need to resize my images to smaller sizes or not, if my code is impacting somehow the panels or vice-versa, etc. WDYT?
But there is a small issue, when we move into implementing the off- line editing mode, we'll definitely have to render the content within the local machine. I wonder if this can be accomplished somehow. Can such a rendering library used within XWiki be embedded in our eclipse-plugin ?
I'd suggest you don't do offline rendering in a first implementation, i.e. you only show the wiki syntax view of a document but not it's rendering. The rendering is only performed when online. Thanks -Vincent
On 7/4/07, Vincent Massol <[email protected]> wrote:
Hi Asiri, On Jul 4, 2007, at 4:18 AM, Asiri Rathnayake wrote:
On 7/4/07, Artem Melentyev <[email protected]> wrote:
Hi.
tharindu jayasuriya wrote:
Ideally we should have the browser output (output_view_1.png) without the navigation panel. We're currently stuck here unable to make a decision or find an alternative method. So, any help would be really appreciated.
I think xwiki print preview mode is suited for eclipse view mode. (ex: http://localhost:8080/xwiki/bin/view/Main/?xpage=print&)
Nice.. :)
I wonder if this is ok with others.
I'm not sure I understand what the problem is. Why shouldn't the page be rendered without the surrounding layout? I'd prefer with it because then I can know if my page looks nice or not, if I need to resize my images to smaller sizes or not, if my code is impacting somehow the panels or vice-versa, etc.
If this is desirable, everything is ok. I thought it was a waste of space (in the browser widget) to display the navigation panels (html) which is redundant since the user can always navigate through his documents via XWiki Navigator (the tree view inside eclipse). Anyway, I now realized that it might not allow the user to see if his markup affects the navigation panel. Better yet, we might provide both views in the view area using a toggle button, so that user might switch to print view (without navigation panels in the page) if he so desires. will this be ok ? WDYT?
But there is a small issue, when we move into implementing the off-line editing mode, we'll definitely have to render the content within the local machine. I wonder if this can be accomplished somehow. Can such a rendering library used within XWiki be embedded in our eclipse-plugin ?
I'd suggest you don't do offline rendering in a first implementation, i.e. you only show the wiki syntax view of a document but not it's rendering. The rendering is only performed when online.
This clears up a lot of things, thanks a lot :-) - Asiri Thanks
-Vincent
-- You receive this message as a subscriber of the [email protected] list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Hi Asiri, Asiri Rathnayake wrote:
On 7/4/07, *Vincent Massol* <[email protected] <mailto:[email protected]>> wrote:
Hi Asiri,
On Jul 4, 2007, at 4:18 AM, Asiri Rathnayake wrote:
On 7/4/07, * Artem Melentyev* <[email protected] <mailto:[email protected]>> wrote:
Hi.
tharindu jayasuriya wrote:
> Ideally we should have the browser output (output_view_1.png) without the > navigation panel. We're currently stuck here unable to make a decision or > find an alternative method. So, any help would be really appreciated.
I think xwiki print preview mode is suited for eclipse view mode. (ex: http://localhost:8080/xwiki/bin/view/Main/?xpage=print& <http://localhost:8080/xwiki/bin/view/Main/?xpage=print&>)
Nice.. :)
I wonder if this is ok with others.
I'm not sure I understand what the problem is. Why shouldn't the page be rendered without the surrounding layout? I'd prefer with it because then I can know if my page looks nice or not, if I need to resize my images to smaller sizes or not, if my code is impacting somehow the panels or vice-versa, etc.
If this is desirable, everything is ok. I thought it was a waste of space (in the browser widget) to display the navigation panels (html) which is redundant since the user can always navigate through his documents via XWiki Navigator (the tree view inside eclipse). Anyway, I now realized that it might not allow the user to see if his markup affects the navigation panel.
Better yet, we might provide both views in the view area using a toggle button, so that user might switch to print view (without navigation panels in the page) if he so desires. will this be ok ?
as a user, I'd love to have both views indeed! Cheers Stéphane
WDYT?
But there is a small issue, when we move into implementing the off-line editing mode, we'll definitely have to render the content within the local machine. I wonder if this can be accomplished somehow. Can such a rendering library used within XWiki be embedded in our eclipse-plugin ?
I'd suggest you don't do offline rendering in a first implementation, i.e. you only show the wiki syntax view of a document but not it's rendering. The rendering is only performed when online.
This clears up a lot of things, thanks a lot :-)
- Asiri
Thanks -Vincent
participants (5)
-
Artem Melentyev -
Asiri Rathnayake -
Stéphane Laurière -
tharindu jayasuriya -
Vincent Massol