Right alignment with in navigation panel.....

Hi, I am new to JSF. I am using this tag, i want the text to be right aligned with in this navigation panel.
But, it is not working. Please guide me to align the text on right hand side.
I am using JSF 1.2 version and Tomcat 6.0
<t:panelNavigation2 align="right">Please help me.
Regards,
ash

Use CSS along with the styleClass and/or style attributes.

Similar Messages

  • Right alignment with SpringLayout

    I've just started playing with SpringLayout. I've been using mostly BoxLayout up to now but I thought it was time I gave an alternative a go. BoxLayout has it's own erratic sizing problems.
    Anyway I'm trying to generate a sub panel like:
    Title (centered)
    Quantity1 888
    Quantity2 99
    <Table> <PieChart>
    With the numbers against the RHS of the box
    First thing I've found is that putting a zero length Spring between the NORTH of the lable and the value doesn't work, I have to set both relative to the previous line or (mysteriously) no vertical separation happens at all.
    Here's the code that adds a lable/value pair:
        private static Component addPair(Component prev, String label, JLabel value) {
            Container c = prev.getParent();
            SpringLayout l = (SpringLayout)c.getLayout();
            JLabel nameLab  = new JLabel(label);
            c.add(nameLab);
            c.add(value);
            l.getConstraints(nameLab).setHeight(Spring.constant(12));
            l.putConstraint(SpringLayout.NORTH, nameLab, 2, SpringLayout.SOUTH, prev);
            l.putConstraint(SpringLayout.WEST, nameLab, 10, SpringLayout.WEST, c);
            l.putConstraint(SpringLayout.EAST, c, 10, SpringLayout.EAST, value);
            l.putConstraint(SpringLayout.NORTH, value, 2, SpringLayout.SOUTH, prev);
         //   l.putConstraint(SpringLayout.SOUTH, nameLab, 0, SpringLayout.SOUTH, value);
            l.putConstraint(SpringLayout.WEST, value, Spring.constant(10, 10, 500),
                    SpringLayout.EAST, nameLab);
            return nameLab;
        }prev being the label from the previous pair.
    It refuses to right align the value lable. It looks like the constraint between the EAST of the value and the EAST of the container has no effect. I've also set the alignment in the JLabels to RIGHT, which has no effect.
    If I take out the constraint between the WEST of the value and the EAST of the lable It plonks the lable and value on top of one another.
    Furthermore, though the hieght of the pie chart is set explictly by a constraint, the LayoutManager seems incapable of producing a sensible minimum height for the overall box.
    All of which makes me wonder if SpringLayout is worth persevering with or if there are just tricks and gaps I have to learn to deal with.

    I think I've cracked it. Some things they don't tell you about SpringLayout, which I found out mostly by reading the source.
    putConstraint is not symetrical. Logically
    putConstraint(SpringLayout.WEST, container, 10, SpringLayout.WEST,
    valueLab);might be expected to imply:
    putConstraint(SpringLayout.WEST, valueLab, -10,  SpringLayout.WEST,
    container);But it doesn't. Only the first object in the call is actually constrained.
    Secondly the "overconstraint" thing is very arbitary. Setting the NORTH or WEST clears the EAST or SOUTH wherease setting the EAST or SOUTH clears the height or width. Hence if you set, for example, EAST and WEST then it's essential to set EAST first, otherwise WEST will be ignored and the WEST will be set from EAST - width. There seems to be no way of clearing a constraint once set, and constraints are intialised from the objects bounds, so NORTH and WEST are always set to zero initially. If seems like the contraints are almost always going to be treated as overconstrained.
    Parallel constraints don't get combined, the last one specified predominates so there doesn't seem any sensible way of, for example, setting the width of a container based on the maximum of the widths of fields contained.
    There seems to be no use of the springiness of Spring objects. They are merely treated as min, pref and max values. Logically stretchiness should be used to distribute space, and to cope with springs in parallel. It doesn't appear any of that stuff is done.

  • WebUI with minimized navigation panel

    Hi all,
    Could you please share any ideas regarding the starting webui with the navigation bar in closed/minimized state?
    We were searching through settings in Navigation Bar profile but not succeeded yet=(
    maybe there is a tag in url command line or it can be done via skin CSS  templates modification?
    thank you in advance,
    Vladimir

    1) Go to the Object Navigator (transaction SE80)
    2) Search for BSP application "CRMCMP_NAVBAR"
    3) Go to the views node "Picture"
    4) Edit page "Picture.html" adding string lv_navbar_state = 'HIDDEN'.
    5) Save page, purge browser cash and restart WebUI
    Credits goes to Nicolas Busson answer:
    Start WebUI with collapsed navigation bar using URL parameter

  • Right align with left leading zeores

    Hi,
    I have a material no in sap and i have download this in text file
    My requirement is I need to align material no in right, with left leading zeores
    What is the syntax for this

    Hello
    Syntax for this:
    Read RULES: <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="927634"></a>

  • Hide Navigation Panel by default?

    Hi everyone,
    Is there a way in Reader 10 to hide the Navigation Panel, that thing on the left side of a document, by default? I know once opened, I can right-click and "hide navigation panel" but I can't seem to find anything in preferences to do this by default as it's quite annoying. Seems to open in EVERY pdf incl. ones I create, so it can't just be set that way by author. I don't recall this behavior always happening in previous versions but then again, my memory may be faulty.
    Thanks.

    Yes, u can do this in following ways.
    Suppose u have a role which has access to open MII portal page, u should modify the theme assigned to that role. In that theme (the theme will be DynamicHomePage.xsl by default) there u will find one option to set 1 or 0 to show or hide the Navigation Tree respectively. Change that accordingly and save, finally assign this customized theme to that role. Now users with that role can view the whole application page in the portal without the navigation tree,
    Regards
    Som

  • Right Align Dropdown Menu

    I'm working on my mobile site and have a dropdown box on the right edge of the screen. I can't figure out how to get it so the dropdown boxes are right-aligned with the edge of the box. At the moment they are left aligned, which means the menu items disappear off the right edge of the screen. Am I missing something or is this not possible?

    Could you post your Screenshot and code.
    There is "browse" icon above POST REPLY button, it helps to add your image.

  • How to remove DTN /Navigation panel completely?

    Hi,
    We have a portal desktop with only TLN (1 level) and simple pages with iViews.
    When we removed DTN from the Innerpage we cannot navigate any more with TLN.
    If we hide the DTN, we still see the Navigation Panel and can close/open it.
    We want to remove the Navigation Panel completely, so the user sees only the page navigated to.
    We managed to visually remove it(by changing the theme, and changing the colors to match with the background), but it is still there.
    Any clues?????

    Hi,
    The navigation panel is displayed only if there is content to be presented in the DTN, otherwise it is collapsed.
    There is a very simple way to "hide" the navigation panel.
    *I think this will be a good soloution if you don't have a lot of content
    For every page/iview that is supposed to appear in the DTN(in your case - second level of navigation) do the following:
    - open the iview/page for editing.
    - in the property editor, change to the navigation 
       category.
    - change the property "Initial state of navigation
       panel" to "close"(default value is "automatic")
    *Now each time you'll navigate to this entry in the TLN, only the first node will be displayed with the navigation panel closed.
    Regards, Dalit

  • Navigation panel on BEx Web Analyzer

    Dear community!
    Is there a way to make the navigation of a report in BEx Web Analyzer in one step as you can do in BEx Analyzer with the navigation panel?
    Thanks for the help!!

    Imagine that you want to navigate throw a query.
    In Bex Analyzer you can move 3 characteristics to a row and 2 characteristis to the columns that were not in the initial navigational state of the query with just one shot with the navigational state in the query properties.
    In BEx Web Analyzer you have to move the elements one by one and wait for the system every time you drilldown an element.
    BEx Analyzer Exce is much faster, because you can do the drilldown with one shot and you don't have to wait the system to finish.
    Can you perform someting similar in the BEx Web Analyzer?

  • Right align page numbers that are to the left of TOC entries

    I posted a similar question about a year ago that I believe Harbs or Peter answered, but darned if I can find the thread. At that time they provided a script that did a GREP search, finding a sentence that starts with a digit and replacing it with a tab. I still have the script, but for some reason it is not working correctly with my new TOC layout.It should insert a tab to the left of the page number (page numbers are to the left of the TOC entries), and force the numbers to right align so that a single digit page number right aligns with the right edge of a double-digit page number.
    Find: ^(\d+)
    Change to: \t$1
    What happens in the new TOC is the script finds a digit and inserts a tab to the left of the page number. The page numbers move to the right, but they don't right align. They are further to the right, but they numbers themselves are still left aligned.
    I'm mystified as to why the script doesn't work on this new layout. I'm using CS4 now, and it still works on the old layout. There is nothing terribly different about the new layout except that the column is much narrower, and there are several threaded colums in the TOC instead of one long column, and the chapter titles don't have page numbers (but all other entries do have page numbers.)

    Peter,
    Thanks for your reply. Between the page number and the entry is an en-space.
    I started with these settings:
    I then changed the left aligned tab to a right aligned tab:
    But still no luck.

  • How to hide to left arrow  and to right arrow on Navigation panel

    Hi frineds:
       could you please tell me how to hide to left arrow  and to right arrow on Navigation
    panel ?
    I guess they should be  Incremental Expand Icon   Collapse  Icon in Ethem editor.
    thank you very much .
    Edited by: jingying Sony on Jun 22, 2010 9:07 AM

    Hi,
    Navigate to the Navigation panel of the selected Theme  and make the width as 0px 0px 0px and also upload the blank image with the same background color.
    Thanks & Regards||
    Ashok Kumar M.

  • How to right align a read only numeric field in a panel form layout

    Hi, does anyone know how to right align a read only numeric field in a panel form layout? I am using: Style Class = AFFieldNumberMarker, but it only seems to work if the field is disabled. Disabling the field gives it a difference appearance that does not look right on our forms. These are calculated fields, which cannot be modified, so read only is necessary.
    I have looked online for some answers, and it seems that others are having similar issues.
    I have tried different combinations for the properties, but so far I cannot get it to work.
    Thanks
    Judy
    I am using JDEV 11.1.1.5

    Sorry for the delay in my response. Here is the code
    <af:inputText value="#{bindings.TotalAirlineCostEst.inputValue}"
    label="#{bindings.TotalAirlineCostEst.hints.label}"
    required="#{bindings.TotalAirlineCostEst.hints.mandatory}"
    columns="#{bindings.TotalAirlineCostEst.hints.displayWidth}"
    maximumLength="#{bindings.TotalAirlineCostEst.hints.precision}"
    shortDesc="#{bindings.TotalAirlineCostEst.hints.tooltip}"
    id="it20" readOnly="false"
    disabled="true"
    styleClass="AFFieldNumberMarker">
    <f:validator binding="#{bindings.TotalAirlineCostEst.validator}"/>
    <af:convertNumber groupingUsed="true"
    pattern="#{bindings.TotalAirlineCostEst.format}"
    type="number"
    maxFractionDigits="0"/>
    </af:inputText>
    thank you,
    Judy

  • Issue with right aligning of Character Styles in my TOC

    Hello all!
    I'm working on my very first book project and I have been reading soooo many threads on here for the past hour, but i either just don't get it, or i didn't find what i needed still, so i already apologize in case this very question has been answered before ...
    ok, so ... i am building my TOC and have set up the corresponding TOC styles to the paragraph styles used throughout the book.
    what i want is for the page number to appear before the entry. so for the page number i have set up it's own TOC page number character style.
    NOW
    the page number appears left aligned. I have checked the character styles palette and there i can't set a tab for the page number to appear right aligned ...
    how do i get this page number to be right aligned? and THEN, how do i specify the distance between the page number and the entry? there is "tab character"mentioned on the TOC dialogue box to specify the distance between page number and entry, but then do i have to go in manually every time something changes? that can't be it? i have seen in the paragraphy styles palette there is a tab section ... tried to input the tabs so the number would appear right aligned and the distance to the entry, but nothing happened, then the number is stuck right on the entry once the TOC is generated ...
    does this make any sense?
    will attach a screenshot to try to clarify the issue ...
    hope you can help me out.
    thanks a lot in advance!
    cheers
    sta-cy

    sta-cy wrote:
    sorry to have bugged you.
    Seriously, if we didn't enjoy this stuff we wouln't be here. It's not like we even get T-shirts. :-P
    An awful lot of what I know and am able to pass on comes from having spent waaaaay to much time here reading about odd problems and trying to figure out ways to solve them. I'd never seen a requst like yours until the other day, but then up pops Joel with a similar story, and what do you know, this may not be such a strange thing to want at all. Hopefully your question, and the work we put into trying to find an answer, has not only helped you, but some other users who come along next week or next year.
    Everybody starts someplace and at some point in time. There's no shame in being a beginner, and less in asking for help when you need it, especially after you put in the effort you did on your own to try to find a solution. It's also true that some folks are more design oriented and others more process oriented, and that's just the way it is. This forum has many, many, followers who are expert in different areas of InDesign (even the engineers who write the program are not experts in all the various parts) and are here to share what they know as volunteers. You are always welcome here, especially when the question is as intersting as this one.

  • Problem with formatting text in textobjects with right aligned tabulators

    Post Author: Jens Kluesener
    CA Forum: General
    HiI want to print out some values in a line. So I put a Textobject in the Report with some right aligned tabulators (left aligned tabulators working fine). Then I insert a formula. In this formula i do this:"1"chr(9)"2"chr(9)"3"chr(9)"4"chr(9)"5"chr(9)"6"chr(9)"7"Look:            Many ThanksJens

    I think i found why.
    There was no problem with TextField.
    There was a problem with Array. "CityArea"
    So each time I executed script it added new string in Array. And that is because i got like:
    TextField
    City 1
    City 2
    City 1
    City 2
    Running this script is Ok:
    for (var i1:int = 0; i1 < CityArea.length; i1++)
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='32' COLOR='#ffffff'>        "+CityArea[i1]+"</FONT></P>";
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='5' COLOR='#ffffff'><BR></FONT></P>";
    But outside of this for loop there is another for loop for adding Cities in CityArray.
    I fixed it by adding empty array at the start of function
    function myFunc():void
    CityArea = [ ]; // Empty array fixed this issue
    // LOOP FOR ADDING SHOPS IN CITY AREA
    for (var j:int = 0; j < _Shops; j++)
    CityArea.push(_Shop);
    // FOR LOOP TO ADDING SHOPS IN STRING
    for (var i1:int = 0; i1 < CityArea.length; i1++)
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='32' COLOR='#ffffff'>        "+CityArea[i1]+"</FONT></P>";
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='5' COLOR='#ffffff'><BR></FONT></P>";
    Thank you for your help kglad

  • XML Import is left aligning my right alignment style with an override, how do I force it to left?

    I'm importing an XML file, using the Import XML menu item, using InDesign CS4.
    In the document I've got a table, with an XML structure in the structure tree, matching in the incoming file. Everything works fine, except that after the 4 "template rows" that I've set up Indesign adds new rows automatically, and for all InDesign auto added rows, InDesign is not using the right alignment that I've set up in the paragraph style applied to the first rows... The style is kept, but overridden by a flush left. (Why?)
    How do I deal with this? I need the right column to go on right aligning
    Best regards, Andreas

    Map tags to styles took care of the problem.

  • Column's Right Alignment goes out with CR in format Mask like NNN,NN0.00CR

    I am working in Reports 6i. For a numeric calculated column, I give format mask NNNN,NNN,NNN,NN0.00CR. Due to CR, right alignment of the column goes out. That is rows for which CR is NOT printer are also aligned at right. A blank space should be left at the end of every row when no CR is printer. In this way numeric data is right aligned and readability is not disturbed.
    Pl. help.
    Thanks in anticipation.

    I am working in Reports 6i. For a numeric calculated column, I give format mask NNNN,NNN,NNN,NN0.00CR. Due to CR, right alignment of the column goes out. That is rows for which CR is NOT printer are also aligned at right. A blank space should be left at the end of every row when no CR is printer. In this way numeric data is right aligned and readability is not disturbed.
    Pl. help.
    Thanks in anticipation.
    Muhammad,
    I tried this on 6.0.8.14.2 version of Reports 6i and it aligned properly (i.e., spaces where present for those values without CR). I originally had the Arial font which as you know is not a fixed font and in this case, the spacing was not exact. I switched to Courier and the output was much more readable for the numeric values, especially with the spacing.
    Regards,
    Jim Safcik
    Thanks Jim Safcik. I changed the font of that column to Courier and it resolved the problem. But I am using Times New Roman font which creates above alignment problem.
    It would be nice if we have an other solution which is NOT font dependent.
    However I appreciate your guidance and knowledge.
    Pl. guide.
    Thanks.

Maybe you are looking for

  • Deleting error messages from EOIO Queue Automatically at run time

    Hi Experts,                   I am sending data from proxy to database. In case of error message i want that mesage to be cancelled at the run time and the remaining messages in queue should be  processed, whether the error is in Integration engine o

  • Identify SAP Production Systems (from Business suite systems)

    Hello, We have these systems. DEV, QAS, TRN, CMS and PRD I received a message from SAP mentioning; According to our records, you currently have 5 SAP Business Suite systems. 2 of these are production systems pl, help me to identify what are the SAP B

  • TCode FLBPC1: Message "No BP could be created for vendor ....."

    Hello, We have the master data synchronization active for creation of BP from vendor/customer using TCodes FLBPC1 / FLBPD1. This was working fine too. Now all of a sudden from today when we are trying to use FLBPC1, the system gives a message "no bus

  • Lack info about Exception

    When exception occures in java stored proceudre error information is not very informative and it's not enought for problem detection. No information about error line number, no stack trace. If I want to make my own exception handler in java I cannot

  • Running applescript applications from Address Book - elegantly

    Hello, I have done quite a lot of scripting for my Address Book - using URL's I have defined groups, categories and loactions. I have written a number of useful apple scripts to help me manipulate my address book, and compiled these into applications