Loading Facelets via ResourceHandler
Hi there,
can anyone tell me what's the main difference between JSF 2.0/2.1 and JSF 2.2 regarding to "Loading Facelets via ResourceHandler".
I searched many articles and discussions and regarding to Flows and reosource library contracts there are some thinks that are not really clear to me and might be still in discussion
In my opinion facelets and resources are loaded the same way now. The loading mechanism is unified now. But what does this mean.
Are Resources within the Facelets or Views are loaded relative to their path now ?
E.g. a view located in /x/y/z/view.xhtml will load its resources from /x/y/z/css/style.css when using <link type="text/css" href=css/style.css"/> and not from the resources folder ?!
It would be very helpful for me if anyone could provide a simple example or a link where i can the right information, because it's one of the 6 big ticket features ed burns is mentioning in every article and presentation i saw, but the background is not completly clear for me :-/
Thanks in advance!
Kind regards,
Jannis
Edited by: 988043 on Feb 14, 2013 1:49 AM
Tank you Eddy, but it seems it does not work.
The error message received from DTW is:
- <BOM>
- <BOM>
- <BO>
- <AdmInfo>
<Object>66</Object>
<Version>2</Version>
</AdmInfo>
- <ProductTrees>
- <row>
<TreeCode>A00001</TreeCode>
<Quantity>1</Quantity>
<TreeType>iProductionTree</TreeType>
</row>
</ProductTrees>
- <ProductTrees_Lines>
- <row>
<Currency>USD</Currency>
<IssueMethod>im_Backflush</IssueMethod>
<ItemCode>A00006</ItemCode>
<Price>160</Price>
<PriceList>1</PriceList>
<Quantity>3</Quantity>
<Warehouse>01</Warehouse>
</row>
- <row>
<Currency>USD</Currency>
<IssueMethod>im_Backflush</IssueMethod>
<ItemCode>S10002</ItemCode>
<Price>160</Price>
<PriceList>1</PriceList>
<Quantity>3</Quantity>
<Warehouse>01</Warehouse>
</row>
</ProductTrees_Lines>
</BO>
</BOM>
<ErrorMessage>A00001 - Errore definito dall'applicazione o dall'oggetto</ErrorMessage>
</BOM>
Similar Messages
-
i tried to modify BCA so i can use a usb to load windows via BCA but now it doesn't load when i double click it!? any ideas?
iv solved it now
-
Hi
I am trying to create a dimension and load it via plsql and am able to create dimension and its corresponding table in database.I am quite unsure of how to load the dimension D_OFF from an equivalent relational table R_OFF
I have a dimension D_OFF with following structure.
Hierarchy:OFFKEY is child of OFF30 is child of OFF20 is child of OFF10
Levels -->Attributes
OFF10 ID--> CD ,DSCR
OFF20 ID -->CD ,DSCR
OFF30 ID-->CD ,DSCR
OFFKEY ID-->CD,DSCR,UPDATE BY,UPDATE_DATE,CREATE BY, CREATE_DATE
I have created the dimension and the table structure in the database and are as follows
CREATE DIMENSION D_OFF
LEVEL "OFF10" IS "OFF10_ID"
LEVEL "OFF20" IS "OFF20_ID"
LEVEL "OFF30" IS "OFF30_ID"
LEVEL "OFFKEY" IS "OFFKEY_ID"
HIERARCHY "STANDARD" (
"OFFKEY" CHILD OF
"OFF30" CHILD OF
"OFF20" CHILD OF
"OFF10"
ATTRIBUTE "OFF10" DETERMINES ( "OFF10_CD", "OFF10_DSCR" )
ATTRIBUTE "OFF20" DETERMINES ( "OFF20_DSCR", "OFF20_CD" )
ATTRIBUTE "OFF30" DETERMINES ( "OFF30_DSCR", "OFF30_CD" )
ATTRIBUTE "OFFKEY" DETERMINES ( "OFFKEY_DSCR", "UPDATE_DATE", "OFFKEY_CD", "UPDATE_BY", "CREATE_DATE", "CREATE_BY" )
CREATE TABLE "D_OFF"
( "DIMENSION_KEY" NUMBER NOT NULL ENABLE,
"OFF10_ID" NUMBER,
"OFF10_DSCR" VARCHAR2(200),
"OFF10_CD" VARCHAR2(500),
"OFF20_ID" NUMBER,
"OFF20_CD" VARCHAR2(500),
"OFF20_DSCR" VARCHAR2(200),
"OFF30_CD" VARCHAR2(500),
"OFF30_DSCR" VARCHAR2(200),
"OFF30_ID" NUMBER,
"UPDATE_DATE" DATE,
"CREATE_DATE" DATE,
"UPDATE_BY" VARCHAR2(250),
"OFFKEY_ID" NUMBER,
"CREATE_BY" VARCHAR2(250),
"OFFKEY_CD" VARCHAR2(500),
"OFFKEY_DSCR" VARCHAR2(200),
CONSTRAINT "OFFE_DIMENSION_KEY_PK" PRIMARY KEY ("DIMENSION_KEY")
My source table is
CREATE TABLE "R_OFF"
( "DIMENSION_KEY" NUMBER NOT NULL ENABLE,
"OFF10_DSCR" VARCHAR2(200),
"OFF10_CD" VARCHAR2(500),
"OFF20_CD" VARCHAR2(500),
"OFF20_DSCR" VARCHAR2(200),
"OFF30_CD" VARCHAR2(500),
"OFF30_DSCR" VARCHAR2(200),
"UPDATE_DATE" DATE,
"CREATE_DATE" DATE,
"UPDATE_BY" VARCHAR2(250),
"OFFKEY_ID" NUMBER,
"CREATE_BY" VARCHAR2(250),
"OFFKEY_CD" VARCHAR2(500),
"OFFKEY_DSCR" VARCHAR2(200),
Could you please let me know how to load the dimension via plsql.
Best Regards,
SriI assume you're quite sure that the relevant dimension does at least sometimes get updated by the build process, and that you've searched the outline just in case the member was added somewhere you didn't expect.
How is the data pulled in to the load rule? If it's from a relational database, check the SQL query used to extract it (could there be a WHERE clause restricting records)? If it's from a flat file, check the select / reject criteria set up in the load rule.
Another possibility is that your load rule is set up to skip X lines at the beginning, and the new member appears there.
You could build a brand new load rule against a test copy of the cube and confirm that ABC does build in successfully (that at least tells you that the problem is in your rule somewhere). -
Load balancing via CHOC12/STS3
Hi, our customer has a connection between 2 x 12012 via the 4 embedded channels of CHOC12/STS3 module.As every subinterface has its own ip-subnet we have 4 equal paths to every destinations.
Customer wants to configure dCEF per-packet load balancing and is concerned if he can get packet sequence problems for his VoIP applications like it may happen on 'normal' equal path cost connections when load balancing per-packet instead of per-destination.
Does anybody know if this can be a concern on the embedded channels ?
Regards GuentherGenerally speaking, for a given source-destination pair, with Per-packet load balancing enabled, packets might take different paths which could introduce reordering of packets. Thus Per-packet load balancing is inappropriate for voice over IP traffic and also for certain other types of data traffic that require packets received to be in sequence. For more information please see
http://www.cisco.com/en/US/products/sw/iosswrel/ps1828/products_configuration_guide_chapter09186a00800ca62c.html#3589. Whether the CHOC12/STS3 module has some special meachanism built in to take care of this is unknown to me. Per-packet load balancing via CEF is not supported on Engine 2 Gigabit Switch Router (GSR) line cards (LCs). -
When you load Windows via Boot Camp Assistant program and run Windows does not recognize the "usb" outlets cannot identify the device through the Dvd or flash
Did you install BC drivers on the Windows side?
-
Revision: 14580
Revision: 14580
Author: [email protected]
Date: 2010-03-04 09:28:35 -0800 (Thu, 04 Mar 2010)
Log Message:
Commit example showing how to perform additional load logic via a ProxyElement. The AsynchLoadingProxyElement (and its corresponding LoadTrait) load the proxied element, but doesn't expose its READY state to the outside world until it performs its own load operation (in this case it just runs a Timer). Include minor fix to other example.
Modified Paths:
osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/AllExamples.as
osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/loaderproxy/VideoProxyE lement.as
Added Paths:
osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/loaderproxy/AsynchLoadi ngProxyElement.as
osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/loaderproxy/AsynchLoadi ngProxyLoadTrait.asNope, what for?
If you know what you are doing and you discharge yourself there is no need for such.
BTW, those bands are not that safe, if you use them wrongly you can electrocute yourself pretty easily -
HFM - log that shows if a user has loaded data via web form or excel load.
I can see any data loads that are coming from FDM, but is there a log that shows any data entered into HFM via web forms or submitted through an excel file? Any input is appreciated.
ThanksYou could enable Data Audit to capture data changes made by users, though this will not capture which method users chose to change the data. That is, HFM can show that data changed, and who changed it, but cannot tell whether the data was changed through a form, grid, smart view, or FDM. If you want to prevent users from changing data through forms, grids, or smart view, you can secure those input methods, but you cannot capture which one is used.
--Chris -
Hi BI Gurus,
I have a requirement. There are set of document number.
I have created a "Document number" infoobject. Have loaded master data into them.
Now i have a display attribute called "user name".
I need to created hierarchy for the infoobjct, it must be of the form that under every user we must have the document number created by him. Is that possible? Second i need to load the hierarchy from a Z* program. The program should take the user id and the document numbers created by him and then update the hierarchy. Is this possible? (i think the program can be modified just to update the 'H' table via ABAP statements, will that work? )Hi DPN,
Loading hierarchy from FF
http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/e92637c2cbf357e10000009b38f936/content.htm
Regards,
Anil -
Hi;
I tried to find in the forums but didn't find anything that worked.
I have some u3d files attached to my pdf and I want to load them in the same annotation depending on the user input.
I know how to reference them but i dont know how to load and render them in the same 3d annotation.
Is it possible doing this via javascript? If so, how?
ThanksThe scene.addModel method adds an attached U3D resource as a model into the scene. It essentially merges the content of the new model with the existing scene. Here'e some source code:
// Create a new Resource with the file's URI as the argument
modelResource = new Resource( "pdf://sphere.u3d" );
// use Scene method "addModel" with Resource as an argument,
// returns top level node from loaded 3D file
model = scene.addModel( modelResource );
(Make sure to prefix the URI for the resource with "pdf://".)
if you are using Acrobat 9, you can attach resources to 3D annotations in the 3D annotation's properties dialog. Otherwise, if you are using Acrobat 8 or earlier, then follow the instructions on the following page to attach the resource:
http://graysonlang.com/acrobat3d/attach3dresource/
Grayson -
Hi,
From my reading of XML Db papers, it seems to indicate to me, that it is possible to load XML datafiles via ftp.
Please could someone give me an example of how this would be done, as I cannot find a concrete
example in the documentation.
Thanks for your attention.
PeteC:\>ftp
ftp> open localhost 2100
Connected to mdrake-lap.
220 mdrake-lap FTP Server (Oracle XML DB/Oracle9i Enterprise Edition Release 9.2
.0.1.0 - Production) ready.
User (mdrake-lap:(none)): scott
331 pass required for SCOTT
Password:
230 SCOTT logged in
ftp> cd public
250 CWD Command successful
ftp> mkdir test
257 MKD command successful
ftp> cd test
250 CWD Command successful
ftp> pwd
257 "/public/test" is current directory.
ftp> put c:\temp.txt temp.txt
200 PORT Command successful
150 ASCII Data Connection
226 ASCII Transfer Complete
ftp: 305 bytes sent in 0.00Seconds 305000.00Kbytes/sec.
ftp> get temp.txt -
200 PORT Command successful
150 ASCII Data Connection
Hello
This is a simple text file.....
It is stored in the Resource View, If it were a schema based XML file, and the
Schema had been registered with XML DB, then the Resource View would contain a
reference to a row stored in the default table identified by the XML Schema.
Does this help...
226 ASCII Transfer Complete
ftp: 305 bytes received in 0.03Seconds 10.17Kbytes/sec.
ftp> quit
221 QUIT Goodbye.
C:\>sqlplus scott/tiger
SQL*Plus: Release 9.2.0.1.0 - Production on Mon Jun 24 12:54:27 2002
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL> set long 10000
SQL> select xdburitype('/public/test/temp.txt').getCLob() from dual;
XDBURITYPE('/PUBLIC/TEST/TEMP.TXT').GETCLOB()
Hello
This is a simple text file.....
It is stored in the Resource View, If it were a schema based XML file, and the
Schema had been registered with XML DB, then the Resource View would contain a
reference to a row stored in the default table identified by the XML Schema.
Does this help...
SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
C:\> -
Chart dataTipFunction and loading data via HTTPService
Hi everyone,
I have a problem and I hope someone is able to give me a hint.
I am using a chart with data points. At the moment I am using a datatipFunction in order to give each point a "tooltip".
Now I need the ability to load some data via httpservice and display this as tooltip instead of the original value while being over a point.
It is needede because of a lot of data and a continuous minimal change of its values. I don't want to reload every possible data. Only examined datatips should be updated.
mouse over datapoint --> tooltip: "please wait, while updating" --> httpservice finished --> tooltip: "new data xyz"
The datatip function only returns a string, that is displayed as tooltip. If the datatip function calls a httpservice, how can I update that tooltip text?
Any ideas?Hi everyone,
I have a problem and I hope someone is able to give me a hint.
I am using a chart with data points. At the moment I am using a datatipFunction in order to give each point a "tooltip".
Now I need the ability to load some data via httpservice and display this as tooltip instead of the original value while being over a point.
It is needede because of a lot of data and a continuous minimal change of its values. I don't want to reload every possible data. Only examined datatips should be updated.
mouse over datapoint --> tooltip: "please wait, while updating" --> httpservice finished --> tooltip: "new data xyz"
The datatip function only returns a string, that is displayed as tooltip. If the datatip function calls a httpservice, how can I update that tooltip text?
Any ideas? -
Catalyst 3550: Loading IOS via TFTP from ROMmon?
Hi everybody,
I need to load an IOS from ROMmon-mode to a Catalyst 3550.
Of cause I could do that via xmodem but I thought it should also be possible via TFTP.
What I did:
switch: IP_ADDRESS=192.168.1.1
switch: IP_SUBNET_MASK=255.255.255.0
switch: TFTP_SERVER=192.168.1.2
switch: TFTP_FILE=c3550-ipservicesk9-mz.122-35.SE5.bin
switch: DEFAULT_GATEWAY=192.168.1.1
switch: set
BOOT=tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin
DEFAULT_GATEWAY=192.168.1.1
IP_ADDRESS=192.168.1.1
IP_SUBNET_MASK=255.255.255.0
MAC_ADDR=00:0F:90:7F:B1:00
MODEL_NUM=WS-C3550-48-SMI
MODEL_REVISION_NUM=L0
MOTHERBOARD_ASSEMBLY_NUM=73-5701-09
MOTHERBOARD_REVISION_NUM=A0
MOTHERBOARD_SERIAL_NUM=CAT08130PUT
POWER_SUPPLY_PART_NUM=34-0967-02
POWER_SUPPLY_SERIAL_NUM=DTH08094HH7
SYSTEM_SERIAL_NUM=CAT0813Z29A
TFTP_FILE=c3550-ipservicesk9-mz.122-35.SE5.bin
TFTP_SERVER=192.168.1.2
switch: boot tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin
Loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"...tftp://192.168.1.2/c35 50-ipservicesk9-mz.122-35.SE5.bin: permission denied
Error loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"
Interrupt within 5 seconds to abort boot process.
Boot process failed...
switch: boot
Loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"...tftp://192.168.1.2/c35 50-ipservicesk9-mz.122-35.SE5.bin: permission denied
Error loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"
Interrupt within 5 seconds to abort boot process.
Boot process failed...
Am I doing something wrong or is it generally impossible to load an IOS via TFTP to a 3550?
Thanks in advance
RolfI am pretty sure you can't boot from a TFTP server with the Catalyst 3550 (or any of the other standalone access switches - 2950, 3550, 3560 3750 etc). If you want to recover one you need to recover it using XModem via the console:
http://www.cisco.com/en/US/products/hw/switches/ps628/products_tech_note09186a0080169696.shtml
I used to think you had to do this at 9600-baud, however you can increase the baudrate and it only takes 10-20 minutes (I couldn't get 115200 to work but 57600 worked OK and took about 20-minutes).
You need to remember to put the baud rate back to 9600 when the image is back on as it gets stored in NVRAM and reboots etc are at the stored speed (i.e. changing it after it has booted under the line con 0 doesn't get saved to NVRAM).
HTH
Andy -
IPSec (transport mode) load balancing via CSM
Suppouse that there is two servers providing service for remote aplications. Those aplications using IPSEC in transport mode. I would like to put at front CSM to load-balance beetwen both of them (persist via SRC IP is ok for me).
Have you any expirience with transort mode? IMHO it is not possible becouse of ip header changes? (I have no exact informatin that resign from AH transforms are possible)
What when changing to tunnel mode. Have you ever seen that configuraion working?I think you can for the transport mode. I have not had any luck with the Tunnel mode.
-
How could I load image via a Form when it is in runtime by not using default block
1. How could I load image from my local computer to the database via a Form when it is in runtime?
2. And how to display the image stored in the database on a Form ?
Thanks buddy ~
A nice member answered this question already, but I want to know how could I do it by using manual create block instead of using database item directly~
Could anyone help me pls~This is the only way I know right now:
1) Create this table
SQL> desc av_data
Name Null? Type
BLOB_ID NOT NULL NUMBER(10)
BLOB_TYPE NOT NULL VARCHAR2(10)
DESCRIPTION NOT NULL VARCHAR2(25)
BLOB_DATA LONG RAW
2) On form create a button with this 'when-btn-prssed' tgr:
DECLARE
v_dirname VARCHAR2(255);
v_filename VARCHAR2(255);
BEGIN
v_dirname := 'C:\';
v_filename := get_file_name(v_dirname, NULL,
'Bitmap file (*.bmp)|*.bmp|' ||
'JPEG file (*.jpg)|*.jpg|' );
IF v_filename IS NOT NULL THEN
read_image_file(v_filename, 'ANY',
'av_data_image.blob_data');
END IF;
END;
3) Add this pre-insert trigger too :
:av_data_image.blob_type := 'IMAGE';
Sorry if this is not exactly the answer you're looking for.
Bob -
Unsigned applet load failure via HTTPS
Java Plug-in 1.5.0_06
MSIE 6.0
Unsigned applet loading via HTTPS failed.
We used a relative URL in an APPLET tag :
<APPLET CODEBASE="/TEST/" ARCHIVE="test.jar" CODE="nl.myorganisation.test">
The plugin does not seem to reuse the browser SSL-session.
It looks like the plugin does not find installed certificates in Explorer stores.
The 2th and 3th connection retry use an erroneous URL.
network: Connecting https://myorganisation.nl/TEST/test.jar with proxy=DIRECT
security: Loading Root CA certificates from <jre-home>\lib\security\cacerts
security: Loaded Root CA certificates from <jre-home>\lib\security\cacerts
security: Loading SSL Root CA certificates from <jre-home>\lib\security\cacerts
security: Loaded SSL Root CA certificates from <jre-home>\lib\security\cacerts
security: Loading Deployment SSL certificates from <user-home>\Data\Sun\Java\Deployment\security\trusted.jssecerts
security: Loaded Deployment SSL certificates from <user-home>\Data\Sun\Java\Deployment\security\trusted.jssecerts
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer ROOT certificate store
security: Loaded certificates from Internet Explorer ROOT certificate store
security: Checking if certificate is in Deployment session certificate store
security: Checking if SSL certificate is in Deployment permanent certificate store
network: Connecting https://myorganisation.nl/CGI-BIN/nl/myorganisation/test.class with proxy=DIRECT
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Checking if certificate is in Deployment session certificate store
security: Checking if SSL certificate is in Deployment permanent certificate store
network: Connecting https://myorganisation.nl/CGI-BIN/nl/myorganisation/test.class with proxy=DIRECT
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Checking if certificate is in Deployment session certificate store
security: Checking if SSL certificate is in Deployment permanent certificate store
load: class nl.myorganisation.test not found.
Does anybody have any suggestion ?
Thanks and greetings,
MarcFirst, Java plugin don't use browser https connection starting JRE 1.4, for running an applet in https server, the browser need to establish a https connection first, then Java pugin will use another https connection.
Second, Java plugin can read certificate from browser, starting JRE 1.5, you can go to Java control panel, Advanced tab, under security, check on the box:
"Use certificate and keys in browser keystore"
This way the Java plugin will read the certificate from browser too. (It will work automatically in IE browser, if you use Mozilla, you have to install JSS package first).
To answer your question, you can either turn on that option or import https certificate into JRE keystore (using Java control panel) for https connection.
Hope that answered your question.
Dennis
Maybe you are looking for
-
OK..... I've PM server on linux machine...I've deployed FileAdapter connector and restarted server... I've deployed ComplexStructure tutorial but in BPEL Console I've this error for ComplexStructure Process: Exception Name: Error while creating activ
-
How to add OKI dotmatrix printer in Mountain Lion
How to add OKI 790 Printer using MAC X 10.0.8 ? OKI does not develop any MAC driver. Any suggestion ?
-
So here is how it happened. Started up my ibook today, everything was normal. Plugged in my Lacie External Hard drive, that was normal. Copied my user name folder to back up my files, everthing was going normal. I got an error saying there was some p
-
Hi, as part of university project I have designed a website in a similar mould to tilllate.com and fotoparty.co.uk. I managed to find a freeware flash gallery that i have modified and am quite pleased with but stupidly managed to forget that those vi
-
Can I use Nike+ with iPhone 3G??
I received the Nike+ kit for Christmas- but think it's only for iPod or iPhone 3GS