Using HTML table tags instead of panelGrid

Is is possible to avoid using the panelGrid component for table-based HTML layouts, and still take advantage of JSF functionality?
Basically, I have a reasonably complicated HTML layout using traditional <table> tags and don't really want to convert it to use the panelGrid component, largely because the latter doesn't seem to make it easy to precisely control inidividual cell dimensions/alignments etc. Can I still use JSF components within this table or do they have to be within a panelGrid?
My early experimentation hasn't been too promising. The table-based layout displays fine, but any attempt to put inputText components within the layout, simply displays them at the very top of the screen. Am I missing something fundamental?
Any help or suggestions would be gratefully appreciated. I'm new to JSF and like what I've seen so far, but it would worry me if I was forced to use JSF tags for layout.
Cheers,
Simon.

Thanks very much for that suggestion - using this taglib does indeed enable me to succesfully use JSF components within standard html tables.
Cheers,
Simon.

Similar Messages

  • Insert an HTML Table tag as a value in a Tree Table

    Hi helper,
    Can I insert an HTML Table tag inside a TreeTable (Hierarchical data) using AdvancedDataGrid as a value?
    I need to create a Tree table in flex and I have beside normal int values some cells that need to show a certain images in an HTML Table I will create.
    Is it possible?
    Please advice
    Thanks
    Jo

    <div class=Section1><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>It depends on where you get the list of images<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Alex Harui<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Flex SDK Developer<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><a href="http://www.adobe.com/"><span style='color:blue'>Adobe<br />Systems Inc.</span></a><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Blog: <a href="http://blogs.adobe.com/aharui"><span<br />style='color:blue'>http://blogs.adobe.com/aharui</span></a><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><br /><br /><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span<br />style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Yossi Bar<br />[mailto:[email protected]] <br><br /><b>Sent:</b> Monday, February 09, 2009 1:14 AM<br><br /><b>To:</b> [email protected]<br><br /><b>Subject:</b> Re: Insert an HTML Table tag as a value in a Tree Table<o:p></o:p></span></p><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>A new message was posted by<br />Yossi Bar in <br><br /><br><br /><b>Developers</b> --<br><br />  Insert an HTML Table tag as a value in a Tree Table<br><br /><br><br />Thanks Alex, <br><br />What is the way to implement HorizontalLIst of images for<br />AdvancedDataGridColumn? <br><br /><br><br />In the code here I create a tree table and in Actual column I show an image: <br><br /><br><br />&lt;mx:AdvancedDataGrid width=&quot;100%&quot; height=&quot;100%&quot;<br />folderClosedIcon=&quot;{null}&quot; folderOpenIcon=&quot;{null}&quot;<br />defaultLeafIcon=&quot;{null}&quot;&gt; <br><br /><br><br />&lt;mx:dataProvider&gt; <br><br />            &lt;mx:HierarchicalData<br />source=&quot;{dpHierarchy}&quot;/&gt; <br><br />        &lt;/mx:dataProvider&gt; <br><br />        &lt;mx:groupedColumns&gt; <br><br />         &lt;mx:AdvancedDataGridColumn<br />headerText=&quot;&quot; width=&quot;50&quot;/&gt; <br><br />            &lt;mx:AdvancedDataGridColumn<br />dataField=&quot;Region&quot; backgroundColor=&quot;haloSilver&quot;<br />headerText=&quot;Region title&quot;<br />headerRenderer=&quot;mx.controls.Label&quot;/&gt; <br><br />            &lt;mx:AdvancedDataGridColumnGroup<br />headerText=&quot;Group Header&quot;<br />headerRenderer=&quot;mx.controls.Label&quot;&gt; <br><br />&lt;mx:AdvancedDataGridColumn dataField=&quot;Territory_Rep&quot;<br />headerText=&quot;Territory Rep&quot;<br />headerRenderer=&quot;mx.controls.Label&quot;/&gt; <br><br />&lt;mx:AdvancedDataGridColumn dataField=&quot;Actual&quot;<br />headerText=&quot;Actual title&quot;<br />headerRenderer=&quot;mx.controls.Label&quot;&gt; <br><br />&lt;mx:itemRenderer&gt; <br><br />&lt;mx:Component&gt; <br><br />&lt;mx:VBox horizontalAlign=&quot;center&quot;&gt; <br><br />&lt;mx:Image width=&quot;50&quot; source=&quot;{data.Actual}&quot;/&gt; <br><br />&lt;/mx:VBox&gt; <br><br />&lt;/mx:Component&gt; <br><br />&lt;/mx:itemRenderer&gt; <br><br />&lt;/mx:AdvancedDataGridColumn&gt; <br><br /><br><br />&lt;mx:AdvancedDataGridColumn dataField=&quot;Estimate&quot;<br />headerText=&quot;Estimate title&quot; headerRenderer=&quot;mx.controls.Label&quot;/&gt;<br /><br><br />            &lt;/mx:AdvancedDataGridColumnGroup&gt;<br /><br><br />        &lt;/mx:groupedColumns&gt; <br><br />    &lt;/mx:AdvancedDataGrid&gt; <br><br /><br><br />Please advise, <br><br /><br><br />Thanks <br><br /><br><br />Jo <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b7d1ae/2">Insert an HTML Table tag<br />as a value in a Tree Table</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b7d1ae!folder=.3c060fa3">unsubscribe</a>< br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div>

  • How to insert html table tag in flash.

              i am trying to insert my html table format into flash... but flash doesn't support that html table tags....
    i'm creating a filp book for help manual..  In that we use flash  and html tags... His there any other way to insert html table in to flash...
    give ur suggestions..
    thanks.

    As you say, Flash does not support html table tags.  Create your own tables using textfields and if you need borders around cells use either textfield borders or lines surrounding the textfields.

  • Would tomahawk selectOneRadio work in html  table tag

    hey guys,
    i want to use the tomahawk tag in a html table in JSF pages, but it seen unwork, my example is shown below
    <f:view>
    <h:form>
    <table>
    <!-- include from the other pages called LIC3320.jsp -->
    <x:selectOneRadio id="select" layout="spread" forceId="true" forceIdIndex="false" value="#{LIC3320.currentSelect}">
    <f:selectItem itemValue="dog" itemLabel="Dog"/>
    <f:selectItem itemValue="cat" itemLabel="Cat"/>
    <f:selectItem itemValue="fish" itemLabel="Fish"/>
    </x:selectOneRadio>
    <f:verbatim>
    <tr><td align="center" colspan="4">
    </f:verbatim>
    <x:radio for="select" index="0"></x:radio>
    <f:verbatim>
    </td></tr>
    </f:verbatim>
    <!-- include from the other pages called LIC3320.jsp -->
    </table>
    </h:form>
    <f:view>
    the main problem is the radio isn't in the table, it came before the table and show at the top of the table. Is if i use tomahawk tag, i must use datetable in JSF?
    Thanks
    emmy

    We have successfully used the Tomahawk radio component within a plain table using JSF 1.1 (MyFaces 1.1.5) and JSF 1.2 (the Sun RI 1.2_04). We also use facelets however and so did not use the verbatim tag.
    Did you try looking at the component tree to see if it is in the correct order?
    What implementation and version of JSF are you using?
    Which version of Tomahawk?
    Did you check the generated HTML to see if it is what you expect?

  • Passing values to action form in struts using html:link tag in struts

    hi
    As we can post values to action form bean in struts using a <html:text> tag in side a form.
    Can the same be achieved by using a html:link attribute.
    If not then how can this be achieved (i.e. posting a form on click of a link and populating action form bean property for the same).
    thanx in advance.

    Crosspost:
    http://forum.java.sun.com/thread.jspa?threadID=5244035&tstart=0

  • How to use HTML 'pre' tag in ADF pages

    Hi,
    I am using adf 11.1.1.6.0 and trying to print some formatted text from log files. It can contain either xml / log file with new lines / tabs.
    When I use hte UIX / Regular jsp, I am able to use the <pre> tag and retain the output format form end user.
    When I am migrated the same application to ADF, I am not able to get the desired output format.
    Here are my trials:
    <af:outputYext> with escape="true" : Entire output is displayed in a single paragraph. All new line/formatting has gone.
    <af:outputYext> with escape="false" : Page itself is not painting as the logout put has some special characters.
    <af:richTextEditor> readonly = true : Taking out all xml tags with in the output log
    I tried with f:verbatim as shown
    <f:verbatim><pre> </f:verbatim>
    #{dojStep.displayStepOutput}
    <f:verbatim></pre></f:verbatim>
    In this case, I get the following error: "End tag does not match start tag 'pre'."
    Can you please suggest the alternative to use the html pre tag in ADF world to print the el expression data as it is.
    Thanks,
    -Jaya.

    Hi,
    have a outputText.. with escape="false"
    and in #{dojStep.displayStepOutput} have it like this
      public String displayStepOutput(){
    StringBuilder sb = new StringBuilder();
    sb.append("<pre>");
    sb.append("your text");
    sb.append("</pre>");
    return sb.toString();
    }example-
    <af:outputText value="#{dojStep.displayStepOutput}"/>

  • Any way to create a form region without html table tags?

    I'm trying to make a report region that can have the selected row turn into a form for editing the row data and it's almost working ok this way:
    PL/SQL Dynamic Content region 1: TABLE tag, header row and data rows before the selected row, and last TR and TD tags
    form region: the selected row
    PL/SQL Dynamic Content region 2: /TD and /TR tags, data rows after the selected row and /TABLE tag
    That makes the whole form appear in one cell of the table. I would like to put each form item in its' own cell in the "master" table but that would require first getting rid of the table tags (class="formlayout") that are always generated around form items. Any chance?

    Hello,
    I'd have to see your exact example but using javascript one way you can do it is put your form table in a hidden div then you can use javascript to adjust the tags you want , grab the modified dom object then put in the table you want.
    You can also use a modified version of this maybe [http://apex.oracle.com/pls/otn/f?p=11933:77]
    if you could put an example of what you have on http://apex.oracle.com] it will be easier to give you some suggestions. Also you need to be careful when moving form items around an APEX page. Form items in random places can cause unpredictable results.
    Regards,
    Carl
    blog : [http://carlback.blogspot.com/]
    apex examples : [http://apex.oracle.com/pls/otn/f?p=11933:5]

  • HTML Table TAG with ID problem when using AJAX

    Hi, My application is running fine with firefox 3 and below version,
    When i was using my application (with ajax technology) with firefox 4 and above version, then getting error(typeerror, element is null)
    The problem is, &lt;tr id="root"&gt;
    When i use &lt;div id="root"&gt; instead of &lt;tr id="root"&gt; working fine with firefox all version.
    If i use &lt;tr id="root"&gt; this is work with firefox 3 and below version..
    Please why happens like this.. and please help me in this;
    Thanks and REgards,
    Sathiya.rails

    Hi,
    We have already fixed this problem.
    It has done in sp46, sp10.
    In any case best way is , "id" should be defined always.
    Regards,
    Vitaly

  • Javascript to start mail using html mailto tag

    Hi,
    I need to start the mail editor with a predefined receiver. In my wedtemplate I can provide the receiver with an dataprovider which selects the receiver out of masterdata of an infoobject.
    Is there a way to get this information into a javascript to bind this in my mailto tag.
    I have seen, that the current state can be provided, but does this help and how would I have to use it?

    It sounds like you will need to change some functionality in the application that launces your Captivate SWF's. Currently they will be set to "completed" once they have been opened. The correct approach would be to have your application set them to "Incomplete" or "In Progress" and then have Captivate execute a JavaScript on the last slide calling a function in your application that sets the module as completed.
    /Michael
    www.cpguru.com - Adobe Captivate Widgets, Tutorials, Tips & Tricks and much more..

  • Numbers and HTML tables

    First off, let me say Hey, I'm new, I'm Jared... thanks to everyone who puts in effort to help people on these forums and I'll be publicly grateful for any assistance. As one who is involved in a great deal of community support I know the effort it takes and y'all rock.
    Now my issue : Has anyone figured out a way to get Numbers to turn an HTML table into a spreadsheet without some sort of external script? Does anyone have such an external script?
    I'm so bummed I could cry... I've been going thru a great deal of culture shock having been an Excel user for many years and switching to Numbers a while back. Having been in IT and software development for the last 16 years, I came to rely on Excel to be able to split any delimited data into columns on the fly based on my own random delimiter. I also came to rely on Excel to be able to convert any table-style input to a spreadsheet format. Because of these two factors, Excel has been one of my go-to tools over the years for all sorts of analysis.
    Enter Numbers... finally, Apple's putting out a spreadsheet! YAY! Oh, ****, wait... hrm. The two main features that make Excel useful to me aren't there.
    I have lots of friends that have switch to OS X in the last year, and I've chewed them all out for saying "But in Windows I could..." as they were transitioning. "You're not ON Windows, this is different, get used to it and do what THIS does. Forget Windows... other than knowing how to use a mouse and a keyboard, very little will transfer from one to the other." The problem is that now I'm finding myself sorely tempted to do something similar. "But with Excel I could..!" Ugh!
    PS - I exaggerated about crying, but not by much.

    jrypkahauer wrote:
    Thanks, Koenig...
    You're mostly right. I was copying the raw source from the View Source screen, which works in Excel because it converts a set of <table>...</table> tags to the correct values before pasting into the spreadsheet. You can also open a .html file containing a <table /> tag set with Excel and it will open as a spreadsheet... so while I can do what you're suggesting with Firefox and it will work, that's only part of the issue.
    I really did mean that I think Numbers should support tabular data.
    It does. I import daily TSV files (.txt extension required)
    Really, HTML tables are just tabular XML representations, so it makes sense to me that Numbers should support not just HTML <table /> tag sets but any XML-based tabular data.
    In the one which I saw, the tags where extremely variable ones.
    All of us may import them using a simple protocol:
    open the file in Firefox
    Copy paste the table from Firefox, paste in Numbers.
    No need to add complementary code in Numbers. Remember, MacOS X is multitask aware.
    At this time the only case where I was annoyed is files in which values where separated by variable chunks of spaces. I already wrote that I feel that this kind of file which is a remainder of the typewriter era is perfectly foolish.
    Yvan KOENIG (from FRANCE lundi 13 octobre 2008 19:32:30)

  • JSF component to create an html table-like display

    Jdev 11.1.1.4
    I would like to know what is the preferred jsf component to create a display as an HTML table.
    My display needs to have a "column-table-header" and "row table header". It is composed of several rows and columns. In every cell I need to insert a different inputText mapped to different VO attributes. I have a lot of VO attributes.....(one per cell). Something as an MS-Excel crosstab table.
    I'm currently using an actual html table but I'm having some problems when the contents are adjusted inside a panel box (sometimes the right side of the table gets out of the panel box). I'm also having trouble with toolltip help text (shortdesc property) that sometimes doesn't display exactly where the input fileds are located and the shadow of this tooltip apears incorrectly overlapped with its content (in fact the tooltip apperars in one place and it shadow in a different place of the screen as a grey rectangle.
    I don't know if all this strange behaviours could be caused because of the use of html tables.

    Hi,
    I don't know if all this strange behaviours could be caused because of the use of html tables.quote from timo
    Using html is not encouraged in ADF. Try the Trinidad take component. trh:tableLayout is wrapper around html tables, you can use it in adf without harm,,
    try using trinidad table layout instead of core html.
    Regards,
    Edited by: Santosh Vaza on Jul 30, 2012 12:33 PM

  • Display HTML Tables In JEditorPane

    Hi all,
    I am Editing an HTML Document in a JEditorPane.I've Noticed that The HTMLEditorKit has many flaws.
    I tried to fill them by registering my own tag actions for some tags. Now the new problem that I am facing is how an html table is displayed : The cellborders ares not visible. So i can see the content of the table, but not its borders. What should I do to make them show out ?
    thanx

    I had some problems with using HTML Tables with JEditorPane (it's really flaky). What I found was you have to be very specific when you create the table. Meaning, the cells have to be set using exact pixel sizes, not relative sizes or percentages. This is a pain, but if you do that then it should work.
    <table width=400 border=1 cellspacing=0 cellpadding=1> etc.......m

  • How do I make use of Table Modifiers?

    Hi Experts
    I would like to use Table Modifiers in a web-report, but I have no idea about how to do it.
    I want to use table modifier since I am trying to do calculations based on cumulated values, which is not possible (since these are displayed values). Therefore I would like to ignore the number that appears in column 3 below and calculated by using a table modifier instead (let's say column a*b).
    (A and B are cumulated values)
    A | B | C
    1 | 3 | 3 (1 * 3)       -> 3 (when table modifier is used)
    3 | 4 | 2 (3-1 * 4-3) -> 12(when table modifier is used)
    5 | 6 | 4 (5-3 * 6-4) -> 30(when table modifier is used)
    Therefore could anyone please tell me the steps that I have to fullfill to make this change? I assume that I have to go to the Web Application Designer and edit the code?
    I'm using BW 3.5
    Thanks in advance, kind regards
    Torben

    I did find a "how-to"-guide

  • BC4J/JSP: Missing navigation values in table tag

    We are using BC4J view objects, overriding the native functionality of the view object to call PL/SQL APIs plus JSPs with UIX/Cabo tags to render output for BC4J.
    Within the JSP the dataSource/view object rangesize is set to 6 and we are using the table tag.
    When rendering a page for the first time, the table tag navigator correctly shows the number of records eg. 1-6 of 100 and navigation through the record set works perfectly eg. next set is 7-12 of 100.
    If you exit that page (to display another page) then return to it, the table tag navigator in the first page contains no values and it is not possible to navigate through the record sets. This happens to all our pages when rendering them more than once.
    The log file shows that on the initial rendering of the first page, the Estimated Row Count is set correctly, and continues to be correct whilst navigating through the data. When returning to the first page after showing another page, the Estimated Row Count is 0.

    I assume this doesn't happen in the non-overriden view objects. Can you provide more information on what functionality you have overriden since getEstimatedRowCount() doesn't seem to work in your version of the view object?

  • Problem in html:link tag in struts

    hi every body i have a problem i have to pass two dynamic variable to next page using html:link tag how can i send it
    for example
    <a href = "editEmp.jsp?id=<%= empSno %>&&delete=no"> Edit </a>
    should be coverted into <html:link >and i want to pass 2 parameters to next page how can i do can anybody help

    i have used forward only but how to passs variable dynamically in forward for eaxmpleeee
    i am retreving records from database
    emdID name desig
    1 suresh PM edit
    2 ram PL edit
    when user clecks on link of edit of suresh then i should pass controll to edit page with his empID an parameter............
    i have done this prevoiusly by href tag like
    while (rst.next()) { %>
                        <tr>
                             <% empSno = rst.getInt ("ID");%>
                             <td align = "left"><%= empSno %></td>
                             <td align = "left"><%= rst.getString ("empno") %></td>
                             <td align = "left"><%= rst.getString ("empname") %></td>
                             <td align = "left"><%= rst.getString ("desig") %></td>
                             <td><a href = "strutsEx/ch05/editEmp.jsp?id=<%= empSno %>&&delete=no"> Edit </a>&nbsp&nbsp&nbsp&nbsp<a href = "editEmp.jsp?id=<%= empSno %>&&delete=yes"> Delete </a>
                             </td>
                        </tr>
    now i want to use html:link action in place of HREF can u help me plzzzzzzzzzz

Maybe you are looking for

  • Internet Access in MPLS VPN scenario

    Hi, I do have topology CE8-PE2(AS 65001)-PE1(AS 65001)-ASBR1(AS1). Now PE2 and PE1 both are in same AS and PE1 has ebgp with ASBR1, ASBR1 is my internet router. I do have vrf ce on router PE2 and have attached that vrf on PE2 interface where CE8 is c

  • Download to Excel using pkg by Denes

    I've had success using the package that Denes created for non-Interactive Reports, but now I have issue downloading to Excel when I create a SQL Report, with the option to Enable Search = Yes. When I download the report, it only appears to show colum

  • Calling VB macros from java

    I have already created an mdb file and a report that prints / previews the data of a specific table. I am wondering if there is a way to open that report using java. I am thinking that maybe i could do that by forming a macro in ms access that calls

  • Workgroup Manager Crashes at Home

    Hi This is my first post here, i hope you a merry christmas for all, i have an xserve with xraid and last week when i did a new user in workgroup manager and i want to see the "home" part, the workgroup manager inesperadidly crashes. any solution? th

  • Japan family member subtype emergency

    Hi,. Did anybody encountred situation like this? I am trying to use Japan family member service in portals and I am tryin to update emergency (subtype 7) contact. This record is there in the backend and I just clicked on edit and clicked on continue