NOTE: This article is 3 years or older so its information may no longer be relevant. Read on at your own discretion! Comments for this article have automatically been locked, refer to the FAQ
for more details.
For a very simple task of aligning a button to the input fields on the rest of the form, in ADF 10g it is quite a painful process. It took me a bit of experimentation to get it working correctly, but here is the result.
To get this result I had to add the following components to the JSF page:
The commandButton is inside a rowLayout, which is inside a tableLayout. The rowLayout has a cellFormat that contains a outputFormatted with a non-breaking space.
The critical thing to do is to set the columnSpan of the cellFormat to 2 so that the empty space takes up two columns, aligning the button correctly.
Hope you found this post useful...
...so please read on! I love writing articles that provide beneficial information,
tips and examples to my readers. All information on my blog is provided free of
charge and I encourage you to share it as you wish. There is a small favour I ask in return however -
engage in comments below, provide feedback, and if you see mistakes let me know.
If you want to show additional support and help me pay for web hosting and
domain name registration,
donations, no matter how small, are always welcome!
Use of any information contained in this blog post/article is subject to this disclaimer
Other posts you may like...