My current environment is
JBoss 4.2.3 FCKEditor 2.6.4 java-core 2.4.1
The forum operates in read-only mode. Please head to StackOverflow for support.
About cookies on this site
We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements.
About cookies on this site
Cookies used on the site are categorized and below you can read about each category and allow or deny some or all of them. When categories than have been previously allowed are disabled, all cookies assigned to that category will be removed from your browser. Additionally you can see a list of cookies assigned to each category and detailed information in the cookie declaration.
Necessary cookies
Some cookies are required to provide core functionality. The website won't function properly without these cookies and they are enabled by default and cannot be disabled.
CookieHub is a Consent Management Platform (CMP) which allows users to control storage and processing of personal information.
Cloudflare is a global network designed to make everything you connect to the Internet secure, private, fast, and reliable.
Preferences
Preference cookies enables the web site to remember information to customize how the web site looks or behaves for each user. This may include storing selected currency, region, language or color theme.
Analytical cookies
Analytical cookies help us improve our website by collecting and reporting information on its usage.
Google Analytics is a web analytics service offered by Google that tracks and reports website traffic.
Hotjar is a product experience insights platform that gives you behavior analytics and feedback data to help you empathize with and understand your customers.
Clarity is a user behavior analytics tool that helps you understand how users interact with your website.
Marketing cookies
Marketing cookies are used to track visitors across websites to allow publishers to display relevant and engaging advertisements. By enabling marketing cookies, you grant permission for personalized advertising across various platforms.
Google Ads is an advertising service by Google for businesses that want to display ads on Google search results and its advertising network.
YouTube is a free video sharing website that makes it easy to watch online videos.
Microsoft Advertising (formerly Bing Ads) is a service that provides pay per click advertising on the Bing, Yahoo!, and DuckDuckGo search engines.
Other cookies
The cookies in this category have not yet been categorized and the purpose may be unknown at this time.
Cookies used on the site are categorized and below you can read about each category and allow or deny some or all of them. When categories than have been previously allowed are disabled, all cookies assigned to that category will be removed from your browser. Additionally you can see a list of cookies assigned to each category and detailed information in the cookie declaration.
Necessary cookies
Some cookies are required to provide core functionality. The website won't function properly without these cookies and they are enabled by default and cannot be disabled.
Name | Hostname | Vendor | Expiry |
---|---|---|---|
url-tracker | .ckeditor.com | 400 days | |
_vwo_uuid_v2 | .ckeditor.com | Visual Website Optimizer | 366 days |
Calculates Unique Traffic On a website | |||
__cfruid | .calendly.com | Cloudflare, Inc. | Session |
This cookie is set by Cloudflare for rate limiting policies. | |||
utm-touches | .ckeditor.com | 7 days | |
cookiehub | .ckeditor.com | CookieHub | 365 days |
Used by CookieHub to store information about whether visitors have given or declined the use of cookie categories used on the site. | |||
_cfuvid | .calendly.com | Session | |
Used by Cloudflare WAF to distinguish individual users who share the same IP address and apply rate limits | |||
__cf_bm | .g2crowd.com | Cloudflare, Inc. | 1 hour |
The __cf_bm cookie supports Cloudflare Bot Management by managing incoming traffic that matches criteria associated with bots. The cookie does not collect any personal data, and any information collected is subject to one-way encryption. | |||
_vwo_sn | .ckeditor.com | 1 hour | |
Stores session-level information. (VWO) | |||
_vis_opt_s | .ckeditor.com | 100 days | |
The number of times the browser was closed and reopened. Tracks sessions created for a user. (VWO) | |||
_vis_opt_test_cookie | .ckeditor.com | Session | |
Session cookie generated to detect if the cookies are enabled on the browser of the user or not. It also helps in tracking the number of browser sessions a visitor has gone through. (VWO) | |||
__cf_bm | .calendly.com | Cloudflare, Inc. | 1 hour |
The __cf_bm cookie supports Cloudflare Bot Management by managing incoming traffic that matches criteria associated with bots. The cookie does not collect any personal data, and any information collected is subject to one-way encryption. |
Preferences
Preference cookies enables the web site to remember information to customize how the web site looks or behaves for each user. This may include storing selected currency, region, language or color theme.
Name | Hostname | Vendor | Expiry |
---|---|---|---|
VISITOR_INFO1_LIVE | .youtube.com | 180 days | |
Set by YouTube and used for various purposes, including analytical and advertising. | |||
VISITOR_PRIVACY_METADATA | .youtube.com | 180 days |
Analytical cookies
Analytical cookies help us improve our website by collecting and reporting information on its usage.
Name | Hostname | Vendor | Expiry |
---|---|---|---|
_ga | .ckeditor.com | 400 days | |
Contains a unique identifier used by Google Analytics to determine that two distinct hits belong to the same user across browsing sessions. | |||
_hjSessionUser_ | .ckeditor.com | Hotjar | 365 days |
Hotjar cookie. This cookie is set when the customer first lands on a page with the Hotjar script. It is used to persist the Hotjar User ID, unique to that site on the browser. This ensures that behavior in subsequent visits to the same site will be attributed to the same user ID. | |||
_hjSession_ | .ckeditor.com | Hotjar | 1 hour |
Used by Hotjar to hold current session data. | |||
_zitok | .ckeditor.com | 365 days | |
MUID | .bing.com | Microsoft | 390 days |
Microsoft User Identifier tracking cookie used by Bing Ads. It can be set by embedded microsoft scripts. Widely believed to sync across many different Microsoft domains, allowing user tracking. | |||
CLID | www.clarity.ms | Microsoft | 365 days |
Identifies the first-time Clarity saw this user on any site using Clarity. | |||
_clck | .ckeditor.com | Microsoft | 365 days |
Persists the Clarity User ID and preferences, unique to that site, on the browser. This ensures that behavior in subsequent visits to the same site will be attributed to the same user ID. | |||
SM | .c.clarity.ms | Microsoft | Session |
This cookie is installed by Clarity. The cookie is used to store non-personally identifiable information. The cookie is used in synchronizing the MUID (Microsoft unique user ID) across Microsoft domains. | |||
MUID | .clarity.ms | Microsoft | 390 days |
Microsoft User Identifier tracking cookie used by Bing Ads. It can be set by embedded microsoft scripts. Widely believed to sync across many different Microsoft domains, allowing user tracking. | |||
MR | .c.bing.com | Microsoft | 7 days |
Used by Microsoft Clarity to indicate whether to refresh MUID. | |||
_clsk | .ckeditor.com | Microsoft | 1 day |
Connects multiple page views by a user into a single Clarity session recording. | |||
MR | .c.clarity.ms | Microsoft | 7 days |
Used by Microsoft Clarity to indicate whether to refresh MUID. | |||
_vwo_uuid | .ckeditor.com | 365 days, 6 hours | |
It generates a unique id for every visitor and is used for the report segmentation feature in VWO, and it also allows you to view data in a more refined manner. (VWO) | |||
_vwo_ds | .ckeditor.com | 30 days | |
Stores persistent user-level data for Track (goals, funnels) and Analyze (heatmaps, recordings, form analytics) (VWO) |
Marketing cookies
Marketing cookies are used to track visitors across websites to allow publishers to display relevant and engaging advertisements. By enabling marketing cookies, you grant permission for personalized advertising across various platforms.
Name | Hostname | Vendor | Expiry |
---|---|---|---|
_gcl_au | .ckeditor.com | Google Advertising Products | 90 days |
Used by Google AdSense to understand user interaction with the website by generating analytical data. | |||
_ga_ | .ckeditor.com | 400 days | |
Contains a unique identifier used by Google Analytics 4 to determine that two distinct hits belong to the same user across browsing sessions. | |||
YSC | .youtube.com | Session | |
This cookie is set by YouTube video service on pages with YouTube embedded videos to track views. | |||
IDE | .doubleclick.net | Google Advertising Products | 390 days |
Used by Google's DoubleClick to serve targeted advertisements that are relevant to users across the web. Targeted advertisements may be displayed to users based on previous visits to a website. These cookies measure the conversion rate of ads presented to the user. | |||
SRM_B | .c.bing.com | Microsoft | 390 days |
This cookie is installed by Microsoft Bing. Identifies unique web browsers visiting Microsoft sites. | |||
MSPTC | .bing.com | Microsoft | 390 days |
ANONCHK | .c.clarity.ms | Microsoft | 1 hour |
Used to store session ID for a users session to ensure that clicks from adverts on the Bing search engine are verified for reporting purposes and for personalisation | |||
_uetsid | .ckeditor.com | Microsoft | 1 day |
This cookie is used by Bing to determine what ads should be shown that may be relevant to the end user perusing the site. | |||
_uetvid | .ckeditor.com | Microsoft | 390 days |
Used by Microsoft Advertising to store a unique, anonymized visitor ID to personalize marketing. | |||
test_cookie | .doubleclick.net | 1 hour | |
Used to check if the user's browser supports cookies |
Other cookies
The cookies in this category have not yet been categorized and the purpose may be unknown at this time.
Name | Hostname | Vendor | Expiry |
---|---|---|---|
visitor_id1018062 | info.ckeditor.com | 365 days | |
visitor_id1018062-hash | info.ckeditor.com | 365 days | |
lpv1018062 | info.ckeditor.com | 1 hour | |
visitor_id1018062 | ckeditor.com | 365 days | |
visitor_id1018062-hash | ckeditor.com | 365 days | |
visitor_id1018062 | .pardot.com | 365 days | |
visitor_id1018062-hash | .pardot.com | 365 days | |
__Host-CKBox-Auth | api.ckbox.io | 41 days, 17 hours | |
CKBox-Auth | api.ckbox.io | 41 days, 17 hours | |
cp.context | portal.ckeditor.com | Session | |
__Host-next-auth.csrf-token | portal.ckeditor.com | Session | |
__Secure-next-auth.callback-url | portal.ckeditor.com | Session | |
visitor_id1018062 | portal.ckeditor.com | 365 days | |
visitor_id1018062-hash | portal.ckeditor.com | 365 days |
Re: Upload Absolute Path with Custom UserPathBuilder Impl
Your dilemma can't be solved with FCKeditor.Java 2.4.1. Please use 2.5-SNAPSHOT from SVN.
Re: Upload Absolute Path with Custom UserPathBuilder Impl
Hence my post, I wasnt sure how the upload was taking place, but trying anything I could.
So, fair enough, and I will get and build the 2.5 snapshot. Once I do that, where _is_ the correct place for configuring the absolute file path for uploads?
I have this in fckeditor.properties
What should my custom UserPathBuilder return? All or part of the path?
Thanks!
Re: Upload Absolute Path with Custom UserPathBuilder Impl
Re: Upload Absolute Path with Custom UserPathBuilder Impl
Everything at http://java.fckeditor.net references 2.4.1. Where is the 2.5 documentation?
I am browsing the SVN repository now and there are no tags or branches denoting version 2.5 SNAPSHOT? Is 2.5 the trunk?
Thank you.
Re: Upload Absolute Path with Custom UserPathBuilder Impl
Re: Upload Absolute Path with Custom UserPathBuilder Impl
Consider for a moment that no one else uses tagging and branching like you do. Not that either is wrong or right, but only different.
I have only one question at this time...
Where is the 2.5 documentation?
Thanks.
Re: Upload Absolute Path with Custom UserPathBuilder Impl
Well that's not correct. Everyone does who uses the maven release plugin. Are you familiar with Maven 2 at all (this one is really essential)? The docs are in the trunk.
Re: Upload Absolute Path with Custom UserPathBuilder Impl
I am very familiar with Maven2. I dont disagree that other people use SVN like you do. At my shop, we have mutiple releases developed in parallel to one another. Since you cant develop 2 new releases simulaneously in trunk, we create 2 branches for the new development, and then merge them back together when they are all completed. MAny large enterprise shops do it this way. Like I said before, only different ways of accomplishing the same goal of managing and releasing quality software.
Ill go read those docs and thanks again for the assistance. I dont envy you having to answer all these questions on the support, but some of us asking do know our head from our ass.
Re: Upload Absolute Path with Custom UserPathBuilder Impl
Re: Upload Absolute Path with Custom UserPathBuilder Impl
Mike,
I have the following fckeditor.properties:
Re: Upload Absolute Path with Custom UserPathBuilder Impl
Re: Upload Absolute Path with Custom UserPathBuilder Impl
Every minor and/or major release may add or remove capabilities. Deducing from you post, I assume that you haven't read the generated site completely. You should always read the Upgrade Notes .
Re: Upload Absolute Path with Custom UserPathBuilder Impl
My last remaining issue is involving deploying this to my QA environment which is clustered and the JBoss instances sit behind the Apache Mod_jk load balancer. The "connector.php" in the request is messing up something when apache parses the URL And decides to send it to JBoss or keep it within apache's scope.
IMHO, it would be nice to have a "Java" option in the fckconfig.js, rather than having is set to PHP and assuming there is nothing between the browser and the Servlet Container that might filter the request.
Would be nice to have it like
Then figure out an extention that would correlate to the servlet mapping, say 'fckj'.
Then you could have something like this in the servlet mapping
This way you could get all PHP referneces out since it is an all java solution. What do you think? I might be forced to help implement if I cant figure out how to make the load balancer send the request on to JBoss.
Also, the 2.5 docs are good. I will try to send some examples of how the UserPathBuilder is overridden and how the return values translate to what operations take place when a file is uploaded or chosen.
Re: Upload Absolute Path with Custom UserPathBuilder Impl
Thanks for the assistance.
Re: Upload Absolute Path with Custom UserPathBuilder Impl
Well,
the default url mapping goes to .../connectors/*. What ever happends with httpd is out of our scope. Tomcat intercepts those calls if it is used solely. Since httpd tries to interprete this call instead of passing it to JBoss it's clearly a client/httpd problem. It's up to you to change the default connector path to any path you like. Since we provide only generic implementation, your issue is too special to be treated, imho. You can retain the connector url and change the file browser language to "fake" or whatever you want. The servlet doesn't care
I guess your solution is up and running with only a few lines of code
Btw, did you check the LocalConnector's JavaDoc? It depits your virtual dir case in httpd: http://dev.fckeditor.net/browser/FCKedi ... r.java#L28
The configs of the current file browser are somewhat cumbersome.
Re: Upload Absolute Path with Custom UserPathBuilder Impl
I agree that having a httpd server that interprets PHP, and optionally passes other requests on to a Java Web Container is not common. Hopefully someone else reads this thread and saves some time.
I did read the LocalConnector javadoc and it clearly explained using it to save files to the filesystem. I think using it in conjunction with a UserPathBuilderImpl was not crystal clear, but I figured it out so it must have been clear enough, right?
Thanks again.
Re: Upload Absolute Path with Custom UserPathBuilder Impl
If you hav any improvement ideas, please file a ticket or tell me. Did you already try the LocaleResolver?
You are welcome.