We have 2 applications: client application and admin application. User in admin application can change theme of client application.
If theme contains image and skin then it is doable. Image servlet is using for reading image from DB on the fly and skin is changing dynamically. I have already implemented it.
Task is more complicated: admin should have the possibility to customize ANY of the skin's parameters.
Environment: JSF 2, RichFaces 4.3
We can save parameters and create new skin file, but in that case we need to redeploy the client application (which is not the best solution - already implemented for custom skin).
We can change CSS on the fly, but it is big amount of classes (for all RichFaces components).
Question: can we replace the value of skin parameter (not CSS, ECSS, XCSS) on the fly?
How to replace the value of skin parameter on the fly in Richfaces 4.3?
452 Views Asked by Vasil Lukach At
1
There are 1 best solutions below
Related Questions in JSF
- Strange java.lang.ArrayIndexOutOfBoundsException rendering error in jsf application under high load
- h:outputStylesheet inside ui:repeat
- IntelliJ warns "Cannot resolve variable" on EL variables declared in parent page of include
- How to instantiate a backing bean on page load
- How to disable default keyCode event in Primefaces?
- How to define a style for ul which appears automatically
- How to add '%' symbol in textbox using jsf and jsp?
- Primefaces onkeyPress triggerevent
- h:commandButton action method is not invoked
- f:ajax resetValues="true" does not seem to work
- Primefaces datatable duplicate "No records found" while doing column freeze for empty records
- How to provide a file download from a JSF backing bean using af:commandMenuItem?
- Remove message from h:outputText ofter time
- How to change the position of confirmation box in jsf primefaces?
- commandLink not working when images are in same line
Related Questions in JSF-2
- Strange java.lang.ArrayIndexOutOfBoundsException rendering error in jsf application under high load
- Ajax-update only a component attribute, not the whole component nor its children
- How to instantiate a backing bean on page load
- How to add '%' symbol in textbox using jsf and jsp?
- Primefaces datatable duplicate "No records found" while doing column freeze for empty records
- How to provide a file download from a JSF backing bean using af:commandMenuItem?
- Using multiple FluidGrids in one form
- Masks in JSF2 with rich:jQuery?
- IceFaces message not showing
- Add table plugin to primefaces editor
- this.jq.draggable is not a function when using primefaces dialog framework
- Setting f:setPropertyActionListener value with a f:param value
- It is possible to download file on p:poll
- Spring Boot with Jsf views
- JSF, Target unreachable
Related Questions in RICHFACES
- Richfaces, error if term has '/'
- Masks in JSF2 with rich:jQuery?
- Richfaces custom skinning images
- How to use the RichFaces calendar dayClassFunction in client mode?
- JSF Composite Component with conditional popup panel
- a4j:commandButton returning from an action method loses css-styles
- a4j:support - Value retrieved from h:selectOneMenu is always NULL
- How would I redisplay user-controlled input from a h:inputTextarea preserving linebreaks with JSF?
- How to display PDF in JSF, with content from ServletResponse
- How to prevent ajax request from firing when updating some similar components several times?
- Rich DataTable value selection issues
- javax.el.ELException on RichFaces fileUpload
- Can not click on Paginator Button
- rich:dataScroller on custom RichLazyDataModel does not paginate
- How to expand rich:treeNode
Related Questions in SKIN
- Custom Telerik Skin assembly is not loading its styles
- Adding text from custom script to Kodi Home page via XML
- Skin Detection Opencv-Temperature Parameter
- LibGDX: No Drawable, NinePatch, TextureRegion, Texture, or Sprite registered with name: white
- How to replace the value of skin parameter on the fly in Richfaces 4.3?
- DevExpress NavBarControl Styles
- When will the "edit skin" in DNN 7.2 be used?
- Windows media player UI
- StyleClass ignored
- change android emulator skin on adt bundle
- is it possible to change default html5 video skin/color
- Wpf change color theme of application
- What is the flash video player PayPal uses?
- Flex: make part of a skin non focusable/non-clickable
- Is there any free .NET library for skinning application?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Changing skin parameters on the fly is not supported.
The skinning works off of resources generated from the skin file (image and CSS files) during the build. You'd have to generate new resources every time you'd change a skin parameter.
You can create a bunch of skins in advance but if you want to allow the user to change every detail there is no easy solution.