Arrow property in dynamic HtmlCommandSortHeader?
Hello everyone
I am using MyFaces 1.09.
In my app, I create a few dynamic columns which are added to my x:datatable in run-time.
My problem is this: while entering a new sort column into the table, I manage to use it fully and see it in my table. However, I cannot use the ascending/descending feature of the table, and end up not being able to see the arrow in the column header.
Here is how I set up my sort header:
UIColumn column = (UIColumn)table.findComponent(columnName);
...//stuff on the column(binding etc.)
HtmlCommandSortHeader sorter = new HtmlCommandSortHeader();
sorter.setColumnName(columnName);
sorter.setArrow(true);
sorter.setId("sort".concat(columnName));
sorter.setValue(columnName);
column.setHeader(sorter);While debugging, I noticed that the value of the arrow property in the HtmlCommandSortHeader object is always true.
Could the disappearance of the arrow be a possible bug or am I doing something wrong?
Thanks for the assistance
Eyal
Hi,
When a second playhead is added through 2UP button, the selection in the timeline goes up to the top video track. If you have an Adjustment Layer on top, covering the full timeline, that is the why the Crt+Right Arrow is not working anymore.
Try to add a second playhead, and then reselect manually the clip to be edited. Or you could try the shortcut: 'Shift + Crt + DownArrow', this is for moving through your video tracks.
Similar Messages
-
Is it possible to pass the property value dynamically to composite.xml
Hi,
Is it possible to pass the property value dynamically to composite.xml from bpel?
For ex:
<property name="bpel.config.auditLevel">$variable</property>
I will get a different $variable value every time to bpel.
Also, when I included the following code inside .bpel
invoke name="InvokeListFileFTPAdapter-ListFiles"
partnerLink="ListFilesFTPAdapter"
portType="ns3:FileListing_ptt" operation="FileListing"
inputVariable="listfilesRequest"
outputVariable="listfilesResponse" bpelx:invokeAsDetail="no">
<bpelx:toProperties>
<bpelx:toProperty name="bpel.auditLevel"
variable="AuditVariable"/>
</bpelx:toProperties>
</invoke>
where auditvariable='Off'
I don't see any change in em. The invoke activity is showing full payload, Can't we turn off the audit level from .bpel not from composite.xmlHi,
You can use bpel preferences for that:
1.
In the composite add a property, for ex:
<component name="test">
<implementation.bpel src="test.bpel"/>
<property name="bpel.preference.exam">abc</property>
</component>
2.
To get the value within your bpel process use: ora:getPreference(exam)
3.
Then, you can change the value in the EM:
Under Farm_soa_domain>weblogic domain>your_domain>soa_server1
Right click on menu>system Mbean browser>oracle.soa.config>server:soa_server1>SCAComposite>your project>SCAComposite.SCAComponent>processName>
Now, click on the properties attribute : you can see the exam property and change the value.
Arik -
How to set the read only property for dynamic ALV column
Hi All,
I have built one dynamiv ALV and I have one name column inside that ALV for which I have to set read only property based on two column fields that exist in the same ALV,say IS_SP and IS_CORP of type boolean.
If any one of the flag is 'X',i have to make that name column as display only and
If both flag are not set,it should be displayed as ediatable column.
I have written one method as INIT_ALV which gets called when ALV is loaded.
Code is as follows:
lr_column_settings ?= wd_this->alv_all_roles.
lt_columns = lr_column_settings->get_columns( ).
LOOP AT lt_columns INTO ls_column.
CASE ls_column-id.
WHEN <NAMECOLUMN>. "name column which should be editable/display
Create Input Field
CREATE OBJECT lr_uie_input_field_ro
EXPORTING
value_fieldname = ls_column-id.
ls_column-r_column->set_cell_editor( lr_uie_input_field_ro ).
After this,I have to set the read only property based on IS_SP and IS_CORP values,
CALL METHOD lr_uie_input_field_ro->set_read_only_fieldname
EXPORTING
*value = 'IS_SP' or 'IS_CORP'
ENDLOOP.
I dont want to use cell variants also.
Help me to achieve this.
Thanks and Regards,
DivyaDivya - I have done it in the past following these documents. Please read it and try it it will work.
Please read it in the following order since both are a continuation documents for the same purpose (it also contains how to change colors of row dynamically but I didnt do that part I just did the read_only part as your requirement)
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b71393
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0155eb5-b6ce-2b10-3195-d9704982d69b?quicklink=index&overridelayout=true
thanks!
Jason PV -
Validate from List property of dynamically attached LOV
Dear Oracle Gurus,
I have multi record block , the fields are Argument_name,Argument_Code ,argument_lov
displaying two fields . data is populated at run time
user has to input for the argument_value according to the argument_name displayed
it may look like
Argument_name Argument_value
Date of Join User has to input
Branch office user has to select from a LOV
Dept User has to select from a LOV
the LOV's underlying Select statement will fetch data from a table based on other field Argument_Code
The LOV is attached dynamically for each row based on a value for the field argument_lov value will be Y or N
IF value for a argumet is Y , the LOV is attached with SET_ITEM_PROPERTY in the When NEW RECORD INSTANCE Trigger
when user moves to the argument Date of join there will be no lov and the user has to type out the data
whereas for the argument Branch Office , user can select from a LOV
now the user has to press the F9 key to invoke the Lov and then select
whereas we wanted in this way.. that the user can type the first character and the value automatically get selected
if the user types wrong data then the LOV to be displayed
For this we used the SET_ITEM_PROPERTY with VALIDATE_FROM_LIST, Property_true in the same trigger.
we have record validation trigger at the block level .
But it didnt work out exactly when ever the user moves from a record having LOV after selecting. the other field which is not having a LOV displays a lov with values belonging to another field and asks to select from the list . For example the date of join field displays the lov for dept and asks to input
please guide me in this regard
with warm regards
ssrBut when table hav too many rows (here i hav 18000 rows) getting too slow....Is this problem is common...? Yes, this is common when you have a lot of rows returned by your LOV query. In situations like this, it is best to try and reduce the size of the data returned by your LOV. One way of doing this is to enable the Filter Before Display property on the LOV. When enabled, it causes Forms to display a query criteria dialog before displaying the LOV. This too can cause slowness because this option could cause a full table scan to occur. Perhaps a better option would be to make your LOV dependent on other limiting values. For example, if your Form showed a list of all employees in a company you could make your user select limiting data like a department number to help reduce the number of employee records returned by your LOV.
Craig... -
Cannot use "Edit Mode" property to dynamically open a VI in "run mode"
Hello,
I am trying to dynamically open a vi, and would like it to open up in run mode when dynamically called. I am trying to use the "Edit Mode" property to do so by setting it to false before the vi is actually opened by the Open method. However, it always seems to open up in edit mode. Am I doing something obviously wrong here? I am enclosing a screengrab of the vi.
Regards
-Ted
Attachments:
openvi.jpg 78 KBYou should use the method Run VI, if you want the VI in the 'Run Mode' without actually running (like ctrl-m), I have no idea how to do that.
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
Set layout property for dynamic group element
hi ,
I am creating group ui element dynamically . can any one plz tell me how to set layout property for group as gridlayout DYNAMICALY??
KavitaHi,
Following is the skeleton of the code you need.
IWDTransparentContainer container = view.getElement("<Your container>");
IWDGridLayout gridLayout = container.createLayout(IWDGridLayout.class);
gridLayout.setCellPadding(cellPadding);
gridLayout.setCellSpacing(cellSpacing);
IWDTransparentContainer container = null;
IWDGridData grid = container.createLayoutData(IWDGridData.class);
grid.setHAlign(hAlign);
grid.setVAlign(vAlign);
grid.setPaddingRight(paddingRight)
grid.setPaddingRight(paddingRight)
grid.setWidth(width)
Regards
Ayyapparaj -
Set valign property for dynamic attribute
hi,
i hv created an application having dynamically created ui elements.
i want to set valign property of the label i hv created.
also , i want to set the latout of the transperent container.
i hv used the foolowing code:
trans.createLayout(IWDFlowLayout.class);
but i get the elements one on top of next not one after another.
plz help.
thanks.
regards,
ankitahi,
i hv created the following appl:
http://infpw01622:50100/webdynpro/dispatcher/local/POP_UP/PopUp_Appl?SAPtestId=24
bt i want it the following way:
http://infpw01622:50100/webdynpro/dispatcher/local/DialogBox/DialogApp?SAPtestId=9
Regards,
ankita -
Crtl-Right/Left arrow shortcut in dynamic link
I'm trying to use the Ctrl-Right arrow short cut to jump to the start of the next clip while grading in SG directly opening a .prproj sequence. The shortcut works as expected until I add an extra playhead, and then the shortcuts are broken until I close and reopen the project. Is this a bug, or am I missing something. Thanks for your help!
Hi,
When a second playhead is added through 2UP button, the selection in the timeline goes up to the top video track. If you have an Adjustment Layer on top, covering the full timeline, that is the why the Crt+Right Arrow is not working anymore.
Try to add a second playhead, and then reselect manually the clip to be edited. Or you could try the shortcut: 'Shift + Crt + DownArrow', this is for moving through your video tracks. -
Passing the property values dynamically
Hi All,
We have requirement that we need to invoke the Webservice by passing the crdentilas and for that i am using the BasicHeaders,Basicusername and Basicpassowrd and i am hardcoruing the values now i need to pass the values dynamically.
How can i acheive this situation.
Thanks an dRegards,
Nagaraju .Dhttp://soa-howto.blogspot.com/2008/09/how-to-set-security-credentials.html
-
Property File (dynamic)
Hi ALl,
I want to read few properties file. I querry the database from which i obtain values of propertyfile name. I want to read the file with that name....
till now i used
File fp= new File(C:\\abc.pro...)
Properties pro=new Properties();
pro.load(in);
String deiverurl=pro.getPro....
How will i give this path,.....aLSO
Also i use syntax like
please please guide me.....
Edited by: newbie_java123 on Oct 21, 2008 11:38 PMHi
the better approach could be,
InputStream is = m1.getClass().getResourceAsStream("/properties/mail.properties");
InputStream mails = m1.getClass().getResourceAsStream("/properties/emailIds.properties");
props=new Properties();
props.load(is);
then, props.getProperty("key","value"); -
Dynamic Setting of Properties in a Property Class
Can anybody tell me how to change the properties in a Property Class dynamically using Forms 6i?
Besides changing item property you can change property of block, forms too, dynamocally.
Use "help" in Forms Builder/Designer and search on "SET_", we will get lot of info on this. -
Hi Expert,
Can we set Property values dynamicly from BPC excel.
eg/ Let say we have Dimension called Project which has a ID Proj1 with property FM_AMT.
Can we set this FM_AMT from the BPC excel ? do we have any Function ?
Regards
GayuHi Gayu,
You can use EVPRO to get this property in BPC excel. The syntax is =evpro(appname, Member, property). In your case, it is
=evpro("App","Proj1","FM_AMT")
Hope this helps.
Regards,
Shoba -
IDOC to JMS with Dynamic Configuration.
Dear Experts,
IDOC -> SAP PI -> JMS.
We will receive a value in the IDOC-message, based on which the target queue is to be defined.
1) So which property in Dynamic Configuration will help me?
2) Will it be the normal procedure (UDF in Message Mapping and then select the ASMA attribute in receiver channel)?
I went through: http://wiki.sdn.sap.com/wiki/display/XI/FAQ+J2EEJMS+Adapter (question 2.9 and 2.8)
But in one thread it was mentioned that such configuration (of queue) is not possible.
Any idea on how to proceed?
~Thanks.Hello Stefan,
Thank you for the response.
-----> Company1
IDOC -> SAP PI -----> Company2
-----> Company3
We have the above integration in place. Now without ASMA, we will have to create three different JMS Channels; one in each of the Business Service. This would mean that in future if the receivers increase, the corresponding channels have to be increased
But now I am confused as to what the Q 2.9 in this wiki link means: http://wiki.sdn.sap.com/wiki/display/XI/FAQ+J2EEJMS+Adapter
~Thanks -
Property Lists: How to insert a variable as a property?
Hi.
I am trying to insert a variable in place of a newly defined
property to be added to a poroperty list.
This would normally add a new a new property to a poroperty
list :
Database [#needtogetvariablehere] = typedPassword
-- 'Database' is the property list, 'needtogetvariablehere'
is the new poperty and 'typedPassword' is the new property's value
- thisall works fine.
I'd like to generate new property names dynamically using an
editable text box. How do I replace the new property name '
nedtogetvariablehere' with a variable?
I'm sure I've got to put some rounded brackets in somewhere
but everything I try spits out a syntax error.
eg:
myVariable = "blablabla"
Database [#(myVariable)] = typedPassword
Any ideas?
Thanks.I don't know of a way, despite the responses so far, to
convert a variable
name to a symbol then to use it as a property. You must hard
code it as you
have seen in the responses.
Craig
Craig Wollman
Word of Mouth Productions
phone 212 928 9581
fax 212 928 9582
159-00 Riverside Drive West #5H-70
NY, NY 10032
www.wordofmouthpros.com
"dbohea" <[email protected]> wrote in
message
news:e7e3p7$mb2$[email protected]..
> Hi.
>
> I am trying to insert a variable in place of a newly
defined property to
> be
> added to a poroperty list.
>
> This would normally add a new a new property to a
poroperty list :
>
> Database [#needtogetvariablehere] = typedPassword
>
> -- 'Database' is the property list,
'needtogetvariablehere' is the new
> poperty
> and 'typedPassword' is the new property's value -
thisall works fine.
>
> I'd like to generate new property names dynamically
using an editable text
> box. How do I replace the new property name '
nedtogetvariablehere' with
> a
> variable?
>
> I'm sure I've got to put some rounded brackets in
somewhere but everything
> I
> try spits out a syntax error.
>
> eg:
>
> myVariable = "blablabla"
>
> Database [#(myVariable)] = typedPassword
>
>
> Any ideas?
>
> Thanks.
> -
Setting dynamic widths for textfields in as3?
I have 3 textfields. they're in a sprite container. 1. date 2. pipe_mc movieclip 3. title field. I need to set it so that the textfield/mc/textfield;s x property changes dynamically when a shorter or longer date gets added into the field, via XML.
Here is the code:
addChild(dateline);
dateline.addChild(date_txt);
dateline.addChild(title_txt);
dateline.addChild(pipe_mc);
date_txt.x = 3;
var spacer:Number = 10;
if (date_txt.textWidth >= 90) {
pipe_mc.x = date_txt.x + date_txt.width + 18;
title_txt.x = pipe_mc.x + pipe_mc.width + spacer;
else if (date_txt.textWidth <= 90) {
pipe_mc.x = date_txt.x + date_txt.width - 18;
title_txt.x = pipe_mc.x + pipe_mc.width + spacer;
pipe_mc.visible = true;
Any help or suggestions are welcome
ThanksDo you have the textfield set up to be autoSized? Is there a reason for having three textfields separate rather than combining the text into one textfield with sufficient spacing between the entries?
Maybe you are looking for
-
Hi everyone, I am new to this so please ignore my newb questions. I just transfered some video from my Panasonic HVX100 onto a friends Mac. I used his mac because I dont have firewire on my PC. I then transfered the .dv files to my PC and was ready t
-
I've got a Thunderbolt Display that I use with my Macbook Air (mid 2012) - usually in clamshell mode. When I let the computer go to sleep, and then wake it up by clicking the mouse, the monitor turns back on but the colors are washed out and purple l
-
Trouble with AirTunes - conflicting channel noise?
Hi there I have just bought an Airport Express with AirTunes. The device works great - but thus far I have only been able to successfully play music on the network it creates - I haven't been able to use WDS or get it to join a network and still stre
-
Podcast not showing up on desktop
For some reason, the Sept. 1, 2014 Podcast is not showing up in the desktop version of the iTunes podcast preview: https://itunes.apple.com/us/podcast/team-beachbody-coach-podcast/id455078215 It shows up fine in iTunes and on my phone. I validated th
-
Revision: 7499 Author: [email protected] Date: 2009-06-02 16:10:08 -0700 (Tue, 02 Jun 2009) Log Message: Addendum to fix for BLZ-233 - adjust visibility of new internal heartbeat util methods to protected from private. QA: No Doc: No Checkintes