Break before portlets contents!
Hi,
Portal inserts, by himself, a <BR> tag before any text item published as portlet. Is it normal?
I want to use a text item (published as portlet) just in the beginning of the page. This item is an image and some js code. I don't know why but there is a <BR> before the image, inside de portlet area. It is not a space between portlet or around. Is a <BR>.
Any idea about this? I'm using Oracle Portal R2.
many thanks in advance,
Miguel
Hi Vetri
I have created a RTF and my issue is that, when I have only invoice I am able to control the lines per page(25 in my case) easily.
When I add remittance message and shipment# it is not easy for me to control the table length.
can you please help me out..Can I send you my RTF and xml..
thanks
prasanna
Similar Messages
-
Change Portlet Content item in 9.0.2.
Hi
If I add a few images to a page, and I go to the categorie page where these images are stored, I can't see these images.
Instead I see a lot of information about these images (create date, page group,...)which i don't want to see.
On this categorie page all the items are stored in a "portlet content" item.
Is there a way to change the settings of this "portlet content" item?
greetingsHi
The changing of relative to absolute is the one that bothers me. I think it also added line breaks, which caused problems with gaps appearing between images.
The other one I remember is adding <tbody> tags to a table.
I would prefer it if one could prevent the editor from making any changes in the HTML whatsoever. As an option maybe.
Is it possible to create a simple HTML item as a shared component that one could drop into any page?
Regards
Harry
What changes are you seeing?
I know that the editor converts relative links to absolute links (a bug has been logged for this and the issue is mentioned in the release notes). -
How to Get Page Break Before Inline TOC in EPUB?
I'm exporting a book file to epub. The TOC is created correctly inline, but I can't yet find a way to get a page break right before it.
In EPUB Export Options->Advanced, I have selected Split Document->Based on Paragraph Style Export Tags.
The TOC Header (saying "Table of Contents") has the paragraph style "TOC Heading." In paragraph styles panel->Edit all Export Tags, I have checked the checkbox for "Split EPUB" next to the "TOC Heading" style.
But, after export, there is no page break before the TOC Header.
How can I correct this?
Thanks very much in advance to all for any info.I think basically you're doing it correctly. I've run into the same problem. What I found is that the heading in the PLACED table of contents (placed by using the Layout > Table of Contents feature and placing it onto the page) will not work for making a page break. It's a special kind of object because it can be updated by the Update Table of Contents command.
You have to do a workaround: You need to create "Table of Contents" in a separate frame and apply the TOC Heading paragraph style.
In the TOC style, DON'T include content for the TOC title. Look at the screen captures below of my TOC.
By separating the "Contents" into its own frame it works in EPUB: -
Has anyone implement paging / page breaks in long content items?
Has anyone implement paging / page breaks in long content items? Eg when a text item is long it would be nice if there was a portlet or something to be able to separate it in pages that fit in the users screen and display a message in the bottom like "page 1 of 3" etc with next and previous links.
Any ideas?Oracle has a pretty good Oracle By Example on OTN covering this at [http://www.oracle.com/technology/obe/obe1014portal/html_templates/html_templat.htm]. I'd also recommend following on with the one on Item Placeholders to complete the picture [http://www.oracle.com/technology/obe/obe1014portal/item_placeholders/itmplacehold.htm].
My announcements are text items in one region. The region has a HTML content layout that uses pl/sql to determine where the first space is after 650 characters and if it is larger than 650 characters opens the item in a page using the item placeholder (hence my suggestion above). The code to generate this looks like this on the template. v_length is declared at the top of the tempalte so it is easy to change the length of the announcements:
IF LENGTH ('#ITEM.CONTENT#') > v_length THEN
v_space := INSTR('#ITEM.CONTENT#',' ',v_length,1); /*Find first space after designated length*/
HTP.p('
<table width="100%" cellpadding="3" cellspacing="0" border="0">
<tr>
<td>#ITEM.IMAGE#</td><td valign="top">' || SUBSTR ('#ITEM.CONTENT#', 1, v_space) || '</td>
</tr>
<tr>
<td align="right" colspan="2"> <MORE...</td>
</tr>
</table>'
ELSE
HTP.p ('
<table width="100%" cellpadding="3" cellspacing="0" border="0">
<tr>
<td>#ITEM.IMAGE#</td><td valign="top">#ITEM.CONTENT#</td>
</tr>
</table>'
END IF;Check out the OBE's and post back with any questions. They can sometime be challenging to get to work just right, but you can do a lot with these templates.
Rgds/Mark M. -
Detecting Page Break before/after text
Is there a way to detect if there is a page break before or after a block of text through scripting?
yourSelection.characters.item(-1).contents
This will return a regular single character "\r" for a hard return at the end, but any of ID's breaks will be indicated by one of the values:
SpecialCharacters.COLUMN_BREAK
SpecialCharacters.EVEN_PAGE_BREAK
SpecialCharacters.FRAME_BREAK
SpecialCharacters.ODD_PAGE_BREAK
SpecialCharacters.PAGE_BREAK
(as you can see there is more than one 'break' character).
To check a page break before the current paragraph, you will have get a pointer the paragraph before the current one and do this same check on that.
Check also the constant
yourSelection.startParagraph
which can be
StartParagraph.NEXT_COLUMN
StartParagraph.NEXT_EVEN_PAGE
StartParagraph.NEXT_FRAME
StartParagraph.NEXT_ODD_PAGE
StartParagraph.NEXT_PAGE
indicating the Keep Options applied to the current paragraph. These also make paragraphs start at a new page.
Finally, there is the possibility that none of the above applies, but the previous paragraph ended right at the bottom of a text frame, and the current paragraph starts at the top of a new frame. No special character or code, but still a page break. (Perhaps you could test paragraph.lines for that.) -
Why does page-break-before get replaced with br class hcp10?
why does <br style="page-break-before: always;"> get replaced with <br class="hcp10">
This issue only occurs when generating an HTML Help CHM file.An alternative method can be found in Item 23 at http://www.grainge.org/pages/snippets/snippets.htm#content.
Are you saying the code in the source file gets changed? I suspect you mean target files but how are you identifying the change in a CHM? Is the change causing a problem?
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Does Acrobat Pro 9 support "page-break-before" CSS tag? ie Pagination issues
Hey there
Converting a whole stack of html files to PDF and having some pagination issues. Titles not staying with images and tables getting chopped in half by page breaks etc.
Thought i could solve it by using carefully placed "page-break-before:always" tags where i wanted the page break. Works as expected in Safari when i go to print but not when i "File:Create PDF: From File" in Acrobat Pro. They get ignored.
Here's how they should work:
http://www.w3.org/TR/CSS21/page.html#x3
This is a major hassle. I've got over 600 webpages to convert to PDF's and manually entering <br> to force items onto the next page is getting old.
Here's some sample html, paste it into a file, save, open it in Safari and then go to print. It should print 7 pages. Open it in Acrobat Pro 9.1.0 and you get one page.
<body>
test0
<p style="page-break-before: always">
test
<p style="page-break-before: always">
test1
<p style="page-break-before: always">
test2
<p style="page-break-before: always">
test3
<p style="page-break-before: always">
test4
<p style="page-break-before: always">
</body>
The really nice thing is this would be so useful. You can attach the tag (page-break-before:avoid) to a Caption style and always be assured that it will stay with a following graphic when you print the webpage. Or use it to make sure a table doesn't get cut in half.
http://reference.sitepoint.com/css/page-break-after
http://reference.sitepoint.com/css/page-break-before
Any hints would be great
tia
JeremyNope. Did the </br> thing.
Cost me some serious cash. Very annoying.
I haven't tried it with Safari 5. Acrobat allowed me set page margins, something that Safari 4 didn't allow (didn't support margin css tags). But acrobat didn't support the pagination and Safari 4 did.
Like i said annoying
I'll see if Safari 5 supports the print margins css tags.
I'll prob get asked to do this again so would like to sort it out
Jeremy -
CSS Page-break-before is not working in FireFox 4 but worked proper in FF3.x
I have web app that produces ~10 page sales estimate. To make things look nice, I have added pagination to my CSS files (using page-break-before:always)... this all worked wonderfully in FireFox 3.x... I recently upgraded to FF4 and now it is not working
Hi there,
I seem to be having a similar problem, however, the first page break is working, but each page break after that is not.
The page break is a div that is a dedicated page break layer and the first clearly works, but the remainder of the 12 page report doesn't have any breaks.
Testing with other browsers shows up 12 pages with breaks which to me indicates a issue with ff4 as I have only recently upgraded to 7 and it used to print under ff3 with all the breaks no problems. -
Page Break Before & Repeating Frame (Reports 10G - Windows)
Hi to all,
I have to give page break when a condition met in a tabular report.Like it s advised I tried some layout objects with page break before property true and wrote their return code true if this criteria occurs. But whatever I tried, I couldnt get my desired output.It gives page break but repeats a blank repeating frame in the next page but only with that object I added later with page break property. Anybody have an idea ?
Thanks...Hi,
sounds like there's no child object for your object with page break before. This property has only impact of the object itself and all it's child objects. An object is a child object of another object, if the position of this objects has impact of the own position. This is only the case, if the parent object is vertical expandable and the child object is horizontally overlapping the virtual expand-region, or the child-object is anchored to the parent object.
So if you have this layout:
blue box fixed size
red box fixed size
yellow box fixed size
and you set page break before to the red box, you will get:
blue box
yellow box
-- page break
red box
If the red box is verical expandable you will get:
blue box
--page break*
red box
yellow box
So in your tabluar report your field of the report should be in a frame and this frame should be child object of your new object which must be vertical expandable or anchor them together.
Regards
Rainer -
Hello All,
In MS Office word, Insert > break made to page break.
In the Report, I have challenges in the Page Break Before / After.
If any one help me out, it will be great.
Thanks in advance,
REF:
Tool
Property Inspector
Object Navigator
Report Editor
Template Editor
General layout
Page Break Before
Page Break After
Page Protect
Advance Layout
Print Obeject Onthe picture worth a thousand wordsDon't you think it would be better to tell us what your problem is? So you changed the property to 1. And now? Does it work? Does it not?
-
Hi,
I am wondering if someone has successfully localized portlet contents in 5.0 using java.
I created two properties files MessagesBundle.properties with "greetings = Hello." and MessagesBundle_de_DE.properties with "greetings = Hallo."
In my portlet.jsp:
language = new String("en"); //for testing
country = new String("US"); //for testing
Locale currentLocale;
currentLocale = new Locale(language, country);
ResourceBundle messages = ResourceBundle.getBundle ("MessageBundle", currentLocale);
out.print(messages.getString("greetings"));
The file compiles fine but doesn't display in the portal. Any ideas of what I need to change? Currently I place the properties file in the same folder as the portlet.jsp file.
Thanks.
Hao
[email protected]Does it happend just for G6? Does it work for v.5.*?
-
Orage reports - page break before
Hi
Can any more experience devolpers help? I have a group above report that I wish the group to either page break after or page break before. If I set page break before then the group only prints on page 2 onwards. If I set page break after it prints on page 1 ok but then the report total always prints on its own on the last page.Hi,
sounds like there's no child object for your object with page break before. This property has only impact of the object itself and all it's child objects. An object is a child object of another object, if the position of this objects has impact of the own position. This is only the case, if the parent object is vertical expandable and the child object is horizontally overlapping the virtual expand-region, or the child-object is anchored to the parent object.
So if you have this layout:
blue box fixed size
red box fixed size
yellow box fixed size
and you set page break before to the red box, you will get:
blue box
yellow box
-- page break
red box
If the red box is verical expandable you will get:
blue box
--page break*
red box
yellow box
So in your tabluar report your field of the report should be in a frame and this frame should be child object of your new object which must be vertical expandable or anchor them together.
Regards
Rainer -
I know this will probably sound stupid but I'm still new and it seems like something
that should happen automatically anyway.
I have one portlet that contains many links to other jsp's and html. Whenever
I click a link, I would like for the hyperlinked content to stay within the same
portlet. However, whatever the hyperlinked content is takes over the entire portal
page.
We solved this before by making the main jsp a URI portlet through the Web Service
Portlet Wizard for 4.0 (see code below that was generated by Wizard tool). Even
then it seemed that the normal behavior should have been for the content to stay
within the portlet that it was linked from, the URI portlets worked so it wasn't
that big of a deal. Now, it seems that the Web Service Portlet Wizard doesn't
work in 7.0 or that the webservice.tld is not supported so I am at a loss.
Any help would be greatly appreciated!!!
URIPortlet.jsp
<%@ taglib uri="webservice.tld" prefix="ws" %>
<ws:getExternalURL id="externalRequest" defaultURL="http:lbug.ets.mta:63710/gsweb/portlets/gsMainPortlets/Main.jsp"/>
<table>
<ws:getPortalPrefixURL id"portalPrefixURL" />
<ws:uriContent id="uriContent"
externalRequest="<%=externalRequest%>"
portalPrefixURL="<%=portalPrefixURL%>"
ttl="0">
<tr><td><%out.print(uriContent);%></td></tr>
</ws:uriContent>
<tr>
<td>Hi Chris,
you should use <portlet:createWebflowURL> if you want to restrict the new contents
within the portlet. Also it will be good idea to define all your JSPs as presentation
node within the webflow to get the complete picture of spread of pages in your
web-app though it is not necessary for your scenario.
<portal:createWebflowURL> will keep your resulting contents within the same portal
but not withing same portlet coz it is used for navigating between portal pages
(visualized by the navigating tabs) and not between portlets.
I hope this helps.
cheers
Kam
"chris" <[email protected]> wrote:
>
tanya,
no, we aren't using webflow. i think that is what the benefit of the
4.0 web services
portlet wizard (which was a separate download and install in the EBCC)
did for
us when creating a URI portlet from the tool.
i started to go the webflow route but got kind of halted when the portlet
wizard
(the new feature in the 7.0 EBCC) wouldn't let me create a 2-page webflow
portlet.
For some reason, it will not create the .portlet file. So, I will have
to start
from scratch.
I am trying to keep the flow within the main portlet itself and I have
20 or so
links to other .jsp and .html files that I wish to stay within the main
portlet.
Will I use <portal:createWebflowURL> or <portlet:createWebflowURL>? Also,
when
I create the webflow within the EBCC will I make a node for every .jsp
or .html
file and just make it a different event?
I apologize for the very basic questions but the docs don't really seem
to help
unless you are trying to flow from one portlet to another and there is
no one
here with enough webflow experience to help me.
thanks,
chris
"tanya" <[email protected]> wrote:
are you using webflow?
if so, there are tags that will keep the flow w/in a portlet:
<portal:createWebflowURL>
(if you weren't inside of a portlet, you'd use a different tag:
<webflow:createWebflowURL>)
see edocs for more info:
http://edocs.bea.com/wlp/docs70/jsp/index.htm
"chris" <[email protected]> wrote:
I know this will probably sound stupid but I'm still new and it seems
like something
that should happen automatically anyway.
I have one portlet that contains many links to other jsp's and html.
Whenever
I click a link, I would like for the hyperlinked content to stay within
the same
portlet. However, whatever the hyperlinked content is takes over the
entire portal
page.
We solved this before by making the main jsp a URI portlet through
the
Web Service
Portlet Wizard for 4.0 (see code below that was generated by Wizardtool).
Even
then it seemed that the normal behavior should have been for the content
to stay
within the portlet that it was linked from, the URI portlets workedso
it wasn't
that big of a deal. Now, it seems that the Web Service Portlet Wizard
doesn't
work in 7.0 or that the webservice.tld is not supported so I am at
a
loss.
Any help would be greatly appreciated!!!
URIPortlet.jsp
<%@ taglib uri="webservice.tld" prefix="ws" %>
<ws:getExternalURL id="externalRequest" defaultURL="http:lbug.ets.mta:63710/gsweb/portlets/gsMainPortlets/Main.jsp"/>
<table>
<ws:getPortalPrefixURL id"portalPrefixURL" />
<ws:uriContent id="uriContent"
externalRequest="<%=externalRequest%>"
portalPrefixURL="<%=portalPrefixURL%>"
ttl="0">
<tr><td><%out.print(uriContent);%></td></tr>
</ws:uriContent>
<tr>
<td> -
Search Portlet Content Services
Is there any search Portlet for the Content Services Search ?
thanks
KveniYou are correct that it is not present but I can tell you that it is planned for a future release.
-
Portlet content organized with folders
I would like to create a portlet that is similar in functionality to the Favorites portlet. I was able to do this using content areas and URL items in 9.1, but am unable to figure it out using 10g.
Here's what I would like to do:
Create a portlet that contains URLs, organized within folders. I want the folders to open up inside the same portlet (instead of opening a new page).
I have been trying page groups, pages, subpages, categories - but cannot achieve the results I am looking for. Any suggestions? Thanks! -- Rhondahi rhonda,
do you want to display something like the browser favorites ?
if yes i suggest to use an HTML portlet. save your favorites as html file and display it as an iFrame in the HTML portlet. this ensures that if you clicke a link it is displayed in the same portlet area.
if misunderstood your requirements it would be great if you could describe in more detail what you are trying to achieve.
regards,
christian
Maybe you are looking for
-
Customer Open Item Clearing through F.13
Hi In our scenario we need to clear customer account by using f.13 standard functionality due to several debit and credit postings. The scenario is, first there will be a credit posting to a customer line item with special gl indicator as 'A'. Aga
-
I also can use internet explorer just fine so I know it's not a problem with my internet provider. Unable to connect is the message I get. Then... The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to
-
Reference with '*' in GL document
Hi. I know when I create a new GL document, and I write in Reference field an '*', when document is created, in field reference appears document number created. But now, I want to do the same for a preliminary document (type FW) and it isn't working.
-
Am using iPhone 3GS with iOS of 6.1.6. How do I download iBook m
H
-
My PS CS6 is not responding upon opening on my mac and I have to force quit every time. I have the creative cloud and I have plenty of memory left so I'm unsure what's happening - it was working perfectly fine this morning