TomaHawk dataList tag and javaScipt

Hi,
Does anyone have a sample javaScript function to access an inputText field inside a dataList tag? Thanks.

Just read the HTML output generated by JSF and then base your Javascript on this.

Similar Messages

  • Using the binding attribute within Tomahawk's t:dataList tag

    I am trying to create a .jsp page with a dynamic list of tables. Each table on the page has a dynamic number of columns. I read an excellent blog ([The BalusC Code - Using datatables|http://balusc.blogspot.com/2006/06/using-datatables.html#PopulateDynamicDatatable]) that taught me how to create dynamic tables using the binding attribute. I can now get the tables with dynamic columns working.
    What I would like to do next is nest the dynamic tables within a Tomahawk t:dataList tag:
    <t:dataList value="#{utilitiesTableSegBean.attributeTables}" var="attributeTable">
        <h:outputText value="#{attributeTable.title}"/>
        <h:panelGroup binding="#{attributeTable.dynamicTableGroup}/>
    </t:dataList>
    {code}
    When I run my app I get this error:
    javax.servlet.ServletException: javax.servlet.jsp.JspException: org.apache.jasper.el.JspPropertyNotFoundException: /s/UtilitiesTableSeg.jsp(57,56) '#{attributeTable.dynamicTableGroup}' Target Unreachable, identifier 'attributeTable' resolved to null
    Why do I get this error?
    If I remove the h:panelGroup tag then the h:outputText tag works just fine.  Why does 'attributeTable' resolve to null for the binding attribute of h:panelGroup, yet works for the value attribute of h:outputText?
    So then I thought that I might be able to make it work with an index into a bean property that returned the list of table objects.  So I tried to modify my panel group tag to:
    {code}<h:panelGroup binding="#{utilitiesTableSegBean.attributeTables[0].dynamicTableGroup}"/>{code}
    I was just doing a quick initial test and expected to see the first table repeated over and over because I had hard coded the value of '0' as the index.  But I was wrong.  It listed through all of the tables correctly.  Why?  This makes no sense to me!
    So I changed my jsp again so that it looked like this:
    {code}
    <t:dataList rowIndexVar="tableIndex" value="#{utilitiesTableSegBean.attributeTables}" var="attributeTable">
        <h:outputText value="#{attributeTable.title}"/>
        <h:panelGroup binding="#{utilitiesTableSegBean.attributeTables[tableIndex].dynamicTableGroup}"/>
    </t:dataList>
    {code}
    This is how I expected to code it so that the tables would all be shown correctly.  And it gives this error:
    org.apache.jasper.JasperException: An exception occurred processing JSP page /s/UtilitiesTableSeg.jsp at line 57
    (Line 57 is the line with the h:panelGroup tag.)
    Root cause:  javax.servlet.ServletException: javax.servlet.jsp.JspException: java.lang.IllegalArgumentException: null
    I would really like to get the original version working, but any feedback and/or suggestions would be greatly appreciated.  I have spent a lot of time trying to figure this out and I just don't know where else to look.
    Thank you very much!
    Dave                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Yes, sorry about that - I started off trying to prove a potential solution.
    Aim:
    A user logs onto a weblogic application and is authenticated against OID. The application is making SOAP service calls to a proxy endpoint monitored by another vendors software which authenticates the user against the ldap and checks their roles to see if the user can call the service.
    Solution so far:
    The initial application gets the username from the JAAS principal, but the password is not supplied. I can easily supply the SHA password digest to it (but putting a cleartext password in the header will probably not be given the go-ahead). This would enable the application to make the SOAP call with a username and digest.
    The software protecting the services can be configured in a variety of ways to authenticate the user to the ldap. One involves using the wsse username token in the header (cleartext password or digest).
    This authentication is failing and I don't yet have the diagnostic tools available to see which stage is in error. I was trying to prove that you could actually authenticate with an SHA password digest by doing a bind.
    Regards

  • How can I check if there are meta tags and description tags for my pages on website?

    I want to check if the pages on my website have keywords or meta tags and description. How can I do that?

    In Contribute, Edit the Page and the click on Format, Keywords and Descriptions.

  • Changing ID3 tags and replacing tra

    I'm playing with my new Xtra and enjoying it. I will want to jigger many of the tags to organize the genres and artists better.
    ) The software stored the albums (as I requested) under Artist/Album. If I shift an album under a different artist name, I assume it will not automatically change the tags for the artist. (For instance, I have a few "Elvis Costello" and a few "Elvis Costello and the Imposters"... I want them all under the same artist name).
    2) Can I change the basic tags (Artist, Album, Genre and even Track #) using Create MediaSource Organizer, or should I download a decent/free ID3 tag program recommended on various guru FAQs?
    3) Here's my real question: Once I alter the tag on a track I've already loaded onto the player, I will want to replace it with the updated tags. If I re-transfer, will it overlay the tracks with the updated ones -- or will it create duplicates? Do I need to delete the album or tracks from my player before sending them back over?
    Thanks
    Michael

    zmulls wrote:I figured the PC was easier to change tags. Just for the typing (!)
    Well you can only edit tags using the PC. I meant with respect to which data source you use, the player itself (when connected to the PC) or the files on the PC's hard dri've.
    The "move" would be just taking a subfolder ("album") and moving under a different "artist" folder -- in Explorer. I figured also that I'd still have to change the tags (the ripping program reads the tags and creates the directories, but I assumed the intelligence doesn't go another way).
    Ah right. Yes, you have to change the tags themselves. It doesn't automatically realise the folder has changed, although you can get many programs which will use folder and filename data to generate the tag.
    So I should grab a tagging program, and plan to "Delete From Player" and "Re-Transfer From PC." Not as bad as it sounds, as I can delete whole albums at once from the Player.
    It's certainly the method I use. It really depends on what approach suits you.
    I saw the list of tag programs on your FAQ -- are the "free" ones good enough? Is there a real advantage in the shareware or paid programs (other than the one you cite on Nomadsync).
    I've never bought a tag editing program, and have used 2 or 3. I prefer overall though, but some don't like the UI. Best to check some out.
    Nomadsync is listed in the programs to copy files. Remember that Nomadsync is not a tag editor, it's a program for copying files.

  • ID3 tags and Nee

    Sorry if this has been asked before or is really obvious :P
    I have a Zen Neeon and the currently playing song appears on the screen as only a title. There is no artist. All my songs are tagged with ID3 v and 2. The only way I can get the player to scroll Artist - Title is by removing all ID3 tags and having the filename be Artist - Title.mp3 (it does not display the .mp3 extension when playing a track). Is this the way it works? I was under the impression from the FAQs and a little snooping that Zens could read ID3 tags? Obviously they can because it gets the track title information out fine, but not the artist. Is there a simple option I'm missing?
    Edit: .0 firmware and using Winamp to edit my ID3 tags, put the songs on the player by drag and drop in ExplorerMessage Edited by SR on 08-3-2006 03:53 PM

    Hey, first of all, thanks for your help, but I'm still in problems.
    I have noticed that itunes imports the music files before I alter the ID3 tags (from backup files). However, as soon as I try to add the same file to my itunes library after I have edited the ID3 file (via windows itself), itunes does not add the file to its library anymore. This is happening to a considerable amount of my music. When I try to play the same files in windows mediaplayer, they play without a problem, so I guess the problem is with itunes.
    Somebody can please help me out, because I like to be in control of my music, and not itunes,
    adios Gregorius

  • Itunes does not read id3 tags and its a problem

    Ok I have 60 gig of music and all of it is labeled correctly in id3 tags. But when i add them all to itunes some of the songs are blank with no information at all but if i go into "show in explorer" the information in the id3 tags instantly pops up. I'v searched google and found nothing so i hope someone can tell me a fix or another program to use that will organise my music like itunes does and also can put music on my ipod. So please help me with the problem.
    Thanks

    It doesn't work. I'v already tried that. I'v even tried converting the id3 tags and then removing them from the libray and adding them again. Still nothing. It might help if someone could tell me where itunes gets it information for its tags when you add music to its libray seeing as it doesn't use id3 tags for the information like any smart program does.

  • In the Firefox browser, when i click button in ADF page, then popup  the OAF page in iframe tag,and then when i  click the PPR bean in  OAF page, then Firefox  browser reload to ADF page. This is not the right response,browser should not reload the ADF pa

    In the Firefox browser, when i click button in ADF page, then popup  the OAF page in iframe tag,and then when i  click the PPR bean in  OAF page, then Firefox  browser reload to ADF page. This is not the right response,browser should not reload the ADF page.It should stays in OAF page or goto another OAF page. and in other browser such ad IE,We get the right response.

    hello, normally such issues are caused by a firewall/security software which doesn't recognize & therefore blocks new firefox versions. please remove all program rules for firefox from your firewall and let it detect the new version of the browser again.
    [[Fix problems connecting to websites after updating Firefox]]

  • Adobe Bridge, tagging and searching videos

    The company I work for has a enormous library of video. We are at a point where we would like to start tagging our video to where it is searchable.
    i.e., Search "boy" "classroom" and we will have a list of all video assets that are tagged with the words "boy" and "classroom"
    I have found a handful of Adobe Bridge tutorial videos that touch on searching meta data but only applies to photos. And the fields that I have entered metadata in for testing, will not appear when searching.
    I am just wondering what the workflow is for adding tags to video files so any colleagues or clients and come in, open Bridge, search tags and pick out the video clips needed.
    Is this possible with Bridge?
    Any help would be greatly appreciated.
    Thank you!

    You can search for any metadata (criteria all metadata), but do not believe possible with video.  Keywords are written to the image, and not sure how this would work with a video clip.
    A workaround is to make a jpg frame save from the film and keyword that.

  • What's the difference between tags and labels?

    What's the difference between message tags and labels?
    Solved!
    Go to Solution.

    Indeed tags are freeform and can be added and created by anyone. Labels follow a stricter hierarchy and are usually defined on the individual community level (e.g. per ideation section, or specific to a discussion board).
    Labels are used as a filter by the community team to more easily look at specific sub-sections of content.
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Save As with file containing tags and fields

    We are using Windows XP, AcroProf 8.1.5. We create non-tagged PDFs directly from InDesignCS3. We manually tagged this doc. After making updates to the original InD file, we create a new PDF. We open the original PDF file containing all tags and fields and replace the pages with the updated PDF file do a Save As to a new file. We then open the original tagged PDF and insert the pages of the NEW file at the end and delete the first half of the file (containing the original tagged pages). When we do a save we get the following error message and Acrobat closes.
    Error signature -- AppName: Acrobat.exe   AppVer 8.1.0.137  ModName: unknown   ModVer: 0.0.0.0  Offset: 00acdd35
    What could be causing this problem.
    We have tested this in the past using AcroProf 8.1.3 and the process worked. All tags were intact. Since then we received the 8.1.4 update and it no longer works.
    HELP. We are in the process of building a complete Accessible library of forms and will be working in the updated forms over last years.
    KEN PANTHEN, Albany, NY

    Can anyont help with this problem?
    Seems like there is little to be known about working with a tagged PDF. I searched the internet as well as the Adobe site and nothing to help resolve the issue.
    KEN PANTHEN, Albany, NY

  • Want to include ?xml tag and  schema when creating XML

    My database table that need to be generated in to XML are large and therefore I must use OracleXMLQuery.getXMLSAX . The output is missing the <?xml version="1.0" ?> tag. How do I get it? I am on 9i but have imported the .jar containing oracle/xml/parser/v2/XMLSAXSerializer from 10g XDK.
    Also, I want the schema to be written next, before the actual XML table values.
    I know that a command line parameter exists, which works for small XML files:
    java oraclexml getxml -user "scott/tiger" -withDTD "select ....
    How do I get the equivalent of '"-withDTD" when using
         OracleXMLQuery qry = new OracleXMLQuery(conn, "select * from "+table_name );
         qry.getXMLSAX(myStream);
         myStream.flush();
    Thank you,
    Elaine

    No. Actually, I can get the <?xml tag and DTD if my select statement contains 'where rownum=0', as the resultset is small which lets me use getXMLMetaData() .
    I write it to one output file, then do another OracleXMLQuery, repeating the select statement without the where clause, and run that through getXMLSAX to get the detail.
    Next, I need to scrub the data of special characters acceptable in the database but which cause problems to a browser or XML validator. (e.g. accented characters).
    Finally, I will concatente the two files.
    Is there a simpler way to do this?
    Thanks,
    Elaine

  • The find function (Ctl+F) , doesn't not expanding the xml file , to search for given search. If the the xml file is expanded , then find function finds the tag and data. How to fix this.

    The find function doesn't expanding the xml nodes to search. If the xml is expanded , then find function highlights both matching tag and data. how to fix this.
    == This happened ==
    Every time Firefox opened

    <xsl:value-of select="x"/> produces a string that consists of all text nodes in x.
    <xsl:copy-of select="x"/> produces an exact copy of x.
    Go to http://www.zvon.org/ for more information like this.

  • Custom Tag and Attribute Not Found

    Hi,
    I've been getting an error with the following code in a JSP called cardDeclined.jsp...
    <gwps:log level="ERROR" message="<%= request.getAttribute("errorMessage") %>" />gwps:log is a custom tag and errorMessage is a request attribute set in a servlet that includes my JSP. When I execute the program, I get a message from the servlet container (Tomcat 3.2.3) stating that "attribute 'errorMessage' has no value".
    I wrote some test code that dumps out "errorMessage"; that seemed to work. The JSP request object has a value for "errorMessage." So, I now use the following workaround...
    <% String message = (String)request.getAttribute("errorMessage"); %>
    <gwps:log level="ERROR" message="<%= message %>" />I'm looking for a reference describing how request and session variables can be passed to the custom tag
    Thanks,
    CW

    I think you might be having a problem with the quotes. Try this instead:
    <gwps:log level="ERROR" message='<%= request.getAttribute("errorMessage") %>' />
    Notice the single quotes around the scriptlet.

  • Trying to make sense of div tags and css

    i know that i am a few years late here, but i am looking ot make the migration from using tables and switching over to div tags and css. i have watched a few tutorials on you tube and am trying to understand everything.
    please tell me if this is correct.  a div tag is basically a table and css is what is used to style that div tag to meet your needs, is this a correct assumption??
    if you go to my current site www.tankinz.com you can clearly see that the site is made up of tables, basically these boxes or tables contain a different item or package that a customer can click on and buy.  by using div tags and css would each of these boxes, or tables be their own div?
    sorry for sounding a bit moronic but i am trying to make sense of all of this.
    please help!

    Markup (html) contains elements, such as html, body, h1, h2, p, span, div and so forth. Hence a <div>-tag is part of an element; the other part being the </div>-tag.
    The element structure of many web sites is basically (using HTML5 element names)
    html
         head
         body
              header
              nav
              aside
              article
              footer
    These elements can be positioned and styled using style rules (css). Depending on the style rules, the above structure can take on many different styles, without ever touching the markup.
    Have a look here for a simple two-column layout using the same structure as above http://www.456bereastreet.com/lab/developing_with_web_standards/csslayout/2-col/

  • Publicly sharing PDF's with form fields, tags and bookmars.

    I'm looking to be able to share a PDF document so that my coworkers are able to acces this document. I'm very aware of various ways to share the PDF, via email or Google Docs, but I need some sort of hosting that will support form fields, tags and bookmarks. It would be very beneficial if everyone would be able to access the PDF after 'sharing' and viewing on a URL. But, I really need them to be able to search and navigate easily through the bookmarks and buttons. We need this shared via internet because sharing the PDF document itself to each individual employe's computer, runs the risk of slowing computers down. Is there anything I can use, some sort of hosting site or program similar to Google Docs that will support these features?

    Note The Adobe PDFviewer requires that users to use Safari or Webkit based Browsers only.
    All gecko based browsers will not work. Adobe made conscious decision when OSX came out Not support gecko based browsers.
    So if you have any of the following Gecko based Browsers you have to use another plugin.
    SeaMonkey (equivelent to the Communicator All-in-one)
    FireFox
    Camino
    OmniWeb
    Opera and others.
    You have to use a Plugin from a fellow named Schubert of Germany, called PDFBrowser Plugin
    It supports all Browsers except Internet Explorer. Makes no difference whether gecko or webkit based. The plugin author is banned by Adobe from putting in forms support.
    And using Apple's Preview will absolute corrupt a PDF Form making it unusable if opened in Reader or Acrobat after being viewed and saved in Preview.

Maybe you are looking for

  • Itunes wont open, error messages instead

    Upon opening itunes i get: iTunes.exe - Bad image C:\Program Files (x86)\ Common Files\Apple\Apple Aplication Support\libxml2.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original in

  • How to handle session-timeout in producer-consumer(wsrp) environment.

    Hi We are using weblogic portal 9.2 in federated environment (wsrp) . We have one consumer Ear and some producer Ear . we want if session is time out ,then user should direct to some default page . For that we are firing event in Base Exception handl

  • How to start XML reports in Oracle Apps

    Hi All, As im new to develop XML reports in Oracle Apps. And Im used to develop oracle reports. But i have a new requirement came and i need to develop new XML reports. I am using windows please let me know any software to be installed and how to reg

  • Hi! Any Geek want to explain this??

    Hi! I know you think old Dokie is paranoid. Anyone want to explain this. Malwarebytes just blocked this IP address and look where it's coming from. Not my first rodeo!! I will give a dollar for each reply I get. Dokie!! PS I will give Jerry 2 Dollars

  • Can I install photoshop  trial version on student computer lab for teaching  student ?.

    can I install photoshop  trial version on student computer lab for teaching  student ? or  school need to buy a license.