Need to expand tree by passing treeId thr URL not by clicking manually.

Sub: Need to expand tree by passing Id thr URL.
Hi,
Here i have Library.java and ajaxTree.jsf files (collected from Jboss richfaces)
There is having a list of artist .
If u click on a particular artistname then the respective albums(with their checkboxes) will expand and show like a treenode.
just look at d url : "http://localhost:8080/richfaces-demo-3.2.1.GA/richfaces/tree.jsf?c=tree&albumIds=1001,1002,1005,1008,1009,1010&client=0"
I m passing album Ids and clientId in url browser and receiving in d Library.java.
I need to expand the required client tree to show albums without clicking on artistname rather by passing the clientId from Url.
I thnk one EventHandling class( PostbackPhaseListener.java ) is responsible for expanding but I m unable to understand.
How can I do it.
Plz help asap.
/###############ajaxTree.jsf##########Start##############/
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:c="http://java.sun.com/jstl/core">
     <p>This tree uses "ajax" switch type, note that for collapse/expand operations it will be Ajax request to the server. You may see short delay in this case.</p>
     <h:form>     
          <rich:tree style="width:300px" value="#{library.data}" var="item" nodeFace="#{item.type}">
               <rich:treeNode type="artist" >
                    <h:outputText value="#{item.name}" />
                    </rich:treeNode>
               <rich:treeNode type="album" >
                    <h:selectBooleanCheckbox value="#{item.selected}"/>
                    <h:outputText value="#{item.title}" />
               </rich:treeNode>
          </rich:tree>
          <h:commandButton value="Update" />
     </h:form>
</ui:composition>
/###############ajaxTree.jsf##########End##############/
/************************Library.java*********Start****************/
package org.richfaces.demo.tree;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.StringTokenizer;
import javax.servlet.http.HttpServletRequest;
import javax.faces.context.FacesContext;
import org.richfaces.model.TreeNode;
public class Library implements TreeNode {
     private static final long serialVersionUID = -3530085227471752526L;
     private Map artists = null;
     private Object state1;
     private Object state2;
     private Map getArtists() {
          if (this.artists==null) {
               initData();
          return this.artists;
     public void addArtist(Artist artist) {
          addChild(Long.toString(artist.getId()), artist);
     public void addChild(Object identifier, TreeNode child) {
          getArtists().put(identifier, child);
          child.setParent(this);
     public TreeNode getChild(Object id) {
          return (TreeNode) getArtists().get(id);
     public Iterator getChildren() {
          return getArtists().entrySet().iterator();
     public Object getData() {
          return this;
     public TreeNode getParent() {
          return null;
     public boolean isLeaf() {
          return getArtists().isEmpty();
     public void removeChild(Object id) {
          getArtists().remove(id);
     public void setData(Object data) {
     public void setParent(TreeNode parent) {
     public String getType() {
          return "library";
     private long nextId = 0;
     private long getNextId() {
          return nextId++;
     private Map albumCache = new HashMap();
     private Map artistCache = new HashMap();
     private Artist getArtistByName(String name, Library library) {
          Artist artist = (Artist)artistCache.get(name);
          if (artist==null) {
               artist = new Artist(getNextId());
               artist.setName(name);
               artistCache.put(name, artist);
               library.addArtist(artist);
          return artist;
     private Album getAlbumByTitle(String title, Artist artist) {
          Album album = (Album)albumCache.get(title);
          if (album==null) {
               album = new Album(getNextId());
               album.setTitle(title);
               albumCache.put(title, album);
               artist.addAlbum(album);
          return album;
     private void initData() {
          artists = new HashMap();
          InputStream is = this.getClass().getClassLoader().getResourceAsStream("org/richfaces/demo/tree/data.txt");
          ByteArrayOutputStream os = new ByteArrayOutputStream();
          byte[] rb = new byte[1024];
          int read;
          HttpServletRequest request = (HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
     //     System.out.println("request.getParameter(param) "+request.getParameter("param"));
          //System.out.println("request.getParameter(client) "+request.getParameter("client"));
          //System.out.println("request.getParameter() "+request.getParameter("c"));
          try {
               do {
                    read = is.read(rb);
                    if (read>0) {
                         os.write(rb, 0, read);
               } while (read>0);
               String buf = os.toString();
               StringTokenizer toc1 = new StringTokenizer(buf,"\n");
                    String str1 = request.getParameter("albumIds");
                    int clientId1 =Integer.parseInt( request.getParameter("client"));
               while (toc1.hasMoreTokens()) {
                    String str = toc1.nextToken();
                    StringTokenizer toc2 = new StringTokenizer(str, "\t");
                    String artistName = toc2.nextToken();
                    String albumTitle = toc2.nextToken();
                    String songTitle = toc2.nextToken();
                    toc2.nextToken();
                    toc2.nextToken();
                    String albumYear = toc2.nextToken();
                    Artist artist = getArtistByName(artistName,this);
                    Album album = getAlbumByTitle(albumTitle, artist);
                    String portfolios[] = new String[100];
                    Integer portfoliosId[] = new Integer[100];
                    int i = 0;
                    StringTokenizer st = new StringTokenizer(str1, ",");
                    while (st.hasMoreTokens()) {
                    portfolios[i] = st.nextToken();
                    if((songTitle.equals(portfolios))&&(!(songTitle == ""))){
                              //System.out.println("ifff");
                              album.setSelected(true);
                    i++;
                    album.setYear(new Integer(albumYear));
          } catch (IOException e) {
               throw new RuntimeException(e);
     public Object getState1() {
          return state1;
     public void setState1(Object state1) {
          this.state1 = state1;
     public Object getState2() {
          return state2;
     public void setState2(Object state2) {
          this.state2 = state2;
     public void walk(TreeNode node, List<TreeNode> appendTo, Class<? extends TreeNode> type) {
          if (type.isInstance(node)){
               appendTo.add(node);
          Iterator<Map.Entry<Object, TreeNode>> iterator = node.getChildren();
          System.out.println("walk node.getChildren() "+node.getChildren());
          while(iterator.hasNext()) {
               walk(iterator.next().getValue(), appendTo, type);
     public ArrayList getLibraryAsList(){
          ArrayList appendTo = new ArrayList();
          System.out.println("getLibraryAsList appendTo "+appendTo);
          walk(this, appendTo, Song.class);
          return appendTo;
/************************Library.java*********End****************/
/************************PostbackPhaseListener.java*********Start****************/
package org.richfaces.treemodeladaptor;
import java.util.Map;
import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;
import javax.faces.event.PhaseEvent;
import javax.faces.event.PhaseId;
import javax.faces.event.PhaseListener;
public class PostbackPhaseListener implements PhaseListener {
     public static final String POSTBACK_ATTRIBUTE_NAME = PostbackPhaseListener.class.getName();
     public void afterPhase(PhaseEvent event) {
     public void beforePhase(PhaseEvent event) {
          FacesContext facesContext = event.getFacesContext();
          Map requestMap = facesContext.getExternalContext().getRequestMap();
          requestMap.put(POSTBACK_ATTRIBUTE_NAME, Boolean.TRUE);
     public PhaseId getPhaseId() {
          return PhaseId.APPLY_REQUEST_VALUES;
     public static boolean isPostback() {
          FacesContext facesContext = FacesContext.getCurrentInstance();
          if (facesContext != null) {
               ExternalContext externalContext = facesContext.getExternalContext();
               if (externalContext != null) {
                    return Boolean.TRUE.equals(
                              externalContext.getRequestMap().get(POSTBACK_ATTRIBUTE_NAME));
          return false;
/************************PostbackPhaseListener.java*********End****************/
Edited by: rajesh_forum on Sep 17, 2008 6:13 AM
Edited by: rajesh_forum on Sep 17, 2008 6:18 AM

Hi
Can somebody please look into this?
Thanks
Raj
Edited by: RajICWeb on Aug 9, 2009 4:38 AM

Similar Messages

  • Need to create tree-view page.

    I'm trying to create a tree-view display using Oracle JDeveloper 10g Release 3, ADF and JSF.
    I need to show a tree (folder names) and on a click of the last level folder to show table with File names that are related to the selected folder.
    Data is stored in two tables:
    1. contains Folder names and hierarchy relations;
    2. contains File names.
    These tables related by folder ID.
    Using ADF Faces Component, I created a 3 level Tree that expends and collapses each level of Folder names but I don't know how to populate the View part (table with File names). Basically, I need to take an ID of the selected row in the Tree and pass it as a parameter to the View table query where clause.

    Since this is not a hibernate forum i suggest you ask your question about hibernate somewhere else.

  • Log in form, working just need to expand.

    Hello all,
    I have built a flex log in screen, but need to expand it a bit.
    At the moment it takes the values from the form (username and password) and looks in a database if those values are their and returns either true or false,  flex then looks at this value and either directs you to a new state or brings an error.
    This is all fine,  btu in my database i have added an extra field "level"  so now i have "username" "password" "level"
    basically depending on what level you are i want you to see a different state.
    Here is my code so far.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" width="1024" height="768">
        <s:states>
            <s:State name="State1"/>
            <s:State name="Logged"/>
        </s:states>
        <fx:Declarations>
            <mx:HTTPService id="loginService" url="login.php" method="POST" result="loginResult(event)">
                <mx:request xmlns="">
                    <user>{username}</user>
                    <pass>{password}</pass>
                </mx:request>
            </mx:HTTPService>
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.rpc.events.ResultEvent;
                import mx.controls.Alert;
                [Bindable] public var username:String;
                [Bindable] public var password:String;
                private function tryLogin():void
                    username = usernameLogin.text;
                    password = passwordLogin.text;
                    usernameLogin.text = "";
                    passwordLogin.text = "";
                    loginService.send();
                private function loginResult(evt:ResultEvent):void
                    if (evt.result.status == true)
                        currentState='Logged';   
                    else
                        Alert.show("Login failedl", "Failure");
            ]]>
        </fx:Script>
        <fx:Style source="style.css" />
        <s:Panel x="387" y="242" width="250" height="146" title="Log in" dropShadowVisible="true" borderVisible="true" includeIn="State1">
            <s:Label x="10" y="25" text="Username:" fontFamily="Arial" fontSize="13"/>
            <s:Label x="10" y="55" text="Password:" fontFamily="Arial" fontSize="13"/>
            <s:TextInput x="85" y="20" width="153" restrict="a-z0-9A-Z" fontFamily="Arial" fontSize="13" fontWeight="bold" id="usernameLogin"/>
            <s:TextInput x="85" y="50" width="153" restrict="a-z0-9A-Z" displayAsPassword="true" fontFamily="Arial" fontSize="13" fontWeight="bold" id="passwordLogin"/>
            <s:Button x="168" y="81" label="Login" click="tryLogin()"/>
        </s:Panel>
        <s:Label includeIn="Logged" x="101" y="134" text="Welcome"/>
    </s:Application>
    and my php script
    <?php
    $hostname_conn = "localhost";
        $username_conn = "";
        $password_conn = "";
        $conn = mysql_connect($hostname_conn, $username_conn, $password_conn);
        mysql_select_db("videochat");
        //mysql_real_escape_string POST'ed data for security purposes
        $user = mysql_real_escape_string($_POST["user"]);
        $pass = mysql_real_escape_string($_POST["pass"]);
        //a little more security
        $code_entities_match = array('--','"','!','@','#','$','%','^','&','*','(',')','_','+','{','}','|',':','"','<','> ','?','[',']','\\',';',"'",',','.','/','*','+','~','`','=');
        $user = str_replace($code_entities_match, "", $user);
        $pass = str_replace($code_entities_match, "", $pass);
        $query = "SELECT * FROM usernames WHERE username = '$user' AND password = '$pass'";
        $result = mysql_query($query);
        $logged = mysql_num_rows($result);
        if ($logged == 1)
            echo "<status>true</status>";
        else
            echo "<status>false</status>";
        ?>
    Now i know i need to epxnad both, so that the php returns their level, but i am getting a bit stuck, any help ?
    Thanks

    hi,
    this is an example using zend services
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:valueObjects="valueObjects.*" xmlns:usersservice="services.usersservice.*">
    <fx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.rpc.events.ResultEvent;
    protected function button_clickHandler(event:MouseEvent):void
    checkUserResult.token = usersService.checkUser(email.text,password.text);
    protected function checkUserResult_resultHandler(event:ResultEvent):void
    if (checkUserResult.lastResult != null)
    currentState="success" ;
    ti.text="welcome back, "+ event.result.UserName;
    else
    currentState="fail";
    protected function button1_clickHandler(event:MouseEvent):void
    currentState="State1";
    ]]>
    </fx:Script>
    <s:states>
    <s:State name="State1"/>
    <s:State name="success"/>
    <s:State name="fail"/>
    </s:states>
    <fx:Declarations>
    <valueObjects:Users id="users"/>
    <usersservice:UsersService id="usersService" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
    <s:CallResponder id="checkUserResult" result="checkUserResult_resultHandler(event)"/>
    </fx:Declarations>
    <s:Panel width="350" horizontalCenter="0" verticalCenter="0" title="User Authentification" includeIn="State1">
    <mx:Form defaultButton="{login_btn}" verticalGap="10" width="100%">
    <mx:FormItem label="Email">
    <s:TextInput id="email" width="240"/>
    </mx:FormItem>
    <mx:FormItem label="Password">
    <s:TextInput id="password" width="121"/>
    </mx:FormItem>
    <s:HGroup width="100%" paddingTop="2" paddingLeft="2" paddingBottom="2" paddingRight="2">
    <s:Button label="login" id="login_btn" click="button_clickHandler(event)" width="100"/>
    <mx:Spacer width="100%"/>
    <s:Button label="cancel" id="cancel_btn" click="button_clickHandler(event)" width="100"/>
    </s:HGroup>
    </mx:Form>
    </s:Panel>
    <s:Button includeIn="fail" y="291" label="Go Back" horizontalCenter="0" click="button1_clickHandler(event)"/>
    <s:Label includeIn="fail" y="239" text="No Such User" horizontalCenter="0" fontSize="24" textAlign="center" color="#B11C1C" fontWeight="bold"/>
    <s:TextArea includeIn="success" x="500" y="147" id="ti"/>
    </s:Application>
    php:
    public function checkUser($email,$pass) {
    $stmt = mysqli_prepare($this->connection, "SELECT * FROM $this->tablename where EMail=? and Password=?");
    $this->throwExceptionOnError();
    mysqli_stmt_bind_param($stmt, 'ss', $email, $pass);
    $this->throwExceptionOnError();
    mysqli_stmt_execute($stmt);
    $this->throwExceptionOnError();
    mysqli_stmt_bind_result($stmt, $row->ID, $row->Level, $row->UserName, $row->EMail, $row->Password);
    if(mysqli_stmt_fetch($stmt)) {
          return $row;
    } else {
          return null;
    David.

  • Expand tree node upto a fix level

    Hi all,
    I have a hierarchical tree in forms. I can expand all the node by the following code
    DECLARE
    htree ITEM;
    node ftree.node;
    state varchar2(30);
    BEGIN
    -- Find the tree itself.
    htree := Find_Item('BLOCK17.T_POP'); -- Find the root node of the tree.
    node := Ftree.Find_Tree_Node(htree, '');
    -- Loop through all nodes and expand each one if it is collapsed.
    WHILE NOT Ftree.ID_NULL(node) LOOP
    state := Ftree.Get_Tree_Node_Property(htree, node, Ftree.NODE_STATE);
    IF state = Ftree.COLLAPSED_NODE THEN
    Ftree.Set_Tree_Node_Property(htree, node, Ftree.NODE_STATE, Ftree.EXPANDED_NODE); END IF;
    node := Ftree.Find_Tree_Node(htree, '', ftree.find_NEXT,Ftree.NODE_LABEL,'', node); END LOOP;
    END;
    But what i need is expand the tree upto a fix level. Suppose uptp level1 or level2. The rest of the level will be collapsed. What can i do? Pls help.
    Best regards
    Tarik

    Using node_depth you would change
    IF state = Ftree.COLLAPSED_NODE THENto
    IF state = Ftree.COLLAPSED_NODE and to_numbeR(ftree.get_tree_node_property(htree, node, node_depth)) <= 2 THENThis might not be the most efficient code because it will still loop through every node in the tree, but I think it will work.

  • Expanding Tree till Last Node, in one shot, in WebDynPro ABAP

    Hi Colleagues,
              I am working on this tree structure of technical objects where i need to Expand ALL the nodes of the tree in one click. Please let me know if this is posible.
    Regards,
    Anoop

    Hi Anoop,
    U have expand_node --> Use this method to expand a particular node
    expand_nodes --> Use this method to expand a list of nodes
    get_expanded_nodes -->This method returns a node table containing the keys of all expanded nodes
    Check on to this link for further details hoe to implement inside ur coding.
    http://help.sap.com/saphelp_erp2005/helpdata/en/1b/2a7536a9fd11d2bd6f080009b4534c/frameset.htm
    Hope this helps u,
    Regards,
    Nagarajan.

  • Bonjour à tous, je viens d'installer windows 7 avec bootcamp.L'installation semble s'être bien passée.Au demarrage du mac quand je choisis window7, alors j'obtiens un ecran noir avec un trait qui clignote et la machine redemarre sans cesse. Une solution?

    bonjour à tous, je viens d'installer windows 7 avec bootcamp.L'installation semble s'être bien passée.Au demarrage du mac quand je choisis window7, alors j'obtiens un ecran noir avec un trait qui clignote et la machine redemarre sans cesse. Une solution?

    But at startup when I choose windows 7 I get a black screen with a clignottant dash and mac starts ever.
    If You Have Problems Installing the Device DriversIf it appears that the Boot Camp drivers weren’t successfully installed, try repairing them.To repair Boot Camp drivers:
    1 Start up your computer in Windows.
    2 Insert your Mac OS X installation disc.
    3 If the installer doesn’t start automatically, browse the disc using Windows Explorerand double-click the setup.exe file in the Boot Camp directory.
    4 Click Repair and follow the onscreen instructions.
    If a message appears that says the software you’re installing has not passed WindowsLogo testing, click Continue Anyway.If you need to reinstall specific drivers, you can install one driver at a time. For example,if your built-in iSight camera isn’t working, you can reinstall just the iSight driver.
    Individual drivers are in the Drivers folder on the Mac OS X installation disc.
    To reinstall a specific driver:
    1 Insert your Mac OS X installation disc.
    2 Quit AutoRun if it opens.
    3 Using Windows Explorer, locate the driver that you want to reinstall.
    4 Open the driver to start the installation.
    https://discussions.apple.com/thread/3301234 
    OS X Lion: About Lion Recovery
    https://support.apple.com/kb/HT4718
    https://support.apple.com/kb/HT5034 
    Boot Camp 4.0, OS X Lion: Frequently asked question
    http://support.apple.com/kb/HT4818
    http://manuals.info.apple.com/en_US/boot_camp_install-setup_10.7.pdf
    create a Windows support software (drivers) CD or USB storage media
    http://support.apple.com/kb/HT4407 
    Installation Guide Instructions for all features and settings.
    Boot Camp 4.0 FAQ Get answers to commonly asked Boot Camp questions.
    Windows 7 FAQ Answers to commonly asked Windows 7 questions.
    http://www.apple.com/support/bootcamp/

  • Small business needing to expand and deploy a network

    HI,
    I hope this is the correct forum to post this question.  If not, please move it to one more appropriate.
    We are a small company currently working from home but now have a need to expand into an office due to winning a contract with a large international organization.  We offer web market research services utilizing Web 2.0 techniques.  Our current 'network' infrastructure if you want to call it that is based around a standard home office scenarion - 24Mbit DSL 4 PC's, a couple of laptops, Dlink gigabit switch and the router from the telecom company.  Our printers are networked via the switch and we run Windows 7.  We have servers hosted in the Rackspace Cloud and with Amazon S3 but no current physical server.  Email is via a hosted Exchange package.
    Due to the new contract we will have to hire two to three additional personnel taking us to 7 staff in total and that requires a move to a dedicated office.  That wouldn't be much of an issue if we only needed to setup an office LAN but the crunch comes within the security protocols we are required to meet in the new contract.  We'll be storing customer data on servers and we'll require an audit of our systems once in place.  We will be scanned by our new client and expected to install a scanner appliance to be deployed on our internal network which will allow our new client to periodically scan us for network vulnerabilities.
    The key issue is that we have to have physical sight of the server that is holding the data, which also needs to have WAN access.  This server must reside on a network independent from our office LAN.  We'll need VPN access to this server.  The requirements document also demands a hardware firewall.  The new office has Cat6 cabling that routes back to a server room.  Apart from that, this room is empty.
    It's a bit of a daunting task and I'd like to know what equipment we'll require to setup two independent networks with WAN access.  The two new servers will probably come from Dell and will be rack mounted.  I'm sure we'll need the services of a network professional but I'd like to be clear in my own head about what components we will need to purchase to deploy this network, and what would be a suitable internet network connection.  The server for the new project will need to run a web and MySQL server and it will be accessed by around 600 people across Europe and the USA each month.  I can't give a clear figure on total bandwidth but the 600 people will be accessing a pretty standard WordPress site.  The number of users will increase to 6000 per month within 6 months.  On top of that office staff will be sending emails and using web services on a daily basis.  The office server will run Windows Server 2008 with 10 CAL's.  We have an initial capital budget of about $12,500.  Within 6 months we will need to deploy our own SharePoint server for this project.  A dedicated remotely hosted SharePoint solution will not be acceptable to the client.  More budget will be available for this.  Support will be delivered by Dell for the servers and network maintenance will be contracted out.
    Any help in making this a little less daunting would be much appreciated.
    Thanks in advance.

    Leo has given you some excellent advice ie. you cannot choose a kit list until you have a design. It just doesn't work the other way around. If you don't have the experience to design the solution then you can't really be choosing the kit. Otherwise when you do hire your consultant he might well be constrained by the kit already chosen and you will not get the best solution for your needs.
    Please don't take any of this the wrong way. NetPro is a great forum for helping people out with technical and design issues with Cisco equipment but there are times when NetPro is not the best solution and this is one of them. We could each give you a kit list of what we "think" is the best solution but that really should come from the designer.
    Jon
    Leo - will you please stop losing your points oops, and now they are back again

  • Expanding Tree nodes

    is it possible to expand tree node on rollover instead of
    clicking on the triangle?

    yes, that worked. thanks.
    private function itemRollOverHandler(event:ListEvent):void{
    tree.expandItem(event.itemRenderer.data, true, true);
    I think I was looking for something like getItem(index)..
    something similar to Flash AS 2 components.

  • Sony S300 Blue ray player firmware update .exe file...need to expand

    Hello Everyone!
    I have a sony blue ray firmware update that is .exe that i need to expand to get the .iso file on mac osx leopard. I don't have windows installed and do not want to. the link to the file is...
    http://esupport.sony.com/US/perl/swu-download.pl?mdl=BDPS300&updid=4320&osid=7&ULA=YES
    i need help as my blue ray player really needs this update.
    Searched the internet and have not found any useful information as nothing suggested has worked.
    any suggested would be greatly appreciated.
    contacted sony and said they would ship a disc, but it's been like two months and still have not seen it.
    Clint

    I have been scouring the net today for this .iso file. Actually just bought this player for 50 bucks. Could you possibly email me that file. That would be wicked. My email is [email protected]
    Thanks!

  • OBY6 - need to expand a field

    Hi all,
    so I would need to expand a field in Additional Deatila of a Company Code. Old tax number was length 8 and new is length 11. Any pointers?
    Thank you and best regards!!
    D.

    SM31 transaction and the table is T001I, V_T001I. Then you just find the field you need and change the length. Did not try to add new fields.

  • Hey, jan hedlund,  i need stuffit expander for mac running  v7.5.3 software

    search/refer to archived post "how to install the disk copy program" for full info.
    i need the stuffit expander for older mac (v7.5.3) so i can expand .bin files whitch i currently cannot do...
    i also need all of the software\drivers (if not installed from operating system disk) to run my performa 638cd mac (v7.5.3) a/v card and the tv tuner card and i also need the programs to view the content connected to the afore-mensioned cards... please post the links or send to my (more often checked than here) e-mail: [email protected] send whereever you like(here or e-mail)
    also would it be possible (beneficial) with everything straight from the factory (nothing changed\upgraded) to upgrade to v7.5.5 whitch i saw somewhere on these ftp servers... why would i want to upgrade you ask??? im sick and tired of this infinite startup loop it sometimes gets into and i figure re-installing and\or upgrading the OS might help... another reason for needing stuffit expander, but i was hoping to put this stuff onto a cd, which (as far as i know) cannot be did with such an old machine
        please help... this loop is annoying the sh@# out of me. i am going crazy trying to install stuff!!!

    Pure-mac is a good source of old software.
    http://www.pure-mac.com/compen.html#stuffite
    PowerMac G4 AGP, mostly  
    Mac OS X (10.4.8)  
    uh- huh, yeah right... umm... the file i am looking for IS NOT there!!! the file i AM looking for is for an OLDER mac NOT a v10 plus mac
    I AM VERY FRUSTRATED... THE SITE MIGHT WORK FOR SOME OF THE OTHER FILES I WANT BUT NOT STUFFIT (THE ONE I NEED TO EXPAND THE OTHERS)... DO YOU EVEN KNOW WHAT STUFFIT DOES? IT EXPANDS THOSE .BIN FILES THAT MOST PROGRAMS COME IN AND GUESS WHAT IT TAKES THAT APPLE ENCRYPTION OR WHATEVER IT IS CALLED OFF THEM TOO SO IT HAS TO BE DID ON A MAC. AND AS THAT MAC IS THE ONLY ONE I HAVE I HAVE TO PUT A VERSION THAT IS COMPATIBLE WITH V7.5.3 ONTO IT...
    sorry for caps but... you know... frustrated

  • Expand tree in WebDynpro ABAP application

    Hi,
    Currently I am working on a WDA application which contains a UI ELEMENT TREE. The tree is generated dynamically at runtime.
    I was guided by the example of SAP "WDT_TREE". After generating the tree looks like this:
    TREE
       | __ NODE1
               | __ LEAF1
               | __ LEAF2
               | __ NODE2
                    | __ LEAF3
               | __ Node3
                    | __ LEAF4
                    | __ LEAF5
                    | __ LEAF6
    Now I have bound the "expanded" property of the node to a context element and execute the following action in the WDDOINIT:
    * Fill tables with the structure of the tree
      fill_foldertable( ).
      fill_filetable( ).
      lr_current_node    = wd_context->get_child_node( 'FOLDER' ).
      lr_current_element = lr_current_node->create_element( ).
      lr_current_node->bind_element( lr_current_element ).
      lr_current_node->set_lead_selection( lr_current_element ).
      lr_current_element->set_attribute( name = 'TEXT' value = 'Products' ).
    lr_current_element->set_attribute( name = 'IS_EXPANDED' value = 'X' ).
    * Create the root node
      create_node(
        EXPORTING
          cur_element = lr_current_element
          parent_key  = 'Categories' ).
    Now the tree is expanded, but i can't see EAF1 and LEAF2. I get them only by clicking again on node1.
    Any ideas?
    Regards.

    Hi All,
    I found the solution for my question.  Expand tree in Webdynpro application
    Soultion
    In the context node i.e used as a source for tree, you create a attribute
    Attribute Name: IS_BOOLEAN
    Attribute type : WDY_BOOLEAN
    Default Value : X
    And in Context node Un check the Initialization lead selection.
    Now bind the Expand property of TreeNodeType with 'IS_EXPAND' which you have created just now.
    This way the whole tree will be expanded.
    Regards,
    Pavan Maddali

  • Need to search Tree

    I am looking for some pointers towards implementing search functionality in Tree.
    I am using Jdev 11g. I have implemented a Tree structure on one my pages.
    This Tree structure is pretty huge and confusing to user at times.
    I want to implement a search functionality over this existing tree which filters and expands tree structure based on search criteria.
    any pointers towards it would be helpful
    Thanks in advance.

    Hi,
    the way to do this is through recursive search. Below is a coarse grain outline
    JUCtrlHierBinding treeBinding = --- get access to the tree binding defined in the PageDef ----
    String searchAttributeArray[] =  --- build and array of search attributes to look into (attributes on the tree binding) ---
      //Define a node to search in. In this example, the root node is used as
      //the starting point
      JUCtrlHierNodeBinding root = treeBinding.getRootNodeBinding();
      //Retrieve the tree node keys that match the search criteria
      RowKeySet resultRowKeySet =
        searchTreeNode(root,searchAttributeArray,searchString);
      //build the list of row sets for the full path that leads to the
      //nodes that match the search condition
      RowKeySet disclosedRowKeySet =
      buildDiscloseRowKeySet(treeBinding,resultRowKeySet);
      //expand the tree using the tree component JSF binding reference to
      //display the found nodes 
      tree1.setSelectedRowKeys(resultRowKeySet);
      tree1.setDisclosedRowKeys(disclosedRowKeySet);
      //PPR the tree to show the changed disclosure state
      AdfFacesContext.getCurrentInstance().addPartialTarget(tree1);       
    }The searchTreeNode(root,searchAttributeArray,searchString); is the recursive method that calls itself for as long as the node has chilren. The root argument is the current node to start the search from. If you find a leaf and on the way up, you check the node (which is a row) for the search condition) If the search condition is met, return the RowKeySet of the node and store it.
    Frank

  • Expand tree node by clicking onto the node label

    I have followed this example to expand the nodes with a clic on the tree :
    [http://www.oracle.com/technetwork/developer-tools/adf/learnmore/20-expand-tree-node-from-label-169156.pdf]
    My code:
    JSPX:
    <af:resource type="javascript" source="js/glasspane.js"/>
    <af:tree value="#{bindings.OpcionesPadreView1.treeModel}" var="node"
    rowSelection="single" id="t1" partialTriggers=":::cbNuevCpta"
    binding="#{pageFlowScope.GestionDocumentos.t1}"
    selectionListener="#{bindings.OpcionesPadreView1.treeModel.makeCurrent}">
    <f:facet name="nodeStamp">
    <af:commandImageLink text="#{node.Gesdopcach}" id="ot1"
    action="#{bindings.LoadDir.execute}"
    actionListener="#{bindings.LoadFile.execute}"
    icon="/images/GestionDocumentos/folder20x20.png"
    partialSubmit="true">
    </af:commandImageLink>
    </f:facet>
    <af:clientListener method="expandTree" type="selection"/>
    </af:tree>
    Js:
    function expandTree(evt) {
    alert('In');
    var tree = event.getSource();
    rwKeySet = event.getAddedSet();
    var firstRowKey;
    for (rowKey in rwKeySet) {
    firstRowKey = rowKey;
    if (tree.isPathExpanded(firstRowKey)) {
    tree.setDisclosedRowKey(firstRowKey, false);
    }else {
    tree.setDisclosedRowKey(firstRowKey, true);
    When i clic on the labels the tree doesn't expand, the alert also is not shown. The problem could be the <af:resource>, but i have this tag in all my pages and all javascripts work. I also changed the commandLink with an outputText, but doesn't work.
    Edited by: Miguel Angel on 21/06/2012 12:53 PM

    At least the call the javascript works, but this line doesn't work, anybody know why?:
    rwKeySet = evt.getAddedSet();

  • Upon start up, got "HD needs to expand" message and then memory disappeared

    Last night I had nearly 8GB of free space on my PowerBook. This morning, everything was fine before I left for work. I returned home to get one of those exclamation messages upon turning on my computer saying something to the effect of "your HD needs to expand, you will not be able to make changes during this process". Okay, fine. It did that and I looked at my memory, it's down to 4GB.
    What the **** happened?! Please help!

    Here is the bit from the Console:
    Mac OS X Version 10.4.9 (Build 8P135)
    2007-08-09 06:09:13 -0700
    2007-08-09 06:09:14.362 HPEventHandler[117]: DebugAssert: Third Party Client: ((__null) != m_lock && 0 == (*__error())) Can't create semaphore lock [/Volumes/Development/Projects/HP/Core/mac-aio/core/HPEventHandler/Sources/HPTM NotificationManager.cpp:59]
    2007-08-09 06:09:15.892 SyncServer[129] A Sync Server is already running on this computer, exiting process.
    Aug 9 06:09:16 chelsea-andrus-powerbook-g4-12 webdavd[126]: stream_transaction: CFStreamError: domain 12, error 7
    Aug 9 06:09:16 chelsea-andrus-powerbook-g4-12 webdavd[126]: network_mount: OPTIONS failed; file: mount.tproj/webdav_network.c; line: 2735
    Workaround Bonjour: Unknown error: 0
    2007-08-09 06:09:45.750 System Events[268] .scriptSuite warning for attribute 'currentUser' of class 'NSApplication' in suite 'SystemEvents': 'Accounts.User' is not a valid type name.
    2007-08-09 06:09:45.751 System Events[268] .scriptSuite warning for to-many relationship 'loginItems' of class 'NSApplication' in suite 'SystemEvents': 'logi' is not the Apple event code of any known scriptable class.
    2007-08-09 06:09:45.751 System Events[268] .scriptSuite warning for to-many relationship 'localUsers' of class 'NSApplication' in suite 'SystemEvents': 'uacc' is not the Apple event code of any known scriptable class.
    2007-08-09 06:10:11.080 Translator[273] Invoked to sync conduit com.apple.Safari for entityNames: com.apple.bookmarks.Folder,com.apple.bookmarks.Bookmark
    Waiting for MirrorAgent to launch and respond to CFMessagePortCreateRemote(). [83]
    And here are the top ten items:
    User Folder
    Library Folder
    Apps Folder
    System Folder
    usr
    HP PSC
    private
    Firefox
    bin
    mach_kernel
    sbin
    I appreciate your help, I've worked on PCs for so many years that when it comes to fixing my Mac, I'm clueless. Probably because I don't have many problems with it.

Maybe you are looking for

  • How to configure the connection WebService for ERP?

    Hi Experts, I need professional help. I will development the Webservice in the NWDS(Composite Application). 1.The development of the WebService in NWDS. 2.The configure of the "Web Service  End Point URL" in NWA.    (NWA->SOA Management-> Application

  • Reading words from a text file

    I have written code to store words in a text file. they appear in the text file as shown below. word1 word2 word3 etc. I want to read each word individually and store them in an array. Im trying to do it using a BufferedReader but it doesn't seem to

  • Enter text in other languages in String Control

    Hi, Is it possible to type text in other languages(chinese, japanese,hindi,etc...) in Labview 8.2.  In runtime I want to enter the text in String control. Regards, Raja 

  • 'Delete' PO.

    Hi, I have PO which is waiting for approval. The user do not want to continue with the PO. When the PO is deleted the it gives a success message but doesnot get deleted. is there any known issue or notes available? Also is the PO is approved. and got

  • IF U HAVE SIS 745 ULTRA please tell me if u got it to work

    i cant get it to show anything on the monitor and any keyboard imputs dont seem to work