Elements 9 - Actions

I download an action but have problems to install this actions
There are 3 files : .atn, .png and .jsx
.atn + .png are installed in following folder : ProgramData\Adobe\Photoshop Elements\9.0\Photo Creations\Photo Effects
The only thing that I do not know is where do I have to put the .jsx file
I tried several places to put this file in :
ProgramData\Abobe\Photoshop Elements
Users\Default\AppData
but I always receive following error message : JavaScript code was missing
I want to work with this action in the "Photo Effects" and not with the "Action Player"
I'm working with Windows 7
Hope my English was good to explain this problem
Thanks
Bea

Copy the .atn file to the one of the following locations:
Windows XP
C:\Documents and Settings\All Users\Application Data\Adobe\Photoshop Elements\8.0\Locale\en_US\Workflow Panels\actions
Vista
C:\ProgramData\Adobe\Photoshop Elements\8.0\Locale\en_US\Workflow Panels\actions
The next time you start Photoshop Elements, the action will appear in the Automated Actions guided edit menu.
Also here is one link which I found quite nice on all about PSE and actions: http://www.texaschicksblogsandpics.com/photography-page/installing-actions-in-photoshop-el ements/
Thanks,
Garry

Similar Messages

  • Photoshop Elements 8.0 - Actions

    I been searching for Photoshop Elements actions.  I stumbled across the "Totally Rad Actions" set, but sadly to say, they are not supported by PSE8 or any other Elements software.  They are only for CS3 and above.  These actions are awesome.
    Does anyone know of some similar type actions for Elements? I know there are a number of free ones out there, but the TRActions are awesome.

    PanosFX often gets a mention at Elements Village.
    Free downloads are available for PSE6, 7 & 8.
    They also have detailed instructions for installing the actions.
    http://www.panosfx.com/

  • CommandButton actions not getting called when "disabled" element present

    MyObjectForm.jsp contains commandButtons for "add", "update" and "delete" that are enabled/disabled according to the value of the bound id field.
    MyObjectForm.jsp
    <html>
    <body>
    <f:view>
    <h:form id="create">
    <h:inputHidden id="id" value="#{myObjectBean.id}" />
    <h:panelGrid columns="3" border="0">
    Name: <h:inputText id="name"
    requiredMessage="*"
    value="#{myObjectBean.name}"
    required="true"/>
    <h:message for="name"/>
    // other fields
    <h:commandButton id="add"
    value="Add" disabled="#{myObjectBean.id!=0}"
    action="#{myObjectBean.add}"/>
    <h:commandButton id="update"
    value="Update" disabled="#{myObjectBean.id==0}"
    action="#{myObjectBean.update}"/>
    <h:commandButton id="delete"
    value="Delete" disabled="#{myObjectBean.id==0}"
    action="#{myObjectBean.delete}"/>
    <h:commandButton id="delete2"
    value="Delete (no disabled element)"
    action="#{myObjectBean.delete}"/>
    </h:form>
    </f:view>
    </body>
    </html>In its managed bean, MyObjectBean, if an id parameter is found in the request, the record is read from the database and the form is populated accordingly in an annotated @PostConstruct method:-
    MyObjectBean.java
    public class MyObjectBean {
    private int id;
    /** other properties removed for brevity **/
    public MyObjectBean() {
    LOG.debug("creating object!");
    @PostConstruct
    public void init() {
    String paramId = FacesUtils.getRequestParameter("id");
    if(paramId!=null && !paramId.equals("")){
    getById(Integer.parseInt(paramId));
    LOG.debug("init id:"+id);
    }else{
    public String delete(){
    LOG.debug("delete:"+id);
    MyObjectVO myObjectVO = new MyObjectVO();
    ModelUtils.copyProperties(this, myObjectVO);
    myObjectService.removeMyObjectVO(myObjectVO);
    return "";
    public String add(){
    LOG.debug("add");
    MyObjectVO myObjectVO = new MyObjectVO();
    ModelUtils.copyProperties(this, myObjectVO);
    myObjectService.insertMyObjectVO(myObjectVO);
    return "";
    public String update(){
    LOG.debug("update:"+id);
    MyObjectVO myObjectVO = new MyObjectVO();
    ModelUtils.copyProperties(this, myObjectVO);
    myObjectService.updateMyObjectVO(myObjectVO);
    return "";
    public void getById(int id){
    MyObjectVO myObjectVO= myObjectService.findMyObjectById(id);
    ModelUtils.copyProperties(myObjectVO, this);
    /** property accessors removed for brevity **/
    }When no parameter is passed, id is zero, MyObjectForm.jsp fields are empty with the "add" button enabled and the "update" and "delete" buttons disabled.
    Completing the form and clicking the "add" button calls the add() method in MyObjectBean.java which inserts a record in the database. A navigation rule takes us to ViewAllMyObjects.jsp to view a list of all objects. Selecting an item from the ViewAllMyObjects.jsp list, adds the selected id to the request as a paramter and a navigation rule returns us to MyObjectForm.jsp, populated as expected. The "add" button is now disabled and the "update" and "delete" buttons are enabled (id is no longer equal to zero).
    Action methods not getting called
    This is the problem I come to the forum with: the action methods of commandButtons "update" and "delete" are not getting called.
    I added an extra commandButton "delete2" to the form with no "disabled" element set and onclick its action method is called as expected:-
    commandButton "delete2" (no disabled element) - works
    <h:commandButton id="delete2"
    value="Delete (no disabled element)"
    action="#{myObjectBean.delete}"/>Why would "delete2" work but "delete", not?
    commandButton "delete" (disabled when id is zero) - doesn't work
    <h:commandButton id="delete"
    value="Delete" disabled="#{myObjectBean.id==0}"
    action="#{myObjectBean.delete}"/>The obvious difference is the "disabled" element present in one but not the other but neither render a disabled element in the generated html.
    Am I missing something in my understanding of the JSF lifecycle? I really want to understand why this doesn't work.
    Thanks in advance.
    Edited by: petecknight on Jan 2, 2009 1:18 AM

    Ah, I see (I think). Is the request-scoped MyObjectBean instantiated in the Update Models phase? If so then the id property will not be populated at the Apply Request Values phase which happens before this, making the commandButton's disabled attribute evaluate to true.
    Confusingly for me, during the Render Response phase, the id property is+ set, so the expression is false (not disabled) giving the impression that the "enabled" buttons would work.
    So, is this an flaw in my parameter passing and processing code or do you see a work around?

  • Installing Actions in PSE 9 Downloaded from App Store

    Hi everyone,
    I'm seeing quite a few folks who downloaded PSE 9 from Mac's app store that can't install actions into PSE.  I've connected to their computers, unhid hidden folders, and looked for the navigation path I would have expected.  That doesn't work.  I ran searches for the native Elements actions like Blizzard and couldn't find them.
    Nothing works.  Any ideas?
    At first I thought this was a Lion issue, but it appears that the App Store is the common theme.  I know the App Store version doesn't have the Organizer, but I was under the impressions that it was the same other than that.
    Thanks!
    Erin
    Texas Chicks Blogs and Pics

    Hey guys, thanks so much for your time!
    I've seen it on Lion - a brand new install on a brand new computer and I've seen it on 10.6.7, which is not, I think, Lion.
    Mtstuner, I tried all but one of the suggestions on those links you sent.  Even revealling the hidden files in the Library didn't do it.  But I'll try the last suggestion regardless.  If I could just find where Blizzard and the other native ATNs are stored, I'd be good.
    I even tried that scary typing in the Mac terminal thing.  Never have done that before.  It did reveal hidden files, but not the ones I'm looking for.
    I think it has something to do with the App version.  Without the Organizer, I would expect the file structure to be different.  However, I wouldn't expect it to be so different that I can't find the files anywhere.  I've been able to find them on a million (or so) different computers/versions of PSE/operating systems.  But this is the first time I've ever tried on an App.
    I'm going to reconnect with one of these folks who is having issues tomorrow to see if there is anything else I can try.  I'll report back if I get any more helpful info.  I'm leaving on a vacation tonight, but this has really picqued my curiosity!
    Thanks again for the help!
    Erin

  • Photoshop Elements 9 Editor

    I recently downloaded Photoshop Elements 9 Editor from the App Store to my iMac.  I would like to install some Elements actions I have downloaded from the web and the instructions on Adobe and other sites say to find the following folder:
    System library/Application Support /Adobe /Photoshop Elements /9.0/Locale/en_US/Workflow Panels/actions  (http://help.adobe.com/en_US/photoshopelements/using/WS961FF412-5006-4364-B315-15 7662B1F7E9.html)
    When I got to Macintosh HD/Application Support/Adobe the next folders are "Help" and "HelpCfg", not Photoshop Elements, etc.  I assume this discrepancy is because this is a slightly different version (PSE9 Editor) and that my system installed it automatically from the App store.  Is this correct or am I reading the instructions wrong and looking in the wrong place?  More importantly, does this mean that I cannot install actions at all?
    Thanks for any help.

    It appears to be an issue with the App Store download.  I install these actions several times a day for folks at Texas Chicks Blogs and Pics and this is the only time over the past few years that I haven't been able to figure out how to get an action installed.
    Even unhiding folders and searching for the actions that are native to Elements doesn't work.

  • Elements 10 purchased through apple app store?

    I had photoshop elements 9 purchased through the itune app store and I was unable to add additional actions because a glitch in the app store version of 9. Apple credited my account and I was wondering
    if I puchase Elements 10 through the app store will I be able to add additional actions after the fact of is Elements 10 purchased through the app store the same as 9? Thanks in advance!

    Thank you!
    I bought actions from http://wish-photo.com/# as well as from http://ohsoposhphotography.com/artstore/products/elements-actions/
    Just want to make sure if I purchase Photoshop elements 10 through the apple app store I will be able to load them onto my elements. I already bought Elements 9 in app store and I was unable to load these actions.

  • Remove an element in Arrays Object

    If I only can use object Arrays, how can I perform remove element action?

    => a={1,2,}What should the last element be? If it is an array of primitives, there is no "empty" value.
    But why do you want to do this anyway? It sounds very much like you need to use an ArrayList.

  • JDBC Receiver to ORACLE Stored Procedure

    Hi Experts
    I browed the forum and could not find a strait answer to my problem. Hence I am posting this thread.
    I have a sync call using JDBC Receiver to ORACLE stored procedure.
    The definition of the procedure is as follows:
    CREATE OR REPLACE procedure TW.XI_TEST
        (p_edi_extract_id varchar2, p_res out edi_extract%rowtype) is
    t edi_extract%rowtype;
    begin
      select *
      into p_res
      from edi_extract e
      where e.edi_extract_id = to_number(p_edi_extract_id);
    exception
       when no_data_found then
            p_res := t;
    end XI_TEST;
    The request XML is as follows:
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns0:MT_EDIExtractSelectionRequest xmlns:ns0="urn:zim.com:tests">
    <STATEMENT>
    <PROC_NAME ACTION="EXECUTE">
      <TABLE>TW.XI_TEST</TABLE>
      <EDI_EXTRACT_ID isInput="true" type="STRING">4223142</EDI_EXTRACT_ID>
      </PROC_NAME>
      </STATEMENT>
      </ns0:MT_EDIExtractSelectionRequest>
    The error I am getting is as follows:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException:
    Error processing request in sax parser:
    Error when executing statement for table/stored proc. 'TW.XI_TEST' (structure 'STATEMENT'):
    java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00306:
    wrong number or types of arguments in call to 'XI_TEST' ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Any help would be appreciated.
    Regards
    Effi.

    >
    Rajesh wrote:
    > > Hi Rajesh
    > >
    > > The structure of my data type for the request query is as follows:
    > >
    > >
    DT_EDIExtractSelectionRequest (Complex Type)
    > >    STATEMENT (Element)
    > >       PROC_NAME (Element)
    > >          ACTION (Attribute) _mapped to_: EXECUTE
    > >          TABLE (Element) _mapped to_: TW.XI_TEST
    > >          EDI_EXTRACT_ID (Element) _mapped to_: 123456
    > >             isInput (Attribute) _mapped to_: true
    > >             type (Attribute) _mapped to_: STRING
    > >          EDI_EXTRACT (Element)
    > >             isOutput (Attribute) _mapped to_: true
    > >             type (Attribute) _mapped to_: CURSOR
    > >
    > >
    >
    >
    > Change the DT type to like below
    >
    >            STATEMENT (Element)
    >                   ACTION (Attribute) _mapped to_: EXECUTE
    >                   TABLE (Element) _mapped to_: TW.XI_TEST
    >                   EDI_EXTRACT_ID (Element) _mapped to_: 123456
    >                        isInput (Attribute) _mapped to_: true
    >                        type (Attribute) _mapped to_: STRING
    >                   EDI_ETRACT (Element)
    >                      isOutput (Attribute) _mapped to_: true
    >                     type (Attribute) _mapped to_: CURSOR

    > and try ...actually i dont remeber the exact strucuture..but i tolo faced the same pain of this
    >
    > HTH
    > Rajesh
    Hi Rajesh
    Changing the DT per your suggestion result in the following error:
    <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser:
    No 'action' attribute found in XML document
    (attribute "action" missing or wrong XML structure)</SAP:AdditionalText>
    Omitting the PROC_NAME element from the DT is not correct.
    Also, I would also like to clarify that the variables of the DT I am using are:
    EDI_EXTRACT_ID is defined as string
    EDI_EXTRACT is defined as string
    Because the variable p_res is mapped to nothing in the request payload it does not show.
    I read in one of the posts that this is correct and the variable is used due to the fact the isOutput attribute is true.
    Regards,
    Effi.
    Edited by: Effi Olivkovitch on Dec 6, 2009 9:11 AM
    Edited by: Effi Olivkovitch on Dec 6, 2009 9:18 AM

  • Need help with CSV to JDBC scenario

    Hi experts,
    We have a CSV file with data which has to be inserted into a SQL server database.
    The sender data type is:
    snd_dt  complex type
    row element 0..unbounded
    name element  xsd:string 0..1
    date element xsd:string 0...1
    ratio element xsd:string 0...1
    The receiver data type is :
    rcv_dt complex type
    STATEMENT element
    ROW element
    action Attribute
    TABLE element
    access element  0...unbounded
    name element xsd:string 0...1
    date element xsd:string 0...1
    ratio element xsd:string 0...1
    Now I did the mapping and also did the steps in ID.
    In the database, for the table in the SQL server, the datatype for name is "char(3)", for date is "date" and for ratio is "decimal(9,2)"
    When I run the scenario, this gives me an error saying:
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'NAME' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near ')'.
    I am doing a direct "INSERT" action into the table.
    How do I resolve this error?
    ANy help mwould be greatly appreciated.

    This is the exact error I am running into.
    SQL log statement:
    INSERT INTO  NAME() VALUES ()
    Error:
    Unable to execute statement for table or stored procedure. 'NAME' (Structure 'STATEMENT') due to com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near ')'.
    When I put this SQL statement in SQL server, there are field names inside the parantheses of VALUES. Is this the reason why there is error??
    Also, the receiver pay load looks like this:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_NAME_TABLE xmlns:ns0="http://jdbc2jdbc">
    - <STATEMENT>
    - <ROW action="INSERT">
      <TABLE>NAME</TABLE>
      <access />
      <access />
      <access />
    </ROW>
      </STATEMENT>
      </ns0:MT_NAME_TABLE>
    Regards.

  • File 2 jdbc

    Dear experts....
    i configured file to jdbc.....
    i encountered with an error which is saying that error in message mapping....
    how to solve it
    thanks in advance....
    somesh

    HI ,
    if you get message mapping error
    then the structure of the reciever message type might be wrong.ur message type must be
    MT_XXXXXXXXXX
       STATEMENT   Element
              TEST           Element
              ACTION        Attribute
              TABLE         Element
       =>   ACCESS      Element
                   EMP nameElement
                    Emp no     Element
                    Company   Element
    Then map action with constant having query INSERT OR SELECT OR EXECUTE  etc.. depending on ur requirement.
    map Table with constant and give table name which u created in the database and does not map access to any thing. and map emp name , emp no and company with fields in the sender side . then save and activate it.
    refer to this:http://help.sap.com/saphelp_nw70/helpdata/EN/22/b4d13b633f7748b4d34f3191529946/frameset.htm
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    regards,
    pradeep
    if useful reward points..

  • 10g: "Copy to Clipboard" in error dialog

    I like the "Copy to Clipboard" button in the error dialog in JDev 10g. Great idea!
    It appears, though, that line breaks in the exception stack are not preserved in the copied text. I think it would help readability if they were preserved.

    This was an error dialog that appeared in the Business Components Diagram after I performed a right-click->Show->Related Elements action on an entity object dropped onto the diagram. I am unable to reproduce that particular error, but hopefully this gives you enough info to determine which dialog I'm talking about.

  • ClassCastException from appendSecondaryDocument( non-oracle-generated-XMLDocument i )

    I wrote an xsql custom handler that converts html to xhtml and includes it into my xsql-generated xml.
    It gets slow because appendSecondaryDocument() throws a ClassCastException if I pass in a (XML) Document that is generated by the parser in JTidy.
    I therefore have to reparse this document using Oracle parser, which degrades performance too much.
    Is there any way to avoid this reparsing?
    I included code that shows the problem, the code relies on the JTidy library, which may be downloaded from:
    http://sourceforge.net/projects/jtidy/
    <pre>
    package nki.nettskolen.xsql;
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import org.w3c.dom.*;
    import org.xml.sax.*;
    import oracle.xml.parser.v2.*;
    import oracle.jdeveloper.cm.ConnectionManager;
    import oracle.sql.*;
    import oracle.jdbc.driver.*;
    import oracle.xml.xsql.*;
    import oracle.xml.xsql.actions.*;
    /** This class provides functionality for including html (as xhtml)
    into an xsql-page. Usage:
    <xsql:include-html src="../../main.html"/>
    @author Tommy Skodje, NKI 2001.
    public class HtmlImporter2 extends XSQLActionHandlerImpl {
    String mUrl = null;
    boolean mRelative = false;
    /** Get url to the resource u want to include */
    public void init(XSQLPageRequest req, Element action) {
    super.init(req, action);
    mUrl = action.getAttribute( "src" );
    } // init()
    /** Read the html file, convert to xhtml, and add to result. */
    public void handleAction(Node result) {
    InputStream in = null;
    try {
    org.w3c.tidy.Tidy tidy = new org.w3c.tidy.Tidy();
    tidy.setXHTML( true );
    tidy.setQuiet( true );
    XSQLServletPageRequest xspr = (XSQLServletPageRequest)getPageRequest();
    String requestType = xspr.getRequestType();
    if ( ! requestType.equals("Servlet"))
    return;
    HttpServletRequest req = xspr.getHttpServletRequest();
    HttpServletResponse res = xspr.getHttpServletResponse();
    String text = "<html><head></head><body><br>Hello World!</body></html>";
    in = new ByteArrayInputStream( text.getBytes() ); // dummy: get resource as stream
    // PassPostRequestServlet.getStream( mUrl , req , res );
    ByteArrayOutputStream outBuf = new ByteArrayOutputStream();
    Document xDoc = tidy.parseDOM( in , outBuf );
    // tsk FixMe: ClassCastException if used directly, why? appendSecondaryDocument( result , tidy.parseDOM( in , Logg.getStream() ) );
    InputStream inBuf = new ByteArrayInputStream( outBuf.toByteArray() );
    xDoc = readXMLDoc( inBuf );
    appendSecondaryDocument( result , xDoc );
    } catch ( Exception e ) {
    String msg = "Exception in XSQLImporter.handleAction(), url=" + mUrl;
    System.out.println( msg + e.getMessage() );
    } finally {
    close( in );
    } // handleAction()
    /* Parses and instantiates an XML document from stream (which is then closed)
    @param ByteArrayInputStream stream of textual data (from String, file etc)
    @return XMLDocument instantiated from contents of stream
    public XMLDocument readXMLDoc( InputStream source ) {
    DOMParser theParser = new DOMParser();
    try {
    //the parser works faster in nonvalidation mode
    theParser.setValidationMode(false);
    theParser.parse( source );
    } catch ( Exception e ) {
    String msg = "Exception in readXMLDoc(): " + e.getMessage();
    System.out.println( msg );
    } finally {
    close( source );
    return theParser.getDocument();
    }// end hentXMLDoc
    /** Closes the stream */
    public static void close( InputStream s ) {
    if ( s != null ) try {
    s.close();
    } catch ( Exception e ) { }
    } // close()
    /** Closes the stream */
    public static void close( OutputStream s ) {
    if ( s != null ) try {
    s.close();
    } catch ( Exception e ) { }
    } // close()
    } // class HtmlImporter
    </pre>

    Looks like you already figure this one out, but basically the XSQL Page Processor expects the DOM implementation that is used to be the fast Oracle DOM implementation for performance reasons.

  • F1 help for webdynpro Component

    hi all,
    My requirement is when i press the F1 help on a webdynpro component a word doc should open.
    Is it possible to do that?
    if so please tell me how to do that?

    Hi,
    If this is gets deployed on portal, you can make use of the Knowledge Management(Repository) where the portal
    team stores the documents. You can get the path of this document(PCD path) and LInkToAction UI element action handler, you can use the IF_WD_WINDOW_MANAGER and use EXTERNAL_WINDOW method to open in an exteernal window y giving that path.
    FileUpload to Application server -
    http://forumsa.sdn.sap.com/click.jspa?searchID=32290382&messageID=8054356
    Regards,
    Lekha.

  • Synchronize InputFields with DateNavigators First and Last Selected Dates

    Hello,
    I have two InputFields (StartDateInputField and EndDateInputField) which are bounded to context attributes (StartDate and EndDate) of type Date. There is also a DateNavigator, whose firstSelectedDate and lastSelectedDate properties are also bounded to those context attributes.
    Whenever I select dates in DateNavigator then those dates are visible automatically in InputFields, but, on the other hand when I select dates in InputFields, the changes are not visible in DateNavigator.
    I thought its sufficient to bind these controls to the same context attributes, but apparently its not working.
    Is there a way to accomplish this?
    Best regards,
    Ladislav Pomezny

    Hi Ladislav,
    Define onEnter action for InputField UI element (action handler implementation can be with empty body). But, in this case synchronization will be done only when you type smth in InputFiled and after press Enter. No other way to fire event from InputField.
    Best regards, Maksim Rashchynski.

  • Newbie: How to handle a multi-step dialogue with no session?

    I can't see how to handle the following trivial problem:
    1. The user clicks on a button to retrieve values from the database
    2. The values returned are displayed in a table on the same page
    3. The user clicks a button next to the desired element
    4. Some action is performed
    I can achieve steps 1, 2, 3 but fail on step 4: the action is not called.
    One prerequisite is that I don't want to store anything in the session or application scope.
    In the example that follows, when you click on "Show Element" the action is not performed.
    This is myExample.jsp:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
    <HTML>
    <HEAD>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <TITLE>Test</TITLE>
    </HEAD>
    <f:view>
         <BODY>
         <h:form>
              <h:commandButton action="#{myExample.doSearch}" value="Search Database" />
              <p/>
              <h:dataTable value="#{myExample.elements}" var="elem" binding="#{myExample.dataTable}">
                   <h:column>
                        <h:outputText value="#{elem}"/>
                   </h:column>
                   <h:column>
                        <h:commandButton type="submit" value="Show Element"     action="#{myExample.doShowElement}"/>
                   </h:column>
              </h:dataTable>
         </h:form>
         </BODY>
    </f:view>
    </HTML>This is myExample.java:
    package example;
    import javax.faces.component.html.HtmlDataTable;
    public class MyExample {
         private HtmlDataTable dataTable;
         private String[] elements;
         public MyExample() {
         private String[] readFromDatabase() {
              return new String[] {"one", "two", "three"};
         public String[] getElements() {
              return elements;
         public void setElements(String[] elements) {
              this.elements = elements;
         public HtmlDataTable getDataTable() {
              return dataTable;
         public void setDataTable(HtmlDataTable dataTable) {
              this.dataTable = dataTable;
         public String doSearch() {
              elements = readFromDatabase();
              return "";
         public String doShowElement() {
              String selected = (String) dataTable.getRowData();
              System.out.println("Selected element: " + selected);
              return "";
    }This is in faces-config.xml
         <managed-bean>
              <managed-bean-name>myExample</managed-bean-name>
              <managed-bean-class>example.MyExample</managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
         </managed-bean>

    Thank you for your answer.
    I didn't realise I could use inputHidden for anything more complex than a single string...
    I have added a h:inputHidden for the elements array but it still doesn't work.
    How should it be used?
         <h:form>
              <h:inputHidden value="#{myExample.elements}"/>
              <h:commandButton action="#{myExample.doSearch}" value="Search Database" />
    ...While debugging I noticed that at the last button-press the getElements method is called twice before setElements, returning null.

  • Component binding - changes are not reflected

    Dear all,
    When using JSF method binding I'm experiencing the following strange behavior.
    Within the view, I'm registering a panel by method binding expression, which I then use within the controller bean to add additional UIComponents on it. However when running through "addTestToDEBUG()", the existing Panel is retrieved properly via the getViewRoot's children, the new HtmlOutputText is created and added upon - also when I call getComponent on the newly created HtmlOutputText's userID I get the UIComponent returned.
    However after the addTestToDEBUG() method has finished and the view is updated, the "setComponentPanelDEBUG(UIComponent panel)" is called, but panel (where we have added child UIComponents upon, does not contain the HtmlOutputText element!
    Where's my conceptional error? Thanks for your help!
    Please find attached my sample code:
    here's my view:
    <h:form id="formXmlDebugTemplate">
         <p><h:outputText value="Debugging:"/></p>
         <h:panelGroup id="panelDEBUG" binding="#{RegisterTBServiceBean.componentPanelDEBUG}">               </h:panelGroup>
         <br/>  
          <h:commandButton id="buttonDEBUG" value="Add Element" action="#{RegisterTBServiceBean.command_addDEBUGITEM}"/>     
    </h:form>here's the bean:
    private UIComponent debug = new UIPanel();
    public UIComponent getComponentPanelDEBUG(){
         return this.debug;
    public void setComponentPanelDEBUG(UIComponent panel){
         this.debug = panel;
    }here's the controller
    public void addTestToDEBUG(){
         UIComponent panel = (UIComponent)getComponent("formXmlDebugTemplate:panelDEBUG");
         String sRandom = ((int)((java.lang.Math.random()*100)))+"";
         facesContext = FacesContext.getCurrentInstance();
         HtmlOutputText outputText = (HtmlOutputText) facesContext.getApplication().createComponent(HtmlOutputText.COMPONENT_TYPE);
         outputText.setValue("Test"+sRandom);
         outputText.setId("xmlDEBUGOutputText"+sRandom);
         panel.getChildren().add(outputText);          
    private UIComponent getComponent(String sID){
         facesContext = FacesContext.getCurrentInstance();
         Iterator<UIComponentBase> it = facesContext.getViewRoot().getChildren().iterator();
         UIComponent returnComp = null;
         while(it.hasNext()){
              UIComponent guiComponent = it.next().findComponent(sID);
              if(guiComponent!=null){
                   returnComp = guiComponent;
         return returnComp;
    }

    Dear all, thanks for your help - we've finally found what was causing the problems:
    So the behaviour was that actually all "method bound" UIComponents were updated within the bean, but the changes were not reflected within the gui.
    Well *<redirect>* within the faces-config was causing the problems
    Redirect foces a HTTP redirect instead of using the usual ViewHandler mechanism to take place.
    kr A.

Maybe you are looking for

  • My ipod is not recognized by windows xp

    hello every body, i bought my ipod secondhand (20 Go version 2.3), without the installation CD, so when i connected it to windows xp, it's not recognized, i installed the last version of itune and ipod driver on my PC, but the problem persist always,

  • How can we re-enable automatic login?

    My husband likes to have automatic login, and has always used it on his laptop. The computer belongs to his employer; yesterday, it wouldn't accept his login at all, and when he got it back from IT an hour later, there was a new account on it (the IT

  • Issue in modifying OIM Email Def content

    Hi, I am facing an issue that ,when i try to change the content of my email notifications,it is getting changed.But after some time or days,the changes are not getting reflected.Is this a bug with OIM?.

  • Extremely strange open/save dialog behavior

    This is a complex thing to describe, but here goes: Under 10.4.x, in certain applications' open/save dialogs, files and folders for an Iomega FireWire Drive are often simply missing. For example: in the Users folder, I have two folders: "Scott" and "

  • Solid State Drive Stats?

    I know that the solid state drives that come as an option for the MacBook Pros are 128gb and 256gb, but does anybody have their read/write times and onboard cache? If you do, could you tell it to me, or at least write down the specific model number o