Maven dependencies for JSF 2 and IceFaces 2

i have a Spring JSF 2 project which is using IceFaces 2, and i made the project use JSF and IceFaces libraries from properties>project facets, and added jsf capabilities to the project, then used a user library JSF 2.1 Mojara (ICEsoft Technologies), then added icefaces capabilities too,
what i want to do is add those jars for JSF 2, IceFaces2 in pom file as maven dependencies
any help ?

JSF you can find in the java.net repository.
http://maven2-repository.java.net/
Whenever you want to find the maven repository and or groupId/artifactId for any dependency, do a google search for "maven <API NAME>". Then look for a link to either the maven central, java.net or jboss.org repositories (the three most reliable ones). When I typed "maven icefaces" into google, I got this link in the top three:
http://wiki.icefaces.org/display/ICE/Building+and+Running+ICEfaces+Examples+with+Maven

Similar Messages

  • Maven dependencies and application Module

    hi,
    I'm using jdev 11gR2. When i use project propertie-->maven-->dependencie-->"add from repository", and select a jar : errors from import in java files avec solved, but i can't see package from this jar in the Application Module (Data Model).
    How can i see it?
    thanks
    Clément

    no idea?

  • Looking at dependencies for a table gets Error ORA-01436: CONNECT BY loop

    I have just tried looking at the dependencies for a table and I received an "ORA-01436: CONNECT BY loop in user data.
    Please let me know if there are any fixes or work arounds for this problem.
    Thanks
    Sunil

    Looks like there is another posting on this.
    ORA-01436 in Dependencies
    Because the query uses CONNECT BY and there is a circular reference it errors out. If it didn't, there would be an infinite number of results.
    This is the query that Oracle is using: SELECT owner, object_type, object_name, object_id, status , decode(replace(object_type,' ','_'),'PACKAGE_BODY','PACKAGE',replace(object_type,' ','_')) type_link
      FROM sys.all_objects
      WHERE object_id IN (
              SELECT object_id
                 FROM public_dependency
               CONNECT BY PRIOR object_id = referenced_object_id
               START WITH referenced_object_id = :OBJECT_ID ) pulled from sql_dev_root/jdev/extensions/oracle.dbdev.oviewer.jar, editors.xml
    I am not a connect by pro, so I can't tell you how to alter this to make it stop digging when it encounters an infinite loop, but maybe someone else can. In other tools, it normally dynamically pulls this data into a tree so it is only querying one level at a time.
    This happens if for example MY_TABLE depends upon MY_PACKAGE and vice versa:
    --MY_TABLE
      --MY_PACKAGE
        --MY_TABLE
          --MY_PACKAGE
            .... Hopefully someone on the sql dev team has a solution to this and can get it fixed in a later release.

  • JDeveloper project libraries and Maven dependencies

    hi
    Using the Apache Trinidad Maven JDev Plugin, I am wondering how JDeveloper project libraries and Maven dependencies are supposed to be related (or "matched", or "kept in sync", or "work together", or ...).
    With the Maven settings.xml configured like this ...
    <settings>
      <!-- ... -->
      <localRepository>C:\my-maven-repository</localRepository>
      <!-- ... -->
    </settings>... I tried this ...
    C:\projects>mvn -v
    Maven version: 2.0.9
    Java version: 1.6.0_05
    OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
    C:\projects>mvn archetype:create -DgroupId=com.oracle.forums.mvnfirstproj -DartifactId=mvn-first-proj
    [INFO] OldArchetype created in dir: C:\projects\mvn-first-proj
    C:\projects>cd mvn-first-proj
    C:\projects\mvn-first-proj>mvn org.apache.myfaces.trinidadbuild:maven-jdev-plugin:jdev
    [INFO] Scanning for projects...
    [INFO] artifact org.apache.myfaces.trinidadbuild:maven-jdev-plugin: checking for updates from central
    Downloading: http://repo1.maven.org/maven2/org/apache/myfaces/trinidadbuild/maven-jdev-plugin/1.2.7/maven-jdev-plugin-1.2.7.pom
    2K downloaded
    [INFO] [jdev:jdev]
    [INFO] Generating JDeveloper 10.1.3.0.4 Project mvn-first-proj
    [INFO] Generating JDeveloper 10.1.3.0.4 Project mvn-first-proj-test
    ...After this, the file C:\projects\mvn-first-proj\mvn-first-proj-test.jpr contains
          <!-- ... -->
          <list n="libraryDefinitions">
            <hash>
              <list n="classPath">
                <url path="../../my-maven-repository/junit/junit/3.8.1/junit-3.8.1.jar" jar-entry=""/>
              </list>
              <value v="true" n="deployedByDefault"/>
              <value v="junit:junit:jar:3.8.1" n="description"/>
              <value v="junit:junit:jar:3.8.1" n="id"/>
            </hash>
          </list>
          <!-- ... -->Notice the path for the JAR file in my specific Maven repository, to be relative to my specific project location.
    questions:
    (1) This seems to severely limit the options to share such a JDeveloper project file between developers in a team (e.g. using Subversion), because they would need their Maven repository and their JDeveloper project to be in the same (relative) location. Is this intended? Are there any options to work around these limitations?
    (2) If a project evolves, and additional libraries need to be configured in a JDeveloper project, what would be the preferred approach to keep these in sync with Maven dependency configurations?
    many thanks
    Jan Vervecken

    Hi Jan,
    Yes, some of the current approach is not ideal.
    +"Maven's primary goal is to allow a developer to comprehend the complete state of a development effort in the shortest period of time."+ - By having the pom.xml define for the project, I get the ability to run site goals, junit tests and other maven reports - get a feel for the project state. Even with a very basic pom.xml file containing the groupId, ArtifactId, version, SVN repository definition and the release plugin you gain the ability to use "mvn release:clean release:prepare" to help with tagging the source in SVN. These represent progress as up to this point the team has not had access to this.
    +"Making the build process easy".+ - The approach does make the build part easier for JDeveloper 10.1.2. As a maven build, it is now possible to check the project into SVN and have it built by Bamboo, without having to include an installation of JDeveloper 10.1.2 (for library access) on the CI server.
    +"If I understand correctly, in your approach, you are trying to keep both pom.xml and JDeveloper project files up-to-date manually?"+ - The only reason for keeping the JPR in sync with the pom.xml file is to allow the developers to still make use of features such as selecting run from the right click menu. At present, I am still slowly getting up to speed on how JDeveloper works and interacts with OC4J. Ultimately, you would want a maven plugin that will deploy the packaged WAR or EAR to the OC4J stand-alone or remote instance. This plugin would probably wrap the commands that the IDE uses, e.g.
    If you right click on the deployment profile for a project (JDeveloper 10.1.2) and select the Platform > Standalone OC4J options, you find:
    Deploying Ear+
    ${java} ${jvm.max.heap.size} -jar ${admin.jar}
    ${oc4j.url} ${username} ${password}
    -deploy -file ${ear.file}
    -deploymentName ${j2ee.app.name}
    Binding Web Apps+
    ${java} -jar ${admin.jar}
    ${oc4j.url} ${username} ${password}
    -bindWebApp ${j2ee.app.name} ${j2ee.web.app.name}
    ${oc4j.web.site} ${j2ee.context.root}
    And for Platform > OracleAS Remote DCM:
    ${java} -Djava.protocol.handler.pkgs=HTTPClient
    -jar ${Oc4jDcmClient.jar}
    ${dcm.servlet.url} ${username} ${password}
    redeploy ${remote.oracle.home}
    ${ear.file} ${j2ee.app.name} ${oc4j.instance.name}
    With a maven plugin- wrapping the deployment (possible even to the embedded OC4J) you could then look at get away without maintaining the libraries in the JPR. The JPR the becomes the configuration file for the IDE interaction only without affecting the build. For debugging, you can deploy to a standalone instance and start it using:
    java -server -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4000 -jar oc4j.jar
    Then connect to the port specified. The primary project I was working on was developed in Netbeans and deployed to SJSAS. I have since switch this project to working with JDeveloper 11.1.1 as the IDE and doing remote debugging from the IDE connecting to the SJSAS debug port.
    Note, that the maven plugin development for the managing of these aspects should be easier with JDeveloper 11.1.1 and the integrated WLS.
    Have you used this approach in a project that uses ADF Business Components? - Yes, I have used it on one of the smaller ADF projects that had already been produced by the team. This project has all the maven features and ability to deploy to the remotes AS via ant scripts. The approach worked in both the dev and test environments. However, for final deployment, I still used the deployment profile to be consistent with the rest of the team.
    Regards,
    Graeme.

  • JSF Custom component for table pagination and sorting

    hi
    i want such a custom component that render a table and table has the features of pagination and column sorting.
    any one know from where i can get such a custom component.
    (if this component is available with source then it would be more help full for me)
    thnks & regards,
    Haroon
    Message was edited by:
    HaroonAnwarPADHYAR

    I know two companies that offer JSF component for table pagination and sorting and AJAX based :
    http://www.teamdev.com/quipukit/demo/datatable/DataTable_filteringAndPaging.jsf
    http://java.samples.infragistics.com/NetAdvantage/JSF/2006.1/
    The problem? They are not open source..
    And I am too looking forward on this subject, because I want to develop my own custom component and add some features. If someone has any tips, references or samples of their own, it would be really appreciated.
    Thank you.
    Paul

  • Data Visualization and Graphs for JSF

    Are the Data Visualization and Graphs for JSF included in this release. I saw the demo here http://www.oracle.com/technology/products/jdev/11/index.html and want to try it out. But I could not seem to access it in the tool.
    Regards
    Orlando Kelly
    Cayman Islands Government

    <p>
    Hi,
    </p>
    <p>
    It seems you have no suitable libraries in your ViewController project. See on this image whet libraries you need.
    </p>
    <p>
    Kuba 
    </p>

  • Relevent specifications for JSF 2.0 and JSTL 1.2 specification evaluation.

    Hi,
    I am studying final draft version of JSF 2.0.
    What all other specifications required for JSF 2.0 and JSTL 1.2 specification evaluation with respect to glass fish 3.0.
    Please let me know what all other JSRs required to go through.
    Thanks,
    Ravi

    You will want a solid understanding of Servlets.
    You may want to use EJBs and EARs; then again, you may not.

  • Every time Server need a restart for jsf changes to reflect

    in our SIT environment  every time we need a restart for JSF changes to reflect.  !! is there any setting in web.xml  to jsf changes .. Thanks Rajendar

    Use Maven Hudson for automation.
    part7.html
    https://technology.amis.nl/2010/09/22/s313467-the-adf-build-process-using-maven-and-hudson/
    https://blogs.oracle.com/groundside/entry/automating_remote_deployment_to_oracle
    https://docs.oracle.com/middleware/1213/core/MAVEN/config_hudson.htm#MAVEN8854

  • Virgo Tools for Eclipse Luna and Mars

    Hi all,
    I tried to install the Virgo Tools both in Eclipse Luna and in Mars (JEE packages), from this update site:
    "Virgo IDE Releases" - http://download.eclipse.org/virgo/release/tooling
    - Eclipse Virgo Tools 1.0.1.201302270038-RELEASE
    but I got errors (see below).
    Instead all il working well with Kepler.
    Some suggestions?
    Thank you very much.
    Vincenzo
    ================================================
    Cannot complete the install because of a conflicting dependency.
    Software being installed: Eclipse Virgo Tools 1.0.1.201302270038-RELEASE (org.eclipse.virgo.ide.feature.feature.group 1.0.1.201302270038-RELEASE)
    Software currently installed: Eclipse IDE for Java EE Developers 4.5.0.20150621-1200 (epp.package.jee 4.5.0.20150621-1200)
    Only one of the following can be installed at once:
    OSGi System Bundle 3.8.1.v20120830-144521 (org.eclipse.osgi 3.8.1.v20120830-144521)
    OSGi System Bundle 3.10.100.v20150529-1857 (org.eclipse.osgi 3.10.100.v20150529-1857)
    Cannot satisfy dependency:
    From: Eclipse IDE for Java EE Developers 4.5.0.20150621-1200 (epp.package.jee 4.5.0.20150621-1200)
    To: org.eclipse.epp.package.jee.feature.feature.group
    Cannot satisfy dependency:
    From: EPP Java EE IDE Feature 4.5.0.20150621-1200 (org.eclipse.epp.package.jee.feature.feature.group 4.5.0.20150621-1200)
    To: org.eclipse.m2e.feature.feature.group 0.0.0
    Cannot satisfy dependency:
    From: Maven Integration for Eclipse 1.6.0.20150526-2032 (org.eclipse.m2e.core 1.6.0.20150526-2032)
    To: bundle org.eclipse.osgi 3.10.0
    Cannot satisfy dependency:
    From: m2e - Maven Integration for Eclipse (includes Incubating components) 1.6.0.20150526-2032 (org.eclipse.m2e.feature.feature.group 1.6.0.20150526-2032)
    To: org.eclipse.m2e.core
    Cannot satisfy dependency:
    From: Eclipse Virgo Tools 1.0.1.201302270038-RELEASE (org.eclipse.virgo.ide.feature.feature.group 1.0.1.201302270038-RELEASE)
    To: org.eclipse.virgo.ide.manifest.core [1.0.1.201302270038-RELEASE]
    Cannot satisfy dependency:
    From: Eclipse Virgo IDE (Manifest Core) 1.0.1.201302270038-RELEASE (org.eclipse.virgo.ide.manifest.core 1.0.1.201302270038-RELEASE)
    To: bundle org.eclipse.virgo.kernel.artifact 0.0.0
    Cannot satisfy dependency:
    From: Virgo Kernel Artifact Integration 3.6.0.RELEASE (org.eclipse.virgo.kernel.artifact 3.6.0.RELEASE)
    To: package org.eclipse.virgo.nano.serviceability [3.6.0,3.7.0)
    Cannot satisfy dependency:
    From: Virgo Nano Core 3.6.0.RELEASE (org.eclipse.virgo.nano.core 3.6.0.RELEASE)
    To: package org.eclipse.osgi.internal.baseadaptor 0.0.0

    Sorry, I have to correct myself: today I retried with a brand new Mars/JEE+Java8 and a brand new workspace:
    the error is related to missing org.json bundle.
    Cannot complete the install because one or more required items could not be found.
    Software being installed: Eclipse Virgo Tools 1.0.1.201506260038-SNAPSHOT (org.eclipse.virgo.ide.feature.feature.group 1.0.1.201506260038-SNAPSHOT)
    Missing requirement: Eclipse Virgo IDE (Server Core) 1.0.1.201506260038-SNAPSHOT (org.eclipse.virgo.ide.runtime.core 1.0.1.201506260038-SNAPSHOT) requires 'bundle org.json 0.0.0' but it could not be found
    Cannot satisfy dependency:
    From: Eclipse Virgo Tools 1.0.1.201506260038-SNAPSHOT (org.eclipse.virgo.ide.feature.feature.group 1.0.1.201506260038-SNAPSHOT)
    To: org.eclipse.virgo.ide.runtime.core [1.0.1.201506260038-SNAPSHOT]
    seems like Mars/JEE doesn't contain org.json ... which is quite strange ...
    With Mars/JEE+Java7 instead the detailed error is:
    Cannot complete the install because one or more required items could not be found.
    Software being installed: Eclipse Virgo Tools 1.0.1.201506260038-SNAPSHOT (org.eclipse.virgo.ide.feature.feature.group 1.0.1.201506260038-SNAPSHOT)
    Missing requirement: OSGi Framework Editor UI (Incubation) 0.2.0.201206060754 (org.eclipse.libra.framework.editor.ui 0.2.0.201206060754) requires 'bundle org.eclipse.zest.core [1.0.0,2.0.0)' but it could not be found
    Missing requirement: OSGi Framework Editor UI (Incubation) 0.3.0.201212132137 (org.eclipse.libra.framework.editor.ui 0.3.0.201212132137) requires 'bundle org.eclipse.zest.core [1.0.0,2.0.0)' but it could not be found
    Missing requirement: OSGi Framework Editor UI (Incubation) 0.3.0.201305070844 (org.eclipse.libra.framework.editor.ui 0.3.0.201305070844) requires 'bundle org.eclipse.zest.core [1.0.0,2.0.0)' but it could not be found
    Missing requirement: OSGi Framework Editor UI (Incubation) 0.3.0.201305151323 (org.eclipse.libra.framework.editor.ui 0.3.0.201305151323) requires 'bundle org.eclipse.zest.core [1.0.0,2.0.0)' but it could not be found
    Missing requirement: OSGi Framework Editor UI (Incubation) 0.3.0.201305311343 (org.eclipse.libra.framework.editor.ui 0.3.0.201305311343) requires 'bundle org.eclipse.zest.core [1.0.0,2.0.0)' but it could not be found
    Missing requirement: OSGi Framework Editor UI (Incubation) 0.3.1.201405141436 (org.eclipse.libra.framework.editor.ui 0.3.1.201405141436) requires 'bundle org.eclipse.zest.core [1.0.0,2.0.0)' but it could not be found
    Cannot satisfy dependency:
    From: Eclipse Virgo Tools 1.0.1.201506260038-SNAPSHOT (org.eclipse.virgo.ide.feature.feature.group 1.0.1.201506260038-SNAPSHOT)
    To: org.eclipse.virgo.ide.runtime.ui [1.0.1.201506260038-SNAPSHOT]
    Cannot satisfy dependency:
    From: Eclipse Virgo IDE (Server UI) 1.0.1.201506260038-SNAPSHOT (org.eclipse.virgo.ide.runtime.ui 1.0.1.201506260038-SNAPSHOT)
    To: bundle org.eclipse.libra.framework.editor.ui 0.0.0
    With Luna/JEE SR2 instead all is working well, both with Java7 and Java8
    Vincenzo

  • Need a login strategy for JSF application

    I have inherited a JSF application (prototype) and need to modify this application to require a user login. Right now, the application requires a login only for a sub-portion of the application, well after JSF is up and running. That has to change to require the login before the JSF application is invoked.
    Basically, what I want to do is present a standard login form (user name, password, and "submit" button). This information will be sent to "j_security_check" where the servlet engine will validate the user against an LDAP server and then look up some user role information. I have no control over user authentication. Once the user has logged in, the application will be looking at user roles to determine what elements of the JSF application they are permitted to access.
    In addition, I need to be able to detect when the user's session has expired. When this occurs, I need to automatically reroute the user back to the login page. The prototype I inherited currently has all of the JSF backing beans check to see if the Session is still valid before executing any actions. This seems rather tedious and error-prone to me.
    I am not very familiar with security and user authentication issues (somebody else always wrote that part). I think the approach I need to take is: (1) create a login page. (2) create a login error page. (3) create a filter to check to see if the user's session has expired and, if so, re-route the request to the login page.
    My questions:
    1. Is this the best approach? If not , what is a better approach?
    2. Can I use JSF elements for the various login pages, or do I need to use JSP or HTML elements only?
    3. Can you point me to an example or tutorial that explains what I need to do?
    I've looked at a couple of servlet books, a JSF book, and Sun's online Java tutorials, but I don't see anything that looks quite like what I think I need to do here.
    Once I get passed security handling, the rest of the application is all JSF and will be easy to build.
    Thanks for your thoughts, comments, and assistance.

    I have three macs and use one of them as the TM backup destination (that mac has 4 large external disks, I devote one disk at a TM backup for each of the macs) - that mac is also the file server. (I do also use an externally attached HD on one of the other macs as redundancy.) The system works very well and when set up requires no administration, it's automatic! Since the backups are made hourly, I have fresher data than my old system of doing nightly backups using a traditional backup app.
    I even had to do a full restore last week on one of the macs and found the process worked flawlessly, had the mac up and running after the 2 hour restore finished.
    For critical data (business or professional) I also recommend doing occasional boot disk backups using another backup app. I do that with one of my macs. Note: although I have wireless capability with each mac, I use wired Ethernet connections for speed and reliability.

  • Didn't update for so long, and now "Kernel is too old"

    I had a pacman -Syu after a long time and now the system is completely unusable:
    # ls
    FATAL: kernel too old
    # cat
    FATAL: kernel too old
    Since I can't even cat the logs, I'll paste the screen report of the installation:
    # pacman -Syu
    :: Synchronizing package databases...
    core 36.6K 84.6K/s 00:00:00 [#######################################################] 100%
    extra 461.2K 177.4K/s 00:00:03 [#######################################################] 100%
    community-testing 12.6K 87.8K/s 00:00:00 [#######################################################] 100%
    community 417.8K 263.1K/s 00:00:02 [#######################################################] 100%
    archlinuxfr 26.3K 117.2K/s 00:00:00 [#######################################################] 100%
    :: The following packages should be upgraded first :
    pacman
    :: Do you want to cancel the current operation
    :: and upgrade these packages now? [Y/n]
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): pacman-3.4.2-1
    Total Download Size: 0.69 MB
    Total Installed Size: 2.39 MB
    Proceed with installation? [Y/n]
    :: Retrieving packages from core...
    pacman-3.4.2-1-x86_64 708.0K 418.4K/s 00:00:02 [#######################################################] 100%
    checking package integrity...
    (1/1) checking for file conflicts [#######################################################] 100%
    (1/1) upgrading pacman [#######################################################] 100%
    # pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community-testing is up to date
    community is up to date
    archlinuxfr is up to date
    :: Starting full system upgrade...
    warning: ruby: ignoring package upgrade (1.9.1_p429-1 => 1.9.2_p136-2)
    resolving dependencies...
    looking for inter-conflicts...
    Targets (109): linux-api-headers-2.6.36.2-1 tzdata-2010o-1 glibc-2.12.2-2 attr-2.4.44-2 acl-2.2.49-2 ncurses-5.7-4 readline-6.1.002-2 bash-4.1.009-3
    gdbm-1.8.3-8 gcc-libs-4.5.2-4 db-5.1.19-3 zlib-1.2.5-3 cracklib-2.8.18-1 pam-1.1.3-1 gmp-5.0.1-2 libcap-2.19-2 coreutils-8.9-1
    perl-5.12.2-1 automake-1.11.1-2 binutils-2.21-2 run-parts-3.4.1-1 openssl-1.0.0.c-1 findutils-4.4.2-3 sed-4.2.1-3
    ca-certificates-20090814+nmu2-1 cloog-ppl-0.15.10-2 libusb-1.0.8-1 libusb-compat-0.1.3-1 pcre-8.12-1 glib2-2.26.1-1
    module-init-tools-3.12-2 pciutils-3.1.7-2 udev-165-1 device-mapper-2.02.79-1 popt-1.16-3 cryptsetup-1.2.0-1 curl-7.21.3-1
    dash-0.5.6.1-2 dhcpcd-5.2.9-1 diffutils-3.0-2 e2fsprogs-1.41.14-1 elfutils-0.150-1 expat-2.0.1-6 filesystem-2010.12-1
    fakeroot-1.14.5-1 file-5.05-1 freetype2-2.4.4-2 gawk-3.1.8-2 mpfr-3.0.0.p8-1 libmpc-0.8.2-3 gcc-4.5.2-4 gen-init-cpio-2.6.36-1
    perl-error-0.17016-2 git-1.7.3.5-2 gzip-1.4-2 texinfo-4.13a-5 groff-1.21-1 hdparm-9.36-1 sqlite3-3.7.4-1 libsasl-2.1.23-5
    libldap-2.4.23-1 heimdal-1.3.3-4 tar-1.25-1 libtool-2.4-2 libsm-1.2.0-1 xproto-7.0.20-1 libx11-1.4.1-1 libxt-1.0.9-1 libxext-1.2.0-1
    imagemagick-6.6.6.10-2 inetutils-1.8-2 initscripts-2010.07-2 iptables-1.4.10-1 irssi-0.8.15-4 jfsutils-1.1.14-2 less-436-2
    libjpeg-8.3.0-1 libmysqlclient-5.1.54-1 libpcap-1.1.1-2 libpng-1.4.5-1 libxdmcp-1.1.0-1 libxml2-2.7.8-1 lzo2-2.04-1 man-db-2.5.9-1
    man-pages-3.32-1 mlocate-0.23.1-2 mysql-clients-5.1.54-1 mysql-5.1.54-1 nano-2.2.6-1 nginx-0.8.54-1 libedit-20090923_3.0-1
    openssh-5.6p1-2 pacman-mirrorlist-20101223-1 patch-2.6.1-2 php-5.3.5-1 php-cgi-5.3.5-1 php-curl-5.3.5-1 php-gd-5.3.5-1
    pkg-config-0.25-3 procinfo-ng-2.0.304-2 procps-3.2.8-3 python-3.1.3-1 reiserfsprogs-3.6.21-3 screen-4.0.3-10 sdparm-1.06-1
    sudo-1.7.4.p6-1 syslog-ng-3.2.1-1 usbutils-001-2 which-2.20-4
    Total Download Size: 112.34 MB
    Total Installed Size: 619.29 MB
    Proceed with installation? [Y/n]
    :: Retrieving packages from core...
    linux-api-headers-2.6.36.2-1-x86_64 542.1K 341.4K/s 00:00:02 [#######################################################] 100%
    tzdata-2010o-1-x86_64 179.8K 154.4K/s 00:00:01 [#######################################################] 100%
    glibc-2.12.2-2-x86_64 7.2M 1509.9K/s 00:00:05 [#######################################################] 100%
    attr-2.4.44-2-x86_64 63.6K 117.8K/s 00:00:01 [#######################################################] 100%
    acl-2.2.49-2-x86_64 132.6K 154.9K/s 00:00:01 [#######################################################] 100%
    ncurses-5.7-4-x86_64 918.1K 518.1K/s 00:00:02 [#######################################################] 100%
    readline-6.1.002-2-x86_64 289.0K 200.7K/s 00:00:01 [#######################################################] 100%
    bash-4.1.009-3-x86_64 715.9K 202.9K/s 00:00:04 [#######################################################] 100%
    gdbm-1.8.3-8-x86_64 35.5K 86.9K/s 00:00:00 [#######################################################] 100%
    gcc-libs-4.5.2-4-x86_64 594.4K 373.4K/s 00:00:02 [#######################################################] 100%
    db-5.1.19-3-x86_64 1085.7K 695.9K/s 00:00:02 [#######################################################] 100%
    zlib-1.2.5-3-x86_64 78.2K 141.7K/s 00:00:01 [#######################################################] 100%
    cracklib-2.8.18-1-x86_64 238.4K 238.4K/s 00:00:01 [#######################################################] 100%
    pam-1.1.3-1-x86_64 618.8K 419.2K/s 00:00:01 [#######################################################] 100%
    gmp-5.0.1-2-x86_64 422.9K 339.9K/s 00:00:01 [#######################################################] 100%
    libcap-2.19-2-x86_64 32.7K 87.8K/s 00:00:00 [#######################################################] 100%
    coreutils-8.9-1-x86_64 2009.9K 1144.5K/s 00:00:02 [#######################################################] 100%
    perl-5.12.2-1-x86_64 12.5M 1471.6K/s 00:00:09 [#######################################################] 100%
    automake-1.11.1-2-any 524.8K 381.4K/s 00:00:01 [#######################################################] 100%
    binutils-2.21-2-x86_64 3.2M 772.0K/s 00:00:04 [#######################################################] 100%
    run-parts-3.4.1-1-x86_64 7.8K 62.6K/s 00:00:00 [#######################################################] 100%
    openssl-1.0.0.c-1-x86_64 3.6M 758.0K/s 00:00:05 [#######################################################] 100%
    findutils-4.4.2-3-x86_64 370.3K 329.4K/s 00:00:01 [#######################################################] 100%
    sed-4.2.1-3-x86_64 108.7K 175.3K/s 00:00:01 [#######################################################] 100%
    ca-certificates-20090814+nmu2-1-any 108.8K 173.2K/s 00:00:01 [#######################################################] 100%
    cloog-ppl-0.15.10-2-x86_64 112.6K 181.6K/s 00:00:01 [#######################################################] 100%
    libusb-1.0.8-1-x86_64 42.8K 113.9K/s 00:00:00 [#######################################################] 100%
    libusb-compat-0.1.3-1-x86_64 12.8K 94.2K/s 00:00:00 [#######################################################] 100%
    pcre-8.12-1-x86_64 511.0K 325.0K/s 00:00:02 [#######################################################] 100%
    glib2-2.26.1-1-x86_64 1527.8K 560.8K/s 00:00:03 [#######################################################] 100%
    module-init-tools-3.12-2-x86_64 348.8K 245.6K/s 00:00:01 [#######################################################] 100%
    pciutils-3.1.7-2-x86_64 219.6K 191.2K/s 00:00:01 [#######################################################] 100%
    udev-165-1-x86_64 229.1K 249.0K/s 00:00:01 [#######################################################] 100%
    device-mapper-2.02.79-1-x86_64 119.2K 138.6K/s 00:00:01 [#######################################################] 100%
    popt-1.16-3-x86_64 58.7K 117.4K/s 00:00:01 [#######################################################] 100%
    cryptsetup-1.2.0-1-x86_64 87.6K 164.7K/s 00:00:01 [#######################################################] 100%
    dash-0.5.6.1-2-x86_64 69.5K 120.6K/s 00:00:01 [#######################################################] 100%
    dhcpcd-5.2.9-1-x86_64 61.3K 112.7K/s 00:00:01 [#######################################################] 100%
    diffutils-3.0-2-x86_64 274.7K 241.0K/s 00:00:01 [#######################################################] 100%
    e2fsprogs-1.41.14-1-x86_64 571.1K 389.0K/s 00:00:01 [#######################################################] 100%
    elfutils-0.150-1-x86_64 551.5K 294.0K/s 00:00:02 [#######################################################] 100%
    expat-2.0.1-6-x86_64 103.8K 163.2K/s 00:00:01 [#######################################################] 100%
    filesystem-2010.12-1-any 4.1K infG/s 00:00:00 [#######################################################] 100%
    fakeroot-1.14.5-1-x86_64 47.0K 126.4K/s 00:00:00 [#######################################################] 100%
    file-5.05-1-x86_64 196.5K 224.3K/s 00:00:01 [#######################################################] 100%
    gawk-3.1.8-2-x86_64 686.5K 445.8K/s 00:00:02 [#######################################################] 100%
    mpfr-3.0.0.p8-1-x86_64 324.4K 289.6K/s 00:00:01 [#######################################################] 100%
    libmpc-0.8.2-3-x86_64 61.0K 122.1K/s 00:00:01 [#######################################################] 100%
    gcc-4.5.2-4-x86_64 16.3M 1620.9K/s 00:00:10 [#######################################################] 100%
    gen-init-cpio-2.6.36-1-x86_64 5.6K 45.3K/s 00:00:00 [#######################################################] 100%
    gzip-1.4-2-x86_64 73.4K 146.8K/s 00:00:01 [#######################################################] 100%
    texinfo-4.13a-5-x86_64 674.1K 492.7K/s 00:00:01 [#######################################################] 100%
    groff-1.21-1-x86_64 2.4M 1065.6K/s 00:00:02 [#######################################################] 100%
    hdparm-9.36-1-x86_64 64.2K 128.5K/s 00:00:01 [#######################################################] 100%
    sqlite3-3.7.4-1-x86_64 362.7K 323.8K/s 00:00:01 [#######################################################] 100%
    libsasl-2.1.23-5-x86_64 87.4K 139.2K/s 00:00:01 [#######################################################] 100%
    libldap-2.4.23-1-x86_64 357.3K 319.0K/s 00:00:01 [#######################################################] 100%
    heimdal-1.3.3-4-x86_64 1874.8K 935.5K/s 00:00:02 [#######################################################] 100%
    tar-1.25-1-x86_64 559.6K 411.4K/s 00:00:01 [#######################################################] 100%
    libtool-2.4-2-x86_64 377.7K 261.6K/s 00:00:01 [#######################################################] 100%
    inetutils-1.8-2-x86_64 275.1K 218.4K/s 00:00:01 [#######################################################] 100%
    initscripts-2010.07-2-x86_64 14.2K 47.8K/s 00:00:00 [#######################################################] 100%
    iptables-1.4.10-1-x86_64 253.9K 218.9K/s 00:00:01 [#######################################################] 100%
    jfsutils-1.1.14-2-x86_64 166.5K 176.4K/s 00:00:01 [#######################################################] 100%
    less-436-2-x86_64 87.4K 121.4K/s 00:00:01 [#######################################################] 100%
    libpcap-1.1.1-2-x86_64 174.9K 193.5K/s 00:00:01 [#######################################################] 100%
    lzo2-2.04-1-x86_64 59.0K 107.6K/s 00:00:01 [#######################################################] 100%
    man-db-2.5.9-1-x86_64 433.1K 250.6K/s 00:00:02 [#######################################################] 100%
    man-pages-3.32-1-any 4.3M 1198.4K/s 00:00:04 [#######################################################] 100%
    mlocate-0.23.1-2-x86_64 74.8K 103.9K/s 00:00:01 [#######################################################] 100%
    nano-2.2.6-1-x86_64 300.9K 232.2K/s 00:00:01 [#######################################################] 100%
    libedit-20090923_3.0-1-x86_64 184.4K 205.8K/s 00:00:01 [#######################################################] 100%
    openssh-5.6p1-2-x86_64 507.2K 320.2K/s 00:00:02 [#######################################################] 100%
    pacman-mirrorlist-20101223-1-any 2.1K infG/s 00:00:00 [#######################################################] 100%
    patch-2.6.1-2-x86_64 61.1K 116.6K/s 00:00:01 [#######################################################] 100%
    pkg-config-0.25-3-x86_64 30.5K 82.0K/s 00:00:00 [#######################################################] 100%
    procinfo-ng-2.0.304-2-x86_64 39.9K 99.8K/s 00:00:00 [#######################################################] 100%
    procps-3.2.8-3-x86_64 166.1K 190.4K/s 00:00:01 [#######################################################] 100%
    reiserfsprogs-3.6.21-3-x86_64 211.8K 212.7K/s 00:00:01 [#######################################################] 100%
    sdparm-1.06-1-x86_64 82.0K 164.0K/s 00:00:01 [#######################################################] 100%
    sudo-1.7.4.p6-1-x86_64 315.5K 316.8K/s 00:00:01 [#######################################################] 100%
    syslog-ng-3.2.1-1-x86_64 238.2K 237.3K/s 00:00:01 [#######################################################] 100%
    usbutils-001-2-x86_64 163.9K 219.1K/s 00:00:01 [#######################################################] 100%
    which-2.20-4-x86_64 13.7K 110.6K/s 00:00:00 [#######################################################] 100%
    :: Retrieving packages from extra...
    curl-7.21.3-1-x86_64 437.3K 313.2K/s 00:00:01 [#######################################################] 100%
    freetype2-2.4.4-2-x86_64 457.8K 382.7K/s 00:00:01 [#######################################################] 100%
    perl-error-0.17016-2-any 17.4K 70.3K/s 00:00:00 [#######################################################] 100%
    git-1.7.3.5-2-x86_64 2.4M 1032.7K/s 00:00:02 [#######################################################] 100%
    libsm-1.2.0-1-x86_64 47.0K 126.2K/s 00:00:00 [#######################################################] 100%
    xproto-7.0.20-1-any 135.6K 180.3K/s 00:00:01 [#######################################################] 100%
    libx11-1.4.1-1-x86_64 1954.9K 952.6K/s 00:00:02 [#######################################################] 100%
    libxt-1.0.9-1-x86_64 394.6K 251.0K/s 00:00:02 [#######################################################] 100%
    libxext-1.2.0-1-x86_64 92.8K 136.4K/s 00:00:01 [#######################################################] 100%
    imagemagick-6.6.6.10-2-x86_64 1864.6K 720.4K/s 00:00:03 [#######################################################] 100%
    irssi-0.8.15-4-x86_64 536.5K 309.7K/s 00:00:02 [#######################################################] 100%
    libjpeg-8.3.0-1-x86_64 191.2K 209.6K/s 00:00:01 [#######################################################] 100%
    libmysqlclient-5.1.54-1-x86_64 9.0M 1523.8K/s 00:00:06 [#######################################################] 100%
    libpng-1.4.5-1-x86_64 187.2K 204.4K/s 00:00:01 [#######################################################] 100%
    libxdmcp-1.1.0-1-x86_64 23.7K 87.0K/s 00:00:00 [#######################################################] 100%
    libxml2-2.7.8-1-x86_64 1455.4K 632.8K/s 00:00:02 [#######################################################] 100%
    mysql-clients-5.1.54-1-x86_64 153.0K 160.1K/s 00:00:01 [#######################################################] 100%
    mysql-5.1.54-1-x86_64 7.7M 1286.1K/s 00:00:06 [#######################################################] 100%
    php-5.3.5-1-x86_64 2.8M 911.5K/s 00:00:03 [#######################################################] 100%
    php-cgi-5.3.5-1-x86_64 1613.4K 818.1K/s 00:00:02 [#######################################################] 100%
    php-curl-5.3.5-1-x86_64 20.8K 72.1K/s 00:00:00 [#######################################################] 100%
    php-gd-5.3.5-1-x86_64 75.6K 147.6K/s 00:00:01 [#######################################################] 100%
    python-3.1.3-1-x86_64 7.7M 1299.6K/s 00:00:06 [#######################################################] 100%
    screen-4.0.3-10-x86_64 461.3K 368.4K/s 00:00:01 [#######################################################] 100%
    :: Retrieving packages from community...
    nginx-0.8.54-1-x86_64 245.1K 253.2K/s 00:00:01 [#######################################################] 100%
    checking package integrity...
    (109/109) checking for file conflicts [#######################################################] 100%
    ( 1/109) upgrading linux-api-headers [#######################################################] 100%
    ( 2/109) upgrading tzdata [#######################################################] 100%
    ( 3/109) upgrading glibc [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 4/109) upgrading attr [#######################################################] 100%
    ( 5/109) upgrading acl [#######################################################] 100%
    ( 6/109) upgrading ncurses [#######################################################] 100%
    ( 7/109) upgrading readline [#######################################################] 100%
    ( 8/109) upgrading bash [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 9/109) upgrading gdbm [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 10/109) upgrading gcc-libs [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 11/109) upgrading db [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 12/109) upgrading zlib [#######################################################] 100%
    ( 13/109) upgrading cracklib [#######################################################] 100%
    ( 14/109) upgrading pam [#######################################################] 100%
    ( 15/109) upgrading gmp [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 16/109) upgrading libcap [#######################################################] 100%
    ( 17/109) upgrading coreutils [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 18/109) upgrading perl [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 19/109) upgrading automake [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 20/109) upgrading binutils [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 21/109) upgrading run-parts [#######################################################] 100%
    ( 22/109) upgrading openssl [#######################################################] 100%
    ( 23/109) upgrading findutils [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 24/109) upgrading sed [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 25/109) upgrading ca-certificates [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 26/109) upgrading cloog-ppl [#######################################################] 100%
    ( 27/109) upgrading libusb [#######################################################] 100%
    ( 28/109) installing libusb-compat [#######################################################] 100%
    ( 29/109) upgrading pcre [#######################################################] 100%
    ( 30/109) upgrading glib2 [#######################################################] 100%
    ( 31/109) upgrading module-init-tools [#######################################################] 100%
    ( 32/109) upgrading pciutils [#######################################################] 100%
    ( 33/109) upgrading udev [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 34/109) upgrading device-mapper [#######################################################] 100%
    ( 35/109) upgrading popt [#######################################################] 100%
    ( 36/109) upgrading cryptsetup [#######################################################] 100%
    ( 37/109) upgrading curl [#######################################################] 100%
    ( 38/109) upgrading dash [#######################################################] 100%
    ( 39/109) upgrading dhcpcd [#######################################################] 100%
    ( 40/109) upgrading diffutils [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 41/109) upgrading e2fsprogs [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 42/109) upgrading elfutils [#######################################################] 100%
    ( 43/109) upgrading expat [#######################################################] 100%
    ( 44/109) upgrading filesystem [#######################################################] 100%
    warning: /etc/profile installed as /etc/profile.pacnew
    warning: /etc/hosts installed as /etc/hosts.pacnew
    warning: /etc/fstab installed as /etc/fstab.pacnew
    warning: /etc/gshadow installed as /etc/gshadow.pacnew
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 45/109) upgrading fakeroot [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 46/109) upgrading file [#######################################################] 100%
    ( 47/109) upgrading freetype2 [#######################################################] 100%
    ( 48/109) upgrading gawk [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 49/109) upgrading mpfr [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 50/109) upgrading libmpc [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 51/109) upgrading gcc [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 52/109) upgrading gen-init-cpio [#######################################################] 100%
    ( 53/109) upgrading perl-error [#######################################################] 100%
    ( 54/109) upgrading git [#######################################################] 100%
    ( 55/109) upgrading gzip [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 56/109) upgrading texinfo [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 57/109) upgrading groff [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 58/109) upgrading hdparm [#######################################################] 100%
    ( 59/109) upgrading sqlite3 [#######################################################] 100%
    ( 60/109) installing libsasl [#######################################################] 100%
    Optional dependencies for libsasl
    cyrus-sasl: saslauthd
    cyrus-sasl-plugins: authentication plugins other than sasldb
    ( 61/109) installing libldap [#######################################################] 100%
    ( 62/109) upgrading heimdal [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 63/109) upgrading tar [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 64/109) upgrading libtool [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 65/109) upgrading libsm [#######################################################] 100%
    ( 66/109) upgrading xproto [#######################################################] 100%
    ( 67/109) upgrading libx11 [#######################################################] 100%
    ( 68/109) upgrading libxt [#######################################################] 100%
    ( 69/109) upgrading libxext [#######################################################] 100%
    ( 70/109) upgrading imagemagick [#######################################################] 100%
    ( 71/109) upgrading inetutils [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 72/109) upgrading initscripts [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 73/109) upgrading iptables [#######################################################] 100%
    ( 74/109) upgrading irssi [#######################################################] 100%
    ( 75/109) upgrading jfsutils [#######################################################] 100%
    ( 76/109) upgrading less [#######################################################] 100%
    ( 77/109) upgrading libjpeg [#######################################################] 100%
    ( 78/109) upgrading libmysqlclient [#######################################################] 100%
    ( 79/109) upgrading libpcap [#######################################################] 100%
    ( 80/109) upgrading libpng [#######################################################] 100%
    ( 81/109) upgrading libxdmcp [#######################################################] 100%
    ( 82/109) upgrading libxml2 [#######################################################] 100%
    ( 83/109) upgrading lzo2 [#######################################################] 100%
    ( 84/109) upgrading man-db [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 85/109) upgrading man-pages [#######################################################] 100%
    ( 86/109) upgrading mlocate [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 87/109) upgrading mysql-clients [#######################################################] 100%
    ( 88/109) upgrading mysql [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 89/109) upgrading nano [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    ( 90/109) upgrading nginx [#######################################################] 100%
    ( 91/109) installing libedit [#######################################################] 100%
    ( 92/109) upgrading openssh [#######################################################] 100%
    warning: /etc/ssh/sshd_config installed as /etc/ssh/sshd_config.pacnew
    ( 93/109) upgrading pacman-mirrorlist [#######################################################] 100%
    warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
    ( 94/109) upgrading patch [#######################################################] 100%
    ( 95/109) upgrading php [#######################################################] 100%
    warning: /etc/php/php.ini installed as /etc/php/php.ini.pacnew
    ( 96/109) upgrading php-cgi [#######################################################] 100%
    ( 97/109) upgrading php-curl [#######################################################] 100%
    ( 98/109) upgrading php-gd [#######################################################] 100%
    ( 99/109) upgrading pkg-config [#######################################################] 100%
    (100/109) upgrading procinfo-ng [#######################################################] 100%
    (101/109) upgrading procps [#######################################################] 100%
    (102/109) upgrading python [#######################################################] 100%
    (103/109) upgrading reiserfsprogs [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    (104/109) upgrading screen [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    (105/109) upgrading sdparm [#######################################################] 100%
    (106/109) upgrading sudo [#######################################################] 100%
    (107/109) upgrading syslog-ng [#######################################################] 100%
    warning: /etc/syslog-ng.conf installed as /etc/syslog-ng.conf.pacnew
    (108/109) upgrading usbutils [#######################################################] 100%
    (109/109) upgrading which [#######################################################] 100%
    FATAL: kernel too old
    error: command failed to execute correctly
    FATAL: kernel too old
    error: command failed to execute correctly
    I think I have some mismatch between glibc and the kernel now, but the question is: how do I get out of this? This installation is on a VPS and I only have remote access. In case of emergency I can just restore yesterday's backup, but first I'd like to know if there is some other solution.
    Thanks

    Lol, I had the same problem just now:) System became completely unusable!
    Luckily I found the old glibc package without too much trouble, and with the help of a LiveCD I manually extracted the package and put the old files back in place. All back to normal. Phew!
    I'm kinda happy I didn't have to setup a Vserver for it:)
    My 10 year old pc, now performing admirably as a simple router, lives on!

  • Tomahawk for jsf 1.2 problem with customizing treetable component

    hi,
    i've tried many times bu i've got no clue how to set custom icons in the tree. what i want to achieve is to display the server's local file system. however this component doesn't allow to explicit specify what the node type is (a directory or a file). as a result when it finds an empty directory entry, no icon is displayed. i googled a bit and i guess the project's documentation is not sufficient. any help appreciated. ofc if someone knows a better method (or a framework) to do the job, please let me know. thanks
    cheers

    r035198x wrote:
    You could store the value in the session and remove it when you need to use it.Thanks, r035198x. I tried that before and users from other Java forums suggest that I shouldn't do it this way as I am adding more codes than necessary to pass technically a value from one bean to another. Hence, I decided to follow their advice and went and created a generic bean that can be referenced by other beans for pages calculation. Some users also suggest using Dependency Injection (available for JSF 1.2) to try to accomplish the result I want. I've also read about this method in JSF 1.2 spec - but without much example, I'm pretty much in the dark as to how this work. Unfortunately, I've only been on JSF for the last 4 weeks so I'm still a newbie - please excuse any "dumb" questions I have asked on this forum so far...
    What I currently has working for me is moving the method to calculate the pages from mybean1 to mybean2. This means all I have to do now for the other beans (11 remaining) is passed a few parameters to mybean2's method that calculate pages.
    Edited by: icepax on 12/11/2009 18:27

  • Best practice for JSF 2.0 composite component?

    Following the various tutorials and blog entries I have found, I have managed to implement a few composite components. I want to do a more complex one, but haven't found and example yet to follow and my own proficiency in programming model isn't sufficient for me to determine the best way to do it.
    What I would want to implement is something like the following example.
    .. xmlns:mc="http://java.syn.com/jsf/composite/myComponent" ..
    <mc:addTwo value="#{SomeBean.someProperty}" />The included component has two fields, which when the user inputs those the someProperty is set to some calculation of those two (for example adding them together). What I think I need to do is implement a backing bean for the "addTwo" component and do the calculation there. Then when that is done the composite backing bean needs to access the using page's SomeBean.someProperty setter. How is this done?
    My actual intent is to make a component that looks up an entity in a data base based on a number of user inputs, then set the "someProperty" property to that value. If I could do the above example then I think I can apply the same principle, which is to have the composite component's backing bean access the someProperty property in the using page's bean via a #{cc.attrs.xxx} type reference. Am I on the right track?

    this certainly seems like the place for JSF 2.0 discussions, yes.
    It seems so obvious, was this forum called something else when this was posted perhaps?

  • Plug-ins for RealServer 8 and Oracle 9i

    We are in the process of figuring out what we need to stream video stored in 9i with InterMedia using RealServer 8 on Solaris. Oracle says that there is no plug-in for Oracle 9i yet. All the plug-ins I found on OTN, even the 8i ones refer to RealServer G2 or RealServer 7.
    Has anybody been working on getting this plug-in or this configuration working ? We'd like to use the new version of the db, 9i and also the newest version of RealServer. Thanks in advance.

    The plugin can be made to work with RealServer 8 and 9i with a workaround.
    Without doing a workaround, An invalid library message
    occurs when the RealServer loads the Oracle plugin and tries to locate/resolve all the libraries that the plugin needs.
    If a library can't be located then a invalid message is emitted.
    The workaround only works on Solaris.
    The workaround is to, simply go to ${ORACLE_HOME}\lib and
    create a new symbolic link to point to the version 9 library: `ln -s libclntsh.so.9.0 libclntsh.so.8.0`
    To check if things are now OK On Solaris, go to the realServer plugins directory and type `ldd liborclfs.so`.
    This will list the dynamic dependencis for the plugin. If any of the dependecies can not be found/resolved,
    it will list a not found message.
    Larry
    Also see:
    Re: Date format : minutes are showing as one digit when the minute value is 1-9

  • The ELResolvers for JSF were not registered with the JSP container

    I'm trying to configure mojarra on tomcat6 (because I want to use Elastic Beanstalk). tomcat complains:
    Feb 8, 2011 10:24:17 AM com.sun.faces.lifecycle.ELResolverInitPhaseListener populateFacesELResolverForJsp
    INFO: JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
    I have tried all sorts of combinations of replacing EL2.2 libs in tomcat/lib, putting the libs in WEB-INF/lib, and the context param:
    <context-param>
    <param-name>com.sun.faces.expressionFactory</param-name>
    <param-value>com.sun.el.ExpressionFactoryImpl</param-value>
    </context-param>
    JSF pages seem to work but I'd rather have a clean startup. Please assist. Thx in advance.

    Thx for replying.
    I have jstl-1.2.jar:
         <dependency>
                   <groupId>javax.servlet</groupId>
                   <artifactId>jstl</artifactId>
                   <version>1.2</version>
    <scope>provided</scope>
              </dependency>
    Which version numbers are you referring to in *.xml? The following?
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    version="2.5">
    <faces-config xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
    version="2.0">

Maybe you are looking for

  • Error "Token in strings could not be evaluated" in form personalization

    Getting Error "Token in strings could not be evaluated" in form personalization. The syntax used is - ='BEGIN CREATE_URL_COLL('''||${item.IEXPYPRS_CC.CC_TYPE_DSP.value}||'''); end' Please suggest where I am going wrong. Thanks and Regards, Dibyanshu

  • Error while running the application on OC4J (Very Urgent!!!)

    Hi, I have deployed the application successfully , but while running from the browser , we are getting the following error :- 403 Forbidden Directory browsing not allowed.. Please help .. Nidhi

  • HSBC bank log in no longer works with internet explorer 5.2 HELP!

    I am currently using IE 5.2. It has always worked with HSBC bank internet banking -- now since they have upgraded the site for some reason I can't get to the log in page. Any suggestions? Based on previous forum threads, upgrading to Safari 2.1 (the

  • Wrong aspect ratio on HDTV

    I recently purchased an ATV and bought "Shooter" from iTunes. I realize that HD won't be available until the new software update. The picture looks fine when I watch it on my Mac, but after I synched it onto my ATV, it comes out in the wrong aspect r

  • File Not Compatible Error - CS4

    I cannot open a PSD file I was working on the day before. I get 'Could not complete your request because the file is not compatible with this version of Photoshop' I created this file using CS4 and was opening yesterday fine. This has never happened