More presentation then a model when you create a link

Hi all

Unfortunately, I got stuck on a problem with WCS and need your help.

For some definition of the page, I created several different rendering models model type of set-up.

Models work well when used in the contributor user interface. Users can choose the model they want and then see the page rendered accordingly.

Now, my problem is I want to create a link to one of these page somewhere else. To create the link, I would normally use "render: gettemplateurl ' or ' render: getpageurl.

With both, I need to provide the model to use in some way, either with tNom or pagename parameter.

But, how do you know what model is the one that a user selected a given page? Is there an attribute that contains the model selected for active / a page?

This should be a fairly common case, but I wasn't able to find documentation or examples on this?

I thank very you much for your help in advance.

See you soon

Hendrik

Hello

You have the id of the page, so you can use the tag to retrieve the model.

For example:

Now you have the active page template in the pageTemplate variable.

It will be useful,

Gerardo

Tags: Fusion Middleware

Similar Questions

  • Add annotations when you create a linked clone

    Hi all

    I am currently struggling with a script that should be able to add an annotation to a clone linked after its creation. To create a linked clone, I use the vmlinkedclone.pl script (source here: http://pastie.org/5114877 ), with a bit of modification to my needs feet. On the other hand, I have a script that writes an annotation on a specified, virtual computer writedescription.pl (source here: http://pastie.org/5114881)

    Now the problem is that my script that write annotations on a specified, virtual computer takes the name of the virtual machine as a parameter, I want to avoid. So, what I want to do is to "mix" my vmlinkedclone script and my writedescription script, so I can dynamically add an annotation after creating a clone (the annotation is a parameter in the script).

    However, as you can see on my writedescription script, I'm working on a view of a virtual machine, while on my vmlinkedclone script, I have no opinion on the clone, I have yet nothing about it, read the 250 on the vmlinkedclone pastie line. So my question is fairly simple: how could I get a view of my newly created clone, so I can easily fit my other script to add an annotation to the clone via the vm_id parameter?

    Thank you very much

    It actually returns the new ManagedObjectReference of VM, you must call get_view() on it to get the actual VM and its properties.

    Take a look at the quick example I have attached.  It shows how to retrieve and convert the result of ManagedObjectReference with CloneVM_Task() and CloneVM() in a VirtualMachine entity.

    $ perl CloneVMExample.pl--username=administrator@vlab--server = 172.16.254.50 - password = VMware1! -vmname = SourceVM - dcname = DC01
    New machine virtual 'CloneVM () - Test' cloned successfully at CloneVM().
    CloneVM_Task() completed successfully.
    New machine virtual 'CloneVM_Task () - Test' cloned successfully at CloneVM_Task().
  • All trying to deploy Linux VM model using PowerCLI, during customization in error that "do not provide dns when you create NIC mapping for customization with type 'Linux" ".

    All trying to deploy Linux VM model using PowerCLI, during customization in error that "do not provide dns when you create NIC mapping for customization with type 'Linux" ".

    See my response on the other thread where you posted the same question.

  • [JDev 12.1.3] The difference between the Type of Document "Facelets" and "JSP XML" when you create a new page?

    Hallo,

    that is the difference between choosing as a Type of Document "Facelets" and choosing "JSP XML" when you create a new page?

    Which is the best choiche and why? And is it possible to convert a page from one type to another?

    Thank you

    Federico

    Hi Federico

    JSPX both Faceletes are equal to the feature and after Jdev Release11gR2, both are supported in the ADF

    Facelets is deemed be better performance because it is more tight integrated with life cycle JSf and does not need to be compiled before running

    The future speaks Facelets (specification of JSF) and if start you a new project in development with JDeveloper 11 g R2 then we recommend you use Facelets for this reason

    See this good discussion -Diff b\w JSF and JSPX

    Thank you

  • When you create a doc lost the icon sheet top/left.

    The top left icon sheet when you create a doc disappeared when I upgraded from version demo paid...

    Now I can't save as template or doc, so I can't use the fields from the previous version by slightly changing a document,

    I have to put everything from the beginning

    How to get the icon back?

    Hello Aireclaim,

    I believe you are referring to layer model of form field that can be applied to the upper left side overview page. The option is available in the business account only and not in individual account (sending to the signature).

    Kind regards

    -Usman

  • How do you get the layers work correctly when you create a document merged into the InDesign data merge feature?

    Hey everybody,

    I working on a card game using data with a .csv file merge and spin in unusual behavior when you create a merged document when my master document had layers.  Imagine I had a layer of structure that looks like this:

    Layer has
    -< DataMergeFrameA >

    -Cooked in the static element
    Layer B

    -Cooked in the static element B
    -< DataMergeFrameB >

    -< DataMergeFrameC >

    Layer C
    -Cooked in the static element C

    -< DataMergeFrameD >

    Preview, this hierarchy is respected and the image is superb.

    When I create my merged document that each individual card includes this editable structure:

    Layer has
    -< DataMergeFrameA >

    Layer B

    -< DataMergeFrameB >

    -< DataMergeFrameC >

    Layer C

    -< DataMergeFrameD >

    And the order in which the elements are drawn resembles what happened past:

    -< DataMergeFrameA >

    -< DataMergeFrameB >

    -< DataMergeFrameC >

    -< DataMergeFrameD >

    -Cooked in the static element

    -Cooked in the static element B

    -Cooked in the static element C

    I would * really * like solving this problem without going through a column of data fusion with just the same picture in each area or something stupid like that, especially because some of my other static elements are generic text boxes. Is it possible to apply the stacking order in a merged document?

    I have attached a screenshot of the preview and the merged document.
    * WARNING: The main art is a temporary placeholder *.

    The one on the left is how it looks in preview. The second is the merged document. The major problems are that a) static grass image should appear on the art main and b) main image overlays areas of main text on the left. How can-

    InDesignPreviewBug.pngInDesignMergedDocumentBug.png

    Try moving it all off the master and on the page of document in the model.

  • When you create an additional vDS?

    There is a lot of discussion on how to create a vDS, but I can't find the discussion when you create an additional vDS.

    We are all preparations based NFS data, so we plan to create a vDS with storage network cards and another without storage vDS.

    But that might just be more heard management.

    Personal support and general discussions of folk sales said that this should not be necessary. Ask ' vDSes how do I ' always seems to get the answer "One", so I thought I would try the issue of the opposite effect: "Why would I ever need more than one?"

    Note: VMware increased the number of vDS by vCenter Server from 32 to 5.0 to 128 in 5.1, if anyone should need more than one...

    This question came up recently: http://communities.vmware.com/message/2193713

  • When you create a new site to replace your existing it publish you it to a new or existing site?

    When you create a new site to replace your existing it publish you it to a new or existing site?

    To replace or update an existing site, you must select the same site when downloading.

    If you create the new site then it will not replace the existing but would create a new site itself.

    Thank you

    Sanjit

  • Have a problem when you create or open project

    Only, I could get V1 to work with administrator privileges, otherwise he threw the message "Adobe Premiere Elements has encountered a problem and needs to close"

    So I've upgraded to V10, but now click on the same block with users with administrator privileges.

    Occurs when I try to create a new project (when you click OK after entering the new details) or when you try to open an existing project.

    When you create a new project files and home folders are created before the error message and crash.

    I use Windows XP SP3 with all latest updates.

    So I can't anything with PE10.

    Error code is 0xc0000005

    Flag 0 x 00000000

    Folder 0 x 000000000000000

    Address 0x00000000196cd0a3

    Any ideas?

    Davyxyz

    Are you using Premiere Elements on a base of home computer a user to a network at work or school? I ask because you wrote "..." his block with the users with administrator privileges. ?

    Let us look first at your computer resources.

    Windows XP Professional SP3 32 bit

    The amount of RAM is installed and the amount of RAM available? How much free space on the hard disk on the Local C drive? What is the capacity of the Local C drive? Work with additional hard disks internal or external? If so, how they are formatted?

    You have the latest version of QuickTime installed on your computer?

    Have you checked that your video and audio card drivers are updated according to the web site of the manufacturer of these cards, not only the Device Manager?

    Please confirm the earlier version of Premiere Elements you used... has this elements 1 first?

    Let us start here and then decide what then.

    Thank you.

    RTA

  • Get the blue screen when you create a new message or the response message in OWA Exchange 2007

    Get the blue screen when you create a new message or the response message in OWA (Exchange 2007)

    Hello

    I suggest you post the question in the forums and check them off below if it helps:

    http://social.technet.Microsoft.com/forums/en-us/exchangesvrclients/

    It will be useful.

  • When you create a new message in Windows Mail only some contact appear just by typing the first few letters of their name

    Original title: Windows mail contact probrem

    When you create a new email, why some of my E-mail contacts appear with just by typing the first letters of his name while other contacts in my list do not appear?

    for example, if I send an email to alan, so when I type the letter 'a' all contacts beginning with 'a' used to appear and you can select whatever you want. This is not the case now, and I have checked the contacts that do not appear are saved the same way as those that appear.

    Any suggestions please

    WinMail stores AutoComplete addresses in the registry and it has a maximum of 29. Claire on some dead wood.
     
     
    How to remove an address from the list of AutoComplete in Windows Mail
    http://email.about.com/od/windowsmailtips/Qt/et_del_autocomp.htm 
  • When you create a new email a first letter of the contact request full email address on frequent contacts.

    original title: contact prompting

    When you create a new email a first letter of the contact request full email address on frequent contacts. How to extend the time, what he remembers of those contacts?

    WinMail remembers only 29 addresses used through the registry. These links will give you a few options.

    How to delete registration completion email in Windows Mail
    http://www.Winhelponline.com/articles/245/1/how-to-clear-the-email-auto-complete-entries-in-Windows-mail.html

    How to remove an address from the list of AutoComplete in Windows Mail
    http://email.about.com/od/windowsmailtips/Qt/et_del_autocomp.htm

  • Why the Amazon icon will not appear when you create a shortcut

    When I create a shortcut to a Web site; instead of the web logo, I get the blue standard & green "globe".

    How can I correct this (windows 7)?

    Thank you

    Clyde

    Hello

    You are welcome.

    Shortcuts to sites will initially their own custom icon when you create a shortcut. This icon is called a "favicon.ico" and is stored in the temporary Internet files (TIF) cache, which is where all website files, are stored when you visit them.

    When the user performs a maintenance and removes the TIF cache, all these custom icons are removed with everything else. This will cause the icon of Internet Explorer by default to display on these shortcuts. This also occurs when the maximum allowed disk space has been exceeded and that the files are deleted automatically to maintain the use of disk space.

  • The number of characters is allowed when we use the ' have value in ' option when you create a filter?

    The number of characters is allowed when you use the option "value in" when you create a filter?

    Hey,.

    300 characters are allowed when we use the option "value in" everything by creating a filter.

    Thank you

  • When you create a PDF from a scanner, is there a way to set the default value for the size of 8.5 x 11 letter custom every time I make a PDF from a scanner?

    When you create a PDF from a scanner, is there a way to set the default value for the size of 8.5 x 11 letter custom every time I make a PDF from a scanner?

    Hi kevin7frg,

    You can go to "file > create > scanner > configure presets PDF»

    The dialog box that appears, you can choose 8.5 X 11 as the default width and height of PDF pages to scan.

    Hope that helps.

    Kind regards

    Ana Maria

Maybe you are looking for

  • I can't remove icloud backup my phone

    I can't remove icloud backup my phone I get a message "this backup cannot be deleted at this time."    Please suggest how to remove this backup.

  • iPhone 5 s showing the location bad find my iPhone

    When I'm in my school after school, my phone watch I am across the street in the apartments across the school.  I had never moved from my school, and I have no idea where these apartments are still but it locates me in these apartments when me and my

  • Accelerometer for several modules in a cRIO

    Dear all, I try to connect my model 805M 1 accelerometer (form is attached) to one of our cRIOs in lab, I think I need some advice because we have two cRIOs and bunch of modules I want to use them instead of buying another module. We have these contr

  • Received phone call scam

    original title: invasion Today, I got a call from phone of someone who said they were from Microsoft. They explained that they knew my PC had a few problems with virus and asked me to go through some formalities. I began, then became suspicious when

  • Simulator of calendar app?

    Hello We have access to our Lotus Notes Calendar and email through the BES of BB. I develop applications that integrate with the Lotus Notes Calendar, and I'd like to optimize the display of these BB calendar calendar entries. Is there a way to set u