SetRendered(true) a component when going to new page
Hi,
This might be a very basic question. I want to render a panelButtonBar ini page2.jspx. now initially I have <af:panelButtonBar binding="#{docDownload.panelButtonBar1}" id="panelButtonBar1"
rendered="false">
This bean is in session. Now in page 1 on clicking a link i call method onload() in the same bean. This method based on the parameters I send executes another viewobject and then if(param.equalsIgnoreCase("Y"))
panelButtonBar1.setRendered(false); ----****
return "success";
Its always giving me null pointerException at ****. Why. Do i need to get the context of page2. But the bean is in session.
Thanks in advance
Hi,
Thanks for responding. Let me explain. I have jspx page1 which has a link calls a action method lying in a backing bean which in session scope. This bean also has getter setter methods for the components of the my jspx page2. In page 2 I have a set of buttons which is kept in a panelButtonBar which is initailly rendered true.
On calling my action method I fetch a value from my viewobject which is either 'Y' or 'N'. Based on this I want to set the above paneButtonBar false.
I understand now why it was null, because the components can only be accessed in request. So now what do i do. Do I put a partial trigger on the buttonbar and call back the bean to set it false.
Thanks
Similar Messages
-
Auto-reboot when going Home from Pages
5S with iOS 7.01, pressing the Home button to switch to the Home screen from the new Pages app reboots the phone every time (screen goes blue, then the phone reboots). Anyone else having this problem?
Looks like the reason were two documents created during the public Beta phase. When I pressed Home with either document up, the Home screen briefly appeared, then turned blue, and the iPhone 5S rebooted itself. However, with the default Apple "Getting Started" document, no problem. Pressing the Home button brought me back to the Home screen. No "blue screen of iOS death."
-
How do I make it so my client can edit Links in business catalyst when they create new pages?
Okay so essentially I have built a site in Muse uploaded to business catalyst and I've setup a site template so that the client can create new pages as each new course arrives, but how do I get the link from the homepage to link to the new page? basically I need the link to be editable.
What would be ideal is a kind of portfolio layout where there is a thumbnail and a new page but for my client to be able to add a new project adn it would create a thumbnail on the homepage and a new page that he can edit. Does anyone know of something like that possible in Business catalyst?Hi
Editing with Business Catalyst only works with image or text editing , we cannot add new page or page items using in browser editing.
However, you can manage the site from BC end when your client and login to admin and add pages, modify etc, but if you re-publish the site from Muse then then changes will be overwritten.
Thanks,
Sanjit -
Why does Fiefox require me to click allow when opening a new page?
When I try to open a new page, Firefox requires that I click the "allow" button below the toolbar in order to proceed. This is new (within the last few weeks).
This?
See: [http://kb.mozillazine.org/Menu_differences Firefox > Preferences] > Advanced > General : Accessibility : [ ] "Warn me when web sites try to redirect or reload the page"
* [[Options window - Advanced panel#General_tab]]
See also: http://kb.mozillazine.org/accessibility.blockautorefresh -
Changing the starting line when printing on new page.
I am using Reports 6i. I have a report with a master/detail ralationship. The columns from the master query prints once only at the beginning of the report followed by numerous detail lines. However, should the detail lines continue printing onto a new page .... I would like to specify a particular position to start the print.eg 5 or perhaps 7 line from the top. Can this be done in reports 6i. Thanx in advance!
Reports allows you to position the objects anywhere you want on the page. The only reason that objects move up the page is because they are anchored to objects above them. When those objects don't print, the objects that come after move up.
You can create an object that prints on all pages but has no line and no fill color. This can then be used to reduce the amount the master frame can shrink by. (Make sure it prints on all pages. You might need to create seperate frames to surround the fields you want to see and the transparent field - then another to surround them both).
If you know the position that you want the details to print then you can position the detail objects in the appropriate location and change the properties against the frame that surrounds he detail section as follows:
"Base Printing On" to "Enclosing Object"
"Print Object On" to "All Pages"
Alternatively, create an explicit anchor between the frame and the top of the report.
Finally, if you want to parameterise the position of the detail records, you need to create field that dynamically re-sizes to push everything below it down by the required amount.
- create a field object that is at the same level as the master objects
- set the "print object on" propert to "All but First Page"
- set the source of the field to something like "desformat".
- then use the srw.set_field_char(0, "<some text with a number of returns>"); in the format trigger
This allows you to push everything below the field down by any desired amount. -
When i open new page, it has the outline of a selection i made a few pages ago
this is what i see when i open a new page. it is part of a selection i made a few pages back. i can delete it and use another, blank layer, but when i "fill" the layer, this is what it is filled with. relatively familiar with photoshop basics, have never come across this. input welcomed.
madeleineDoes turning off »Use Graphics Processor« in the Performance Preferences and restarting Photoshop have any bearing on the issue?
Please read these and proceed accordingly:
http://forums.adobe.com/thread/419981?tstart=0
http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html -
No data found exception when calling a new page from existing page
hi i have a screen which has a delivery id and i am calling a new page with a different view object and a application module.I need to pass this delivery id in the main page to the view object query in the second page.
i have defined the second page view object with the following query
select country,address1,address2,address3,address4,city from hz_locations where location_id=
(select ultimate_dropoff_location_id from wsh_new_deliveries where delivery_id=:1)
what i want is to pass the delivery id in the main page to :1 in this query.
i have written the following CO code for the second page
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
String eventaction=pageContext.getParameter("xxsaneventname");
String paramval=pageContext.getParameter("xxsanparamvalue1");
OAApplicationModule deliverydetailam = pageContext.getApplicationModule(webBean);
Serializable personParamList[]= {eventaction,paramval};
if ( eventaction!=null && eventaction.equals("viewdelivery"))
deliverydetailam.invokeMethod("getdetailsmethod", personParamList);
i have written the getdetailsmethod in the application module impl
public void getdetailsmethod( String pAction, String pdeliveryId)
try
OAViewObjectImpl pervo = getWshDeliveryDetailsVO1();
String existingWhereClause = pervo.getWhereClause() ;
System.out.println(existingWhereClause);
pervo.setWhereClauseParams(null);
pervo.setWhereClause("delivery_id = :1");
pervo.setWhereClauseParam(0, new Number(pdeliveryId));
pervo.executeQuery();
pervo.setWhereClauseParams(null);
//pervo.setWhereClause(existingWhereClause);
catch(Exception exception1)
throw OAException.wrapperException(exception1);
can some body please help me to correct this one.
the exception i got is
oracle.apps.fnd.framework.OAException: No data found for region (/xxt/oracle/apps/AK/om/webui/deliverydetailpg).Provide the complete error stack.
From the current error line it shows that your custom region/page /xxt/oracle/apps/AK/om/webui/deliverydetailpg is not present in the MDS. Did you use xmlimport to set the page xml into MDS? If yes, use jdr_utils package to confirm it is present at the right location.
--Shiv -
After installing the latest update to Firefox a couple of weeks ago, loading new pages into new tabs takes a very very long time IF the page loads at all. I usually have to close the original tab to get the new tabs to load their pages. Sometimes I have to close all Firefox windows and start over to get the page I want to load.
This only started after downloading and installing this new update. I had no problem with new pages/tabs with previous versions.
I have rebooted, run full scans with Spyware Doctor, Malwarebytes and McAfee without solving the problem.Look the SOLUTION CHOSEN:
https://support.mozilla.com/en-US/questions/882621
and ''John99'' reply down the chosen solution.
thank you -
Need to stop playback of an FLVPlayback component when navigate away from page!
I have an movieclip playing as auto start on the first page of my website. The component continues to play when I navigate away from the page. How can I stop the playback of the movie if it has not completed when navigation away from the page is invoked. I have search and am unable to find such an event using an FLVPlayback component. Presently there is no code in actionscript to display here.
thanksHi, this is the entire code that is placed on the timeline in frame 1 of the AS line. There is now an error and the FLVPlayer component, which is also begin in frame 1. At this point there is one method that I thought should work when the vTinesDayBtn is clicked. However, is not.
The error is:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at ewddSite_fla::MainTimeline/vTines()
ArgumentError: Error #1063: Argument count mismatch on ewddSite_fla::MainTimeline/stoppedVid(). Expected 0, got 1.
The code is:
stop();
import flash.events.*;
import flash.display.*;
import fl.video.*;
import fl.video.FLVPlayback;
function stoppedVid() {
vidPlay.stop();
vTinesDayBtn.addEventListener(MouseEvent.CLICK, stoppedVid)
function vTines(evt:MouseEvent):void {
gotoAndStop(20);
vidPlay.stop();
function engagements(evt:MouseEvent):void {
gotoAndStop(25);
function weddings(evt:MouseEvent):void {
gotoAndStop(30);
function births(evt:MouseEvent):void {
gotoAndStop(35);
function birthdays(evt:MouseEvent):void {
gotoAndStop(40);
function graduations(evt:MouseEvent):void {
gotoAndStop(45);
function anniversaries(evt:MouseEvent):void {
gotoAndStop(50);
function specEvents(evt:MouseEvent):void {
gotoAndStop(55);
function memorials(evt:MouseEvent):void {
gotoAndStop(60);
//main.addEventListener(MouseEvent.MOUSE_DOWN, mainPg);
vTinesDayBtn.addEventListener(MouseEvent.MOUSE_DOWN, vTines);
engageBtn.addEventListener(MouseEvent.MOUSE_DOWN, engagements);
weddingsBtn.addEventListener(MouseEvent.MOUSE_DOWN, weddings);
birthsBtn.addEventListener(MouseEvent.MOUSE_DOWN, births);
bDaysBtn.addEventListener(MouseEvent.MOUSE_DOWN, birthdays);
graduBtn.addEventListener(MouseEvent.MOUSE_DOWN, graduations);
annivBtn.addEventListener(MouseEvent.MOUSE_DOWN, anniversaries);
spEventsBtn.addEventListener(MouseEvent.MOUSE_DOWN, specEvents);
memorialsBtn.addEventListener(MouseEvent.MOUSE_DOWN, memorials); -
hey are on white surface before page I wanted shows up. They are also sometimes beetween my bookmarks on bookmark toolbar, sometimes they are on the new tab (where the name of the tab is)
You can try to disable hardware acceleration in Firefox.
*Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
You need to close and restart Firefox after toggling this setting.
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
*https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
*Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
*Do NOT click the Reset button on the Safe Mode start window
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
Color distortion when dragging to new page
I have a book template that I am using to make albums. For the first time in photoshop, I am experiencing color changing when I drag my original picture onto the template. I have checked and made sure that the color settings were the same and they are both set to RGB/8. My original picture (from my camerea, then tweaked in photoshop) is bright and vibrant. When I drag my picture to the template it becomes dull with a green/grey tint over the picture. Weird thing is, if I create a new document and paste the template into it and then drag my pictures, the pictures look fine. The template is still dull though. There has to be something in the temaplte itself that I am missing. Can anyone help, please!!!
Thanks
Tereztangoparty wrote:
I have checked and made sure that the color settings were the same and they are both set to RGB/8.
I tend to disagree. Sounds very much like there is a color profile attached to the template that in no way matches your current color information. Most commonly this happens, when you assign your monitor profile as the document profile instead of just using it for proof preview...
Mylenium -
Black screen when going to plans page?
Hi,
When I go to https://creative.adobe.com/plans/ to reactivate my subscription, I only see the top menu and the rest of the screen is black. Have tried in different browsers, but everywhere the same problem.
Anyone any idea what's going on?
Thanks,
TimIt sounds like your project has been bitten by the iMovie bug that discards iMovie's copy of the photo. Without that photo, iMovie can't update your previously-rendered clip. You get black.
It's described here:
http://discussions.apple.com/thread.jspa?threadID=714698&tstart=0
Karl -
What does Elastic, Liquid, or Hybrid Mean when creating a new page
When I choose File-New-blank page I get choices on the number of columns with the words elastic, liquid, and hybrid. I'm not sure which to pick for which use. Are these terms defined or documented so I can pick the one I need.
New-ish DW-CS4 user running Win XP Pro.
Thanks,
SteveJust so you know, starter pages are pre-built CSS layouts. Not the same as Dreamweaver Templates (
.dwt files).
Use this link, they're newer
New DW Starter Pages --
http://www.adobe.com/devnet/dreamweaver/articles/introducing_new_css_layouts.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
cs4
As you can see below, when I right click, I have no such option. In the User Account Settings, I'm operating as the "System Administrator".
Any other suggestions? -
Recently when using a rather unreliable internet connection I'm often get dropped connections that prevent pages from loading.
In the past this used to result in an "Unable to connect to server page" when the timeout happened, which was fine as I could just refresh the page.
These days however the page is timing out when the page is still on the about:blank stage (or stuck on the current page), before the url has been updated, so I'm losing the address.
Is there any way to force firefox to update the url as soon as the page load request is made, as opposed to when it recieves a response from the server (which is how it seems to work at the moment)?If you click a link then Firefox may only be showing the URL on the location bar if at least there is a connection to the server.
If you are on Linux then it should take minutes before the connection times out, at least that is what I see (on Windows it is only 20 seconds). This might be different in case the connection drops.
There should be a try again button of the net error page to reload this link.
Don't you see such a button?
You can start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
*Do NOT click the Reset button on the Safe Mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
Maybe you are looking for
-
Disk Utility Error 61 when attempting to create disk image on external driv
I would like to make occasional archive backups of my three macintosh computers. I bought a new Western Digital 2TB drive for this purpose, and formatted it as Mac OS Extended. Trying to do a disk image backup using Disk Utility, I follow the directi
-
my ipod was stolen tuesday night and i dont know the serial number i just want it back is there anyone who can give me advice
-
JDK: j2sdk1.4.0-beta3 path: path=c:\windows;c:\windows;c:\windows\command\j2sdk1.4.0-beta3\bin Folder/directory : c:\Divelog javac is accessed by: c:\j2sdk1.4.0-beta3\bin\javac package: divelog file: DiveLog.java -public class DiveLog extends JFrame
-
Reg: The invoices are not moving to corresponding output types. Status is y
Hi All, I have created the invoice with the delivery based. But that invoice is not moved to corresponding output type. The status is showing yellow color for the particular output type. Even if i created the number of invoices for different deliveri
-
I'm changing to a new computer. I lost the key code to Microsoft Office 11. I don't have the disc either. I found my proof of purchase though on amazon. Will Microsoft give me a new key? Just trying to anticipate the cost of an new computer. Th