Centering tables in subforms
Hi,
I'm trying to center a table that is in a subform. I select the table and go to Layout>Center in page, but horizontally and vertically is grayed out?
Any ideas what I'm doing wrong?
Thanks in advance!
Hi,
I think it may just be the way you are selecting the table.
If you select the table right at the edge, then the eight anchor points are visible. The layout commands are avaiable to you.
If you select the cells / rows / columns of the table instead (so that the table is coloured blue), then the commands will not be available.
Hope that helps,
Niall
Similar Messages
-
How to create a table using subform if lifecycle designer 7.1 not availabl
hi,
plis tell me how to create a table because i am using adobe lifecycle 6.1 and in the library
there is no object for table..
also tell me that if i have adobe lifecycle designer then which is better option and why?
use table from library directly or create a table using subform...Hi Sweta,
Create the interface attributes of type string and xtring type.
Create node in the context of type graphics. bind the interface fields to the graphic node context element properties -
Graphic content, field of xzstring type and mimetype to be string/any char data type of suitable length.
In layout drag and drop the image field and bind it to the graphic element.
In yoour report programme-
do the code as berlow to pass the graphic data -
<i>CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
EXPORTING
p_object = 'GRAPHICS'
p_name = '<mime type graphic name>'
p_id = 'BMAP'
p_btype = 'BCOL' "BMON if monochrome
RECEIVING
p_bmp = w_binary
EXCEPTIONS
not_found = 1
internal_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.</i>
in the call <form function module>
pass the inerface values for
xstring (graphic field) to be w_binary (import parameter of the previous method)
and mime type to be 'image/bmp'.
This would work.
Hope fully you may be able to see a tutorial on this soon ;).
- anto. -
Tab Order of Dynamic Table or subform
Hi,
I have a page with few subforms. At this subforms are dynamic tables or dynamic subforms. How does the tab order works in this kind of layout.
Some time I have a few subforms or tables group together when activiate the tab order form the menu [View->Tab order]. I have the tab order arranged for a dynamic subform. When I preview and add a few instance of the subform (call it subform A), the first instance tab order follow what was set. But when tab to second instance of subform (subform A), the cursor just when to another subform (subform B). Why is that so? Shouldn't it just continue to the second instance?
Thanks for any help.Hi Mike,
I have faced with the same problem also. So as a temporary solution, in the exit event of the last item in the table, I changed the focus to the next instance's first item. Not a good way. If there is any different solution, waiting also.
Asiye. -
Adding Additional Rows to a table in subform
I am fairly new to Adobe LiveCycle and would really appreciate some help. I have simple table and would like for the user to click "+" or "-" to manage the number of row. I can't figure out now to complete this...then arrive at a SubTotal.
Hi,
I made your form dynamic, also i added some subforms to make your flowed stuff look good and i added sum script to Totla field.
Form attached.
BR,
Paul Butenko -
Hi,
I am trying to get more involved in CSS. I am using
Dreamweaver CSS interface for the most part as I do not know CSS
code well enough yet.
I want everything centered on the page .. so .....
I have a main table which is 100% wide and text alignment
that is centered.
In that table I first have an image as a header which centers
properly.
Below that I want to have a table the same width of the image
that is also centered.
That table will contain some content.
Why is it I cannot center that table under the image. It
wants to stay to the left.
Here is a link to page:
http://www.thereserveatglenville.info/prototype.html
Here is my CSS so far:
========================
body {
text-align:center;
margin: 0px;
background-color: #b4bbc0;
padding: 0px;
table#Main-Table {
margin-left:auto;
margin-right:auto;
width: 100%;
text-align: center;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
vertical-align: top;
table#Content-Table {
width: 756px;
margin: 0px;
padding: 0px;
border: 1px solid #59636A;
=====================================
Thanks!!!
PaulHello,
It centers in IE, but to get it to center in FF,
Change this:
<table id="Content-Table">To this:
<table align="center" cellpadding="0" cellspacing="0"
border="0"
id="Content-Table">
Take care,
Tim
P.F." <[email protected]> wrote in message
news:fonb5m$dck$[email protected]..
> Hi,
>
> I am trying to get more involved in CSS. I am using
Dreamweaver CSS
> interface
> for the most part as I do not know CSS code well enough
yet.
>
> I want everything centered on the page .. so .....
> I have a main table which is 100% wide and text
alignment that is
> centered.
> In that table I first have an image as a header which
centers properly.
> Below that I want to have a table the same width of the
image that is also
> centered.
> That table will contain some content.
> Why is it I cannot center that table under the image. It
wants to stay to
> the
> left.
>
> Here is a link to page:
>
http://www.thereserveatglenville.info/prototype.html
>
> Here is my CSS so far:
>
> ========================
>
> body {
> text-align:center;
> margin: 0px;
> background-color: #b4bbc0;
> padding: 0px;
> }
>
> table#Main-Table {
> margin-left:auto;
> margin-right:auto;
> width: 100%;
> text-align: center;
> border-top-width: 0px;
> border-right-width: 0px;
> border-bottom-width: 0px;
> border-left-width: 0px;
> vertical-align: top;
> }
>
> table#Content-Table {
> width: 756px;
> margin: 0px;
> padding: 0px;
> border: 1px solid #59636A;
> }
>
> =====================================
>
> Thanks!!!
> Paul
>
> -
Centering Table withing a form
I'm using a table to create my form input fields. I'd like the table to be centered on the page rather than the default left justified. The Format>Align>Center command does not work. Any ideas on what I can do to center the table within a form? Thanks. Mark Reynolds
The answer may depend on other code you have on the page, but presuming that your table can be 600px wide, try the following CSS -
table {
width:600px;
margin:0 auto;
Note that this will affect ALL tables on the page. If you have more than just this one table, then add an ID to that table and to the selector, e.g.,
table#form {
width:600px;
margin: 0 auto;
<table id="form"... -
I have a table in a flowable subform, I need it in flowable so that it will put the header anf footer rows on the next pages as the user enters data. My problem is that the Objects on the subform, i.e. the table are al left justifying and I can't get them to move to the center where I need them to be on the form. Can anyone help please?
Hi,
When you set a subform or page to Flowed Top to Bottom, by default all of the objects are stacked in the order of the hierarchy. You cannot move them off the left side of the form, by dragging, etc.
However, you can use the object margins and content area to adjust their position.
In addition, where objects do not need to expand, you can group these in Positioned subforms.
See examples here: http://assure.ly/e2jR0C and http://assure.ly/eSGQMt. Also there is an example showing how to build dynamic tables: http://assure.ly/gk8Q7a.
Hope that helps,
Niall -
Repeating Subforms within Tables and Subforms
Hi, again =)
I have another question.
I'm working with LiveCycle ES4 on a xml form (xdp).
In this form I have a table with a repeating subform within a row. And inside this subform I have another repeating subform.
It works like this: the first subform contains data of a category and the other subform contains data of a subcategory.
There can be multiple categories and within each category it's possible to have several subcategories listed.
Ok, having said that, my real problem is this one: I can set the header of the table to repeat itself each time the table breaks to the next page but I want the category to repeat also in case the parent subform breaks and I can't.
I tried a billion things to make this work, like putting a table inside a table. But I cannot make both headers to repeat themselves.
Can anyone help me with that?
..I have also another question: How can I prevent the silly single header that has no rows attached from appear in the bottom of the page?
Thanks again.
This community has been very helpful! =)I have just been playing around with tables for a project I am currently working on and may have an idea that might work for your last problem of the orphaned header row at the bottom of the page that has no rows attached. Try making two header rows, even if they contain the same information, and, in the Pagination tab, set the first one as "Include Header Row in Initial Page" and set the second one to "Include Header Row in Subsequent Pages".
You may also find the post http://forums.adobe.com/message/5473853#5473853 of use perhaps.
Hope this helps,
Greig -
Centering table cell content in panel grid
How can I center the content of the cells in a table grid so it would end up something like this:
<table>
<tr>
<td align="center">You can do that using stylesheet. You can look at the
repeater demo example for ideas. The corresponding
stylesheet class is components/web/stylesheet.css .
Hope this helps.
-JayashriI think we need more powerfull layout oriented components.
XAML, XUL, ADF all of them have powerfull layout components library.
Maybe it's time start working in this direction.
I'm sure that JSF must provide in near future more powerfull layout related components library, no doubt here!
After that it will be possible to remove from styles classes and jsp code everything that was used for layout.
Layout components will take care about align components, preferred size and etc.
We need minimize number of style classes.
That possible if you will make them more universal.
But no way to make universal style classes with layout related attributes inside them.
Take a look on simple layout case:
<s:row align="opposite" styleClass="footerPage">
<h:outputText value="#{bundle.copyright}"/>
<h:outputText value="#{bundle.terms}"/>
</s:row>
public class RowRenderer extends HtmlBasicRenderer {
public RowRenderer() {
super();
public boolean getRendersChildren() {
return true;
public void encodeBegin(FacesContext context, UIComponent component) throws IOException {
if (!component.isRendered())
return;
ResponseWriter writer = context.getResponseWriter();
writer.startElement("div", component);
writeIdAttributeIfNecessary(context, writer, component);
String styleClass = (String) component.getAttributes().get("styleClass");
if (styleClass != null) {
writer.writeAttribute("class", styleClass, "styleClass");
Util.renderPassThruAttributes(writer, component);
public void encodeChildren(FacesContext context, UIComponent component) throws IOException {
if (!component.isRendered())
return;
Iterator kids = null;
String style = null;
int i = 0;
String align = (String) component.getAttributes().get("align");
if (align == null) align = "start";
if (null != (kids = getChildren(component))) {
while (kids.hasNext()) {
UIComponent child = (UIComponent) kids.next();
if (!child.isRendered())continue;
style = (String) child.getAttributes().get("style");
style = (style != null) ? style + ";" : "";
if ( (align == "start") || (align == "left"))
style += "float: left;";
else
if ( (align == "end") || (align == "right"))
style += "float: right;";
else
if (align == "opposite") {
if ((i % 2) == 0)
style += "float: left;";
else
style += "float: right;";
child.getAttributes().put("style", style);
encodeRecursive(context, child);
i++;
public void encodeEnd(FacesContext context, UIComponent component) throws IOException {
if (context == null || component == null) {
throw new NullPointerException(Util.getExceptionMessageString(
Util.NULL_PARAMETERS_ERROR_MESSAGE_ID));
if (!component.isRendered())
return;
ResponseWriter writer = context.getResponseWriter();
writer.endElement("div");
It's good idea in many layout situations to use tableless layout.
Row component just simple demonstration how it work.
There are some problems with implementation and using tableless layout
but at least in some cases it's good choise.
I'm ready to provide plenty suggestions in area of creating and using layout components.
Just don't know if you have interest to discuss that matter.
Vladimir -
I'm a volunteer for a school foundation site, and am trying
to redesign the site for them. I got some good help on the opening
page here the other day, but now am stuck on another page:
http://canyoncrestfoundation.org/donorlist.html
It looks great in Safari, Firefox, and older versions of IE,
at least the one or two that I have available, but in IE 7, all the
tables are smooshed against the left side of the screen. Can anyone
help me fix this?
Actually I'll sneak in one other question here. I would like
to have the links on the whole site be red, as they are now. But
I'd really like to have the background of the menu be black, as it
is here:
http://canyoncrestfoundation.org/newpage2.html
But some people can't see the red against the black. Is there
anyway to have the links on that menu only be white? I realize that
it's possible to do a fancier menu, or insert a commercial menu,
but right now I have too many other issues to deal with. Thanks>tons of weird stuff
I had another look - there's two lots of META tags as well
(description and
keywords)
Jo
"Murray *ACE*" <[email protected]> wrote
in message
news:[email protected]...
> There's tons of weird stuff there.
>
> Three title tags.
>
> A background image link from hell -
>
> body {
> background-image: url(../../Library/Application
> Support/Macromedia/Dreamweaver
>
8/Configuration/ServerConnections/CCAF//htdocs/images/eostilework1f.gif);
>
> (weird, since the page is at the root of the site)
>
> But it's luckily reversed by another instance of that
style in the same
> rule -
>
> background-image: url(images/eostilework1f.gif);
> }
>
> As for the inner table, perhaps it's feeling constrained
by this outer
> <td>?
>
> <td width="284" align="left"
valign="middle"><div align="center">
> <h2 align="center"><img
src="images/librarystudent.jpg" alt="student
> with lots of books" width="217" height="144" vspace="15"
> align="middle"></h2>
> <h2 align="center">Canyon Crest Academy Foundation
Donors</h2>
> <h3 align="center">Legacy of Learning<br>
> ($10,000 and up)</h3>
> <div align="center">
> <table border="0" cellspacing="0" cellpadding="0">
>
> Remove the width="284" from that <td> and see if
that helps.
>
>
http://murraytestsite.com/donorlist.html
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
>
http://www.dreamweavermx-templates.com
- Template Triage!
>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
> ==================
>
>
> "josie1one" <joleros[nospam]@yahoo.com> wrote in
message
> news:[email protected]...
>> For your second question, you'll need to use some
CSS. Here are some good
>> links:
>>
>>
http://www.mako4css.com/BasLink.htm
>>
http://thepattysite.com/linkstyles3.cfm
>>
http://www.projectseven.com/tutorials/css/pseudoclasses/
>>
>>
>> --
>> Jo
>>
>>
>> "josie1one" <joleros[nospam]@yahoo.com> wrote
in message
>> news:[email protected]...
>>>I haven't looked at it in IE7 yet, but I had a
look at possible reasons.
>>> You have a blank space above your DOCTYPE which
should be removed and
>>> you have a second instance of
<TITLE></TITLE>
>>> Fix those and see if this helps, if not, post
back
>>>
>>> --
>>> Jo
>>>
>>>
>>> "Sootica" <[email protected]>
wrote in message
>>> news:[email protected]...
>>>> I'm a volunteer for a school foundation
site, and am trying to redesign
>>>> the
>>>> site for them. I got some good help on the
opening page here the other
>>>> day, but
>>>> now am stuck on another page:
>>>>
http://canyoncrestfoundation.org/donorlist.html
>>>>
>>>> It looks great in Safari, Firefox, and older
versions of IE, at least
>>>> the one
>>>> or two that I have available, but in IE 7,
all the tables are smooshed
>>>> against
>>>> the left side of the screen. Can anyone help
me fix this?
>>>>
>>>> Actually I'll sneak in one other question
here. I would like to have
>>>> the links
>>>> on the whole site be red, as they are now.
But I'd really like to have
>>>> the
>>>> background of the menu be black, as it is
here:
>>>>
http://canyoncrestfoundation.org/newpage2.html
>>>> But some people can't see the red against
the black. Is there anyway to
>>>> have
>>>> the links on that menu only be white? I
realize that it's possible to
>>>> do a
>>>> fancier menu, or insert a commercial menu,
but right now I have too
>>>> many other
>>>> issues to deal with. Thanks
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
> -
Nested tables and subforms (Web Dynpro Java)
Hi to all you gurus,
my scenario is the following: I have 3 nested nodes in a view context like these
DEFECTS_NODE
| ACTIONS_NODE
| | SUBS_NODE
| | |__action value
| | |__defect value
| | |__sub value
| |__action value
| |__defect value
|__defect value
|__ decription
All 3 nodes have cardinality 0...n. These nodes are structured as if we have some actions under the same defect value and some subs under the same action value and defect value and so on. so we can have more defects_node with more nested actions_node (with the same defect value) and more nested subs_node (wiith the same action value).
I hope I was clear...
Now, I have to read these nodes and output them in a pdf with 3 nested subforms (defects, actions, subs). These 3 subfoms must be a mirror of the 3 nested nodes.
can you help me??how can i do this?
thank you very much in advance,
Enrico
Edited by: Enrico Grimaldi on Mar 29, 2010 12:50 PMhello,
I don´t understand your problem. When you´re in LCD and can see your context data in the data view tab, you can just drag and drop the root of your form context and when placing that on the form layout, the whole structure should be generated by the system for you.
Otto -
Tables and subforms. How to combine to create a detail list ?
Hi to all,
i need to solve this issue. I've done many tries but nothing works.
I have three tables : <tab1>, <tab2>, <tab3>. In context i tied its by where clausole so i have three nested tables. The third contains the texts for a given position.
When i drag the table on the layout i have something like this :
(1st record)
<Val Field 1>---<Val Field 2>----<Text>
<Text>
<Text>
(2nd record)
<Val Field 1>---<Val Field 2>----<Text>
<Text>
<Text>
and so on
Val Field 1 comes from the first table, Val field 2 from the second (for one record of <tab1> i have many record from <tab2>), Val field 3 from the third - text (for each record of <tab2> i have many lines of text - that means many lines of <tab3>).
(sorry for the dots but are necessary to keeping the right fomatting in order to show you an example of the standard result of the drag of the structure from the data view palette)
I'd like to have something like this :
(1st record)
<Val Field 1>-----<Val Field 2>
<Text>
<Text>
<Text>
(2nd record)
<Val Field 1>-----<Val Field 2>
<Text>
<Text>
<Text>
and so on.
I wasn't able to achieve this result and i don't know how to get it!
Someone of you could explain me with some details, how to modify the hierarchy to achieve this kind of formatting ?
Thank a lot to everyone.
AndreaAndrea,
Go through some examples listed below and see if it gives you some hints:-
[Achieving Control Levels functionality in Adobe Forms|http://****************/Tutorials/AdobeForms/Controllevels/page1.htm]
[Nested tables in Adobe Forms|http://****************/Tutorials/AdobeForms/Nestedtables/page2.htm]
Chintan -
Is there a convenient way to center a table for printing so it isn't off center in Numbers 3.5?
Thanks for any insight.Hi Doug,
See this User Tip on creating a Layout Guide in Numbers 3:
https://discussions.apple.com/docs/DOC-7101
I find the Alignment Guides useful. Numbers > Preferences > Rulers > Tick every box.
Regards,
Ian. -
Set different default values for table built using subforms
I'm using Designer 7.1 and need to have tables with a fixed number of rows, where the first column is readonly and displays a set of distinct values. For example
Body System Normal Abnormal Comments
Head
Neck
Respiratory
etc.
I'm constrained to building the table using subforms. I'd love to do it using the new table feature but this will not interface with our software.
I'm trying to put Javascript code in the Initialize section of the body subform that puts a different value in each row. I'm not finding a way to distinguish one row from the other. If I simply say
this.body_system.rawValue = 'Head'
Then all of the rows will have 'Head' in the first column.
I've tried the following but it doesn't work:
this.body_system.rawValue[0] = 'Head'
this.body_system.rawValue[1] = 'Neck'
Thanks for your help!
PeterThat worked perfectly. I'd love to have figured that out myself but it must be buried in the help somewhere. Is there a good reference document for LiveCycle Designer Javascript? I've scoured around but could only find bits and pieces.
BTW here's the code that worked:
xfa.datasets.data.resolveNode("form1.TableParent.TableBodyRow[0].body_system").value = 'Head;
xfa.datasets.data.resolveNode("form1.TableParent.TableBodyRow[1].body_system").value = 'Neck';
etc.
Thanks so much!
Peter -
Two SubForms with one having dynamic table
Hello,
I am having a problem regarding subforms and dynamic tables. Here is the situation:
1. I have one main form where the content is "Flowed"
2. I have two subforms, both have the content of "Positioned"
3. The first subform has a dynamic table in it.
The problem that I am having is that when I add a row to the dynamic table in subform 1, the second subform does not move. I would like it to shift down to accomodate the additional row in the first subform.
Any thoughts?
Thank you.You need to set subform 1 to flowed.
What is happening is that subform 1 is not expanding with the dynamic table because it is positioned. The table is expanding outside of its parent subform. As subform 1 does not expand, then subform 2 does not move.
The golden rule is that any subform that has dynamic content and every one of its parent subforms up the hierarchy all the way to the root must be flowed.
If this rule is not followed then you will get overlapping content. An easy check is to click on dynamic content in the design view and then use the left arrow key to navigate up the hierarchy. Keep an eye on the Subform pallet as you go for erroneous positioned content.
Ben Walsh
www.avoka.com
Maybe you are looking for
-
Substitution Variable in Security Filter
Hi, my filter looks like below. Write : @idesc("Accounts"),Oct,"07 10 + 2",@idesc("SiteName") here 07 10 + 2 is the version name which am using. the same version is used in so many security filters. i want to replace this by the substitution variable
-
Numbers automatically opening all excel spreadsheets
Help! I had to restore all my data recently after getting a new harddrive and now all of my excel documents (Office:mac 2011) are automatically opening in Numbers. I can't figure out how to "turn this off"!!! Steph
-
How do i get my music from my extra storage
need to get my music from my extra storage to itunes....any answers out here?
-
i can t open the CS 5.5 MC i just downloaded on my macbook air. what should i do?
-
Hi all, Although I think I can solve this for my project by changing the clip link, I'm wondering if anyone else has encountered this problem. I used the project manager to collect all files. It makes a double copy of a 5 GB footage file. It makes an