How to specify cellspacing, cellpadding and border in datatable ?
Hello,
I want to generate the following HTML..
<table border="1" cellpadding="3" cellspacing="4"> The <h:data_table> does not have the border, cellspacing and cellpadding attributes. I guess that
I have to use the style attribute.
Can someone help me write the equivalent tag for JSF ?
<h:data_table style="????" .../>I am sorry that I am not very familiar with CSS. I am having trouble understanding if it is possible at all.
Ajay
Have you tried :
<h:data_table>
<f:attribute name="style"
value="<your-style-attributes ...>"/>
</h:data_table>That is not going to work, because <f:attribute> is not designed to be used for this purpose. A couple of choices are available in the beta version of JavaServer Faces:
* Associate a stylesheet with your page and use the "styleClass" attribute on <h:data_table>
* Use the "style" attribute on <h:data_table> to declare the styles directly.
Using stylesheets, you can also do some fancy things with the columnClasses and rowClasses attributes. There is not an example of this in the RI or its demos, but there is one in the Struts-Faces Integration Library, with nightly builds available at:
http://cvs.apache.org/builds/jakarta-struts/nightly/
In particular, look at the registration.jsp page of the example app, which uses an <h:data_table> with a stylesheet. Among other things, you can get even/odd striping very easily.
Craig McClanahan
Similar Messages
-
How to hide windows heading and border on WEB?
How to hide windows heading and border on WEB? forms 6i.
nullAbdetu wrote:
Thanks JeanYves
i found that parameter but didn't know what to set to it i even has no forms in my pc thanks again
Regards,
Abdetu...Hi Abdetu,
There is 3 parameters in the <DevSuiteHome>\forms\server.formsweb.cfg having the same behavior.
Logo
Background
SplashScreen
By default (if you don't have specified them in you [section] they values are inherited from the [default] section) the values are
Logo=
Background=
SplashScreen=
This means you will have the oracle logo, the Forms Services background image in your applet and the oracle splash screen at startup.
*To have nothing shown then just put the value no in front of these 3 parameters*
Logo=no
Background=no
SplashScreen=noYou can also customize that with you own gif files.
For this you have to put your images in a icons.jar file
place it in your <DevSuiteHome>\forms\java where frmall.jar and others are located.
then in your formsweb.cfg :
Archive=frmall.jar, icons.jar
ImageBase=CodeBase
Logo=yourlogo.gif
Background=yourbackground.gif
SplashScreen=yourbeautifullsplachscreen.gifAnd at least if you have a small gif in your icons.jar for the window you can also defining the Icon Filename property in Forms builder. This wile replace the default forms runtime icon.
Hope this helps
JeanYves -
How to specify default desktop and/or startup items for EVERY user login?
Hi
My work iMac is+Oops! User error! Anyway, here's the rest of my message...+
The iMac I use at the university where I work connects to Active Directory for authentication - there are no local user logins (apart from the admin account of course).
I'd like to know how to set the default items for all user logins. Specifically, I'd like the system to automatically create an alias on the desktop to a shared folder for every new user login, or automatically open that folder in Finder when logged in.
Though I'm the main user, if I'm not around other people may require access to the stuff I do for the multitude of projects I work on for a department of 30 people, and as everyone else uses a PC and only a few are Mac savvy, I'd like to make it as easy as possible for the poor dears to find the files. (We have a shared network drive where I can put some stuff but unfortunately our allocation is not very big!)
Thanks. -
How to add a JPanel with label and border line
hi,
I want a Jpanel with label and border line like this.Inside it i need to have components.Is there a resuable component to bring this directly??
Any solution in this regards.???
Label-----------------------------------------------------------
| |
| |
| |
| |
| |
|________________________________________ |[url http://java.sun.com/docs/books/tutorial/uiswing/misc/border.html]How to Use Borders
-
How to remove and change the color of Java cup and border
Hi to all,
How to remove and change the color of Java cup and border.
Thanks in advance
khiz_engThis is just an Image. You would need to create your own image and call setIconImage(Image) on your JFrame.
-
How to get string (specified by line and column) from txt file with labview
Hi everyone
How to get string (specified by line and column) from txt file with labview
thx
Solved!
Go to Solution.As far as I know, a text file has no columns. Please be more specific. Do you mean something like the 5th word on line 4, where words are separated by a space, and lines are separated by a newline character? You could the Read from Spreadsheet String function and set the delimiter to a space. This will produce a 2D array of strings. Then use index array and give the line number and column number.
- tbob
Inventor of the WORM Global -
Animation: how can I move objects (and their transform keyframes)?
Hi,
I have created a project with a group of layers which all move (have transform keyframes set up).
Now I want to move the group, but when I do this and then run the animation, the position of all the transform keyframes I have set up remain in the same place.
Is there some way to move a group of objects and the location of their transform keyframes at the same time, or will I have to go through each keyframe and move them individually?
Thanks!
Jack> PLEASEEE HELPP
You need to get some understanding of HTML and CSS to know
why building a
web page is not like using a page layout program or even a
word processor.
Unfortunately that will require some effort on your part.
You cannot just place things on the page in HTML - you need
to build an HTML
infrastructure to hold the elements you want to appear on the
page, and to
hold them in the location where you want them to appear. As a
simple
example, consider a 1 row by 2 column table, where each
column is set to 50%
width, and the table itself is 800px wide. An image placed
into the second
column will be located exactly 400px from the left margin of
the page
(assuming a) the image is less than 400px wide, b) the table
has zero
borders, cellspacing and cellpadding, and c) there is nothing
wider than
400px in the first column.
Make sense?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"afsheenm" <[email protected]> wrote in
message
news:fftbo8$cok$[email protected]..
> hi, its my first time making the website so i have no
clue about anything.
> how
> can i move text box? i mean i wrote something and want
to move its
> position
> like up or down, how can i move it? also tables??????
sometimes i can move
> them
> , by chance but i have no clue how i did it? PLEASEEE
HELPP.
> -
Report Generation broken after deployment - Excel Set Cell Color and Border.vi
Upon deployment, the Excel Set Cell Color and Border.vi became broken. After installing LV2010 SP1 to view the VIs in the deployment, I noticed that in the second case structure where the code draws the border using the BorderAround invoke node, there is an extra variant input parameter named 'Parameters'. Upon right-clicking, an option to 'Relink Invoke Node' appeared and after selecting this, the extra input disappeared and the VI was no longer broken.
Why does "Relink Invoke Node" appear? How do I create a deployment with this issue? Has anybody else experienced this? Why is the TestStand deployment so buggy?Hi Ching-Hwa,
I have set up a test deployment here where I am deploying a workspace that contains a sequence file. This sequence file has a LabVIEW Action Step calling a VI that opens a new Excel file and simply calls the Excel Set Cell Color and Border VI. After deploying this, both the VI and my test sequence ran on the deployment machine without error. Therefore, I do have some more questions to more accurately reproduce what you are seeing.
First, what operating systems are you developing on and deploying to? Also, what license do you have for TestStand on the machine you are deploying to? If you have a development version, can you manually take the sequence file and VI to this machine and run it? I know you now have LabVIEW 2010 SP1 on your development machine, but if you have the development version of TestStand as well, it would be interesting to see if you copy the files over if you still see this behavior. Are you including the TestStand Engine in the deployment?
Can you open a blank VI on the deployment machine and add the Excel Set Cell Color and Border VI? It would also be interesting to see if this is not a product of the deployment, but rather an issue with something on the deployment machine itself. What version of the Report Generation Toolkit do you have on each machine? Also, what versions of Excel are you using on the development and deployment machine? Again, it would be helpful for me to know exactly what versions you have installed on both the development and deployment machines so that I can reproduce this as accurately as possible.
One last thing to try, too, would be to try deploying the VI by itself just to see if it also has the same behavior. Do you have the Application Builder in LabVIEW? If so, could you also try building an executable from the VI, create an installer, and deploy this to the deployment machine?
In regards to the "freezing" of code by removing the block diagrams, I do not believe this will be a proper work around in this case. While this removes the block diagram from actually being deployed along with the VI and restricts users from editing the code on the deployment machine, if something is getting changed in the compiled code upon deployment, this will not stop this from happening. This option is available more as a memory option to lower the size of the deployment as well as prohibit any users on the development machine from editing the block diagram themselves.
Thanks, Ching-Hwa! I look forward to your response so that I can continue trying to reproduce this issue. Have a great day!
Taylor G.
Product Support Engineer
National Instruments
www.ni.com/support -
HT2534 how do i use itunes and the app store without any credit card or gift card?
i just got my iphone and i used to use itunes all the time before when downloading all songs were completly free, how do i use itunes and the app store to find free stuff to download without having to add a credit card or gift card with my account?
Create a NEW account/ID for her using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before. Make sure you specify a birthdate that results in being at least 13 years old
Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
More details of how:
http://ipadhelp.com/ipad-help-tips-tricks/how-to-get-free-apps-from-the-app-stor e-without-a-credit-card/ -
How do you combine audio and video files?
I've brought in a video file and an audio file, but can find no way to specify that they are a single source that should be compressed together. The documentation was of no use. How do you identify video and audio files as being one source?
Thanks!Semantics, I suppose. In any case, you do need to go through Premiere Pro if you want AME to do the job. There are likely other encoders out there which can perform the muxing, though, if you'd rather not go through PP.
-
How to specify a variable in the script logic
I want to pass a variable from the process chain using the prompt statement.
I want to refer to the variable name in the script. When I used the following statement in the script file, I got an error when validating the statement below:
//Increase Wage and Salary & Personnel Exp. by entered percentage
[P_ACCT].[#CE0004020] = [P_ACCT].[CE0004020] * ( 1 + $WS_PERCT$ / 100)
Syntax error:Reference Error: $WS_PERCT$ is not defined
One of the how-to guides indicated that I should use the dollar sign before and after the variable name.
Can someone explain how to specify a variable name in the script.
Thanks.Thanks, Pravin.
I tried using the syntax with the # sign (as shown below) but when I validate the code I get an error. The message indicates there is an issue with $WS_PERCT$.
Syntax error:Reference Error: $WS_PERCT$ is not defined
P_ACCT].[#CE0004020] = [P_ACCT].[CE0004020] * ( 1 + $WS_PERCT$ / 100)
Can you please advise if am missing something here in the code.
Edited by: Sanjay Kumar on Sep 24, 2009 10:06 PM
Edited by: Sanjay Kumar on Sep 24, 2009 10:08 PM -
How do I change an image border color to another color - Dreamweaver CS5?
Good day,
I have just learned how to add a border to an image with Dreamweaver CS5 within the Properties Inspector.
After typing the width in pixels in the Border Text Field and pressing the Enter key, Dreamweaver created a black border.
How do I change the image border color to another color?I added your suggested rule to the Style Sheet "in any order" as you explained. See the image below.
However this did not change the image border from black to light blue. In fact, nothing changed.
Nothing changed because the CSS that has been written into DW is incorrectly written.
You want the following (exactly as written below)
img {border: 4px solid #0062C8;}
You've inadvertently wrapped the rule inside a #main_image container rendering it meaningless.
It's easiest to go into Code View and change
#main_image {
img {border: 4px solid #0062C8;
to
img { border: 4px solid #0062C8; }
The Property Inspector added a border exactly as I wanted it, other than the color I wanted the border to be. What is the use of this function in Property Inspector if it can add a border within Property Inspector but not let me change the COLOR of the black border that Property Inspector added, to another color?
That's a deceptively simple, yet valid, question with a long answer.
Back in the dark old days of web design web designers were restricted to inline HTML formatting which offered border properties but no colors.
CSS styling offers colors and more but has to be written differently.
These days. it's best to avoid HTML formatting. Unfortunately border="4px" in the PI still allows it. But does not permit color.
Does anyone else out there ever add color borders to their IMAGES (not the containing box for the image) ?
Yes, using CSS. -
Hi There,
Please can someone tell me how to specify a variable in the path prefix of an External HTTP (RFC) connection in transaction SM59?
For example if my path prefix is /invoke/test/example?input=XYZ; how do I replace "XYZ" with a variable so that I can pass in any value after "=" ?
Thanks,
BrendonHi,
This is SAP Business one system administration forum. Please find correct forum and repost above discussion to get quick assistance.
Please close this thread here with helpful answer.
Thanks & Regards,
Nagarajan -
Can anybody tell me how to extract sales value and cost value for an materi
dear all,
Can anybody tell me how to extract sales value and cost value for an material sold .
All the values of cost value and sale values are getting stored in bseg-wrbtr field .
How to identify them uniquely.
Or there is another way to find the sale and cost values.
Regards
MaveHi Mave!
Normally there is no condition change, when something is sold.
But sales price depends on sales conditions (not only price, but also surcharges, discounts, taxes - if customized).
Nevertheless, after selling you have a invoice document, where correct values <i>should</i> be stored (see VBRP fields mentioned above). If here is a problem, then customizing of price determination is in question, not a programming of user-exits with MARD selection for costs (or some other tries to get a price).
When you specify your requirements more in detail, you might get better answers - but currently only general hints are possible ('see in invioce / G/L accounts').
Regards,
Christian -
Views in MM03, how can I add fields and changes fields labels
Hi !!
I need to change some labels that appear on Sales: Sales Org 2 (view on MM03, MM02..MM01)...
Im not sure what I can do this.. Im an ABAP Programmer(beginner) and I know how I can change labels of fields in programs(reports) that I did...but in This case. I don't know what I can do...
example: when I enter on MM03..I select differents views(including Sales: Sales Org 2), later I specify sales Org and distribution Channel (I need to specify this information for see these fields on this TAB Sales: Sales Org 2).
When I access in tab: Sales: Sales Org 2, I can see one Group that it's called
Material Groups that contain two fields called MVKE.MVGR1 AND MVKE.MVGR5... I saw in the screen these fields with the description from each field..example: Material Group 1 (MVKE.MVGR1 )... I would like to know :
1.- How Can I change the description Material Group 1 (in this screen) by other description (example: material test)...
2.- How can I add more fields in this group...example..If I need to add MVKE.MVGR2 ..??
I will appreciate your help!!!
I will give you points for your answer
AliceHi Alice,
And do I need to change in this section too.... SPRO -> SAP Reference IMG -> Logistics general -> Material master -> configuring the material master -> ...
If I need to add some values???
After you made label changes on custom screen then you need to go configuration (Define Structure of Data Screens for Each Screen Sequence) to replace the standard SAP screen with custom screen. You can also do testing for custom subscreen as well. Give it try.
And how about If I move this screen??...is it dangerous??...or how can I know if this screen affect other section of programs?
I do not understand your questions. Can you elaborate more?
Regards,
Ferry Lianto
Maybe you are looking for
-
Is it possible to change the URL of the browser corresponding to changes in the timeline?
Hello, I'm trying to create a whole website in Edge. Is it possible to change the browser URL for different sections of the animation. For example me.com/part1 leads to 2.0 seconds in the animation. And for example when you type me.com/part2 the brow
-
CAN'T SYNC WITH ITUNES 11.0.1 (12)
I used to be able to sync my contacts from my iPhone 4s by the easy process of checking sync Google contacts on the contacts portion of iTunes under info label. There is no longer an option to do this on iTunes 11.0.1. Does anybody know a fix for t
-
When downloading the new update to my windows 7 I get the error message MSVCR80.dll not available. I can't access my itunes at all. Please help
-
Input WCM content to Activity Stream Taskflow
Hi I am trying to input the data coming from WCM to Activity Stream task flow. Plan is read the data from WCM using java API and input it to the activity stream task flow. Can some one tell me how can we access this taskflow using Java API. I went th
-
Part of itunes is blind?
Okay, as it stands, I know my shuffle is installed and I would thuink properly since I have been through every trouble shooting task I can find. Also, before ipod was installed, there was no topic in the itunes help section for ipod and as soon as it