How to parameterize pages or books

Hi all,
in our project we need to handle navigation entries in different ways. Therefore we thought about customizing the skeleton jsp to behave different when rendering menu entries for special pages or books.
We were looking for something like:
<c:choose>
<c:when test="${pagepc.myProperty=true}">
....do something special here...
</c:when>
<c:otherwise>
Question: Is it possible to parameterize pages or books? I hoped to find a properties view in portal console - but there is none.
Thanks in advance.

You need to add the properties or Meta Data on the consumers page not the producers. Even though you are remoting the page the page is not really remoted (only the portlets on the page).
If this is not an option you may want to look into something around custom data transfer, but I really don't think this information should be coming from the producer. As the producer just produces portlets, and they shouldn;t really be tightly coupled to the page they are on.
As far as the EL, I'm not too sure but there are two methods on the PresentationContext. I don't think these two lend themselves very well to EL, you can always write a scriplet.
* Return the metadata elements for this control matching the supplied name
* @return a MetaData element if a match is found otherwise null.
public MetaData getMetaData(String name)
* Return the metadata elements for this control
* @return a non null array of <code>MetaData<code/> objects
public MetaData[] getMetaDatas()
For the properties
* Get the extra properties string of the component, if it exists. This value may be null.
* Properties are formatted as in the following example:
* <pre><b>
* my-first-key: my-first-value; my-second-key: my-second-value;
* </b></pre>
* Any number of properties may be in a properties string.
* @return
* The control's extra properties, if set
* @see
* #getParsedProperties
public String getProperties()
* Get the extra properties of the component, if they exist. This value will not be null.
* The <code>Properties</code> class returned by this method is the parsed view of
* those from {@link #getProperties()}.
* @return
* The control's extra properties, if set; an empty Properties instance if not
* @see
* #getProperties
public Properties getParsedProperties()
* Get a property of the underlying component. This is a convenience method.
* The <code>key</code> argument should not be null.
* @param key
* The property key
* @return
* The value associated with the specified key, if it exists
public String getProperty(String key)
BTW: if you are doing a lot of these say > 100, I'd recommend the properties vs the Meta Data.

Similar Messages

  • How can I set a book to open full-page?

    I can't track the information I'm looking for, so I need to ask:
    How can I set a book to open full-page and not with the graphic table-of-contents? I'd like to lead in with a video (when the book is first launched), and have the video hand off to the copyright page, full page, not where the reader has to pick it from the graphical table of contents.
    Many thanks for your help!

    I'm a frequent user of the Reminders app but I want to set a reminder that will automatically open another app.
    Maybe I should make a suggestion to apple to include it in the next iOS update.

  • How to digitize a physical book (scanned pfd file) to a kindle format with Indesign? pages are 8x11.

    How to digitize a physical book (scanned pfd file) to a kindle format with Indesign? pages are 8x11.
    I have all scanned pages, but the kindle format offered on the Indesign options is bigger. What should I do? Do I start a book from scratch with the scanned pictures or do I leave the pages with the white space on them with the kindle option of Indesign.

    Hi barbaraegarza,
    For your situation, you could try using alternatives like PDF4Kindle, Calibre, or Papercrop.  But based on what I've read and my quick experiment, depending on the complexity of  your PDF, it may be more effort than it's worth to try to convert a PDF into a legible Kindle, ePub, or any other e-reader file.
    I did a quick test on Calibre with a 16-page PDF that contained multiple columns and images.  The results were illegible!  It ran the lines from each column together, making the text difficult to comprehend.  Calibre explains why PDFs are difficult to convert -- Ebook Conversion — calibre User Manual.  I have not tried the other two applications that I suggested above, but I would assume that the results would be very similar.
    I don't know what kind of results you got when you converted it in InDesign, but if your first test turned out fine and it was just the size of the file that you are concerned about, you could use Acrobat to reduce your PDF's file size and convert it to the Kindle format in InDesign again.
    Hope this helps.  Good luck!

  • HT201272 Followed the directions on this page. Books are not listed among the options at step five, only movies tv shows and music, so how do I download my books then? I previously purchased two audiobooks on iTunes.  They are available on my iPad, but no

    Followed the directions on this page. Books are not listed among the options at step five, only movies tv shows and music, so how do I download my books then? I previously purchased two audiobooks on iTunes.  They are available on my iPad, but not here.

    If you go into Edit > Preferences then on the General tab on the popup that you get you should be able to select which types of content 'show' - tick the box against 'Books' :
    Books then show under your 'Library' - if you select it, are those audiobooks listed there ?

  • How much does a 60 page iPhoto book cost?

    I just wanted to know how much a 60 page iphoto book costs

    Order and get the price before you complete the order = when you started teh book you got the base price and the price per page
    LN

  • How to change Page Text in Book Module?

    I am in the process of creating a 158 page photo book to be printed by Blub.  I have created many other Blurb books using their BookSmart software.  This is my first attempt using the Lightroom Book Module.
    My problem is I would like the change the default Page Text field on each page without having to manually change each page.  There doesn't seem to be a way to do a mass change.  There is a "Select All Text Fields" command under the Edit tab, but that selects all of the text fields, both Page and Photo text fields, which doesn't help.
    Any suggestions would be appreciated, include telling me there is no automated way to do it and I just need to "suck it up" and manually change all 158 pages with the same exact text.
    Thanks in advance,
    Rick

    Dear Detlev,
    Thanks a lot for your valuable answer.  I have found the text for the "User Authentication Failed" , done the changes and depoyed the Jar file . This is working.
    But the same when i try to do for  "Authentication failed. Password locked" this message comes when i do multiple failed login. I need to change the text , i found  the text in the u2022sap.comtcjesecurityimpl.jar file, i made the changes in the JAR file ,replaced with the server jar file and restared.
    But the changes did'nt get reflected. Can you please suggest if i am chaning in the correct JAR file?. I am working in NWDS7.3
    Can you please help me on this. Appreciate your help .
    -Regards,
    Alok

  • Any ideas how to fix my mac book pro to canon pixma mp640 printer connection?

    Anyone have any ideas how to fix my mac book pro to canon pimxa mp640 printer link? The two are connected manually yet the ! remains on the 'print' page next to the printer name. it was working fine until i changed the ink cartridges. Without the wireless password - which I've never had and don't supposedly need as it's not a wireless connection, I am being prevented from resuming printing.

    If it's on a windows network you have to enter your (windows) log in (name/password) credentials.
    This should be a 1 time event. It will remember it thereafter.

  • How to connect my mac book pro to network printer Canon IR 2010f?

    I'm desperate to know how to connect my Mac book Pro to network printer Canon IR 2010f. This printer has an independent system, therefore, no need a PC to be on, in order to print. But this printer is a network printer. Help me please.

    The Canon UFR2 v2.20 driver for Mac OS X does not list the iR2010F as a supported model. The same is so for the Canon PS driver so I therefore believe this model is PCL5e only.
    What you should do is open Safari and type the IP address of the iR2010F. This will connect to the internal web page of the copier and from the provided pages you should be able to see what printer languages are supported.
    If it only lists PCL then you will be able to print to this copier using the Generic PCL driver included with 10.6.
    So if you open Print & Fax, click + to add and then select IP > LPD for the protocol you can then enter the IP address of the iR2010F and leave the queue name blank. For the name you can change that to iR1020F and for the Print Using, select Generic PCL Laser Printer.
    One note with regards to this driver. It is defaulted to 300dpi so you will need to open the print dialog when you do print and change the resolution to 600dpi to get better print quality.

  • How do I close a book and go back to the library?

    How do I close a book and go back to the
    Iibrary?

    Tap on the open page somewhere and the "library" Button should appear in the upper left corner. Tap that to go back to the library.

  • How do you structure a .book with an EDD?

    Hi all,
    I am learning how to convert legacy, unstructured FM documents into structured FM documents and need some help. So, I created a conversion table from my unstructured documents, created the EDD, applied the EDD to the unstructured document to create a structured document and now need to tweak the EDD.
    My question is, what is the correct way to layout the EDD rules for a book using multiple document styles? For example: My book contains a title page, TOC, one or more chapters, a glossary of terms, and one or more appendixes (or is that a appendicies?.)
    I am thinking the element rule would look something like this:
    Element (Container): BOOK
    Valid as the highest-level element.
    General rule: TitlePage, TOC, Chapter+, Index, Appendix+
    Followed of course by other elements required for the structure. However, I did see an EDD that I am sure was outlined like this (though I can't recall where:)
    Element: TitlePage
    Valid as the highest-level element.
    General rule: Blah blah blah
    Element: TOC
    Valid as the highest-level element.
    General rule: Blah blah blah
    Element: Chapter
    Valid as the highest-level element.
    General rule: Blah blah blah
    Element: Index
    Valid as the highest-level element.
    General rule: Blah blah blah
    Element: Appendix
    Valid as the highest-level element.
    General rule: Blah blah blah
    If the second structure is correct, how do you define the Book element? On the Adobe forum, I was told one EDD should be created for all book elements, which makes sense to me.
    Okay people, fire away. Remember I am a neophyte in structured FM.
    Thanks,
    Adam

    Thanks Van, that does clear it up for me... a little. My confusion now is, if I set all the book sections as valid at the highest level, then how does the book get structured as the starting point for the sections contained within it? I have tried to find a sample EDD detailing exactly this, but to no avail - my search brought up courses where this is covered, but not the actual EDD structure.
    When I try to structure the book with the EDD, the book comes up red with its children elements looking just fine. Ahh! You have to love that learning curve.
    Regards,
    Date: Thu, 24 Sep 2009 06:43:41 -0600
    From: [email protected]
    To: [email protected]
    Subject: How do you structure a .book with an EDD?
    Adam,
    Following up on some of Russ's sage advice, you asked:
    If the second structure is correct, how
    do you define the Book element? On the Adobe forum, I was told one EDD
    should be created for all book elements, which makes sense to me.
    As Russ said, your BOOK element looks fine. Not sure how far you have gotten, but when you open a document file that is in the book, its root element will be Chapter, TitlePage, Appendix, etc. That is why you have to declare each of these as being valid at the highest level. When you click in the book file window and look at the structure view, you will see that the BOOK element is the root element, and its content will be TitlePage, TOC, Chapter, Chapter,...etc. The book and all of its component files have the same EDD. The definitions for the BOOK element, as well as the TitlePage, TOC, Chapter, etc elements are all contained in the same EDD. I hope this helps to answer your question.
    Van
    >

  • How to parameterize the schema name in APEX

    Hi,
    How to parameterize the schema name in APEX , in order to access different tables from the respective schema.
    For example:-
    select NAME display_value, CODE return_value
    from paramSchema.DESC_LIST WHERE SELECTION_FLG = 'Y'
    order by 1
    in the above code, paramSchema will be replaced with the actual schema name duing runtime. I tried doing so by some hidden fields on page, but it didn't worked out.
    I took the schema name from the respective server as per the IPof the server.
    stored in a hidden field named as schema.
    And replaced the same in place of schema name. But no luck.
    select NAME display_value, CODE return_value
    from :schema.DESC_LIST WHERE SELECTION_FLG = 'Y'
    order by 1
    Please help me in shorting it out.
    Thanks,
    Anuradha

    Hi
    In order to do that, you would need to use dynamic SQL by changing the report type to PL/SQL Function Body Returning SQL Query and have code along the lines of
    DECLARE
    l_sql VARCHAR2(32767);
    BEGIN
    l_sql := 'select NAME display_value, CODE return_value
    from '||:schema||'.DESC_LIST WHERE SELECTION_FLG = 'Y'
    order by 1';
    RETURN l_sql;
    END;However, by doing this, you lose alot of flexibility. The other options would be...
    To have seperate report regions that are conditional on the value of the variable.
    To use a WITH clause at the tope of the query like...
    WITH src_data AS
    (SELECT * FROM schema1.my_table
    WHERE :schema = 'schema1'
    UNION ALL
    SELECT * FROM schema2.my_table
    WHERE :schema = 'schema2')
    SELECT *
    FROM src_dataOther than that you could look at using synonyms and doing something similar.
    Hope this helps.
    Cheers
    Ben

  • HT4539 how can i get a book out of the download queue? I have already downloaded it once.

    How do I delete a book of my download queue? I already downloaded one copy. I don't want to be charged for another copy.

    I THINK I have solved the problem. Can't be 100% because I don't want to try a restore. At least the Apple home page lites up correctly with quicktime now. It hadn't in the past.
    Thank you for your assistance. - LRB
    desktop   Windows XP  

  • How do you import audio books so they are like the ones you buy from itunes

    how do you import audio books so they are like the ones you buy from itunes?

    There are a number of tools for merging the files into one. Personally I don't bother, but you'll find links on my page which describes how to manage Audiobooks on iPods.
    tt2

  • How can others publish .PDF books to iPhones?!

    I have created a cooking book for the iPad using iBook Author, with some fancy layout and formatting. The book looks great.
    Now I want to be able to publish it for iPhone as well.
    I can see others have their cook books available for iPhone and iPad and it looks identical on both platforms. Having tried to download a few of them, I notice they behave exactly like a .pdf does (I can pinch to zoom, etc).
    Now when I try to publish my book to iPhone as a .pdf I'm informed that that is not possible.
    Instead I'm guided to using Pages to create an ePub file. But this does not work for two reasons:
    1) The formatting tools are horrible, I have to recreate my book from scratch, and I can't get anywhere near the fancy layout and formatting of my iPad version. And the goal is to make it look exactly like my iPad version.
    2) As an ePub I can change font size and font, which I don't want. I want my version to behave like a .pdf, just like everyone elses cookbook, so I can retain my fancy layout, fonts and image placements.
    I really hope someone can help me here, because it seems I'm doing something horribly wrong.
    Thanks in return!

    This was so confusing, I looked to find out how others submit pdf-like books.
    It makes no sense that I can't submit a pdf to the book store, now that other books behave exactly like pdf, and the iBook app can already handle pdf's.
    Google is not my friend on this one, and I even tried to contact Apple...
    All help would be much appreciated!
    It can't be true that putting a .pdf of my iBook on my iPhone is easy, but putting it on the book store for others to download is such a complex prosedure you have to pay a company to do it.
    Why does it have to be an epub format, when it changes nothing for the user experience and looks exactly like a .pdf?
    Then something is seriously wrong.
    I hope someone with knowledge on this area can explain this.
    Help is much apreciated
    - Frustrated iBook costumer

  • HT5544 How to permanently delete unwanted books on iBooks?

    How to permanently delete unwanted books on iBooks?

    Well, it is possible to delete it permanently.
    At first I should notice the problem is that, when you delete a book from ibook in mac the notification which comes up tells that the book would remain in icloud so you have to delete it from icloud.
    To do this, open itunes, click on itunes store link on top right, now your your apple id should be show up on top left side, now click on books link next to app store on top, this full page is apple bookstore, on the right bar under "books quick links" you would see "purchased", click on it.
    THESE ARE ALL THE BOOKS YOU HAVE BOUGHT. IF YOU SLIDE OVER EACH OF THEM YOU WOULD SEE A "X" SIGN ON TOP LEFT SIDE OF EACH COVER CLICK ON IT, BY DOING SO YOU WOULD DELETE THE BOOK FOREVER FROM ICLOUD IN YOUR APPLE ACCOUNT.
    BY NOW IF YOU DELETE THE BOOK FROM YOUR IBOOKS APP IN YOUR MAC, IT WOULDN'T TELL YOU THAT IT WOULD BE STORED IN ICLOUD.
    YOU'VE DELETED THE BOOK FROM YOUR MAC AND YOUR ICLOUD APPLE ACCOUNT. AND YOU WOULDN'T SEE IT ANYMORE.
    YOUR DONE.
    HAVE FUN.

Maybe you are looking for

  • QUERY_VIEW_DATA generates exception in ABAP code

    Hi, I have activated service QUERY_VIEW_DATA in SAP BW environment 7.0 service pack: SAPKW70008 During testing of the webservice I encounter an exception in source code on the ABAP side: CL_SRG_RFC_PROXY_CONTEXT======CM002 THe following statement gen

  • Suggest antivirus and firewall

    Hi, im running a windows computer xp home service pack3, I was having problems downloading films from itunes, and i suspected either a bug/virus in my computer or conflict with security software in my computer was causing problems, So i wiped my comp

  • Abt the GRN

    Hello gurus, In the system when i tick mark the delivery completed indicator in the Purchase order than also system allow me to Create the GRN against the remaining quantity of Purchase order.

  • Xperia Z3 best case and screen protector

    Can anyone tell me their top recommendation for a suitable case and screen protector for the Xperia Z3 smartphone please. Looked on Amazon and still can't decide. Wanna get a case to protect it re dropping and protect the screen getting dirty quickly

  • Image pop-up enlargement of thumbnail

    Hi. In DW CS4. I am working on setting up a page of thumbnails & I'd like each thumbnail to enlarge when rolled over. I have tried this site for help: http://www.moneytreesystems.com/css/picpopup.html I am not sure what I am doing wrong & I was wonde