Remove 10 pixel gutter from between portlet columns

Hello.
We'd like to remove the 10px gutter from between the portlet columns. We've received advice about changing the UI code using UICI but we're concerned about upgrade-path stability. If any of that BEA base code changes, we're hosed.
Ideas? Is there a config setting somewhere?
TIA,
Nic Johnson

We Customized the source to do something similar to this.
Created a new Class:
public class PortalContentView : IView
Here is the explanation:
This code is a copy of MyPortalContentView. All the instances of MyPortalContentView was
/// replaced with PortalContentView and public const int N_NARROW_COL_WIDTH = 250; was changed to
/// public const int N_NARROW_COL_WIDTH = 160;
/// This had to be done in order to change the constant value. It was not possible to inherit
/// MyPortalContentView and override the Constant N_NARROW_COL_WIDTH
We customized Column Width. I think you are looking for this one though:
/// <summary>
          /// CUSTOMIZABLE - The width of the padding between portlet columns and between portlets.
          /// </summary>
          public const int N_PORTLET_PADDING = 10;
Also this is the only way that I am aware of doin this. Changing teh portlet layout by changing the values BEA has in the Stylesheet doen't work. It's a bug according to BEA.

Similar Messages

  • Need to remove the "customize" from a portlet

    Hi Everyone,
    Hoping someone can help with this...
    I would like to remove the "customize" link from the portlet header. There are no user servicable parts inside when the portlet appears, it has essentially all it needs to function properly.
    Can I make a PL/SQL call before the page is rendered to disable this?
    Is there an example somewhere I have not yet found?

    I'm sorry most of these options won't help.
    1) Header will disappear altogether, Including title.
    2) The same problem
    3) If you don't give Edit privileges to a folder you still will be able to customize the portlet.
    4) Can work, but it is very time consuming to create a portlet with the same functionality as the folder portlet. I heard that this will be solved anyway in future releases.
    Another option is giving the header (customize) text the same color as the background (using page style). But this option also has disadvantages.
    a. You will still be able to click on customize (although you cannot see the text)
    b. In some browser you still see the underline.
    Regards,
    Bram
    null

  • Is it possible to remove XMLSchema restriction from an XMLType column?

    I have an XMLType column that is validated via some XMLSchema. Now I want to remove this restriction and make it just a generic XMLType column.
    I tried bunch of alter table commands but I couldn't figure out the magic combination.
    Is this possible?
    Here is the actual problem. Unfortunately, we ended up both local and global schemas using the same URL. We have customers
    out there with both schemas (early customers) or only global schema (new customers). Most of the tables were created before the global schema
    was added. So, they are referencing the local schema. Now we want to evolve our schema, and I am trying to write a sql script to clean-up this mess.
    My plan is:
    if only global schema exists then (these are late customers)
    - do nothing
    else if both global and local schema exist then (these are early customers)
    - If any table or table.column has dependency on local schema (I can find this out from user_dependencies) I am going to mark those
    tables/columns as no schema validated. i.e. remove all references to local schema
    - delete and purge the local schema
    - modify those tables/columns and make them point to the global schema
    end if
    - evolve the schema (only global one is left)
    Is there a better way/plan? Is there a way to modify a column definition and move its reference from local schema to global schema where
    both schemas have the same URL?
    Of course the main constraint is that we do not want to loose customer data. By the way, both local and global schemas are identical in terms of xsd.
    I guess a more generic question would be, is it possible to change XMLSchema/Element settings of an XMLType column from X to Y, X to null, or null to X? (Of course the assumption is Y is a superset of X.)

    Couple of Questions ?
    Which verson of the database...
    Are you using the XML DB repository to provide path based access to the XML Content.
    In general
    1. You cannot break the associated between a table and it's schema..
    So if I understand waht you want to do you will have to do something different..
    Copy the data into a non schema based table (Either XMLType Store AS CLOB or XMLType store as SecureFile Binary XML).
    YOu probably want to invoke the createNonSchemaBasedXML() operator when inserting the XML non schema based table.
    Once all the data is copied, delete and purge the local schema, and all of it's types and tables.
    Create a new table based on the Global Schema.
    Copy the database back into the new table..
    I know two data copies are a PITA, but I can think of no other way of doing this. The Schema Based XML representation contains references that can only be decoded by using the XML Schema that was used to encode the references. This appies to both Schema Based Binary XML and Object Relational Storage.

  • How to remove Sorting options from Report's Column Headers.

    Hi All,
    When i try to run a Query in Enterprise Portal, I'm getting a " Sorting option" in each column. Thats not needed in a Report.
    Kindly suggest me How to remove that Sorting options from Each colum header.
    Thanks in Advance.
    Regards,
    Jayaprakash Jayachandran.

    hi,
    U can uncheck the sorting option in Navigation Pane,which will remove all sorting options.
    Regards,
    aanand

  • Using REGEXP_REPLACE to remove XML data from between XML tags

    Hello there,
    I am trying to use the REGEXP_REPLACE SQL function on a piece of XML, to remove the actual XML data from the elements. My end goal is to end up with a comma-delimited list of XML element names. As part of the first step, I just want to rip out all the actual data.
    I tested the following query, and it initially appeared to work:
    SELECT REGEXP_REPLACE('&gt;THIS IS A TEST&lt;',
                          '&gt;([[:alnum:]]\s|\S)*&lt;',
                          '&gt;&lt;' ) AS test_result
      FROM dual;Unfortunately, when I applied this to a full XML string, it didn't work. Here is the test query I used:
    SELECT REGEXP_REPLACE('&lt;ROW&gt;&lt;TEST_ELEMENT1&gt;123&lt;/TEST_ELEMENT1&gt;&lt;TEST_ELEMENT2&gt;THIS IS A TEST!&lt;/TEST_ELEMENT2&gt;&lt;/ROW&gt;',
                          '&gt;([[:alnum:]]\s|\S)*&lt;',
                          '&gt;&lt;') AS test_result
      FROM dual;I ended up with the following output:
    *&lt;ROW&gt;&lt;/ROW&gt;*
    What I was trying for was:
    *&lt;ROW&gt;&lt;TEST_ELEMENT1&gt;&lt;/TEST_ELEMENT1&gt;&lt;TEST_ELEMENT2&gt;&lt;/TEST_ELEMENT2&gt;&lt;/ROW&gt;*
    If you're reading this and you're a Posix RegExp Guru, please could you let me know exactly where I'm going wrong? RegExps are not my strong point, but I'd like to get better at them.

    jmcnaug2 wrote:
    Just out of interest, how would you go about writing the XQuery function so that it returns the actual XML Element values in comma-delimited form (This is Oracle Canonical XML, so has a very basic layout)? ;)Do you mean like this ?
    SQL> SELECT xmlquery(
      2    'for $i in $d/ROWSET/ROW
      3     return string-join($i/*, ",")'
      4    passing dbms_xmlgen.getXMLType('SELECT employee_id, last_name, first_name FROM employees WHERE rownum < 10') as "d"
      5    returning content
      6  ).getClobVal() as csv
      7  FROM dual;
    CSV
    100,King,Steven
    101,Kochhar,Neena
    102,De Haan,Lex
    103,Hunold,Alexander
    104,Ernst,Bruce
    105,Austin,David
    106,Pataballa,Valli
    107,Lorentz,Diana
    108,Greenberg,Nancy
    SQL>

  • How to remove time zone from date time column?

    Hello all,
    I have one birthday calendar list where I am showing birthdays of employees in acompany.
    Now when I display Date in a page I am getting the below output:
    Fri Sep 19 2014 00:00:00 GMT-0700 (Pacific Standard Time)
    Here I just want the below thing as an output:
    Fri Sep 19 2014
    the other things like 00:00:00 GMT-0700 (Pacific Standard Time)
    How should I achieve it?
    Thanks in Advance.

    Hi
    you should use XSLT datetime formatting
    http://amavs.wordpress.com/tag/formatdatetime/
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • Why can I not remove extra spaces from Mail when composing?

    I am using Mail Version 8.1 and I cannot find a way to remove extra spaces from between my lines while composing. Every Enter makes the cursor go down two lines and there is no way to type in the space in between. There seems to be now way to see the html or any tags that can be causing this, and I cannot seem to find any setting to change the line spacing either. Does anyone know where to find any of these options so I can simply make the text single space?

    Open a message-editing window. Under the Edit menu, deselect all the options in the Spelling and Substitutions sub-menus. Test.

  • How to remove html tags from a column

    Hi
    Problem is this: I get a column with a comma separated list of id's and I can successfully parse these id's and use them elsewhere. BUT, occasionally there are html tags within that id list like this:
    1082471,1237423<br xmlns="http://www.w3.org/1999/xhtml" />
    Is there a way to just automatically remove all tags from a column? Could do this with regex, but since there is no support, I don't know what to do.

    Hi,
    If the HTML can be detected by a starting symbol like „<“, then you could use the following:
    Unfortuntely the operation “ReplaceRange” is only available on a Text-level, so you have to invoke a function (at least to my knowledge). You also need an Index-column in your table, so if you don’t have it, you need to create one as well.
    This is your function:
    let
       fnRemoveHTML = (Value, Index) =>
    let
       Source = Excel.CurrentWorkbook(){[Name="Tabelle1"]}[Content],
       IndeNo = Index,
       Value_ = Source{IndeNo-1}[Value],
       length = Text.Length(Text.From(Value_)),
       position = Text.PositionOf(Text.From(Value_), "<"),
       range = length-position,
       new= if Value_ is number then Value_ else Text.ReplaceRange(Value_, position, range, "")
    in
        new
    in
      fnRemoveHTML
    And this is how you invoke it:
    let
        Quelle = Excel.CurrentWorkbook(){[Name="Tabelle1"]}[Content],
        Last = Table.AddColumn(Quelle, "Custom", each fn_RemoveHTML([Value], [Index])),
        ChangedType = Table.TransformColumnTypes(Last,{{"Custom", type number}})
    in
        ChangedType
    Provided your table is called “Tabelle1” & the column with your values to be replaced “Value” & your index-col “Index”
    Imke

  • Remove Leading zeros from column

    How can I remove leading zeros from a column?
    The data looks like *00-04-071*
    The output should display 4071

    user10876532 wrote:
    How can I remove leading zeros from a column?
    The data looks like *00-04-071*
    The output should display 4071try
    select to_number(replace('00-04-071','-','')) from dual

  • Removing customization link from portlet header.

    Hi,
    Could u suggest me out of the 2 ways to remove customization link from portlet header.I am using the default stock prices portlet in my page.
    Where and how should i change the provider.xml file.
    If not this how can I setShowEdit(False) which is one of the methods in MutablePortlet interface.How can i find this code related to Stock portlet.I mean where can we have access this code where the provider API's are used for some of the readymade portlets that oracle provides.
    I am using release 1 of oracle portal.
    Thanx
    Vipul

    Hi,
    I see two things that you could try :
    first try to set the security level at the portlet level, then allow users to display your portlet, not to customize it. I know it's possible with tabs, maybe it can apply to you.
    Else you also can modify the package of your portlet (or the provider.xml file if it's not the package). You should read the pl/sql code and find the variable concerning the customization link in the rendering part. It may be set to 'tru', just set it to 'false' and recompile.
    I've done it when installing some portlets and it works : that way I could translate the portlet in franch, remove the help link, remove the detail link, and so on...
    Hope this helps,
    Gael.

  • How to remove all values from column

    Hi all
    I have one table and in that i have one column which contain some null value.now i want add a not null constraint on that column but it already contain null values.
    how shuld i delete that column value only or how should i proceed now please help me

    What do you mean by REMOVE?
    All values for that column are null or not? if not, then can those value removable?
    NULL means no value, how can you remove non-existing value?
    Update the null column to default value is one way.
    the other is to drop the column and add it again together with your not -null constraint.
    But I definitely wouldn`t recommend this approach in your case since some of your records have values for that column.

  • Assigning Different Style Classes to Portlet Columns

    Is it possible to use the CSS mill to create a style sheet that assigns certain properties to particular columns in the portal body? For example if I wanted the third column in my page layout to tell portlets to turn their borders off and have a gray background while keeping the borders and white background for the other columns.
    I was also told that narrow portlets and wide portlets reference different style classes but I don't see them from viewing the source from my browser. I see platportletNarrowHeader and platportletWideHeader which is for the Portlet Title Bars but not the body. If I wanted all narrow columns to reference a different style class than wide, how could I go about that?

    Allow me to clarify how this works.
    It isn't so much of a difference between narrow portlets and wide portlets, it is a difference between portlets in the narrow columns and portlets in the wide column. (Narrow portlets can be placed in the wide column.)
    Portlets in the wide column reference the styles platportletHeaderBg, platportletWideHeader, and platportletBorder.
    Portlets in the narrow column reference the styles platportletHeaderBg, platportletNarrowHeader, platportletBorder, and platportletLightBg.
    As you can see there are some styles that the two have in common. platportletHeaderBg controls the table row that contains a portlet header. platportletBorder controls the table that contains the portlet content.
    For portlets in the narrow column platportletNarrowHeader controls the text inside the portlet header (the portlet's name). platportletLightBg controls the table row that contains the portlet content.
    For portlets in the wide column platportletWideHeader controls the text inside the portlet header (the portlet's name). There is no style that controls the table row that contains the portlet content for portlets in the wide column. Instead it uses the color of the body of the page.
    So changing the common styles will affect all columns, while changing the narrow column or wide column specific styles will affect those columns. So you can't just change the style for a third column.
    If you want to go beyond those limitations it would involve making a code change in MyPortalContentView.

  • Remove a row from multiple tables

    Hello,
    I have a form that has what appears to be one table.  Since I needed 30 columns (29 of them are single character fields) I had to use 2 table objects.  Then I needed the ability to add and remove rows.  Adding a row at the end is easy enough.  Deleting a specific row is the problem.  At the moment, I added a third table which has a header row and a item body row.  the body row is a button with the intention of removing that entire row from the large table.  This means it needs to remove the row from all 3 tables.
    My structure is:
    form1
    (Some other flowed subform that doesn't matter for us)
    SubformPersonnel (a flowed subform)
    SubformHeader (a positioned subform)
    TextOverallHeader (text to label the oeverall 3 tables)
    ButtonAddRow (adds a row to the end of all 3 tables)
    SubformPersonnelTable (a positioned subform)
    ContractorTableRemove (a table with 1 column for the Remove button)
    HeaderRow (A hidden row to align the table with the other 2)
    Item (A row with the Remove button)CellRemoveButton (the cell with the remove button and associated JavaScript)
    ContractorTableLeft (a table with the left 15 printed columns)
    HeaderRow
    Contractor (A row of data to be removed when CellButton above is clicked)
    ContractorTableRight (a table with the right 15 printed columns)
    HeaderRow
    Contractor (A row of data to be removed when CellButton above is clicked)
    (Some other flowed subforms that I am not worried about at the moment)
    The 3 tables are aligned so the headers all line up, with no spaces between them.  The body rows then line up and this looks like one large table.  From left to right, they are:
    ContractorTableRemove, ContractorTableLeft, ContractorTableRight
    So Item and Contractor rows are added when ButtonAddRow is clicked in the overall header.  The intial count is set to 8 for each table, so I get 8 rows at startup. The minimum count is set to 1 for each.  I know that each row of each table has the same index number because I filled those into a cell in each table durig the cell's initialize.  This line, in the CellRemoveButton's click event deletes that cell's row in that table:
    this.parent.parent._Item.removeInstance(this.parent.index);
    I have tried all sorts of ways to delete the same row (using same index #) in the other 2 tables: ContractorTableLeft and ContractorTableRight, but don't seem to be getting the correct syntax correct.  I have tried hard coding the references, using .parent as shown below, and also tried using an index of 1 just to try deleting a row with no results.
         this.parent.parent.parent.ContractorTableLeft._Contractor.removeInstance(this.parent.inde x);
    Can someone get me the correct syntax here?
    I have seen examples of putting a hidden delete button on each table and clicking that, but I am concerned that it will get in the way of the tables on either side of the table it is in.  I reeally want to just reference the row and remove it so I can avoid any problems these additional delete problems may cause.
    I have copied the form to https://acrobat.com/#d=7M8R50rEHf4AaVXppwyKLw

    Thank you, Niall.  Much appreciated!
    The Delete button was more to make sure one could delete these outside a button in the actual row and I see I had the index wrong such that I was deleting the second row and not the first.  I had toyed with using this as a hidden button if I could pass the index to the event's function.
    I had not thought of adding the reference to each row as a variable.  It seems to work very well.
    For future reference to others, here is the code from the cellRemoveButton click event:
         // Declare some variables
         var i = this.parent.index;
         var oContractorLeft = ContractorTableLeft.Contractor;
         var oContractorRight = ContractorTableRight.Contractor;
         // Remove this row by accessing its index within the set of 'Item' row instances of the parent table
         _Item.removeInstance(i);
          // Since this table is actually 3 tables, we need to remove the other two table's instances as well.
         // Their index should be the same, so we just need to get their names correct.
         oContractorLeft.instanceManager.removeInstance(i);
         oContractorRight.instanceManager.removeInstance(i);
          // removing the row doesn't trigger calculations in tables in the form's current target (fixed in later versions of Acrobat)
         // force calculations to fire so the ItemIndex field's value is updated according to the remaining row's indexes
         // see http://forms.stefcameron.com/2006/05/20/add-recalculate/
         xfa.form.recalculate(1);
    Again, thank you!
    Karl

  • Remove K-Tel from search results?

    I'm doubtful, but wondering if there's a way to remove K-Tel from search results, or add a column showing record label so they can be easily ignored?

    Robert -
    Is your custom search doing an auto-query? If yes, check the Results Display tab in the portlet defaults and ensure there is no <Blank Line> in the Displayed Attributes section.
    If you are not doing an auto-query, check the properties on the Search Results pages in the Portal Design Time Pages Page Group.
    Regards,
    Candace

  • How can we remove the key from the dataset which has json

    uid
    id
    Json
    4588
    51
    { "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
    4589
    52
    { "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
    4590
    53
    { "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
    I have the above dataset resulting from merge operation .
    UID -Integer data type
    ID- Integer data type
    Json- String data type holding json document
    How can I remove  the " key" element from the json field  and make my dataset look like 
    Expected output which will strip of key value pair from the json column
    uid
    id
    Json
    4588
    51
    { "element1":{ "a":10 "b": "test1" } }
    4589
    52
    { "element1":{ "a":10 "b": "test1" } }
    4590
    53
    { "element1":{ "a":10 "b": "test1" } }
    Mudassar

    Hello Mudassar,
    In SQL Server / T-SQL we don't have a native JSON support, so you would have to implement a solution on your own = parsing the string and remove the "Key" + it's value.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

Maybe you are looking for

  • My new ssd doesn't show up in Disk Utility please help

    Hi all, I had a HDD failure in my mbp (2012). It completly crashed. I was able to make a copy of some files through Disk Utility. (Note: at this point i could only enter disk utility after start up not in the actual OS) So i bought a Kingston ssdNow

  • Web Dynpro navigation

    Hi all, I would like read my content view into the method "onactionlink" linked to my outbound plug and pass it into a variable like this: data: lo_view     type ref to if_wd_view. Is there anyone that can suggest me the code to use please? Thanks GN

  • Stutter on song switch or pause

    Hi everyone, I have a sort of unique problem. When I play a song everything works fine, but when I switch songs or pause, iTunes will pause, do a little hiccup and play a split second of the old song before switching, almost as if it is lagging. If y

  • NO TR generated for Mtype 561 GR

    Dear Experts, I entered  a  Goods receipt in MB1C for Mtype 561.  My Storage Location is with WM  active. I could see a material document created. Also IM Stock are updated. As expected WM stock shows qty available in 998 Storage type.  Now How can I

  • What is the best way to make google earth style maps using Creative cloud

    I work in News.  I am trying to come up with the best way to create a google style map for our news stories.  I want to create a map that I can highlight certain counties and pinpoint certain spots on the map.  For example cities and landmarks.  So f