Hi :-)
Thanks for that, and it's nice to hear, that this is exactly the way it works now in my app. But perhaps you followed the thread, there was! another problem, but this one could also be fixed with updating the FCKEditor to the newest version :-) But thanks a lot, help and hints are always apppreciated and never to much, cause there always will be space for optimizing the workarounds :-) Regards, Marcus ----- Original Message ----- From: "Florian Schmitt" <[hidden email]> To: <[hidden email]> Sent: Friday, June 01, 2007 3:21 PM Subject: Re: [ops-users] Any documentation for xxforms:dialog? > 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 > -- 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 Jency Chackummoottil
Jency,
On 6/1/07, Jency Chackummoottil <[hidden email]> wrote: > 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? You can put a class on the <xforms:input>. Then in CSS, you say: .myclass input { width: 20em; } 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 |
In reply to this post by Marcus-2
Hi,
me again. So, i also found the settings for the special characters! But i have one important question left - perhaps anyone has some information for me to set it up right! When i use the Editor and type in some html-entities like uͤ and i leave the editor, not the unicode-character is saved, but it is transformed to &#x0075;&#x0364; :-(( But i need to be able to type in charakter codes, cause we have to deal with old german letters that we have to handcode, cause we don't know yet, wich of them we need. So i'm not able to hardcode all of them to the special-charakter-function! Could anyone tell me, which settings i have to take in the config-file, so we could deal with those entities? In the config file there is an option: FCKConfig.ProcessHTMLEntities = true ; I tried both settings, true and false, but that makes no difference :-( Any help would be great :-) Regards, Marcus ----- Original Message ----- From: "Marcus" <[hidden email]> To: <[hidden email]> Sent: Friday, June 01, 2007 2:47 PM Subject: Re: [ops-users] Problems with the FCKEditor - Possible to update the FCKEditor in OPS? > 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 -- 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 schrieb:
> When i use the Editor and type in some html-entities like > uͤ and i leave the editor, not the unicode-character is > saved, but it is transformed to &#x0075;&#x0364; :-(( > But i need to be able to type in charakter codes, cause we have to deal > with old german letters that we have to handcode, cause we don't know > yet, wich of them we need. So i'm not able to hardcode all of them to > the special-charakter-function! > > Could anyone tell me, which settings i have to take in the config-file, > so we could deal with those entities? > In the config file there is an option: > FCKConfig.ProcessHTMLEntities = true ; > I tried both settings, true and false, but that makes no difference :-( and i fear furthermore, that this isn't possible with fckeditor by default. But there may me different workarounds. One could be to insert the character entity using a fckeditor plugin, which isn't difficult to create. An example for a plugin that inserts a tag based on user entry can be found here: http://sourceforge.net/forum/forum.php?thread_id=1268047&forum_id=257180 Documentation for fckeditor plugins: http://wiki.fckeditor.net/Developer%27s_Guide/Customization/Plug-ins A simple plugin could simply wrap the numeric character code entered by the user in &#x and ; and insert it at the current cursor position. 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 |
In reply to this post by Marcus-2
Marcus,
The FCKEditor has a language option, perhaps setting this to german, the FCKEdtior would start handling these characters automatically. Ryan Ryan Puddephatt "Measuring programming progress by lines of code is like
measuring aircraft building progress by weight." - Bill Gates Marcus wrote: Hi, -- 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,
the problem is, that those special characters are
not memeber of any german unicode. You have to "produce" them by using "normal"
letters together with "combining diacritcal marks" (http://www.unicode.org/charts/PDF/U0300.pdf)
As is saw in the config, there are two more options
for Latin1 and Greec Entities, perhaps its possible to enable more html entities
by adding some code? Does anyone know where theses functions are
hardcoded?
Marcus
----- Original Message -----
-- 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,
You'd be best to post on the FCKEditor forums to get a good answer to this 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 |
Hi Ryan,
i have already done this and wait for answers that
could help!
At the moment i'll try Florians hint to write an
own plugin, but i'm also hoping to find an easier way to enable those
special entities :-) all at ones :-)
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 |
In reply to this post by Marcus-2
Hi,
just to keep you informed. I found another Plugin
on the FCKEditor site:
Here you can type in html-code direct to the source
code, even when you use the design mode!!!
So, you can type in the entity and it will be
automaticaly tranformeds to the special character.
Only thing which is important - you must save and
treat your xml-files in utf-8 encoding, otherwise the characters won't be saved
right i think!
Perhaps someone has also other usage for that
plugin! But it is written for the 2.4.x release! So you first have to update the
Editor to a newer release than the one comes with OPS at the moment :-) Or will
the new OPS be updated to the new release of FCKEditor?
Regards, 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
Marcus,
On 6/1/07, Marcus <[hidden email]> wrote: > 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! Thank you for confirming that version 2.4.2 works. I have added an RFE for this: http://forge.objectweb.org/tracker/index.php?func=detail&aid=307150&group_id=168&atid=350207 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 |
Free forum by Nabble | Edit this page |