af:Query label alignment

hi all,
please suggest me how to align labels of <af:query> component to left edge of the column without using css ,
<af:query id="qryId1" headerText="Search" disclosed="true" partialTriggers="::cb10"
value="#{bindings.myvo.queryDescriptor}" fieldWidth="50%" labelWidth="50%"
model="#{bindings.myVOCriteriaQuery2.queryModel}"
queryListener="#{pageFlowScope.mybb.queryOperation}" displayMode="simple"
resultComponentId="::tblSrch" binding="#{pageFlowScope.intUser.qrySrch}"
saveQueryMode="hidden" modeChangeVisible="false"
type="flow" rows="2" maxColumns="3" />

Hi Frank,
thanks for ur reply
my jdeveloper version is 11.1.1.4.0 ,
af:query uses a panelFormLayout component internally, which by default aligns the labels to the right at the start of the component. the same i had seen in below url demo
http://jdevadf.oracle.com/adf-richclient-demo/faces/components/skinningKeys/quickQuery.jspx?_afrRedirect=679290447253982
if i check checkboxes i am able to see all the appplied style selectors right side
i tried to achieve my requirement by creating separate css style sheet by following below steps
first i created MyCustomSkin.css under WebContent/Skins/MyCustomSkin.css
af|query.CustomQueryPanel::criterion-label {
color: #000000;
font-size: 11px;
font-weight: bold;
text-align : left;
then
i configured the same css in trinidad-skins.xml
<?xml version="1.0" encoding="windows-1252" ?>
<skins xmlns="http://myfaces.apache.org/trinidad/skin">
<skin>
<id>MyCustomSkin.desktop</id>
<family>MyCustomSkin</family>
<extends>fusion.desktop</extends>
<render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id>
<style-sheet-name>skins/MyCustomSkin.css</style-sheet-name>
</skin>
</skins>
i confiured the same in trinidad-config.xml
<?xml version="1.0" encoding="windows-1252"?>
<trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
<debug-output>false</debug-output>
<skin-family>MyCustomSkin</skin-family>
</trinidad-config>
in UIfragment.jsff
inside <af:query comonent specified StyleClass="CustomQueryPanel" />
still i didn't get the desired ouput i.e., left alignment of the labels
please suggest me some solution

Similar Messages

  • Af query - labels not showing in viewController

    Hi
    Can anybody think why labels set on the hints tab for bind variables used in a view criteria is not picking up in the ViewController? The view criteria is dropped onto the a jsff page as a af query?
    When I apply the view criteria in to module – the labels are picked up correctly (meaning the bind variables picks up the label linked to it).
    When I run the .jsff page the panel query labels (the bind variables in the view criteria) displays wrong and they are not picking up.
    I cannot see that any libraries or resource bundles are missing from the ViewController project.
    Thanks

    Hi,
    I've not seen the problem myself, but it seems that the language has not created the correct lookups in the WF_RESOURCES table.
    If you look for a name of (for example) 'OPEN_NOTIFICATIONS', there should be an entry for the language you are using (US) which translates the prompt for you. If it's not there then you will probably need to add a language through the installer - I don't think there is a SQL file that you can just run to do it. Alternatively, install it in a new environment and then just extract the resources you need from that system and insert them into this one.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://thoughts.workflowfaq.com ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Pie - Chart Web Part - Label Alignment empty

    Hello all,
    I create lots of Dashboards to display KPIs for my company and I always struggle with the pie chart labels as the always end up overlapping unless I rotate them but that just looks naff.
    My frustration and question is that the "Label Alignment" option is empty and therefore does not allow me to select "Open" which is the feature I seek.
    Does anyone have an idea why this might be and if there is a work around?
    Thank you in advance
    Jessica

    You would potentially run into this with lookup fields as well, I believe. I would make a column that is single line of text for the purpose of the chart. That would make sure the NUM;# is removed.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Category Axis Label Alignment

    I want to know if we can modify or adjust the alignment of the Category Axis labels (for the x-axis).
    My situation is as follows: I have a column chart on which I want my Category axis labels (for each column). I have put them in an angle to help reading them. They are currently "centered" wrt their respective columns. It makes it hard to associate the label to the appropriate column because the end of the label aligns with the center for the next column.
    Can I either move the Category Axis Label text box? or change the alignment per se? In Excel for example, the text would be aligned such that the end of the text matches the center of its column.
    Thanks

    celine_l wrote:
    Can I either move the Category Axis Label text box? or change the alignment per se? In Excel for example, the text would be aligned such that the end of the text matches the center of its column.
    No. This appears to be a design error in Numbers, and worthy of a Feature Enhancement request.
    Go to the Numbers menu, choose Provide numbers Feedback, and request that this behaviour be changes to have the ends of the rotated category labels centered on the column they label. Then cross your fingers and hope for a change in a futre version.
    Regards,
    Barry

  • Label alignment in panelHeader

    I am using the following code in my jsff page:
    <af:panelFormLayout id="pfl1">
    <af:panelHeader text="Details" id="panelHeader7" size="1" contentStyle="padding:5px;">
    < input text with short label >
    < input text with long label >
    </af:panelHeader>
    </af:panelFormLayout>
    With the above code, I am getting the following output:
    ShortLabel <input text box>
    Long...........Label <input text box>
    But, the above should be displayed as follows so that the two text boxes are aligned:
    ShortLabel <input text box>
    Long............Label <input text box>
    Any pointers will be helpful.

    Hi,
    Keep the panel header component outside and panel form layout inside then you will get the labels aligned properly. The advantage of panel form layout is you can decide the label and field widths as per your need. Also it gives a provison to set number of rows and columns to display in panelFormLayout.
    try below code and see
    <af:panelHeader text="Details" id="panelHeader7" size="1" contentStyle="padding:5px;">
    <af:panelFormLayout id="pfl1">
    < input text with short label >
    < input text with long label >
    </af:panelFormLayout>
    </af:panelHeader>
    Regards,
    Ravi Nuka

  • Default Query Template - Graph axis label alignment

    We have BW3.1 and are using a modified Default Query Template. I am trying to set the alignment of the labels on the x-axis to diagonal (bottom-left to top-right) and although the preview shows the correct alignment, when used in conjunction with a query it defaults to vertical.
    It works fine if I develop a specific web template for a query, but not for adhoc queries.
    Any suggestions?

    I'm guessing this happens at 30 degrees as well: Bug 10199188 : CHARTS X AXIS LABEL IS BLURRED AT 45/60 ANGLE
    This bug was apparently fixed in the 11.1.1.6.6 Patch Set. Oracle Support does not have a workaround for this either.
    Please award points if helpful/correct.

  • SimpleCheckBox plug-in ; Label Alignment and Size

    Hello,
    i am using the Simple checkBox Plug-in from Plugins Repository. I am having the situation that i need to Display the Label of the checkbox in one line, after the check box symbol.
    Up to now, i have managed to display the label, but it have leading space which i do not need and after the label, i am trying to put a Select List control, which i can't display just after it.
    Here is a picture of what i have achieved up to now: http://imagebin.org/254101
    Here are my settings for the 1st item: http://imagebin.org/254103
    Here are my settings for the 2nd item: http://imagebin.org/254104
    The template for Page is:      One Level Tabs - No Sidebar and the template of region is : Form Region / Above Content. The Regions are in Position: Page Template Body (3).
    I am using APEX 4.2.1.00.08 and Oracle EE Database 11.2.0.0.3 under Windows 7 64 bit Pro.
    TIA,
    Dionisis

    I tried to create an example as you proposed: https://apex.oracle.com/pls/apex/f?p=2702:2:109042532319653:::::
    I made it public, it seems to demonstrate what i am trying to achieve (just place the checkbox item and select list side by side, without spaces).
    I added these credentials for anyone who might want to try to solve the issue on the example:
    WORKSPACE: DEMO1971
    USER: demo
    PASSWORD:demo
    Dionisis
    Edited by: Dionyssis on Apr 16, 2013 5:34 AM

  • Query regarding alignment of data in Application server

    My requirement is to download data to the application server. To get an aligned output, i need to give offset position manually for each input.
    For example :
          lw_outtab+0(15) = in_itab-matnr.
          lw_outtab+25(10) = in_itab-vkorg.
              append lw_outtab to i_outtab.
            Instead of manualy giving the offset position  
    Is there is any function module to get an aligned output in the Application server directly.
    And also i would like to know if color formating is possible for the downloaded data.
    ...Waiting for ur suggestions.
    Regards,
    Dhana...

    Hi Dhanachezhiyan,
    In order to get alligned data in an outputfile to application server you could do something like this:
    Define your own types (of course you can add as much fields you need)
    TYPES: BEGIN OF ty_in_itab,
             matnr(15) TYPE c,
             buf01(10) TYPE c,
             vkorg(10) TYPE c,
             buf01(10) TYPE c,
           END   OF ty_in_itab,
    Make sure that the length here is equal to length of ty_in_itab
           ty_outtab(100) TYPE c.
    Define your own tables/workarea's
    DATA:  in_itab   TYPE ty_in_itab OCCURS 0 WITH HEADER LINE,
           in_outtab TYPE ty_outtab  OCCURS,
           lw_outtab TYPE ty_outtab.
    Logic to fill in_itab.
        MOVE CORRESPONDING VBAK TO in_itab.
        APPEND in_itab.
    After this filling logic do your trick
      LOOP AT in_itab.
        lw_outtab = in_itab.
        APPEND lw_outtab TO in_outtab.
      ENDLOOP.
    And afterwards download it
    Hope this sample will help you along.
    Regards,
    Rob.

  • Query to align data together

    Hello All
    I have 3 tables say A, B, C
    Each contain a column called ID
    The number of rows in each table can vary.
    I want the output to be like this, so that it aligns the same ids from the 3 tables
    in the same row.
    Wherever the Id is not present in the table it should be replaced by X
    A.ID B.ID C.ID
    1 1 X
    2 X 2
    3 3 X
    4 4 X
    5 X 5
    6 6 6
    X 7 X
    X 8 X
    X X 9
    Thanks
    Acchu

    Solution 1
    Outer joining combined with union
    select nvl(to_char(a_id), 'X') aId
         , nvl(to_char(b_id), 'X') bId
         , nvl(to_char(c_id), 'X') cId
      from (select a.id a_id
                 , b.id b_id
                 , c.id c_id
              from table_a a
                 , table_b b
                 , table_c c
             where b.id = a.id(+)
               and b.id = c.id(+)
            union
            select a.id
                 , b.id
                 , c.id
              from table_a a
                 , table_b b
                 , table_c c
             where a.id = b.id(+)
               and a.id = c.id(+)
            union
            select a.id
                 , b.id
                 , c.id
              from table_a a
                 , table_b b
                 , table_c c
             where c.id = b.id(+)
               and c.id = a.id(+))
    order by nvl(b_id, nvl(a_id, c_id))Solution 2
    A quick and dirty solution which will work as long as
    1) the id's of table_a, table_b and table_c are integers
    2) the highest id is lower than the number of rows in the user_objects table
    select nvl(to_char(a.id), 'X') a_id
         , nvl(to_char(b.id), 'X') b_id
         , nvl(to_char(c.id), 'X') c_id
      from table_a a
         , table_b b
         , table_c c
         , (select rownum fake_id
              from user_objects) obj
    where obj.fake_id = a.id(+)
       and obj.fake_id = b.id(+)
       and obj.fake_id = c.id(+)
       and (a.id is not null
            or
            b.id is not null
            or
            c.id is not null)

  • Label Alignment

    I am using a HP Laserjet P1102 printer with Windows 7.
    When I try to print labels from an A4 Avery template they do not line up.
    All printer settings are set to A4 and I have deleted  and reinstalled the driver software and applied the driver patch and firmware update from the HP web site.
    The results are the same on labels and plain paper.
    It looks as if it is printing letter size despite all setting being A4 except the setting - 'available paper' which is 'letter' and cannot be changed.
    Any Help Appreciated

    Any Help out there?

  • Label alignment in LabVIEW

    Here is a difficult one I hope, because I couldn't solve it in about 40 min: When changing the fontsize of a label in application font of a LabVIEW indicator, with 'Size to Text' turned on, the anchorpoint of the label defaults to the RIGHT top corner. For unknown reasons, this anchor point for some of my indicators has spontaneously changed to the LEFT top corner. This can spoil the layout of the screen on end-user PCs where the application font is unknown (with the anchor point on the left for instance and a larger application font size as on the developer's PC, the label overlays the indicator itself).
    Can you please help with this and tell me how I can influence the position of the anchor point position of labels or captions?
    Attachments:
    LabelAnchor.vi ‏12 KB

    I have opened your example and changed the font size of label 2, back and forth between 14 and 18. The label expanded to the left and did not overlap with the numerical indicator. When contracting, it contracted from the left. The anchor point stayed at the right as it should. I am using LV7. I can't explain why it would behave differently on your computer. I moved the label to the right of the numeric indicator and the anchor point was set to the left, as it should be. Moved label back to the left and the anchor point was reset to the right. Can't recreate your problem here, sorry.
    - tbob
    Inventor of the WORM Global

  • Aligning a button's label

    Hi,
    I'm struggling around with getting a button's label aligned
    to the left or right side. What I did was dropping a button
    component to the stage, removed it and added the following script
    on the timeline:
    import fl.controls.Button;
    var myButton:Button = new Button();
    myButton.label = "Hello World!";
    myButton.setSize( 300, 50 );
    myButton.setStyle( "textAlign", "left" );
    addChild( myButton );
    Whatever I tried, the label is always centered (also with
    TextFormat, TextFormatAlign etc, etc.)
    I'm just using Flash CS3 IDE, so no Flex. I saw it working
    somewhere on the net scripted with MXML.
    So my question is: Is this doable without the use of Flex and
    are there some limitations regarding Flash CS3 components?

    Check out this example page for Tutorials:
    http://www.adobe.com/devnet/flash/quickstart/button_component_as3/#section7
    You might have to fake it if you wish to use the Pre-Built
    Button Component by putting in space characters as in " Hello
    World!" or a transparent element to offset the text like a graphic
    or alpha 0 shape. The component is set to scale-9 and auto-center.
    - Also might try to alter the autoSize = TextFieldAutoSize.CENTER
    to LEFT to see if resets the starting x position of the component's
    text-field.

  • Text box margins auto-aligning

    When I create a new text box in a form the margin of the label is being forced to align with the label above.  Some of my labels are longer and some shorter, so I would like to be able to change these independently of one another.  When I put multiple text boxes with labels on the same line/row I am able to change the margins of the 2nd and 3rd label, but still not the 1st.  What am I doing wrong?

    Hi;
    You are not doing anything wrong, this is how it works.  All of the fields that are both A) at the beginning of a row and B) have labels aligned Left or Right share the same "caption reserve" (term we use for this common label width).  This is how it was designed and how it remains for now, we do know it is not ideal and is a little confusing, I am going to write up an FAQ on it, and it is on our list of potential feature enhancements.
    Thanks,
    Josh

  • Check box label on Top

    In flex 4 whats the property to put the check box label
    above the check box

    I don't think this is possible given that the help text for Label alignment says
    Labels can be displayed above, below or to the left of the item
    "right" is conspicuously absent
    Wonder why?

  • Query Builder Form

    Hi all,
    I built a simple query builder form:
    <cfif IsDefined('form.query')>
    <cfquery name="queryDemo" datasource="TestProduction">
    #form.goQuery#
    </cfquery>
    </cfif>
    FORM
    <ul>
    <cfform name="QueryForm" action="" method="post">
    <li><label>Type Query</label></li>
    <li><cftextarea name="goQuery" cols="100" rows="6"></cftextarea></li>
    <li><cfinput name="query" type="submit" value="Run Query"/></li>
    </cfform>
    </ul>
    <cfif IsDefined('form.query') and queryDemo.recordCount gt 0>
    <cfform action="" name="resultsForm">
    <cfgrid query="queryDemo" griddataalign="center" name="QueryResults" width="700" autowidth="yes" height="700">
    </cfgrid>
    </cfform>
    </cfif>
    When I run a "where" clause such as where type = 'LCR', I get an error. Has anyone tried this before? Please provide insight.
    Thanks.

    Error Code:
    Error Executing Database Query.
    [Macromedia][SQLServer JDBC Driver][SQLServer]Incorrect syntax near 'LCR'.
    The error occurred in C:\inetpub\wwwroot\cfAttica\betaFiles\queryDemo.cfm: line 3
    1 : <cfif IsDefined('form.query')>
    2 : <cfquery name="queryDemo" datasource="TestProduction">
    3 : #form.goQuery#
    4 : </cfquery>
    5 : </cfif>
    VENDORERRORCODE
      102
    SQLSTATE
      HY000
    SQL
      select item from tlkp_item where type = ''LCR''
    DATASOURCE
      TestProduction
    Resources:

Maybe you are looking for

  • Connection to CQ5 via CMIS

    Hello, we are trying to connect a SOLR Search Server via CMIS to CQ5. We followed the instructions on the page http://dev.day.com/docs/en/crx/current/deploying/cmis.html with no success. We tried on a standalone CRX installation and that worked. But

  • Tsql stored procedure - passing multiple variables

    Hi, I have a dropdown field on a form that allows for multiple selects. When I process the form, I currently use CF to dynamically generate the sql WHERE clause creating as many AND statements as needed. I'm migrating to MS SQL 2005 and Stored Proced

  • Resolution is only 720 p

    I just yesterday had FIOS installed.  I subscribe to Prime HD, but the resolution is only 720 p.  How do I get it to show the resolution of 1080i?  Do I have to get a technician to change it?  Please tell me how and who I should contact.

  • Set default address when card contains several

    If someone in your address book has multiple email addresses, how do you set which address is the primary one to which email is sent? (Or does it go to all addresses?)

  • Changing registered card details

    I heard if I change my credit card details from a Uk account to an Aus account I may lose all songs and apps downloaded with Uk card, is this true?