on 11-29-2004 11:39 AM
I have a long htmlb link that should be wrapped to fit in a FormLayoutCell.
The generated html page has the <nobr> element inside to indicate that the link will not be wrapped. Any ideas?
Hi Nick,
from the sources I would await the opposite, but I don't have the time to test in detail.
Please provide two infos:
(a) HTMLB build time? (See com.sap.portal.htmlb.lib/META-INF/buildinfo.xml)
(b) Could you minimize your example to determine from which HTMLB component the <nobr> comes from?
Maybe you could provide minimum JSP excerpt with minimum corresponding HTLM excerpt.
Best regards
Detlev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dethlev,
a.) The build time is Tue Nov 25 01:27:30 2003. Do I have the possibility to choose an other one?
b.) a snippet of the code:
I use a dynpage, created from the templatedynpage. The layout in subject is:
FormLayout fl = this.getForm();
//The layout row has several coloums, but the relevant
//is this one:
FormLayoutRow headerRow = fl.addRow();
FormLayoutCell imgCell = headerRow.addCell();
Link editQuestion = new Link( "edit" ,
"Edit Question" );
editQuestion.setOnClick("editQuestion");
editQuestion.setFontSize( LinkFontSize.STANDARD );
editQuestion.setLinkDesign( LinkDesign.RESULT );
imgCell.addComponent(editQuestion);
This link produces the <nobr> tag in the html output. I tried to use the link element outside of a formlayout, but it's the same.
Thank you, Nick
Hi Nick,
> The build time is Tue Nov 25 01:27:30 2003.
That's old. That does not mean that the actual implementation will do (even if I had the impression by having a glance at the sources; as far as I saw, each cell is surrounded by a FlowLayout, where the default is wrapping = true, so that no <nobr> will be rendered).
I have EP6 SP2 P27, with means HTMLB build time Nov 2 2004.
So it would be a chance to get rid of this when updating... But I don't promise you more than a chance... If it doesn't work, then the time would have come to check deeper
Hope it helps
Detlev
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.