Problem when using object array as parameter of server-side event
Hi Friends,
I had defined an event in component interface of Component A, with object array as its parameter. but when I define event-handler for this event in Component B, the type of parameter in generated event-handler method is just the class itself instead of an array.
It's a bug or array parameter is not support by server-side event in WD4J?
Thanks in advanced.
I think you are trying to do the editing of parameter from the java editor.
Do it via the controller editer. Go the methods tab. Select the actionhandler.
In the parameter section edit the paramter. Change the dimensions here.
Regards,
Ashwani Kr Sharma
Similar Messages
-
Problem with string constructor when using byte array as parameter
I am creating a string using constructor and passing byte array as parameter.This byte array i am getting from MessageDigest's digest() method,i.e. a hash value.
The problem is when i iterate through byte array i can able to print all the values in byte array.But when i construct a string from that byte array and printing that string ,that is printing some unknown characters.
I don't know whether i need to pass charsequence to the constructor and the type of charsequence.Can anybody help me?
Thanks in advanceIs there some problem today? I'm getting this sort of thing all over.
I already told you and so did Kayaman. Don't. String is not a holder for binary data. You have to Base-64 encode it. If you don't you cannot reconstruct the original binary digest value, so putting it into a database is completely utterly and entirely pointless.
Is that clear enough? -
Path problem when use node manager to start Managed Server
Hi, I have met a problem:
My managed server's root directory is /usr/local/bea/cluster1/usr_projects/mydomain
My Node Manager 's default directory is /usr/local/bea/cluster1/weblogic700/common/nodemanager
I have some config file located under managed server's root directory and log
file is also should be generated in managed server's root directory.
But when I try to use node manager to startup/shutdown the Managed Server, I found
weblogic can not find the config file if I don't move the config file from Managed
server's root directory to node manager server's default directory. and also log
file was created under node manager's default directory.
It seems that managed server's default directory has been changed to node manager's
default directory.
What shall I do if I want Managed Server's default directory to be kept?Hi Lumin,
If the weblogic version is 8.1, there is a RootDirectory field in Remote
Start tab which should resolve your problem. Just enter the absolute
directory pathname on the machine where you are starting your managed server
and the current working directory of the managed server will be this
RootDirectory. Before 8.1, the RootDirectory was used for finding the config
file for weblogic but it was never used to change the working directory of
the managed server created by the node manager.
cheers,
gaurav.
"lumin" <[email protected]> wrote in message
news:3eb7a4ae$[email protected]..
>
Hi, I have met a problem:
My managed server's root directory is/usr/local/bea/cluster1/usr_projects/mydomain
My Node Manager 's default directory is/usr/local/bea/cluster1/weblogic700/common/nodemanager
>
I have some config file located under managed server's root directory andlog
file is also should be generated in managed server's root directory.
But when I try to use node manager to startup/shutdown the Managed Server,I found
weblogic can not find the config file if I don't move the config file fromManaged
server's root directory to node manager server's default directory. andalso log
file was created under node manager's default directory.
It seems that managed server's default directory has been changed to nodemanager's
default directory.
What shall I do if I want Managed Server's default directory to be kept? -
NLS support problems when using AL32UTF8 in dads.conf
Hello,
Following a post by Joel Kallman, in one of the forum threads, about the mandatory use of AL32UTF8 in dads.conf, when running HTML DB v2.0, I changed my PlsqlNLSLanguage parameter accordingly.
Prior to the change, I experienced some problems when using non-English characters some application items appeared as gibberish when contained non-English characters, and the LIKE operator didn't perform as expected. After the change, it all seems to work OK, but now I have a different problem.
All the non-English characters in my HTML page source code appears as gibberish. On screen, at run time, everything display correctly, but the source code seems to be corrupted. It is very difficult, and very annoying to debug the pages that way. Is there a way to enjoy both worlds Using AL32UTF8 in the dads.conf, as required, and still getting a coherent HTML source code, containing non-English characters?
Thanks,
Arie.Joel,
I use the following settings and they work fine for me:
Operating system:
LANG=de_DE
LANGVAR=de_DE.UTF-8
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
daust:oracle[o1020]> uname -a
Linux daust.opal-consulting.de 2.4.21-37.EL #1 Wed Sep 7 13:35:21 EDT 2005 i686 i686 i386 GNU/Linux
daust:oracle[o1020]> cat /etc/redhat-release
Red Hat Enterprise Linux ES release 3 (Taroon Update 6)
daust:oracle[o1020]>
marvel.conf:
<Location /pls/htmldb>
Order deny,allow
PlsqlDocumentPath docs
AllowOverride None
PlsqlDocumentProcedure wwv_flow_file_manager.process_download
PlsqlDatabaseConnectString localhost:1521:o1020
PlsqlNLSLanguage AMERICAN_AMERICA.WE8ISO8859P1
PlsqlAuthenticationMode Basic
SetHandler pls_handler
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
PlsqlDefaultPage htmldb
PlsqlDatabasePassword @BZvJYqadreElOqj5poCB5gE=
Allow from all
</Location>
Database:
daust:oracle[o1020]> sqlplus "/ as sysdba"
SQL> select * from nls_database_parameters;
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET WE8ISO8859P1
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
PARAMETER VALUE
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 10.2.0.1.0####################
Using AL32UTF8 resulted in the same problem as described ( and fixed ) here: Re: Strange - HTML not written correctly
So, what is the proper configuration of the DAD, perhaps there are different ones for Unicode instances and non-Unicode instances.
~Dietmar. -
Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help on how to set up messages on each device separately and to start using messages app on each device independently. Thanks
search google for "iphone remove picture from contact"
-
ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate
ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate a form.
1) Created a FORM on EMP using the wizards. This creates an AUTOMATIC ROW FETCH
TABLE NAME - EMP
Item Containing PRIMARY KEY - P2099_EMPNO
Primary key column - EMPNO
By default the automatic fetch has a ‘Process Error Message’ of ‘Unable to fetch row.’
2) Created a HTML region. Within this region add
text item P2099_FIND_EMPNO
Button GET_EMP to submit
Branch Modified the conditional branch created during button creation to set P2099_EMPNO with &P2099_FIND_EMPNO.
If I then run the page, enter an existing employee number into P2099_EMPNO and press the GET_EMP button the form is populated correctly. But if I enter an employee that does not exist then I get the oracle error ORA-01403: no data found and no form displayed but a message at the top of the page ‘Action Processed’.I was expecting a blank form to be displayed with the message ‘Unable to fetch row.’
I can work around this by making the automated fetch conditional so that it checks the row exists first. Modify the Fetch row from EMP automated fetch so that it is conditional
EXIST (SQL query returns at least one row)
select 'x'
from EMP
where EMPNO = :P2099_EMPNO
But this means that when the employee exists I must be fetching from the DB twice, once for the condition and then again for the actual row fetch.
Rather than the above work around is there something I can change so I don’t get the Oracle error? I’m now wondering if the automatic row fetch is only supposed to be used when linking a report to a form and that I should be writing the fetch process manually. The reason I haven’t at the moment is I’m trying to stick with the automatic wizard generation as much as I can.
Any ideas?
Thanks PeteHi Mike,
I've tried doing that but it doesn't seem to make any difference. If I turn debug on it shows below.
0.05: Computation point: AFTER_HEADER
0.05: Processing point: AFTER_HEADER
0.05: ...Process "Fetch Row from EMP": DML_FETCH_ROW (AFTER_HEADER) F|#OWNER#:EMP:P2099_EMPNO:EMPNO
0.05: Show ERROR page...
0.05: Performing rollback...
0.05: Processing point: AFTER_ERROR_HEADER
I don't really wan't the error page, either nothing with the form not being populated or a message at the top of the page.
Thanks Pete -
Problem when using About Operator in Contains Query
Hi,
I'm new to Oracle and this forums too. I have a problem when using about operator in contains query.
I create a table with some records and then create a context index on 'name' column.
CREATE TABLE my_items (
id NUMBER(10) NOT NULL,
name VARCHAR2(200) NOT NULL,
description VARCHAR2(4000) NOT NULL,
price NUMBER(7,2) NOT NULL
ALTER TABLE my_items ADD (
CONSTRAINT my_items_pk PRIMARY KEY (id)
CREATE SEQUENCE my_items_seq;
INSERT INTO my_items VALUES(my_items_seq.nextval, 'Car', 'Car description', 1);
INSERT INTO my_items VALUES(my_items_seq.nextval, 'Train', 'Train description', 2);
INSERT INTO my_items VALUES(my_items_seq.nextval, 'Japan', 'Japan description', 3);
INSERT INTO my_items VALUES(my_items_seq.nextval, 'China', 'China description', 4);
COMMIT;
EXEC ctx_ddl.create_preference('english_lexer','basic_lexer');
EXEC ctx_ddl.set_attribute('english_lexer','index_themes','yes');
EXEC ctx_ddl.set_attribute('english_lexer','theme_language','english');
CREATE INDEX my_items_name_idx ON my_items(name) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS('lexer english_lexer');
EXEC ctx_ddl.sync_index('my_items_name_idx');Then I perform contains query to retrieve record :
SELECT count(*) FROM my_items WHERE contains(name, 'Japan', 1) > 0;
COUNT(*)
1
SELECT count(*) FROM my_items WHERE contains(name, 'about(Japan)', 1) > 0;
COUNT(*)
1But the problem is when I using ABOUT operator like in Oracle's English Knowledge Base Category Hierarchy it return 0
SELECT count(*) FROM my_items WHERE contains(name, 'about(Asia)', 1) > 0;
COUNT(*)
0
SELECT count(*) FROM my_items WHERE contains(name, 'about(transportation)', 1) > 0;
COUNT(*)
0I can't figure out what 's wrong in my query or in my index.
Any help will be appreciated.
Thanks,
Hieu Nguyen
Edited by: user2944391 on Jul 10, 2009 3:25 AMHello (and welcome),
You'd be best asking this question in the Oracle Text forum, here:
Text
And by the way, it will help others to analyse if you put {noformat}{noformat} (lowercase code in curly brackets) before and after your code snippets.
Good luck! -
When using FireFox I often cannot view pictures in Hotmail emails, but I have no problem when using other browsers
Do you also have this issue if you temporarily switch to Private Browsing mode?
*https://support.mozilla.org/kb/Private+Browsing
*Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
*Select: [X] "Always use private browsing mode"
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
See also:
*https://support.mozilla.org/kb/fix-login-issues-on-websites-requrie-passwords -
Hello all,
I have a problem with IPC when using WSRP. The setting: I have two Portlets, an EchoPortlet which echoes back what was typed into a textfield and a MessagePortlet, which receives the typed in text form the EchoPortlet via a custom event (PortletMessageEvent) in a custom backing file and displays it. The portlets are Weblogic JSF portlets. I am using WLP 9.2.3.
In local mode everything just works fine; when I consume the two portlets as remote portlets, the event does not seem to get handled:
These are my .portlet files:
EchoPortlet:
<?xml version="1.0" encoding="UTF-8"?>
<portal:root
xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0"
xmlns:portal="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0 portal-support-1_0_0.xsd">
<netuix:portlet
definitionLabel="echo_1"
title="Echo Portlet">
<netuix:titlebar>
</netuix:titlebar>
<netuix:content>
<netuix:facesContent contentUri="/portlets/echo/jsp/messageentry.faces"/>
</netuix:content>
</netuix:portlet>
</portal:root>
MessagePortlet:
<?xml version="1.0" encoding="UTF-8"?>
<portal:root xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0"
xmlns:portal="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0 portal-support-1_0_0.xsd">
<netuix:portlet backingFile="de.awd.vertriebsportal.common.EventListenerBacking"
definitionLabel="message_1" title="Message Portlet">
<netuix:handleCustomEvent event="PortletMessageEvent" eventLabel="handleCustomEvent1"
fromSelfInstanceOnly="false" onlyIfDisplayed="true" sourceDefinitionWildcard="any">
<netuix:invokeBackingFileMethod method="handleEvent"/>
</netuix:handleCustomEvent>
<netuix:titlebar/>
<netuix:content>
<netuix:facesContent contentUri="/portlets/message/jsp/messagedisplay.faces"/>
</netuix:content>
</netuix:portlet>
</portal:root>
Here are the WSRP requests from the performBlockingInteraction request on that sends the event:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header />
<soapenv:Body>
<urn:performBlockingInteraction xmlns:urn="urn:oasis:names:tc:wsrp:v1:types">
<urn:registrationContext>
<urn:registrationHandle>4001</urn:registrationHandle>
</urn:registrationContext>
<urn:portletContext>
<urn:portletHandle>echo_1</urn:portletHandle>
</urn:portletContext>
<urn:runtimeContext>
<urn:userAuthentication>wsrp:none</urn:userAuthentication>
<urn:portletInstanceKey>wsrpjsftestremote
main_T1800382711259255957802</urn:portletInstanceKey>
<urn:namespacePrefix>
T1800382711259255957802</urn:namespacePrefix>
<urn:sessionID>
LG1JLTdVBQjGnZPJm685DwXkJPMpM122Gny8jRNSsyqwyBCgGBXR!-117247815</urn:sessionID>
<urn:extensions>
<urn1:LookAndFeelDescriptor xmlns:urn1="urn:bea:wsrp:ext:v1:types">
<urn1:skeletonId>text</urn1:skeletonId>
<urn1:skeletonPath>
/framework/skeletons/</urn1:skeletonPath>
<urn1:skinId>text</urn1:skinId>
<urn1:skinPath>/framework/skins/</urn1:skinPath>
</urn1:LookAndFeelDescriptor>
</urn:extensions>
</urn:runtimeContext>
<urn:userContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:nil="true" />
<urn:markupParams>
<urn:secureClientCommunication>
false</urn:secureClientCommunication>
<urn:locales>de</urn:locales>
<urn:mimeTypes>text/html</urn:mimeTypes>
<urn:mimeTypes>image/gif</urn:mimeTypes>
<urn:mimeTypes>image/x-xbitmap</urn:mimeTypes>
<urn:mimeTypes>image/jpeg</urn:mimeTypes>
<urn:mimeTypes>image/pjpeg</urn:mimeTypes>
<urn:mimeTypes>
application/x-shockwave-flash</urn:mimeTypes>
<urn:mimeTypes>application/x-ms-application</urn:mimeTypes>
<urn:mimeTypes>application/x-ms-xbap</urn:mimeTypes>
<urn:mimeTypes>
application/vnd.ms-xpsdocument</urn:mimeTypes>
<urn:mimeTypes>application/xaml+xml</urn:mimeTypes>
<urn:mimeTypes>application/vnd.ms-excel</urn:mimeTypes>
<urn:mimeTypes>
application/vnd.ms-powerpoint</urn:mimeTypes>
<urn:mimeTypes>application/msword</urn:mimeTypes>
<urn:mimeTypes>*/*</urn:mimeTypes>
<urn:mode>wsrp:view</urn:mode>
<urn:windowState>wsrp:normal</urn:windowState>
<urn:clientData>
<urn:userAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows
NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
3.0.04506.648; .NET CLR 3.5.21022; InfoPath.1; MS-RTC LM
8)</urn:userAgent>
</urn:clientData>
<urn:navigationalState>
/wsrpjsftestWeb/portlets/echo/jsp/messageentry.faces</urn:navigationalState>
<urn:markupCharacterSets>UTF-8</urn:markupCharacterSets>
<urn:markupCharacterSets>*</urn:markupCharacterSets>
</urn:markupParams>
<urn:interactionParams>
<urn:portletStateChange>readOnly</urn:portletStateChange>
<urn:formParameters name="T1800382711259255957802:MessageEntryForm:messageSubmit">
<urn:value>
<![CDATA[Abschicken]]>
</urn:value>
</urn:formParameters>
<urn:formParameters name="T1800382711259255957802:MessageEntryForm:message">
<urn:value>
<![CDATA[asdadasd]]>
</urn:value>
</urn:formParameters>
<urn:formParameters name="T1800382711259255957802:MessageEntryForm">
<urn:value>
<![CDATA[T1800382711259255957802:MessageEntryForm]]>
</urn:value>
</urn:formParameters>
</urn:interactionParams>
</urn:performBlockingInteraction>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header />
<soapenv:Body>
<performBlockingInteractionResponse xmlns="urn:oasis:names:tc:wsrp:v1:types">
<updateResponse>
<navigationalState>
/portlets/echo/jsp/messageentry.faces</navigationalState>
</updateResponse>
<extensions>
<Event xmlns="urn:bea:wsrp:ext:v1:types">
<eventName xmlns:urn="urn:bea:wsrp:wlp:v2:events:name">
urn:PortletMessageEvent</eventName>
<eventType xmlns:urn="urn:bea:wsrp:wlp:v2:events:type">
urn:custom</eventType>
<eventPayload>
<binary>rO0ABXQACGFzZGFkYXNk</binary>
</eventPayload>
<sourceDefinitionLabel>echo_1</sourceDefinitionLabel>
<sourceInstanceLabel>
T1800382711259255957802</sourceInstanceLabel>
</Event>
</extensions>
</performBlockingInteractionResponse>
</soapenv:Body>
</soapenv:Envelope>
The following getMarkup requests for the EchoPortlet and the MessagePortlet:
Echo:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><urn:getMarkup xmlns:urn="urn:oasis:names:tc:wsrp:v1:types"><urn:registrationContext><urn:registrationHandle>4001</urn:registrationHandle></urn:registrationContext><urn:portletContext><urn:portletHandle>echo_1</urn:portletHandle></urn:portletContext><urn:runtimeContext><urn:userAuthentication>wsrp:none</urn:userAuthentication><urn:portletInstanceKey>wsrpjsftestremote main_T1800382711259255957802</urn:portletInstanceKey><urn:namespacePrefix>T1800382711259255957802</urn:namespacePrefix><urn:sessionID>LG1JLTdVBQjGnZPJm685DwXkJPMpM122Gny8jRNSsyqwyBCgGBXR!-117247815</urn:sessionID><urn:extensions><urn1:LookAndFeelDescriptor xmlns:urn1="urn:bea:wsrp:ext:v1:types"><urn1:skeletonId>text</urn1:skeletonId><urn1:skeletonPath>/framework/skeletons/</urn1:skeletonPath><urn1:skinId>text</urn1:skinId><urn1:skinPath>/framework/skins/</urn1:skinPath></urn1:LookAndFeelDescriptor></urn:extensions></urn:runtimeContext><urn:userContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><urn:markupParams><urn:secureClientCommunication>false</urn:secureClientCommunication><urn:locales>de</urn:locales><urn:mimeTypes>text/html</urn:mimeTypes><urn:mimeTypes>image/gif</urn:mimeTypes><urn:mimeTypes>image/x-xbitmap</urn:mimeTypes><urn:mimeTypes>image/jpeg</urn:mimeTypes><urn:mimeTypes>image/pjpeg</urn:mimeTypes><urn:mimeTypes>application/x-shockwave-flash</urn:mimeTypes><urn:mimeTypes>application/x-ms-application</urn:mimeTypes><urn:mimeTypes>application/x-ms-xbap</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-xpsdocument</urn:mimeTypes><urn:mimeTypes>application/xaml+xml</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-excel</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-powerpoint</urn:mimeTypes><urn:mimeTypes>application/msword</urn:mimeTypes><urn:mimeTypes>*/*</urn:mimeTypes><urn:mode>wsrp:view</urn:mode><urn:windowState>wsrp:normal</urn:windowState><urn:clientData><urn:userAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.1; MS-RTC LM 8)</urn:userAgent></urn:clientData><urn:navigationalState>/portlets/echo/jsp/messageentry.faces</urn:navigationalState><urn:markupCharacterSets>UTF-8</urn:markupCharacterSets><urn:markupCharacterSets>*</urn:markupCharacterSets></urn:markupParams></urn:getMarkup></soapenv:Body></soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header />
<soapenv:Body>
<getMarkupResponse xmlns="urn:oasis:names:tc:wsrp:v1:types">
<markupContext>
<mimeType>text/html; charset=UTF-8</mimeType>
<markupString>
<![CDATA[
<form id="T1800382711259255957802:MessageDisplayForm" method="post" action="http://localhost:7001/wsrpjsftestWeb/appmanager/wsrpjsftestremote/main?_nfpb=true&_windowLabel=T1800382711259255957802&wsrp-urlType=blockingAction&wsrp-url=&wsrp-requiresRewrite=false&wsrp-navigationalState=%2FwsrpjsftestWeb%2Fportlets%2Fecho%2Fjsp%2Fmessagedisplay.faces&wsrp-interactionState=&wsrp-mode=wsrp%3Aview&wsrp-windowState=wsrp%3Anormal" enctype="application/x-www-form-urlencoded">
<table cellpadding="0" cellspacing="5" border="0" width="100%" >
<tr>
<td valign="top">
<label for="T1800382711259255957802:MessageDisplayForm:message">
<span id="T1800382711259255957802:MessageDisplayForm:messageLabel">Nachricht:</span>
</label>
</td>
<td valign="top">
<span id="T1800382711259255957802:MessageDisplayForm:message">asdadasd</span>
</td>
</tr>
<tr>
<td valign="top" colspan="2">
<input type="submit" name="T1800382711259255957802:MessageDisplayForm:_id1" value="Zurück" />
</td>
</tr>
</table>
<input type="hidden" name="T1800382711259255957802:MessageDisplayForm" value="T1800382711259255957802:MessageDisplayForm" /></form>
]]>
</markupString>
<locale>de-DE</locale>
<requiresUrlRewriting>false</requiresUrlRewriting>
</markupContext>
</getMarkupResponse>
</soapenv:Body>
</soapenv:Envelope>
Message:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><urn:getMarkup xmlns:urn="urn:oasis:names:tc:wsrp:v1:types"><urn:registrationContext><urn:registrationHandle>4001</urn:registrationHandle></urn:registrationContext><urn:portletContext><urn:portletHandle>message_1</urn:portletHandle></urn:portletContext><urn:runtimeContext><urn:userAuthentication>wsrp:none</urn:userAuthentication><urn:portletInstanceKey>wsrpjsftestremote main_T1800482711259255957849</urn:portletInstanceKey><urn:namespacePrefix>T1800482711259255957849</urn:namespacePrefix><urn:sessionID>LG1JLTdVBQjGnZPJm685DwXkJPMpM122Gny8jRNSsyqwyBCgGBXR!-117247815</urn:sessionID><urn:extensions><urn1:LookAndFeelDescriptor xmlns:urn1="urn:bea:wsrp:ext:v1:types"><urn1:skeletonId>text</urn1:skeletonId><urn1:skeletonPath>/framework/skeletons/</urn1:skeletonPath><urn1:skinId>text</urn1:skinId><urn1:skinPath>/framework/skins/</urn1:skinPath></urn1:LookAndFeelDescriptor></urn:extensions></urn:runtimeContext><urn:userContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><urn:markupParams><urn:secureClientCommunication>false</urn:secureClientCommunication><urn:locales>de</urn:locales><urn:mimeTypes>text/html</urn:mimeTypes><urn:mimeTypes>image/gif</urn:mimeTypes><urn:mimeTypes>image/x-xbitmap</urn:mimeTypes><urn:mimeTypes>image/jpeg</urn:mimeTypes><urn:mimeTypes>image/pjpeg</urn:mimeTypes><urn:mimeTypes>application/x-shockwave-flash</urn:mimeTypes><urn:mimeTypes>application/x-ms-application</urn:mimeTypes><urn:mimeTypes>application/x-ms-xbap</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-xpsdocument</urn:mimeTypes><urn:mimeTypes>application/xaml+xml</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-excel</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-powerpoint</urn:mimeTypes><urn:mimeTypes>application/msword</urn:mimeTypes><urn:mimeTypes>*/*</urn:mimeTypes><urn:mode>wsrp:view</urn:mode><urn:windowState>wsrp:normal</urn:windowState><urn:clientData><urn:userAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.1; MS-RTC LM 8)</urn:userAgent></urn:clientData><urn:markupCharacterSets>UTF-8</urn:markupCharacterSets><urn:markupCharacterSets>*</urn:markupCharacterSets></urn:markupParams></urn:getMarkup></soapenv:Body></soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><getMarkupResponse xmlns="urn:oasis:names:tc:wsrp:v1:types"><markupContext><mimeType>text/html; charset=UTF-8</mimeType><markupString><![CDATA[
<form id="T1800482711259255957849:MessageDisplayForm" method="post" action="http://localhost:7001/wsrpjsftestWeb/appmanager/wsrpjsftestremote/main?_nfpb=true&_windowLabel=T1800482711259255957849&wsrp-urlType=blockingAction&wsrp-url=&wsrp-requiresRewrite=false&wsrp-navigationalState=%2FwsrpjsftestWeb%2Fportlets%2Fmessage%2Fjsp%2Fmessagedisplay.faces&wsrp-interactionState=&wsrp-mode=wsrp%3Aview&wsrp-windowState=wsrp%3Anormal" enctype="application/x-www-form-urlencoded">
<table cellpadding="0" cellspacing="5" border="0" width="100%" >
<tr>
<td valign="top">
<label for="T1800482711259255957849:MessageDisplayForm:message">
<span id="T1800482711259255957849:MessageDisplayForm:messageLabel">Nachricht:</span>
</label>
</td>
<td valign="top">
<span id="T1800482711259255957849:MessageDisplayForm:message"></span>
</td>
</tr>
</table>
<input type="hidden" name="T1800482711259255957849:MessageDisplayForm" value="T1800482711259255957849:MessageDisplayForm" /></form>
]]></markupString><locale>de-DE</locale><requiresUrlRewriting>false</requiresUrlRewriting></markupContext></getMarkupResponse></soapenv:Body></soapenv:Envelope>
Finally, the code of the handleEvent method in the backing file (works fine locally):
public void handleEvent(HttpServletRequest request,
HttpServletResponse response,
Event event) {
System.out.println("EventListenerBacking - Receiving custom event...");
CustomEvent customEvent = (CustomEvent) event;
Serializable payload = customEvent.getPayload();
System.out.println("EventListenerBacking - payload: " + payload);
BackingPortletUtil portletUtil = PortletUtilFactory.getInstance().getBackingPortletUtil();
portletUtil.storeSharedState(request, payload);
request.setAttribute("customPayload", payload);
And the code to fire the event:
public void sendMessage(HttpServletRequest request, Serializable payload) {
PortletBackingContext context = getPortletBackingContext(request);
if (context != null) {
System.out.println("Sending portlet message with event " + PORTLET_EVENT);
context.fireCustomEvent(PORTLET_EVENT, payload);
PORTLET_EVENT is a static constant:
public static final String PORTLET_EVENT = "PortletMessageEvent";
Any idea, why the event is not handled when using WSRP?
Kind regards,
StefanHello Stefan,
The event handling information is added to the proxy portlet only when the proxy portlet is created- not when it is added to a page. So if you already have the remote portlet added to a page when you add an event to the portlet on the producer side, you would need to remove the proxy portlet from the page on the consumer side, remove the proxy portlet from the consumer entirely, and re-add it from the producer.
It is also possible to create the proxy portlets from the IDE, but in WLP 9.2, it isn't possible to change the IP of a producer after a streaming portal has been created in most cases. If your producer does not require registration and your streaming portal does not contain any customized remote portlets (portlets whose preference values were changed), it may be possible in WLP 9.2 to use the propagation tool to move the streaming portal to a new consumer, and once it is on the new consumer I think you can use the the Admin Tools to change the WSDL URL of the producer to point to your new producer. If registration is required or any of the producer portlets are customized, this won't work. It is worth noting that WLP 10.2 and higher versions support moving streaming portals across producers even when registration is required or portlets have been customized, so upgrading WLP versions is another possibility.
Kevin -
Coercion problem when using Shared Variable
I have a curious coercion problem when using Shared Variables. I want to share the state of a State Machine, which is an enum saved as a control (typedef) called TYPE State (see attached). I create a shared variable called State and define it as a Custom Control, using the just-mentioned typedef. So far, so good. I've attached three simple VIs -- the first one, Init State, simply wires a constant to the input of the Shared Variable to initialize it -- the wired constant is, of course, defined by the typedef. However, the Get State and Set State, meant to wire an indicator (for reading the state) or control (for setting it), develop coercion dots when wired into the Shared Variable. Why? How do I get rid of the dot? [I suppose I could abandon my typedef and custom control, but the beauty of typedefs and custom controls is that it "enforces" rules, lets you use enums for clarity, keeps the code "honest", etc. -- I'd hate to give that up just to get rid of a dot!].
On a related note, the code seems to work. This is much too simplistic to do anything, but if you open Set State and Get State, set the state to anything, run it (it immediately stops, of course), then run Get State, you'll see the chosen state appear in the indicator. So it does appear to work. The "error" (coercion dot) may, I suppose, be a "bug" in Labview because it can't figure out the mapping of the (very simple!) Custom Control, but if so, I hope it gets fixed quickly!
Bob Schor
Attachments:
Coercion Problem1.zip 38 KBHello Bob,
I am also seeing this behavior, I will escalate this question to our LabVIEW developers and post again here no later than next Tuesday, November 27th as National Instruments will be closed for the remainder of this week.
If this issue does turn into a product suggestion, I would suspect the workaround would to live with the coersion dot for the time being.
Enjoy the holiday
Regards,
Erik J.
Applications Engineer
National Instruments -
i tried everything in this article, but still have the same problem when using Rapidweaver software. NOT with other software. I am converting my iWeb site to Rapidweaver, whenever there is a calmer period in my office. I have 16 Gb RAM on my NEW iMac and have Parallels desktop, mail, safari, iWeb and Rapidweaver running simultanious.
I never have the problem if i don't use Rapidweaver, but after i have added several pages to Rapidweaver, the problem begins. my iMac won't start up. the only thing that works is re-installing Macos OS X 10.8. i tried even whiping the completeharddrive, and reinstalling with a complete new user, the same problem.
I had it on my previous iMac also, and bought a new one because i thought the problem was in the iMac first. i hadn't noticed it only happens with using rapidweaver.
i sent my complete rapidweaver project to the programmers from rapidweaver at Realmacsoftware, but they couldnt reproduce my problem, there macs started up without any problem.
i deleted all the rapidweaver addons and extra stacks, and started a complete new project.
saterday i had the problem again, after adding about 5 new pages to my rapidweaver site.
i think i have reinstalled Macos OS X 10.8.2 20 or 30 times by now
does anyone have a sollution?Type '''about:support''' in the URL bar and hit Enter.
Scroll down almost to the bottom of that listing and see if you have '''user.js Preferences''' just above the '''''Graphics''''' category.
If you do have that, click on '''user.js file''' in this sentence. <br />
''Your profile folder contains a user.js file, which includes preferences that were not created by Firefox.''
Does that "different homepage" appear in that user.js file? -
Performance problem when using CAPS LOCK piano input
Dear reader,
I'm very new to Logic and am running into a performance problem when using the CAPS LOCK-piano-keyboard for input of an instrument: when I'm not recording everything is fine and the program instantly responds on my keystrokes, but as soon as I go into record-mode there is sometimes a delay in the response-time (so I press a key and it takes up to half a second longer before the note is actually played).
Is there anything to do about this to improve performance (for example turning of certain features of the application), or should I never use the CAPS LOCK keyboard anyway and go straight for an external MIDI-keyboard?
Thanks and regards,
Tim MetzDoes your project have Audio tracks and just how heavy it is, how many tracks? Also, what kind of Software Instrument do you use?
-
We use IE9.
I enter in https://gwserver.
Compose New mail (in Plain Text mode) with body:
Line-1
Line-2
Line-3
And send this mail , for example to itself.
the received letter will look like:
Line-1Line-2Line-3
Someone has the same problem?
SergAre you guys still on the shipping code of GW 12? Novell had a fix for this within a couple weeks of GW 12 being released from what I remember. Open an SR and get the latest code.
Or simply tell your users to user HTML.
Todd Bowman
Todd Bowman
Senior Network Analyst
University of Minnesota Physicians
612-884-0744
[email protected]
>>>
From: MarkDissington<[email protected]>
To:novell.support.groupwise.2012.web-access
Date: 5/24/2012 6:46 AM
Subject: Re: Problem when using IE9
skoltogyan;2197344 Wrote:
> The solution is?
>
> Serg
I would guess don't use IE9 until a fix is released? :-)
M.
MarkDissington
MarkDissington's Profile: http://forums.novell.com/member.php?userid=27611
View this thread: http://forums.novell.com/showthread.php?t=455634 -
Problem when using Javabeans in ADF?
Hi,
I encountered a problem when using ADF.
Please look at the following 2 classes :
public class Person
private String name;
private String city;
private int age;
public Person(String name, int age, String city)
this.name = name;
this.age = age;
this.city = city;
public Person()
public void setName(String name)
this.name = name;
public String getName()
return name;
public void setAge(int age)
this.age = age;
public int getAge()
return age;
public void setCity(String city)
this.city = city;
public String getCity()
return city;
public class PersonFactory
public PersonFactory()
public List getPersons()
List list = new ArrayList();
list.add(new Person("peit", 18, "dalian"));
list.add(new Person("robin", 22, "shenyang"));
list.add(new Person("Joe", 30, "York"));
list.add(new Person("Edi", 23, "Beijing"));
return list;
public List getNames()
List list = new ArrayList();
list.add("Peit");
list.add("Robin");
list.add("Joe");
list.add("Edi");
return list;
public void commit()
System.out.println("Data commited");
I created the PersonFactory class as DataControl, so I can use the getPersons() and getNames()(just for test, so they are simple), I drag the names from
the DataControl palette as Table in a JClientPanel, good luck, it works and displays the 4 Strings in a table, but when I drag the persons from
the DataControl palette as Table in the same JClientPanel, it does not work and raises exception :
java.lang.NullPointerException
at javax.swing.JTable.prepareRenderer(JTable.java:3731)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:1149)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1051)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:974)
So, I confused why? How to edit it properly?
Thanks.
Message was edited by:
[email protected]Hi, Frank
Thank you for your reply.
I am sorry for not explaining well. I mean that the getNames() works fine, but getPersons() does not. The only diferenece between them is the former is simple string and the latter is javabean, but when I made the PersonFactory as DataControl, I set the bean class Person for the getPersons()(list of persons) bean class.
I debuged the class, the exceptions raised when the table for getPersons() setModel() method called.
So, where is the problem?
Thanks. -
Cannot email pdf using Acrobat Reader XI v11.0.3 in Windows 8. No problem when using in ms vista. get "authentication error". Sometimes will get a very quick dialogue box showing the gmail login screen but then disappears. I use firefox and IE
Hi Rodney
Welcome to Apple Discussions
This sounds like one of those "oddities", contributed to by a few sources.
I can clear the Safari cache files as a temporary solution, but I encounter the same difficulties with the “problematic” files once they have been opened again.
Wondering if you disabled the Safari Cache would the refresh function work correctly? As a test you can disable the Safari Cache by Emptying the Cache first via the Safari menu, then Quit Safari. Now go to the Finder>Your User Library>Caches>Safari. Single click on the Safari folder, then Apple Key + I to open Info panel. There, check the "locked" box. This prevents further additions to the cache. The downside, you lose your ability to upload images etc. within Safari (my cache is disabled, so I use Firefox for the uploads).
Then restart Safari. Try the PDF from within Safari.
Post back
Maybe you are looking for
-
Need help on how to re-install​/wipe OS on my BB Torch 9860
Can anyone in the house please give me a breakdown on how I can wipe completely my blackberry torch 9860 device and re-install a new OS without any fuss, thank you.
-
Error compliling HelloWorld.java
Hi I'm running windows ME and I downloaded the Java 1.3v08 from this site and installed it like the manual said. I am having problems running the helloword program, it says > error: cannot read: Helloworld.java 1 error I'm a little discouraged now ca
-
How to create a wavy line with the Pen Tool?
Let me start by saying that I am a novice to Adobe CS4, including PS. I am trying to follow this tutorial: http://www.rnel.net/tutorial/Photoshop/11541 but I can not even get the pen to draw wavvy line. I keep get a straight line. To say the least, I
-
Hi, In the Dealer Portal, Vehicle Sales Role --> Personalization. I am getting below Warning message. The Web Dynpro component assignment for business partner is missing. As per my investigation found below. Since address formats are different for ea
-
I am setting up Weblogic configuring it to use IIS. This is the error I recieve when trying to connect Error: Message from the ISAPI plugin: No backend server available for connection: timed out after 20 seconds.