Disabled components enabled on client side don't update
If I set a component in my jsp as disabled, such as a checkbox, it shows up on the client side disabled as one would expect.
However, if I use javascript to enable it, and change it's value, then submit the page, the value is never updated as you would expect.
What's the scoop?
Thanks,
Mike.
C> If I set a component in my jsp as disabled, such as a checkbox, it
C> shows up on the client side disabled as one would expect.
C> However, if I use javascript to enable it, and change it's value,
C> then submit the page, the value is never updated as you would expect.
Here's one possible solution until we can figure out something more
clean.
You're using client JavaScript to modify the enabled/disabled state of a
component in the page, and you want that setting to be reflected when
the page is processed by JSF, right? Well, have you client javascript
generate a hidden field containing the enabled/disabled state of the
component. You install a PhaseListener for the before
ApplyRequestValues phase that looks for the hidden field and modifies
the component accordingly.
This isn't as hacky as it sounds when you consider that you can use such
a "before" phase to handle any and all JS mods and apply them to the
component tree before any decoding occurrs.
Ed JSR-252 Spec co-lead
Similar Messages
-
Problem facing while Enabling the disabled component in the client side.
I have a input text component as below
<h:inputText id="city" disabled="true" rendered="true" styleClass="DisabledField" id="city" maxlength="21" value="#{addressbean.city}" />
Initially this component is rendered as disabled. When user changes a value in the DropDown next to it, i invoke a javascript where i enable the abv text field.
function onCountryChange(city){
city.disabled = false;
city.className = "TextBlackNormal";
Now user types a value in the city text field and Submits the form.
In the action method of the managed bean, i found #{addressbean.city} is always empty. ( i am not able to retain this value in next page )
Can anyone explain why it is happening? could you please help me how to resolve this ?
Thanks
-vijayYou need to enable it at the server side as well.
So, either use Java/JSF instead of Javascript (if necessary with some ajax flavor for better user experience) or let Javascript pass a hidden input parameter and let the 'disabled' attribute rely on it. -
Disable Throttling event from client side
As a user of flash player, can i disable the Throttling event introduce from flash player 11.2? I am using a pc and not using phone to play flash game, it hang when the screen not in focus or minimize. Thanks.
Hi,
Do you have the entry sapmsPRD in the services file on the client stations ?
PS : Your technique is quite dangerous : Everybody will be able to trigger events...
Regards,
Olivier -
How can I design I website using dreamweaver CS3 so
designated members of the site can access it and make simple text
& photo updates themselves. Can this be done this Dreamweaver
CS# and javascript?"happydreamweaver" <[email protected]> wrote
in message
news:g4dctb$jk2$[email protected]..
> How can I design I website using dreamweaver CS3 so
designated members of
> the site can access it and make simple text & photo
updates themselves.
> Can this be done this Dreamweaver CS# and javascript?
There are a lot of different ways this can be done, providing
varying levels
of ease and varying capabilities for your client.
At the lowest level, you could set up a couple of individual
pages on the
site so that Client could edit the text only. You could
probably figure out
how to do that in a few hours with some help.
At the highest level, Client would log in to a full-size
Administration
module allowing him to edit anything and everything on the
web site. This
would probably take you a few weeks to put together, if
you're fairly
knowledgable about code. If not, better allow longer.
It can be done with Dreamweaver CS3, but you'll need an
already-written
script of some kind. As Joeq posted, this is generally called
a "content
management system", so that would be one way to Google for
scripts.
There's also Contribute, an Adobe program, which functions
kind of like a
CMS, but involves software which must run on Client's
computer.
Hope that helps,
Patty Ayers | www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate
Worksheet -
<p>Hi, I'm developing JSF with ADF and MyFaces. I want to minimise the load on my Server, e.g. by minimising use of session beans and other types of session storage. So I use the <t:saveState> from MyFaces instead. In web.xml I set the parameter:</p>
<p>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
</p>
<p>This makes all the MyFaces components store state on the client. However, this still doesn't force the ADF components to use client-side state saving(!). As described here, the default behaviour in ADF is to use a session token to store page state in HttpSession. In my project I've seen all sorts of strange behaviour when the session token exceeds the number of CLIENT_STATE_MAX_TOKENS. Of course I can try to increase this value, but this will lead to even more sesison usage. </p>
<p>So, I tried setting another parameter in web.xml:</p>
<p>
<context-param>
<param-name>oracle.adf.view.faces.CLIENT_STATE_METHOD</param-name>
<param-value>all</param-value>
</context-param>
<p>
<p>This should force all state to be moved to the client in a hidden form field. But when I do this I get this type of error:</p>
<p>
2006-10-25 13:21:30,854 ERROR (taglib.core.ViewTag:181) - Error writing body content
java.io.NotSerializableException: oracle.adf.view.faces.component.core.input.CoreSelectOneChoice
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at java.util.ArrayList.writeObject(ArrayList.java:569)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at oracle.adfinternal.view.faces.renderkit.core.CoreResponseStateManager.writeState(CoreResponseStateManager.java:82)
at org.apache.myfaces.application.jsp.JspStateManagerImpl.writeState(JspStateManagerImpl.java:430)
at oracle.adfinternal.view.faces.application.StateManagerImpl.writeState(StateManagerImpl.java:241)
at org.apache.myfaces.taglib.core.ViewTag.doAfterBody(ViewTag.java:145)
at org.apache.jsp.pages.innkurv.innkurvMain_jsp._jspx_meth_f_view_0(innkurvMain_jsp.java:152)
at org.apache.jsp.pages.innkurv.innkurvMain_jsp._jspService(innkurvMain_jsp.java:91)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at no.justisdepartementet.etterlysning.web.util.ContextResourceFilter.doFilter(ContextResourceFilter.java:69)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at no.justisdepartementet.etterlysning.web.util.RedirectFilter.doFilter(RedirectFilter.java:59)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
</p><p>Thanks guys. I did indeed try to use <t:saveState> to save the CoreSelectOneChoice. More specifically, I tried to use <t:saveState> on a backing bean where one of its properties were a CoreSelectOneChoice. The backing bean itself needs to be serializable as well as all of its properties, so the solution is to set the local variable transient.</p>
<p>After overcoming this problem, however, I found that some of my managed beans still had serialization problems because they had references to "service managers" that were dependency injected via JSF's managed means facility. See this blog for a discussion about serialization and MyFaces.
</p> -
Updater fails 9.1.1 to 9.1.2 - msg "re-enable disabled components"
Adobe reader 9.1.1 won't update itself via updates, nor will the stand alone updater work.
The "re-enable disabled components" message referred to with other products pops up.
I've deleted the app. Deleted all pref and lib/app support files. Reinstalled, and hit the same wall.
The computer is PPC running 10.5.7.
The HD is formatted w/ a case-sensitive journaled HFS.Michael:
Thanks for your speedy reply.
Adobe Reader has worked atop case sensitive file systems for me for some time. I began using them in 10.4 Tiger, though they were introduced as an option going back to 10.3 Panther, which was released to the public 10/2003, and developers like Adobe before that.
If the file system is not supported then it should be clearly, and prominently noted on the download page, and perhaps a warning in the installer (if the installer can't itself test for the presence/type of file system and put up some dialog box warning of pending difficulties).
While I don't use/have no need for the CS, I'm aware of the issues Adobe had w/ the CS suite and case sensitivity (it was just reported in the mac news) but I don't ever recollect seeing that Reader was affected. Certainly finding out that this is the case by doing google searching, troubleshooting, and help forums takes a distant rear seat to getting warned up front.
Just to make sure, I went to the download page (no warning), went to system requirements (no warning), and opened up the files that are downloaded (and again, no warning in the installers).
As a layperson I have trouble imagining that the coding/development of a PDF reader would be inconsistent to the point that it breaks down trying to point to its own components..but that is probably an oversimplification.
Hope that it is resolved, and that until then appropriate warnings are offered to end users.
Thanks again for your time and interest. -
How to Disable client side validation for the message text input
Hi,
I have scenario where i need to by pass the client side validation for a message text input
Scenario is
I have a message text input field(say XYZ), i set the max length for the item as 20
Now when im trying to enter the greek characters into it, it is allowing me to enter till 20 characters
But when i try to submit the form ..my client side validation is firing..
The Error says the XYZ is too long
The problem is, in greek each character takes two bytes.(In english it is only 1).While entering the content it allowing 20 characters and when validating it is checking for bytes(if we enter in greek the length will be 40 bytes not 20)
I cannot increase the max length .coz i have restrict the character length to 20 only.(english or Greek).
Please help me in this regard.
Regards
Sandeep.Thanks for the information.But we dont have any option either declaratively or programatically to disable the client side validation for the message text input..I referred java docs ..i dint find any method which does..
Correct me if im wrong -
Disable or restrict System.out.println() statements on client side
Hi All,
This might be a stupid question, but i am still going ahead and asking the question.
Is there a way to disable or restrict System.out.println() statements in applet code from executing on the client side by using settings in proxy server or firewall or other security settings.
Thanks
NagHi All,
This might be a stupid question, but i am still going
ahead and asking the question.
Is there a way to disable or restrict
System.out.println() statements in applet code from
executing on the client side by using settings in
proxy server or firewall or other security settings.
System.out.println() calls are executed on the client machine, and thus do not pass through any firewalls or proxies. If the applet is signed, you can redirect the System.out, by System.setOut(...). -
Hello all, I am getting the following message with some emails I receive:- HTML enabled email client required to read this email. I really don't understand this message, am non techy, would anyone know how I can open and read the email? Thanks very much for any help, Alex
In Mail I suggest you try 'View->Message->Plain text alternative'.
Why? In multipart/alternative messages, such as this, the text/plain version should precede the text/html version, but Toyota have swapped them around. By default mail clients display the second version, assuming it to be HTML.
Very strange. -
Nothing appeared in "Enable Client Side Monitoring" tab to be anabled
Hi,
I've created a new APM.NET Test via .NET Application Performance Monitoring Template and after following all the steps provided by Kevin Greene in the URL: http://kevingreeneitblog.blogspot.de/2012/03/scom-2012-configuring-application_49.html and when I
reach the part to enable the CSM I found it null with nothing to be enabled (the Check Client-Side Monitoring Compatibility’ task is finished successfully ).
Why Enable CSM is empty? How to show the application Is this affecting the APM monitoring results?
P.S.
- We are now using SCOM2012R2 with CU2 (with only R2, we faced an outage due to the SCOM R2 Agents was not compatible with the version of SCOM APM in R2, and the CU2 is supposed to solve this problem)
Thanks.
KhaledHi Khaled,
CSM is not for all application types, it's only for IIS7+ hosted ASP.NET Web Applications (which should be firstly added to server-side monitoring) interacting with end users. It's not for all sorts of Web Services or Windows Services.
Igor Savchenko, VIAcode Consulting LLC (http://www.viacode.com/) -
Hi all,
Having an issue with the shortcuts Group Policy extension applying to our Windows 7 machines. It was working until last Wednesday and since then users get a Group Policy Client service error when logging in.
We have narrowed it down to the shortcuts extension, if the extension is disabled then a user can log in, if enabled and empty then the following error comes up. With all the investigation we have done so far it seems as though something on the client is
making this happen.
We have –
Copied the original policy
Exported and imported the policy
Deleted all the shortcuts
Deleted all the shortcuts and created a brand new shortcut
And the same thing happens. Only if you right click on the Shortcut Extension and select disable then the user can log in
When running Gpupdate /force we get the following error
The Group Policy Client Side Extension Group Policy Shortcuts may have caused the Group Policy Service to terminate unexpectedly. To prevent further failures inthe
Group Policy Service, this extension has been temporarily disabled until after the next system restart. Group Policy settings managed by this extension may no
longer be enforced until the system is restarted. The vendor of this extension should be contacted if this issue recurs.
The Group Policy Client Side Extension Group Policy Internet Settings may have caused the Group Polcy Service to terminate unexpectedly. To prevent further failures
in the Group Policy Service, this extension has been temporarily disabled until after the next system restart. Group Policy settings managed by this extension
may no longer be enforced until the system is restarted. The vendor of this extension should be contacted if this issue recurs.
Has anyone come across this before?
ThanksHi Dejul,
How is the issue going? Does this issue happen to all Windows 7 clients? I am not sure this can be helpful but we can give it a try to install the following hotfix.
Some Group Policy preferences are not applied successfully on computers that are running Windows Vista, Windows Server 2008, Windows 7 or Windows Server 2008 R2
http://support.microsoft.com/kb/979731
Besides, please make sure that our clients are patched or updated to the latest.
An enterprise hotfix rollup is available for Windows 7 SP1 and Windows Server 2008 R2 SP1
http://support.microsoft.com/kb/2775511
TechNet Subscriber Support
If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
Best regards,
Frank Shen -
Okay, as a heads up I work for a financial institution and we are converting our legacy "jetforms" to pdf format. I have in my staff for the project, 2 code developers and myself- a form designer. We have currently spent 2 months in trial and error attempting to resolve this problem, please let us know anything you can have. All client-side (internal) machines are running Windows XP and Adobe Reader 7.0.7
The software we use as a financial institution allows our users to export a customer's data file onto their machine which is then renamed to include the member's account number and first and last name for our staff to determine which data file they need more accurately. In legacy jetforms, we have developed a program that pushes the data from the customers file that they select, into the jetform that they want to open and the matching fields in the data file fill in the fields of the jetform. Clean and simple.
Now, i have hit nothing but frustration when attempting to perform the same process with pdfs using a form designed in livecycle designer 7. First, i see no obvious command for opening a pdf and importing a data file using a command line, like pdfmerge or something of the sort in which an xml data file can be specified and a pdf can be specified. I saw something like it using an fdf format and attempted to do this but apparently reader cannot import the data into the pdf that was designed adobe livecycle 7. All i have been seeing is database connections and using javascript inside the form to populate fields based on these database connections, etc. etc. or doing a manual file>import data>etc. which we don't want to have our staff do. We do not have reader extensions enabled, simply because i cannot get an adobe representative to call me and discuss pricing nor see any estimated pricing chart around. I don't know if reader extensions are necessary for this or not but i'm becoming very very frustrated with it.
We don't want a complex server-side data connection binding with dynamic input. No, we just want it where our developers can say "if this data file is selected, and this pdf form is selected run this command" which would be a simple pdfmerge type solution. Is this possible or do i need to stay with jetforms until our software the billion dollar financial institution uses does form building inside its own application? I don't want to fight about who is better, what version to use, etc. I just want the straight up honest truth. If you need to know the pricing that the reader extensions would have to go by, assume there will be 500 client computers that will need to use it.From your post it sounds like you are Central Pro (a product for which I am by no means an expert), but you say you want to upgrade to a newer product from your "legacy" one. Is there a reason for this? Have your requirements change so that it no longer fits them? Central is still in the current Adobe roster and as far as I know there is no plans to get rid of it any time soon, so if it does everything you want I don't see why you would want to change.
There is no product in the LiveCycle suite that merges xml data into a form from the command line. LiveCycle (with the exception of Designer) is a suite of server products, so the closest you would come is LiveCycle Forms (merge the xml and create a fillable PDF) or LiveCycle Print (merge the xml and print the form).
Hope this helps somewhat.
Chris
Adobe Enterprise Developer Support -
How to 'client-side include for secondary menu on page'
Hi there.
The following page refers:
test page for early
draft
The linked page is in fact a DW CS3 tmp preview file, for
that reason the CSS has been pulled into the html file by DW, it
won't look that way in the eventual page file.
After lengthy battles with the Spry Horizontal menu, I
eventually resorted to Pop Menu Magic 2 (PPM2) to generate menus.
I'm very happy with the product (I'm not looking for PPM2 support,
but rather support pertaining to CSS-driven menu's in general
relating to caching). I started out with a single main navigation
menu, which was very comprehensive - but also very big (ito file
size). I was hoping to cache a part of the menu on the client-side
to reduce download times once the site visitor has downloaded the
first page in the site (where he enters the site is not
applicable). But that proved impossible (I think...).
I then followed some advice to break up my main navigation
menu, keep only the more important stuff in there and rather
distribute the lower levels of the main menu into their own
dedicated menus. From there the page linked above.
The main menu at the top is fine, no problem there. On the
left below the masthead I've created two menus, one above the other
(it displays as a single menu but the first menu ends above the
"Other tour lists" item). The first of these two menus contains the
bulk of the heavy navigation elements (±160kb of the total
page file size of 220kb). The div info that applies to this menu =
<div id="p7PMM_2" class="p7PMMv06">. I'd love to cache this
menu, either in full or the bulk thereof, on the client-side. That
is implement a client-side include. When a visitor first enters our
site the include file with the 160kb (secondary) menu gets
downloaded together with CSS stylesheets, etc. When the visitor
links through to a following page in our site, his machine
(client-side) dishes up the menu to that next page without having
to download it from our hosting server a second time.
Is this possible and how? Any and all suggestions will be
appreciated!
Our clients are mostly wealthy and thus probably (virtually)
all have high-speed broadband connections. I seriously doubt that
any of them are running dial-up connections. Thus this issue is not
going to sink our site. But I'd love to cut page file size if
possible.
Furthermore, I'm not too worried about the small portion of
visitors that may have their javascript disabled in their browsers.
The main navigation menu at the top of the page will still allow
them to navigate the site. Much the same goes for SEO.
I've tried one or two CSI javascripts and succeeded in
actually getting the relevant tags and contents inserted in the
html document, but the javascript would then 'break'. That is all
the coding and menu contents would be there, but the javascript
won't function (menu's won't pop / fly-out). I'm a little clueless
when it comes to Javascript, and many other things :-), but I
suspect that the Javascript in the include file does not get
called. If the Javascript is kept in the html file, the menu
content (elements) in the include file arrives in the html file
after the relevant script has been called and doesn't get
rendered??
Once again any help / suggestions will be appreciated!> But that proved impossible (I
> think...).
Even without doing anything on your part, the images, the
CSS, and the
javascript is already cached client-side. You cannot cache
any of the
structural code client-side.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"afrilux" <[email protected]> wrote in
message
news:[email protected]...
> Hi there.
>
> The following page refers:
http://www.afrilux.co.za/test/1/dev2.htm
>
> The linked page is in fact a DW CS3 tmp preview file,
for that reason the
> CSS
> has been pulled into the html file by DW, it won't look
that way in the
> eventual page file.
>
> After lengthy battles with the Spry Horizontal menu, I
eventually resorted
> to
> Pop Menu Magic 2 (PPM2) to generate menus. I'm very
happy with the product
> (I'm
> not looking for PPM2 support, but rather support
pertaining to CSS-driven
> menu's in general relating to caching). I started out
with a single main
> navigation menu, which was very comprehensive - but also
very big (ito
> file
> size). I was hoping to cache a part of the menu on the
client-side to
> reduce
> download times once the site visitor has downloaded the
first page in the
> site
> (where he enters the site is not applicable). But that
proved impossible
> (I
> think...).
>
> I then followed some advice to break up my main
navigation menu, keep only
> the
> more important stuff in there and rather distribute the
lower levels of
> the
> main menu into their own dedicated menus. From there the
page linked
> above.
>
> The main menu at the top is fine, no problem there. On
the left below the
> masthead I've created two menus, one above the other (it
displays as a
> single
> menu but the first menu ends above the "Other tour
lists" item). The first
> of
> these two menus contains the bulk of the heavy
navigation elements (?160kb
> of
> the total page file size of 220kb). The div info that
applies to this menu
> =
> <div id="p7PMM_2" class="p7PMMv06">. I'd love to
cache this menu, either
> in
> full or the bulk thereof, on the client-side. That is
implement a
> client-side
> include. When a visitor first enters our site the
include file with the
> 160kb
> (secondary) menu gets downloaded together with CSS
stylesheets, etc. When
> the
> visitor links through to a following page in our site,
his machine
> (client-side) dishes up the menu to that next page
without having to
> download
> it from our hosting server a second time.
>
> Is this possible and how? Any and all suggestions will
be appreciated!
>
> Our clients are mostly wealthy and thus probably
(virtually) all have
> high-speed broadband connections. I seriously doubt that
any of them are
> running dial-up connections. Thus this issue is not
going to sink our
> site. But
> I'd love to cut page file size if possible.
>
> Furthermore, I'm not too worried about the small portion
of visitors that
> may
> have their javascript disabled in their browsers. The
main navigation menu
> at
> the top of the page will still allow them to navigate
the site. Much the
> same
> goes for SEO.
>
> I've tried one or two CSI javascripts and succeeded in
actually getting
> the
> relevant tags and contents inserted in the html
document, but the
> javascript
> would then 'break'. That is all the coding and menu
contents would be
> there,
> but the javascript won't function (menu's won't pop /
fly-out). I'm a
> little
> clueless when it comes to Javascript, and many other
things :-), but I
> suspect
> that the Javascript in the include file does not get
called. If the
> Javascript
> is kept in the html file, the menu content (elements) in
the include file
> arrives in the html file after the relevant script has
been called and
> doesn't
> get rendered??
>
> Once again any help / suggestions will be appreciated!
>
> -
Client Side Rendering on Terminal Servers
I’m having horrible printer issues on my Terminal Servers such as slow printing, slow to add printers, some applications load slowly because they are enumerating the list of printer (thanks Procmon), slow logons, etc. I'm trying to get Client Side Rendering
(CSR) disabled. From what I can tell it still appears to be on. Terminal Server are Windows Server 2008 SP2 x86.
On my print servers I have verified that all printers have Render print jobs on client computer unchecked. I have a Group Policy linked to the OU that the Terminal Servers are in that has
Always render print jobs on the server set to enabled. Per
http://blogs.technet.com/b/askperf/archive/2008/02/10/ws2008-client-side-rendering.aspx I have verified that on each Terminal Server in
HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Printers the
ForceCSREMFDespooling value is present & set to 1 so the GP is being applied.
However I still have tons of entries in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider\Servers\<SERVERNAME>\Printers.
I have found KB958656 which seems to describe my problem that CSR is not being disabled. However one of the files it updates is older than a file that I have (win32spl.dll) & one is newer (printcom.dll).
Printcom.dll in hotfix is 6.0.6001.22288 mine is 6.0.6001.18000
Win32spl.dll in hotfix is 6.0.6001.22288 mine is 6.0.6002.18005
Has anyone else seen this behavior & been able to get CSR disabled?
Has anyone else had success with the KB hotfix mentioned or know whether or not installing it would causing any issues (since it has that older file)?
Thanks in an advance to any input.
Patrick Hoban
http://patrickhoban.wordpress.comAlan/Patrick,
Hi, sorry, went away on leave for a while so didn’t respond.
Alan – our case was REG:112081612189183.
For someone who has been dealing with MS support for about 20 years, this was the most disappointing of any support call I’ve ever had raised – to have the call shut
down, without a perfmon trace, process explorer analysis, or hang dump analysis (of spooler) – and simply blame “3<sup>rd</sup> party drivers” without any proof – is utterly deplorable.
Anyway, for anyone’s benefit who has similar problems – trying to do direct printing from RDS – I’ve managed to get a solution working.
Here are the details;
A nightly print spooler clean-up script that;
Stops the spooler
Deletes the entire key under “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider”
Re-creates the key (empty) and sets the value "RemovePrintersAtLogoff"=dword:00000000
Note, this was vital.
MS support had recommended we set this to 1, along with some other keys (InactiveGuidPrinterAge,
InactiveGuidPrinterTrim) with specific values. If we used these MS support recommended values, our RDS serer would not enumerate printers for more than 3-4 hours before requiring a restart of the spooler.
Restart the spooler
Map a printer (just to make sure it works)
Clean up the USERS\.DEFAULT\Printers key on all existing servers
There was heaps of crap here, the default user NTUSER.DAT was over 800MB in size
Modify the security on the registry, using GPO to deny SYSTEM write access as below, to stop the crap writing here again;
USERS\.DEFAULT\Printers
Deny Set value
Deny Create Subkey
Run NGREGOPT on all servers to compress the DEFAULT and SOFTWARE hives back down.
Even though we had deleted the crap from “Client Side Rendering Print Provider” and the DEFAULT user hive, the registry files were still large of course, and needed to be compressed to reduce
paged pool usage.
Note, make sure no users are on the server when this is run !
With the nightly spooler ‘refresh’ and the registry security changes, we are no longer seeing any problems.
In addition the paged pool has gone down from 5GB to 1GB – which I believe was related to the registry bloat that had occurred previously.
Cleaning up the keys and using NGREGOPT has fixed this.
In addition, I am running a spooler check script every 30 minutes on each of the 13 servers.
This script checks how long it takes to enumerate the printers for the specific test user.
If it takes more than 20 seconds, we get an alert.
Since I have made the changes above, we no longer have any printing problems… touch wood.. even using HPD 5.4 for most printers, and other (RICHO) 3<sup>rd</sup> party
drivers.
If anyone wants the scripts (the spooler refresh or the check script) let me know on david.frith<at>glfconsulting.com.au
ta -
4.9 SP2 - Zfd3.2 SP3 client side files
Does anyone know if it's possible to build in the updated client-side
zfd3.2 sp3 files into this client (to save a reboot when the clients
detect newer server files?)
I've done this with older clients, not sure about this version.Yes, should work the same way.
Client 4.91 will be the first that will completely leave out Zenworks
components.
Regards, Kai Reichert
Novell Support Forum Sysop
There is an old saying that if a million monkeys typed on a million
keyboards for a million years, eventually all the works of Shakespeare
would be produced. Now, thanks to the Internet, we know this is not
true.
Maybe you are looking for
-
So here I am again, baffled by the simple freeze of a computer. I've installed arch Linux to me desktop and didn't receive any errors but when I boot I barely get past Grub. Computer boots to post, bio's, and grub without problem. I select arch Linux
-
Removed layouts folder but still "Restoring the window layout"
MY ORIGINAL PROBLEM All my Final Cut Pro X files are save on my external hard drive. When I open FCP with my hard drive plugged in, FCP says "Restoring the window layout" and a grey background appears. If I open FCP without my harddrive and then plug
-
I get an error message when installing iCloud on my PC HResult 0x8007054F
-
I have added a pie chart to a page with about 14 diffirent categories. The problem is that the label overlaoe each ther for that category whose data is relativley less then other category e.g cat1 2 cat2 100 cat3 200 So the label of cat1 will overlap
-
PS Elements 10 w/ Premier upgrade -- download does not work
Hi Just purchased PS Elements 10 w/ Premier upgrade -- click on download and nothing happens. I was able to use the serial number to activate the trial PS 10, but I paid for the Premier software, and would like to use it! If you are having technical