Hi,
for some form-page i need about 14 textareas with
mediatype="text/html", and for that it tooks very long to load the page :-( No i
was wondering if this could be done with an xxforms:dialog, so that the
wysiwyg-Editor must only be inserted ones!?
The sandbox-example/dialog shows, that this is
possible, but the dialog is too small, so not all options of the editor are
available and also the textcolor and text-background seem not to work there
:-(
Any hints how i can display a bigger dialog-window,
with all options available and functional?
Can't find any documentation on the ops-page
:-(
Thanks for help,
Marcus
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi Marcus,
> Any hints how i can display a bigger dialog-window put it into a div: <xhtml:div style="width:600px;"> <xforms:textarea ref="text" mediatype="text/html"/> </xhtml:div> The dialog window will adjust its size to the textarea. But regarding multiple textareas: it seems that the dialog content and controls are loaded anyway when the page loads, so i fear the page won't load faster if the textareas are moved from the main page to dialog windows. HTH, florian -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Florian Schmitt wrote:
> Hi Marcus, > >> Any hints how i can display a bigger dialog-window > > put it into a div: > > <xhtml:div style="width:600px;"> > <xforms:textarea ref="text" mediatype="text/html"/> > </xhtml:div> > > The dialog window will adjust its size to the textarea. > > But regarding multiple textareas: it seems that the dialog content and > controls are loaded anyway when the page loads, so i fear the page won't > load faster if the textareas are moved from the main page to dialog > windows. because at worst you would have one HTML area loading, versus 14. -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi,
at least i could implement it with some hints and it works! So the Editor is only loaded once in the background within the dialog and not 17 times on my page! If someone is interessted i could give you the code, perhaps i'll have the time to provide a little example after finish my project! Of course now i have to open the dialog and add a trigger to each textarea, but the increased loading time is worth that price! Regards, Marcus ----- Original Message ----- From: "Erik Bruchez" <[hidden email]> To: <[hidden email]> Sent: Friday, June 01, 2007 1:09 AM Subject: Re: [ops-users] Any documentation for xxforms:dialog? > Florian Schmitt wrote: >> Hi Marcus, >> >>> Any hints how i can display a bigger dialog-window >> >> put it into a div: >> >> <xhtml:div style="width:600px;"> >> <xforms:textarea ref="text" mediatype="text/html"/> >> </xhtml:div> >> >> The dialog window will adjust its size to the textarea. >> >> But regarding multiple textareas: it seems that the dialog content and >> controls are loaded anyway when the page loads, so i fear the page won't >> load faster if the textareas are moved from the main page to dialog >> windows. > > I think I remember that it did make a difference. In fact it should > because at worst you would have one HTML area loading, versus 14. > > -Erik > > -- > Orbeon Forms - Web Forms for the Enterprise Done the Right Way > http://www.orbeon.com/ > > -------------------------------------------------------------------------------- > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Erik Bruchez
Hi,
in addition to my last Mail i have figured one big problem when working with the editor within a dialog :-( The Options like: Textcolor, Backgroundcolor, Font, Font-Format, Font-Size don't work there like they should :-( So, the dialog stand in the code at the begining and when i now open the dialog at the end of the page (scrolld down a large document) then the option-windows disapear to the top of the page :-( Does anyone why this happens? Are those option-menus hardcoded to absolut pixels? Can anyone provide help? Every hint is very appreciated, Thanks, Marcus ----- Original Message ----- From: "Erik Bruchez" <[hidden email]> To: <[hidden email]> Sent: Friday, June 01, 2007 1:09 AM Subject: Re: [ops-users] Any documentation for xxforms:dialog? > Florian Schmitt wrote: >> Hi Marcus, >> >>> Any hints how i can display a bigger dialog-window >> >> put it into a div: >> >> <xhtml:div style="width:600px;"> >> <xforms:textarea ref="text" mediatype="text/html"/> >> </xhtml:div> >> >> The dialog window will adjust its size to the textarea. >> >> But regarding multiple textareas: it seems that the dialog content and >> controls are loaded anyway when the page loads, so i fear the page won't >> load faster if the textareas are moved from the main page to dialog >> windows. > > I think I remember that it did make a difference. In fact it should > because at worst you would have one HTML area loading, versus 14. > > -Erik > > -- > Orbeon Forms - Web Forms for the Enterprise Done the Right Way > http://www.orbeon.com/ > > -------------------------------------------------------------------------------- > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Erik Bruchez
Hi Erik,
> I think I remember that it did make a difference. In fact it should > because at worst you would have one HTML area loading, versus 14. You're right, my error was thinking of a lot of dialogs instead only one that could reference different instance nodes - it makes a difference even on a page of my application where i had (only) two HTML areas and replaced them by the dialog. florian -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Erik Bruchez
   I know for a fact it does ;-) Saved us a lot of time on loading in our projects, now we don't use HTML Textareas unless they are in a dialog. Ryan Ryan Puddephatt "Measuring programming progress by lines of code is like
measuring aircraft building progress by weight." - Bill Gates Erik Bruchez wrote: Florian Schmitt wrote: -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |

Hi Ryan, hi Erik
don't know if you read my last mail on that thread,
but i hope you did and perhaps you know any hint to solve to problem with the
option-popups for Font, Font-Size, Textcolor, Backgroundcolor, ...
They only show up inside the Dialog window at top
of the page. Scrolling down to other Textareas, those option-windows disapear
when clicking the functions inside the editor - so i.e. i see no option to
change the color, the little box is not displayed inside my dialogbox :-( But
when i scroll up the page, those little boxes came up! But i couldn't scroll up
to the top for every trigger i placed :-(
Any ideas? So at the moment it seems i can't use
this fine solution at all, when some of the functions don't work correct
:-(
Thanks, Marcus
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |

Let me add one more information i just found
out:
It works quite good with the IE, but it brings up
the failures i mentioned before in Firefox :-(
How can i make it work in both
browsers?
In IE the suboptions are displayed right beyond the
option-button, in Firefox they are displayed somewhere else, but not right where
they should be :-( Perhaps that helps to find the error?
Thanks
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |

OK,
i have read some of the BUGs on FCK Editor Page and
is it possible, that OPS is using an old Version of FCKEditor?
The latest release is 2.4.2 and there seem to be
some BugFixes that may solve some problems.
Could anyone tell me, how i can update the
FCKEditor in OPS?
Are there any specific changes i have to made in
some files or is it possible just to replace the old with the new
version?
Perhaps it would be great to do that for your
release as well, to be up to date, if it is just so easy with replacing some
files!? Could someone give me more details on that?
Thanks a lot, Marcus
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Marcus-2
Marcus,
   I've never had or seen this problem. Perhaps an example for the xforms sandbox would help? Ryan Ryan Puddephatt "Measuring programming progress by lines of code is like
measuring aircraft building progress by weight." - Bill Gates Marcus wrote:
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Marcus-2
Marcus,
   FCK is located inside a jar, if you get the latest FCK you should be able to place it in WEB-INF/resources/ops/fckeditor It should just drop into place :-) Ryan Ryan Puddephatt "Measuring programming progress by lines of code is like
measuring aircraft building progress by weight." - Bill Gates Marcus wrote:
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by Marcus-2
On 6/1/07, Marcus <[hidden email]> wrote:
> The latest release is 2.4.2 and there seem to be some BugFixes that may > solve some problems. We are using version 2.3.1 at the moment. Upgrading FCK editor should not be too hard. Let us know how it goes, and if you are having a good experience with the 2.4.2, we will consider upgrading it in Orbeon Forms as well. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
H Alex, hi Ryan,
So am i right, that besides some little additions in the fckconfig.js, all the other editor files were left untouched? Than i try just to replace it and tell you how it works! Let me ask one more question. Something i didn't understand quite well. Why is it, that when having those files in the resource subdir as well, that the one inside the jar are not used? Is that always the same? Or just in OPS a special "function" so that one can easyly add own code without having to replace the files inside the jars!? So, first i try to do it the way Ryan said and then let you know how it worked. Thanks, Marcus ----- Original Message ----- From: "Alessandro Vernet" <[hidden email]> To: <[hidden email]> Sent: Friday, June 01, 2007 1:03 PM Subject: Re: [ops-users] Problems with the FCKEditor - Possible to update the FCKEditor in OPS? > On 6/1/07, Marcus <[hidden email]> wrote: >> The latest release is 2.4.2 and there seem to be some BugFixes that may >> solve some problems. > > We are using version 2.3.1 at the moment. Upgrading FCK editor should > not be too hard. Let us know how it goes, and if you are having a good > experience with the 2.4.2, we will consider upgrading it in Orbeon > Forms as well. > > Alex > -- > Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise > http://www.orbeon.com/ > > -------------------------------------------------------------------------------- > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Marcus,
It is the standard behavior that files on the filesystem will take presidence over files within a jar Ryan Ryan Puddephatt "Measuring programming progress by lines of code is like
measuring aircraft building progress by weight." - Bill Gates Marcus wrote: H Alex, hi Ryan, -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Alex,
I'm seeing this as well, you can see it in our Contracts application (initate page, executive summary dialog) if you need a test case. Perhaps the upgrade will fix this? Let us know how it goes Marcus Ryan Ryan Puddephatt "Measuring programming progress by lines of code is like
measuring aircraft building progress by weight." - Bill Gates Ryan Puddephatt wrote: Marcus, -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by Marcus-2
On 6/1/07, Marcus <[hidden email]> wrote:
> So am i right, that besides some little additions in the fckconfig.js, all > the other editor files were left untouched? Than i try just to replace it > and tell you how it works! Exactly, the FCKeditor code was not modified, so upgrading should be relatively easy. > Let me ask one more question. Something i didn't understand quite well. > Why is it, that when having those files in the resource subdir as well, that > the one inside the jar are not used? Is that always the same? Or just in OPS > a special "function" so that one can easyly add own code without having to > replace the files inside the jars!? Like Ryan said, this is a feature. But it is mostly intended for cases where you just want to replace a couple of files. To upgrade FCKeditor, I would still replace the files directly in the jar. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi Alex,
so, for the moment i just saved the new version to the resource-dir, cleaned the cache, made some little changes to the fckconfig - that was because the browser mentioned that there is no ops-menubar - so i copied these line out of the old fckconfig - and now this bug seems to be fixed. It works very well in FF now! Having a small look to the bugfixes on the fckeditor page gives me the impression than a generall update in OPS to the new one would be very nice! Just me ask one more specific question, perhaps you can help: In the fckconfig it is possible to modify the menubar, cause the editor even hase some more functions i want to use. Do you know where i can find the function for special-charakters? The ones implemented are too few and perhaps i can add some own character in utf-8 cause we have to handle documents in old-german language so i need some additional letters!? But only if you know where i can add those information - otherwise i will search on my own for that! Hope my short test is good enough to help you fix that bug. Ryan said it was a bug for a long term!? Best regards, Marcus ----- Original Message ----- From: "Alessandro Vernet" <[hidden email]> To: <[hidden email]> Sent: Friday, June 01, 2007 2:17 PM Subject: Re: [ops-users] Problems with the FCKEditor - Possible to update the FCKEditor in OPS? > On 6/1/07, Marcus <[hidden email]> wrote: >> So am i right, that besides some little additions in the fckconfig.js, >> all >> the other editor files were left untouched? Than i try just to replace it >> and tell you how it works! > > Exactly, the FCKeditor code was not modified, so upgrading should be > relatively easy. > >> Let me ask one more question. Something i didn't understand quite well. >> Why is it, that when having those files in the resource subdir as well, >> that >> the one inside the jar are not used? Is that always the same? Or just in >> OPS >> a special "function" so that one can easyly add own code without having >> to >> replace the files inside the jars!? > > Like Ryan said, this is a feature. But it is mostly intended for cases > where you just want to replace a couple of files. To upgrade > FCKeditor, I would still replace the files directly in the jar. > > Alex > -- > Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise > http://www.orbeon.com/ > > -------------------------------------------------------------------------------- > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Marcus-2
Hi Marcus,
> Any ideas? So at the moment it seems i can't use this fine solution at > all, when some of the functions don't work correct :-( maybe it could be a workaround to put only one HTML area into the dialog and let it reference the actual instance node dynamically. That's the way i implemented the HTML editing in my application - each node containing HTML data has an xforms:output to display its current content and a xforms:trigger to show the edit dialog. The trigger writes the xpath of the node to be edited into a control instance node before calling the dialog; the xforms:textarea references that node using the xxforms:evaluate function that translates the xpath back to a node. florian -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi,
I need to set the width of an input box. I tried it using xxforms:size. I have the width of the textbox in pixels, but it seems that the xxforms:size takes value in em. I tried to convert the pixel value to em by using the conversion factor px * 0.0626 = em; but it doesn’t give the exact textbox width. Does anyone have a solution for this? Thanks in advance Jency -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |