Add to textView texts a border like you are in edit mode

Hello Forum,
I am trying to put a border around the thtmlb:textView texts of form views.
It should look like the form view is in edit mode.
I tried in the thtmlb_stand.css:
/* <thtmlb:textView> tag                                              */
.th-tx-value {
    border-color:       #CCCCCC;
    color:              #FF8726;
But this does not work.
Does someone have an idea on how to change it in the CSS or in coding?
Thanks
Patrik

Hi Patrik,
Try with javascript.
<div id="div1">
  <thtmlb:textView text="This is a test"/>
</div>
document.getElementById('div1').firstChild.style.border = "1px solid black";
Regards,
Isaac

Similar Messages

  • What's with the new Firefox 8.0? I made the mistake of updating mine and about 30% of the icons in bookmarks disappeared. It looks like you are requiring a favicon. Anyway, BAD IDEA!!!!!

    What's with the new Firefox 8.0? I made the mistake of updating mine and about 30% of the icons in bookmarks disappeared. It looks like you are requiring a favicon. Anyway, BAD IDEA!!!!!

    Briansyddal - you might be able to manage your phone without a PC, but many of us can't, especially those of us with large iTunes libraries.  How do you propose I manage my 250GB of music using only a phone?  Maybe I could go out and buy 10 iPhones and spread my library out among them!
    Catz537 - I have the same problem as you and I've spent hours on the web trying to find a solution to it.  It was a problem with iOS 7 and  8.1.1 doesn't fix it.  The the only advice from Apple is completely useless because it requires you, effectively, to delete and recreate your iTunes library and lose all your metadata, album art, notes etc and there's also no guarantee it will work.   I wish I could be more help (even more - I wish Apple could be more help) - I updated to 8.1.1 at 1400 today.  At 2200 I'm still "waiting for changes to be applied" for a measly 16GB of music transfer. 

  • Iphone 4s screen icons jumping around like you are touching the home button. Acts as if someone is opening apps. Any suggestions?

    Iphone 4s screen icons jumping around like you are touching the home button. Acts as if someone is opening apps. Any suggestions?

    You didn't, but you are about the 4th person today who has done this. It just wastes my time, and yours, and gets frustrating after awhile.
    I do believe you have a screen/logicboard issue and while you can try Restoring it from backup in iTunes, and then as a new iPhone if that doesn't work, I don't believe it will help.

  • Camera settings? The video looks like you are looking down

    The video on the iPad looks like you are looking down rather than at the screen. Very irritating when using FaceTime. Is there a way to fix that?

    The camera is at the top of the screen. You can see where it is. If you want your contact to see your eyes looking right at them, look into the camera and not the middle of the screen. It might also help if you hold the iPad as far away from your face as possible.
    This is just physics and topology - there's no way to "fix" it. You're dealing with the same issues that TV newsfolk have to contend with for every broadcast.

  • "Warning you are in NTSC Mode" wtf?

    like the topic says, I live in Europe and I have a Sony Alpha 7s. I want to create Multimedia (Web) Videos. Well it should be obvious, why I have to switch from 50hz to 60hz FPS (because the whole computer world is 60/30hz and using 50hz creates micro stutters) so far so good, no big thing one may think but... EVERYTIME I TURN ON MY ****** CAMERA I GET THIS ANNOYING WARNING SCREEN "You are in NTSC Mode bla bla"I read somewhere that you can NOT turn this off? Seriously???? I mean wtf Sony is wrong with you? I have now a inacceptable long boot up time and everytime it bugs me with this bs. Show this screen 1 time (if you must), but not every time I turn on the cam! What were you thinking????I demand to fix this major issue with the next update!

    Trebau wrote:
    bitsnpieces wrote:
    I feel these restrictions isn't Sony's faultbut its Sony's fault, to display this annoying warning text every timebitsnpieces wrote:
    But once again, with the argument of "there is no "native PAL" or "native NTSC"", why does it matter if you have to shoot in PAL? Anyone, any customer, can still watch it...are you serious? It makes a HUGE difference, if you watch a 50hz recorded movie on the Web/Youtube/60hzComputerTFT or a native 60hz recorded video.The native 60hz runs ultra smooth, while the 50hz will have micro stutter and judder all the way. Its terrible to watch and looks unprofessional.
    Its quite logical. If your video sends 50 frames in a second to your monitor, and your monitor has a refresh rate of 60hz, then you have 10 frames to fill with garbage every second.Nowadays, 99% of the worlds computer monitors run at 60hz /120hz. So if you want to produce web clips and want to look great, you NEED to record in NTSC/60hz Well it's not quite that easy. here's from another forum, where someone knowledgable explained it thoroughly:
    "At playback time frames will be repeated as necessary to get from 25 fps to 60 fps. For each second of video, 15 frames are played twice and 10 frames are played 3 times. It amounts to a 2:3:2:3:2 pattern of repetition, though it's actually dynamic and determined automatically by the video subsystem, not the playback software.
    For 24 fps content played at 60 fps, it's similar: 12 frames in each second are played 3 times, and 12 are played two times, in a 3:2 repeating pattern. It's called 3:2 pull-down.
    When the playback frame rate is much higher than the content frame rate (by a factor of roughly 2.5 or more), our eyes aren't too sensitive to the repetition or its pattern. At smaller ratios, irregularities in the repetition pattern can become noticeable, so the repetition should be kept regular or avoided altogether by blending or interpolating frames. Converting from 50 fps to 60 fps, for example, doesn't look good when it's done by repeating frames." That being said, neither I or anyone I know has ever had an issue with a 60hz monitor and 24p or 25p footage. 

  • Is there a way in Pages to show and print all the added "comments?" (those you add by highlighting text)  I'd like students to be able to view my comments on printed version of their papers.

    Is there a way in Pages to show and print all the added "comments?" (those you add by highlighting text)  I am a teacher, and I would  like students to be able to view my comments on printed versions of their papers. I know word displays the comments off to the side of the document, and those comments can be viewed all at once and printed alongside the document.

    There doesn't appear to be a way to print conmments in either Pages or Numbers in the Mavericks versions.
    Jerry

  • How do you get text to render like you want?

    I have yet to figure out how to go about getting my text to
    look like it should. I looks fine in development but when I go to
    run the application it goes crazy. How do any of you go about
    rendering a good deal of text in Flex?
    Tom

    Here is part of the css
    .Header2{
    fontWeight:"bold";
    fontSize:14;
    color:#000000;
    text-align:center;
    padding-left:30;
    padding-right:30;
    .Header3{
    fontWeight:"bold";
    fontSize:12;
    color:#000000;
    padding-left:30;
    padding-right:30;
    .SalesText{
    fontSize:10;
    color:#000000;
    padding-left:30;
    padding-right:30;
    text-align:left;
    text-indent:0;
    Here is part of the code:
    <mx:TextArea styleName="Header2" width="400" height="45"
    verticalScrollPolicy="off"
    borderStyle="none">
    <mx:htmlText>
    <![CDATA[
    Custom Tailored Finance Options <br>That Fit Like a
    Glove!
    ]]>
    </mx:htmlText>
    </mx:TextArea>
    <mx:TextArea styleName="SalesText" width="399"
    height="153"
    borderStyle="none" verticalScrollPolicy="off">
    <mx:htmlText>
    <![CDATA[
    Everyone deserves a home to call their own. Unfortunately,
    most traditional banks do not feel the same. The problem
    lies in the “Unforgiving” guidelines they impose
    to determine
    who’s qualified. These rigid guidelines are almost are
    almost
    impossible for the average American family to meet. Here we
    understand there are bumps and setbacks along life’s
    highway.
    If you are one of the many hard working families who have
    been
    forced to put your dream of home ownership on hold by
    banks…
    Help is now available
    ]]>
    </mx:htmlText>
    </mx:TextArea>
    It looks exactly the way I want it to when I am developing
    it. All of the alignment is off when I run the application. I am
    not using embedded fonts.

  • Assign focus on text field associated with tree item in edit mode

    The JavaFX home page has an example for how to edit the label associated with a tree item using a cell factory (see sample code below). However, if you select a tree item and then either mouse click or select the Enter key to start editing, the text field doesn't get focus even though the startEdit() method invokes textField.selectAll(). I tried invoking textField.requestFocus(), but that didn't work. Is there a way to ensure that the text field gets focus when the tree item is in edit mode?
    I'm using JavaFX 2.1 GA version on Windows 7.
    Thanks.
    Stefan
    @Override
    public void startEdit() {
    super.startEdit();
    if (textField == null) {
    createTextField();
    setText(null);
    setGraphic(textField);
    textField.selectAll();
    public class TreeViewSample extends Application {
    private final Node rootIcon =
    new ImageView(new Image(getClass().getResourceAsStream("root.png")));
    private final Image depIcon =
    new Image(getClass().getResourceAsStream("department.png"));
    List<Employee> employees = Arrays.<Employee>asList(
    new Employee("Ethan Williams", "Sales Department"),
    new Employee("Emma Jones", "Sales Department"),
    new Employee("Michael Brown", "Sales Department"),
    new Employee("Anna Black", "Sales Department"),
    new Employee("Rodger York", "Sales Department"),
    new Employee("Susan Collins", "Sales Department"),
    new Employee("Mike Graham", "IT Support"),
    new Employee("Judy Mayer", "IT Support"),
    new Employee("Gregory Smith", "IT Support"),
    new Employee("Jacob Smith", "Accounts Department"),
    new Employee("Isabella Johnson", "Accounts Department"));
    TreeItem<String> rootNode =
    new TreeItem<String>("MyCompany Human Resources", rootIcon);
    public static void main(String[] args) {
    Application.launch(args);
    @Override
    public void start(Stage stage) {
    rootNode.setExpanded(true);
    for (Employee employee : employees) {
    TreeItem<String> empLeaf = new TreeItem<String>(employee.getName());
    boolean found = false;
    for (TreeItem<String> depNode : rootNode.getChildren()) {
    if (depNode.getValue().contentEquals(employee.getDepartment())){
    depNode.getChildren().add(empLeaf);
    found = true;
    break;
    if (!found) {
    TreeItem<String> depNode = new TreeItem<String>(
    employee.getDepartment(),
    new ImageView(depIcon)
    rootNode.getChildren().add(depNode);
    depNode.getChildren().add(empLeaf);
    stage.setTitle("Tree View Sample");
    VBox box = new VBox();
    final Scene scene = new Scene(box, 400, 300);
    scene.setFill(Color.LIGHTGRAY);
    TreeView<String> treeView = new TreeView<String>(rootNode);
    treeView.setEditable(true);
    treeView.setCellFactory(new Callback<TreeView<String>,TreeCell<String>>(){
    @Override
    public TreeCell<String> call(TreeView<String> p) {
    return new TextFieldTreeCellImpl();
    box.getChildren().add(treeView);
    stage.setScene(scene);
    stage.show();
    private final class TextFieldTreeCellImpl extends TreeCell<String> {
    private TextField textField;
    public TextFieldTreeCellImpl() {
    @Override
    public void startEdit() {
    super.startEdit();
    if (textField == null) {
    createTextField();
    setText(null);
    setGraphic(textField);
    textField.selectAll();
    @Override
    public void cancelEdit() {
    super.cancelEdit();
    setText((String) getItem());
    setGraphic(getTreeItem().getGraphic());
    @Override
    public void updateItem(String item, boolean empty) {
    super.updateItem(item, empty);
    if (empty) {
    setText(null);
    setGraphic(null);
    } else {
    if (isEditing()) {
    if (textField != null) {
    textField.setText(getString());
    setText(null);
    setGraphic(textField);
    } else {
    setText(getString());
    setGraphic(getTreeItem().getGraphic());
    private void createTextField() {
    textField = new TextField(getString());
    textField.setOnKeyReleased(new EventHandler<KeyEvent>() {
    @Override
    public void handle(KeyEvent t) {
    if (t.getCode() == KeyCode.ENTER) {
    commitEdit(textField.getText());
    } else if (t.getCode() == KeyCode.ESCAPE) {
    cancelEdit();
    private String getString() {
    return getItem() == null ? "" : getItem().toString();
    public static class Employee {
    private final SimpleStringProperty name;
    private final SimpleStringProperty department;
    private Employee(String name, String department) {
    this.name = new SimpleStringProperty(name);
    this.department = new SimpleStringProperty(department);
    public String getName() {
    return name.get();
    public void setName(String fName) {
    name.set(fName);
    public String getDepartment() {
    return department.get();
    public void setDepartment(String fName) {
    department.set(fName);
    Edited by: 882590 on May 22, 2012 8:24 AM
    Edited by: 882590 on May 22, 2012 8:24 AM

    When you click on a selected tree item to start the edit process is the text in the text field selected? In my case the text is not selected and the focus is not on the text field so I have to click in the text field before I can make a change, which makes it seem as if the method call textfield.selectAll() is ignored or something else gets focus after method startEdit() executes.

  • Is there any way to add a toggled checkbox to pages like you can in numbers. Possibly Applescript?

    In numbers you can add a checkbox that users can toggle off and on. This feature is not available in Pages. Can numbers features/tables be imported into pages or possibly added via Applescript? I haven't found a way to do this.

    And you won't. Pages is not a Word clone, and does not support inline forms by any means, including AppleScript. LibreOffice does support all manner of controls for inline use — including your checkbox. Chapter 15 in the LibreOffice Writer PDF manual.

  • How do you move add-ons to top/bottom/ect like you could with 3.6?

    On the Add-ons manager for 4, when I right-click my add-on, I only see "edit, show containing folder, execute first/sooner/later/last". If I do Execute, they still don't move.

    In the Timeline, at the bottom left corner, click the Show/Hide Audio button (the speaker) to see your audio tracks directly in the Timeline. You can Command-select audio and video clips together and move them.
    Honestly, though, if you have a lot of audio tracks, I'd mix them all down first in Soundtrack Pro or FCP.

  • Has anyone seen the blue flashing screen on MBP running 10.6.8?  It looks like you are plugging in an external monitor and unplugging it over and over.

    So, I have called Apple twice about this issue.  Both times, I was on for almost an hour and could not get an answer.  In fact, the technicians said that they had never seen this issue before.  Here is how it goes.
    It has happened MacBook Pro laptops anywhere from 2010 to now.  I have seen it on new ones with Thunderbolt and ones a generation before.  In the environment I work in, we have many, thousands from ranging from all generations.  This specific issue seems to only be affecting 10.6.8.  When the computer boots, it starts to flash blue as if you just plugged in an external montior, except there is no monitor, and it keeps flashing blue about once every second.  I actually have a video of it on my phone that I can send to show you.
    Now, like I said, this is happening to multiple laptops, all running 10.6.8.  There isn't a particular action that causes it either.  I have seen laptops that have been running for hours just start doing it as well as a completely cold start up do it right at the login screen.  Upgrading to 10.7.x seems to solve the issue.  But you have to understand, the environment I work in has thousands of computers.  Upgrading many of them to Lion just for this is just not practical.  In some cases, there is software that will not function correctly beyond 10.6.8.
    I have scoured though Google searches for hours now looking for a similar issue and a resolution.  The answer I always seem to find is just upgrade.  I can't seem to find a discussion beyond 2011 that talks about it.
    Can someone help me?
    Chad

    By the way, I have tried shutting of the display switching in the power settings.  That was basically the only real answer I found anywhere.  It didn't work.

  • Document body text in email, when you are sending the PO by email

    Hi
    I folowed the note 191470 and sending PO by the mail works fine.
    I just doesn't have nothing in the body text in the e-mail...  I created the text at the output type, but I don't get nothing,
    Any tip?
    Thanks in advance
    BR
    Saso

    Hi SF,
    Your settings look correct,The Notify step should work fine.
    Still you can refer the below link ,which will guide you in detail on how to use the Notify step in MDM Workflows.
    I have used the Notification step in MDM workflows in the SP06 version and it works fine.I am not quite sure whether this will will work in the SP05 version.
    Even after all the correct settings if it does not work as expected ,then i guess it should be a version problem.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90efe90c-b03f-2b10-65bf-e572fef651cb  (email notification in wf)
    The main reasons why the notify step may not work are:
    Check for the following:
    - The mds Settings are correct and mention the IP of the server instead of the Name.
    - All the users to whom notification have to be send must have to complete email ,mention in console.
    - Try Restarting the MDM server once after configuring the MDS.ini file
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Outlook 2013 says "You cannot add to the server junk email list- you are over the size allowed."

    I keep getting the above  message over and over. Then it asks "do you want to manage the junk mail lists".  Of course I have tried that many times with no success.  One particular email continues to show up with a reminder-
    when I try to "snooze" the warning, it tells me that the message cannot be found.
    In addition, sometimes if I try to view a subfolder other than the inbox, when I return to the inbox, I find a "shadow" group of emails that are about 4 months old. If I click on any of the messages, the program tells me the message cannot
    be found on the servers.  
    When I close the program and re-start it, the legitimate inbox re-appears.
    It's incredibly annoying, but I am hoping that I can get rid of it without deleting and re installing outlook 2013.  I have not tried to re-install the profile- was hoping there would be an easier way.

    Hi,
    Please uncheck Use Exchange Cached mode in Outlook 2013 Account Settings. Then confirm if the issue occurs in Outlook Onlinde mode. If the issue doesn't happen in Online mode, please create a new Outlook profile to have a try.
    If the issue persists in Online mode, please close Outlook and check whether you would still receive the message over and over in OWA. Also restart Outlook in safe mode to verify if the issue is caused by any third-party add-ins.
    Regards,
    Winnie Liang
    TechNet Community Support

  • In FCPX 10.1.2 how do you edit in proxy mode...and after you are done editing in proxy mode, how do you switch back to original media? I had no problems with old version but complicated with newer version.

    In old version of FCPX I could easily edit in proxy mode which i found to be a quicker way of editing...all i did was goto preferences and click on playback tab and change it from original media to proxy...and i could go right into editing, and when i was finished before i would export my project i would switch back to original media...then i would export my project. Now i'm having a hard time accomplishing this on the newer version fcpx 10.1.2.  Somebody please help me....thanks in advance!!!

    Click the triangle at the top right of the viewer and choose proxy or optimized/original as appropriate.

  • Some webpages, like You Tube, and firefox add-ons pages, do not recognize my firefox version, and require me to update firefox. Why?

    Youtube reports that:
    Your browser is no longer supported.
    Please upgrade to a modern browser.

    It looks like you are using an older version that isn't supported by some websites any longer - 2.0.0.11. What version do you think you have installed?

Maybe you are looking for