Creating a custom scope... (kinda long)

Hi all, I need some help/input...
We are working on our first real JSF app and we have been doing pretty well so far, until we started encountering this one problem.
We have a first page, call it "Page1" which has 2 input text fields and a submit button. This page is backed by a managed-bean, call it "Page1FormBean". Now, when the submit call is made, an action listener method in a separate session scoped managed-bean (the view controller), is called which prints out a logger statement, and then continues to populate some other fields in that Page1FormBean with data from the database which corresponds with the user input from Page1.
A navigation rule for "success" is set up to get to "Page2". Once on Page2, the data is retrieved from the Page1FormBean and is displayed to the user. The data is in the form of a collection, and each row is displayed as a h:commandLink. At this point, I am COMPLETELY done using the Page1FormBean. The commandlinks have hard coded actions which are setup in the faces-config file, and they each call to another action listener method in the view controller. When any of the links on Page2 are clicked, the method in the view controller prints a logger message and then populates a managed bean, call it "Page3DisplayBean", with the data from the selection made by the user, which will be used on the next page, "Page3".
Here is the tricky part...
When Page1FormBean is in session scope (in the faces-config.xml file), all of this works perfectly fine. The end result is that we are on Page3 displaying the correct data from the Page3DisplayBean.
However, when Page1FormBean is in request scope, and one of the links on Page2 is clicked, the page simply refreshes and all data elements of the page are blank. The actionListener method which normally prints logger statement is NOT called at all...
Now, I understand why when this page refreshes all of the data is gone, that is simple... The scope of the managed bean limits its life so when the page is refreshed/reloaded a new null one is created and the data is gone... however, this doesn't explain why we are not navigated to Page3. Instead, we are indefinately stuck on Page2.
The problem, as far as we can tell from experimenting and researching the web, is that request scoping should not be used from the JSP level because of the postback nature of JSF... Since the JSF Framework refreshes the view underneath the hood both when the page is loaded, and when it tries to leave, the request scoped bean will be there for the initial load, but not for the post back view refresh...
The solution we have seen up to this point is just to "make everything session scoped". This approach works, and the pages work correctly, but it leaves the door open for old data to remain in memory. This means we have to write bits of rather messy code to make sure that all beans we no longer need are cleaned out or reset.
Finally the Question
Since the problem seems to be that the request scope's lifecycle is barely short of the length needed for this, a scope of 1.5 requests or 2 requests would seem like a logical way to keep the data around long enough to use it, yet still get rid of it in a timely fashion after use.
One possible suggestion was that the beans could be scoped "session" as far as JSF is concerned, but that we could write some code to manage our own sense of a scope... For example, a superclass to all of our beans might have optional constructors which accept an int parameter specifying how many requests that bean should live. Default behavior would remain the same. Then a servlet filter could be used to clean out and remove the beans which have lived through as many requests as they were supposed to...
The missing link is the code needed to increment this internal request cycle counter... I need to find a way to increment this counter... Perhaps there is a given call made on every object in session during each request cycle, or maybe there is a piece of the framework code that could be changed to increment that counter manually during the refresh view cycle, etc...
The other possible solutions are to have something on each of the JSP pages, or at the very least on the main menu page for the application that calls resets on each of these beans... If this is the only way possible, it would be interesting to find out if the JSF framework supports any type of "resetter" components instead of calling value binding methods with hidden components...
Has anyone dealt with anything like this, and could point me in the right direction, or has anyone come up with a solution to this request + 1 scoping problem?
Thanks in advance...
-Garrett
P.S. Sorry for the length...

Thanks Ray. I'll take a look at that site.
I managed to figure out my problem. I never created a .taglib.xml file that reference the component I defined in the faces-config.xml file. Once I did that everything work perfectly.
I managed to use this forum post as a guide.
http://osdir.com/ml/java.facelets.user/2006-12/msg00042.html
I hope this helps anyone else.
Nick

Similar Messages

  • Creating custom scopes in SharePoint 2013

    Guys,
    Environment : SharePoint 2013
    I want to provide the user with the ability to search from a custom search scope which has been deprecated in sharepoint 2013. How can i do this in 2013, also i would like to have
    the custom scopes in a dropdown next to the search box so that the users can select from it.
    off the quick reading that i did i have to create Result Source, query settings but if anyone can point me to an online link showing how to do it would be great.
    Thanks
    MM

    The easiest way to do this is create a content type from your list.  Then in your query, target the content type only for results and add that to your search options.  That way when someone selects to search through that content type it will only
    show results from that list of content that matches that type.
    Let me know if that helps.

  • Page Created Under a Custom Scope

    The create scope code copy from the guide:
    public String getScopeName() {
    String scopeName = "MyScope";
    ServiceContext sContext = ServiceContext.getContext();
    try {
    Scope scope =
    sContext.createScope(scopeName); // Creates a new scope
    this.scopeName = scope.getName(); // Returns the scope name
    sContext.setScope(scope); // Setting the Scope. This step is important.
    } catch (ScopeAlreadyExistsException scopeExistsException) {
    System.out.println("Scope Already Exists...");
    return this.scopeName;
    After I create some pages under this scope,I want to get the page with PageServiceBean
    public List<PageDef> getPages(){
    Scope scope = new Scope("MyScope");
    PageServiceBean pb = new PageServiceBean(scope);
    return pb.getPages();
    But anyone who user the method can get the list of pages。
    why?
    the defaultScope only get the "can view" pages!

    Before you can use a scope, you first need to create it. Have you created all your scopes you want to use?
    Here's how to create a scope:
    public String getScopeName() {
            String scopeName = "MyScope";
            ServiceContext sContext = ServiceContext.getContext();
            try {
                Scope scope =
                    sContext.createScope(scopeName); // Creates a new scope
                this.scopeName = scope.getName(); // Returns the scope name
                sContext.setScope(scope); // Setting the Scope. This step is important.
            } catch (ScopeAlreadyExistsException scopeExistsException) {
                System.out.println("Scope Already Exists...");
            return this.scopeName;
        }

  • Trying to create a custom tag

    I want to create a custom tag that has a attribute that ask
    for a number. like below...
    <cf_makeattributes number="?">
    Now say I made that number something like 5
    <cf_makeattributesnumber=
    "5">
    I would like for the tag to take that number and make 5
    attributes called "Form" in a array from 1 to 5 like below...
    <cfset attributes.form = arraynew(1)>
    <cfloop index="i" from="1" to="#attributes.number#">
    #attributes.form
    </cfloop>
    Is it possible to make a tag that ask for a number like 5 and
    make 5 attributes and within the same tag assign values to those 5
    attributes. for example consider the above.
    <cf_makeattributes number="5" attribute1="hi"
    attribute2="hello" attribute3="howdy" attribute4="hey"
    attribute5="HOWE!">
    or say i want to make 2 attributes and assign 2 values to
    those attributes
    <cf_makeattributes number="2" attribute1="This tag asked
    for 2 numbers" attribute2="and therefore gave me the ability to
    make 2 attributes">
    I also have another question that kinda applies to the
    question above.
    How does the coldfusion server read the tags. for example
    look at below
    <cf_makeattributes number="2" attribute1="hello"
    attribute2="world">
    would the server read it like this...
    step 1
    <
    cf_makeattributes number="2" attribute1="hello"
    attribute2="world">
    step 2
    <cf_makeattributes
    number="2" attribute1="hello" attribute2="world">
    step 3
    makeattributes.CFM (it now goes to the template that holds
    the tags scripts)
    Or does it first read all thats bold below
    <cf_makeattributes
    number="2" attribute1="hello" attribute2="world">
    then goes to the makeattributes template. Is there away I
    can compile my script one step at a time like C# and C++ just to
    see the steps
    PLUS Do i have to put my custom tag into a specific folder or
    can I just put it in the same folder as the document thats calling
    the custom tag

    > I could either make a bunch of attributes that will grab
    all the
    > values or I could loop out a array of attributes. Thats
    my goal
    I was with you until that line. The term attributes is
    confusing in this context. I'm not sure if you're talking about
    attributes in a generic sense or the custom tag attribute
    scope.
    > Now here wat im thinking now. What if instead I put the
    forms in a list. something like this...
    > <cf_Formentry
    Forms="#Form.one#,#form.two#,#form.three#">
    Do you mean form
    fields?
    Let's try this from a different angle. Can you give a
    concrete example of the desired results using this form?
    <form>
    <input name="username1" value="Alice">
    <input name="username2" value="Bob">
    <input name="username3" value="Kyle">
    <input name="username4" value="Michelle">
    <input name="username5" value="Robert">
    </form>

  • Is there a way to create a custom screensaver with pics/slides that display for different amounts of time?

    Is there a way to create a custom screensaver with pics/slides that display for different amounts of time? Or even add a "video slide" into the screensaver?
    My business has 3 TVs displayed in our lobby, each with its own apple TV and they are all linked to the same photo stream. Currently the Atv screensaver displays the photostream pictures of our products for the default 3 seconds. We just added pics/slides that now display messages and useful info for our customers but I want that info to be displayed for a longer period of time than the pictures to give people a chance to read it.
    I tried using flickr and powerpoint as a work around but no luck.  I created a slide in powerpoint with play length of 15 secs and saved it as a wmv file.  I added that file to a "screensaver" set in flickr and pointed the Atv screensaver to that flickr set.  It still displays everything, pics and the wmv file at the default 3 sec.
    I know I can increase the duration of all pics in the screensaver to display for longer but the goal is to have the pics display at 3 secs and the info slides to display at 15 secs.

    Welcome to the Apple Community.
    No that's not possible.
    If you have any suggestions that you think might enhance the Apple TV you can send Apple your feedback here 

  • Create a custom Master Page in SharePoint Foundation 2013

    Hi,
    I am new to SharePoint foundation.
    I am trying to create a custom master page and save it as template, so that i can use it for all other sub sites. But i don't know where to start. Also i tries searching in Google, i got results for share point and not for share point foundation.
    So, Please give me a step by step procedure or a link to step by step procedure on how to create a master page, save it as template and use it for a sub site.
    Thanks in advance,
    Gowtham R

    Few points to note related to SharePoint Master page:
    You don't need to create master page template. If you deploy your master page in site collection level you can reuse the same master page in subsites without copying again and again, rather just by referencing
    You have not mentioned how you are going to deploy your master page. If you have any Visual Studio (VS) solution already, try to add your  master page in the VS solution and deploy your master page (and other branding components) as SharePoint WSP
    solution.
    Deploying master page will not activate the master page, you need to use some kind of 'Web Level Feature' to activate your branding - the feature will basically set the master page property of SharePoint site to your custom master page.
    Please follow the links below for steps by steps instructions (and you will find many just by googling 'sharepoint master page visual studio'):
    http://frederik.se/how-to-deploy-a-custom-master-page-in-sharepoint-2013-using-visual-studio/
    http://joshuaorimogunje.wordpress.com/2011/10/05/how-to-create-custom-master-page-for-sharepoint-2010-using-visual-studio-2010/
    http://blogs.msdn.com/b/bobgerman/archive/2011/01/31/packaging-master-pages-and-page-layouts-with-visual-studio-2010.aspx
    http://go.limeleap.com/community/bid/291931/Creating-a-Custom-SharePoint-Master-Page-with-jQuery-Using-Visual-Studio
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • How to create a custom panel in the right way (without having an empty panel in the file info) ?

    Hi Everyone
    My name is Daté.
    I'm working in the fashion industry as a designer and Design consultant to help fashion brands improving the design workflow by using Adobe softwares and especially Illustrator.
    I'm not a developper, but i'm very interested about the possibility to introduce xmp technology to provide more DAM workflows in the fashion industry.
    Fashion designers produce a lot of graphical objects in illustrator or Photoshop. Unfortunately they are faced to a big challenge which is about how to manage, search, classify and get this files faster. Of course PDM system or PLM system are used in the Fashion industry to manage data, but for many companies, implemanting this kind of database is very complex.
    When i look at what you can do with xmp, it seems to be an interesting way of managing design files, then i started to follow Adobe instruction to try to build a custom panel.
    The main idea is to (Theory) :
    create custom panels used by fashion designers to classify their design files.
    Use Adobe Bridge to search files, create smart collection to make basic reports in pdf and slideshows
    Find someone to make a script able to export metadata in xml files
    Use indesign and the xml file to generate automatically catalogues or technical sheets based on xmp values
    I have created a custom panel by using the generic panel provided by Adobe and i have modified the fields to feet with the terms used in the fashion industry and it works well.
    But unfortunately, when i try to create my own custom panel from scratch with Flashbuilder (4.6) and the Adobe CSExtensionBuilder_2 (Trial version), it doesn't work!
    Here is the process :
    I have installed flashbuilder 4.6
    I have download the XMP Fileinfo SDK 5.1 and placed the com.adobe.xmp.sdk.fileinfo_fb4_1.1.0.jar in C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\eclipse\plugins
    In Flashbuilder, i have created a new project and select xmp Custom panel
    The new project is created in flashbuilder with a field with A BASIC Description Field
    To generate the panel, right click the project folder and select xmp / Publish Custom Panel
    The panel is automatically generated in the following folder : C:\Users\AppData\Roaming\Adobe\XMP\custom file info panels\3.0\panels
      Go to illustrator, Open the file Info
    The panel appears empty
    The others panel are also empty
    The panel is created and automatically placed in the right folder, but when you open it in Illustrator by selecting the File Info option in the File Menu, this custom panel appears empty!!! (only the title of the tab is displayed). This panel also prevent the other panels to be displayed.
    When you delete this custom panels from the folder C:\Users\AppData\Roaming\Adobe\XMP\custom file info panels\3.0\panels and go back to the File Info, the other panels display their content properly.
    I also try to use the plugin XMP Namespace designer to create my own namespace. this plugin is also able to generate a custom panel, but this one also appears empty in AI or Photoshop.
    I try to follow the process described in Adobe xmp documentation many times, but it didn't works.
    It seems that many peaople have this issue, but i dodn't find a solution in the forum.
    I try to create a trust file (cfg), but it didn't work.
    It would be so kind if you can help me to understand why i can't create a custom panel normally and how to do it in the right way.
    Thanks a lot for your help,
    Best regards,
    Daté 

    Hi Sunil,
    After many trial, i realize the problem was not coming from the trust file, but from the way i have created the custom panel.
    There is 2 different ways, the first described below is not working whereas the second is fine :
    METHOD 1 :
    I have downloaded the XMP-Fileinfo-SDK-CS6
    In the XMP-Fileinfo-SDK-CS6 folder, i copied the com.adobe.xmp.sdk.fileinfo_fb4x_1.2.0.jar plugin from the Tools folder and i pasted it in the plugind folder of Flashbuilder 4.6
    The plugin install an XMP project
    In Flashbuilder 4.6 i have created a new project (File / New /Project /XMP/XMP Custom Panel)
    A new xmp project is created in flashbuilder.
    You can publish this project by right clicking the root folder and selecting XMP / Publish Custom Panel
    The custom file info panel is automatically published in the right location which is on Mac : /Users/UserName/Library/Application Support/Adobe/XMP/Custom File Info Panels/3.0 or /Users/UserName/Library/Application Support/Adobe/XMP/Custom File Info Panels/4.0
    Despite the publication of the custom file info panel and the creation of a trust file in the following location : "/Library/Application Support/Macromedia/FlashPlayerTrust", the panel is blank in Illustrator.
    I try this way several times, with no good results.
    METHOD 2 :
    I have installed Adobe CSExtensionBuilder 2.1 in Flash Builder
    In FlashBuilder i have created a new project (File / New /Project /Adobe Creative Suite Extension Builder/XMP Fileinfo Panel Project)
    As the system display a warning about the version of the sdk to use to create correctly a custom file info, I changed the sdk to sdk3.5A
    The warning message is : "XMP FileInfo Panel Projects must be built with Flex 3.3, 3.4 or 3.5 SDK. Building with Flex 4.6.0 SDK may result in runtime errors"
    When i publish this File info panel project (right click the root folder and select Run as / Adobe illustrator), the panel is published correctly.
    The last step is to create the trust file to display the fields in the panel and everything is working fine in Illustrator.
    The second method seems to be the right way.
    For sure something is missing in the first method, and i don't understand the difference between the XMP Custom Panel Project and the XMP Fileinfo Panel Project. Maybe you can explain it to me.
    So what is the best solution ? the right sdk to use acording to the creative suite (the system asks to use 3.3 or 3.5 sdk for custom panels, so why ?)
    I'm agree with Pedro, a step by step tutorial about this will help a lot of peaople, because it's not so easy to understand!!!
    Sunil, as you belong to the staff team, can you tell me if there is  :
    A plugin or a software capable to extract the XMP from llustrator files to generate XML workflows in Indesign to create catalogues
    A plugin to allow indesign to get custom XMP in live caption
    A plugin to allow Bridge to get custom XMP in the Outputmode to make pdf or web galeries from a smart collection
    How can you print the XMP data with the thumbnail of the file ?
    Thanks a lot for your reply.
    Best Regards
    Daté

  • How to create a custom report??

    Hi all
    I need to create a custom report for my client. I also need to know if the standard reports are not picking up the correct data or is picking up multiple records, then how can it be ammended. Need urgent help.
    Thanks and Kind Regards

    Hi,
    Please refer to following links for better understanding of Reports
    http://www.sapgenie.com/abap/reports.htm
    http://www.allsaplinks.com/material.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305
    Regards
    Bala

  • How to create the custom infotypes in Campus Management

    Hi,
    Please help me how to create the custom infotypes in campus management.
    Thanks,
    Lakshmi.

    Hi,
    Steps to create a HR Infotype:
    1) Go to Transaction PM01.
    2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
    3) Select the 'Employee Infotype' radio button.
    4) Select the 'PS Structure Infotype'.
    5) Click on Create... A separate table maintenance window appears...
    6) Create a PS structure with all the fields you want on the Infotype
    7) Save and Activate the PS structure
    8) Go back to the initial screen of PM01.
    9) Click on 'All' push button. It takes a few moments.
    10) Click on 'Technical Characteristics'. Infotype list screen appears
    11) Click on 'Change'(pencil) button
    12) Select your Infotype and click on 'Detail' (magnifying glass) button
    13) Give 'T591A' as subtype table
    14) Give 'T591S' as subtype txt tab
    15) Give your subtype field as subtype field
    16) Save and come back to PM01 initial screen
    17) Click on 'Infotype Characteristics' ... Infotype list screen appears
    18) Click on 'Change' (pencil) button
    19) Click on 'New Entries'
    20) Enter your Infotype number and short text
    21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference to fill yours)
    22) Save your entries.
    23) Now the Infotype is created and ready to use.
    24) If you want to change the layout of the Infotype as per your requirement...
    25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit.
    26) In the next screen.. Select 'Layout Editor' and click 'Change'.
    27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc.
    28) Save and activate. (Don't forget to 'Activate at every level)
    Subtype Creation :
    Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.
    Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.
    Subty.text tab is T591S and time const tab is T591A.
    See:
    http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
    HR related site:
    http://www.sapdevelopment.co.uk/hr/hrhome.htm
    Enhancement of Infotype
    Check the following
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf
    Infotype Enhancement overview screen
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1
    Cheers,
    vasavi.
    kindly reward if helpful.

  • How to create a custom control of a button where the look will be applied to all others but not the Boolean text?

    Hi all
    I would like to create a customized button as a master so that if I change the look of the master all other buttons will change too.
    I have done this with a custom control as a "strict type def" otherwise the look will not change BUT If I do this as a strict type def I cannot change the Boolean text anymore which should be different on every button.
    How can I create a master control of a button where the look will be applied to all others but not the Boolean text?
    Stay Hungry, Stay Foolish
    Solved!
    Go to Solution.

    Steve Chandler wrote:
    I don't think you can do that. I just looked and as I suspected the Boolean text property is read only for strict typedefs so you cannot use property nodes to change the text.
    As a workaround just make it a typedef. When you want to change the look open the typedef and make it strict, make your changes, then make it non strict again. You will have to update the Boolean text again for all instances. Kind of a pain. Maybe this is something for the idea exchange.
    Kudos for being sneaky.
    I like these creative work-arounds!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • A method to create completely customized photo book page templates from scratch in Lightroom 5

    I was able to successfully create completely customized Lightroom 5 page templates (including altering the number of, positions, and sizes of pictures) by making edits to the templatePages.lua file(s) in the Lightroom directory tree.  I have never heard of the LUA file format before, but it is ASCII and looks somewhat like XML, so it was fairly easy to decipher.  Here is a high-level description of how I did it.  This applies to Lightroom 5 on Windows 7.  If this doesn't make any sense to you, then don't try it - you're likely in over your head.  Although my description is brief and lacking in detail, it should enable someone who is capable of handling this to figure it out with a little of careful trial and error.  Do this at your own risk - if you screw-up your installation, catalog, or computer, it's your own fault.  It all worked great for me.
    First, open the "<lightroom 5 install directory>\Templates\Layout Templates" folder.  Then navigate to the template set that contains the template you would like to use as a starting point for the new template.  For example, "12x12-blurb\clean12x12".  Make a back-up copy of the templatePages.lua file in case you mess something up and want to revert.
    There will be a bunch of .jpg files in this directory that each contain a preview image of the layout that carries the same name as the .jpg file.  Find the one that you would like to use as a starting point.  Take note of the name of the file, which is probably something similar to "page_26_preview.jpg".   Duplicate the file and rename it to something unique, such as "dummy_preview.jpg".  It's just temporary, so it doesn't matter what name you pick, provided it is a legal file name with no spaces.
    Next, open the templatePages.lua file in a text editor.  I suggest using one that can automatically recognize and format ULA (such as Notepad++, which is open source and free to use).  Then search the file for the unique portion of the file name you took note of earlier, such as "page_26".  It will point you to a section in the LUA file that describes that particular template.  Carefully copy that entire section, including a balanced number of brackets (starting with the two brackets and commas before "children" and ending with the one bracket and comma after the "title" line.  Paste the copied text into the end of the file on a new line immediately following the bracket and comma after the "title" field for the last page template section (right near the end of the file).  Change the "previewName" field to the name of the preview file copy that you created ("dummy_preview.jpg" for me) and the "name" field to the name of the new template you're creating ("dummy" for me, since it is just temporary).  Next change at least one of the hex characters in the "pageID" field such that the new template will have a unique page identifier.
    Now you can make edits to the photo and text fields included in the new section, using other templates in the template file as examples.  "x" and "y" fields are coordinates (in pixels) for the bottom-left corner of the picture or text field, "height" and "width" are the width of the field in pixels.  The fields should be mostly self-explanatory, but make sure that the "photoindex" fields are filled-in starting from 1 to N, where N is the number of pictures in the template, with no duplicates or gaps.  They do not need to be in order.  Treat the "textIndex" fields similarly for text fields.  If you want to add an additional picture or text field, simply copy the section describing a picture or text field from another template and paste it, carefully, into the new template that you are creating.
    Once you are done, save the file (you may get interference from Windows UAC, in which case save the file elsewhere and the move it back to the correct directory).  Then open Lightroom.  Create a new photobook, and choose the new template for one of the pages, remembering that the preview image will look like the JPG that you copied.  Voila!  If you didn't screw anything up, you should see a page based on your new template.  Then right-click the page and select "Save as custom page", which will cause a fresh preview file to be created for your new template and your template to be copied to the "custom pages" section of the template menu.  The new section you added to the "templatePages.lua" and the "dummy" preview file can now be deleted, since they are no longer needed.  I save them so that I may simply overwrite them the next time I need to create a customized template.
    Enjoy, and please share any clarifications, corrections, or enhancements to my process.

    peter at knowhowpro wrote:
    DHWachs wrote:
    This post was great!  Thank you so much.  But I am hoping you know one more thing related to this.  In the "transform" section of the definition (where the x/y coordinates are set along with height and width) there is an option called "angle".  I was hoping that changing this value would allow me to offset the angle of the picture.  However, if I put any value there other than 0 the template becomes unusable.
    Do you happen to know what this option does?
    I haven't looked into the files, so this is just a guess based on how some graphic applications work. It's common to think of rotating a shape as pivoting around a center point, but It's possible that the file sets a value for the rotation point not at the center. In some graphics applications, you can set a shape's pivot at any corner or in the middle of any side, of the rectangle that contains the whole shape.
    So, your value may be rotating the shape around a pivot that moves the shape into some area that upsets the behavior of other shapes. Just a thought.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    Peter's point is a good one.  I would also assume that the "angle" property allows you to rotate an image, but I haven't tried it myself.  One thing to investigate - are there any page templates included in LR that have image placeholders that are at an angle (I don't recall any, off-hand)?  If so, looking at the associated .lua file could provide insight into how an angled image placeholder should be described.

  • How do I create a custom screen to show after a person logs in we are using windows 7

    I have been asked to create a custom welcome screen that would load after a person logs into their computer. This screen is to have links to applications.  But I need this to show after they log in and before they see their desktop. and I
    need it to be full screen size.
    this is mandatory:
    I need this to show up AFTER people have logged in, and b4 they see their Desktop.  auto adjustment to fill the screen  and the screen will have multiple images with them being hyperlinks to the various applications. The kicker is we
    are running windows 7.  Of course one of the links will go to the desktop.(basically shut down the window screen)
    I seem to recall there is a way of doing this using group policy to trigger a screen and possible using HTA or VB6 method or a scripted page but I'm not sure how to accomplish this...
    This is coming from upper upper management  and they have it mocked up in access 2013.
    How do I do this or even accomplish this screen for windows 7.
    PS:
    I realize that windows 8/8.1 has this type of thing built in, but the company is NOT ready for windows 8/8.1

    I built a System Message HTA for my previous employer that was used in a computer lab setting. It was a nice way to inform the users about things happening in the lab, as well as a nice way to ensure people knew who to contact if there were problems.
    The HTA lived on a network UNC and each computer had a shortcut to the HTA in their All Users Startup folder (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup). While you could push the shortcut with GPP, likes the others recommended, that's
    about all you should do with Group Policy. This was neat - I had the HTA run custom .cmd files (in a hidden window) when it loaded (the Windows_onLoad subroutine) and then when it was closed by the user (button press that called an ExitProgram subroutine).
    This allow me to capture who was logged on, how long the HTA was open, and what computer they were using. In a computer lab such as that one, it was nice to have additional way to track who was using what computer and when. Good luck and let us know if there
    are any more questions - I really enjoyed that project.
    Edit: Added additional info.

  • How do I create a custom inline subgrid for Custom entities in MS CRM 2013

    Hi All,
    We have a requirement to create a custom inline subgrid for custom entities same as like that in OOB of CRM Subgrid.
    Is this possible to do for custom entities?
    Please let me know.
    Thanks in advance....
    Gopinath V.

    Hello,
    Yes. You can develop such kind of grid using Silverlight or Html/Css/Js. You can check following article as a good started -
    http://www.sparklexrm.com/s/Tutorials/QuoteEditor.html
    Dynamics CRM MVP/ Technical Evangelist at
    SlickData LLC
    My blog

  • How to Create a Custom Service in ECC6

    Hi gurus,
    How to create a custom service for ESS or MSS in ECC6.
    I have created similar services for ITS version is that the same way?
    kindly provide me the steps....
    Thanks in Advance
    Sera

    from PFTC itself. Same.

  • How to create a "Custom Color" for highlighting? (Acrobat XI)

    March 10, 2014
    How to create a "Custom Color" for highlighting? (Acrobat XI)
    The numbers in the RGB and other fields change as various numbers are changed.
    I wanted to create a pale orange:
    Hue               13      Red      255
    Saturation   240      Green  177
    Luminosity    86       Blue     140
    I'd selected one of the orange squares in the color grid, to display the general orange area of the slider.
    I moved the slider to select a pale orange, which generated the above numbers.   Since this wasn't directly available to save to a Custom Color, I tried to  edit the numbers.  Unfortunately, the other numbers changed, making it impossible to actually create a color.
    Any suggestions would be appreciated.
    Note:  I used Techsmith's Snagit to show screen shots in a Word document.
    When I attempted to browse and upload the file, the error message said "[The content type of this image is not allowed.]"
    OK...what images *are* allowed?

    Hi Don,
    I saw Gilad answered your question in another forum post.
    Do you have everything you need at this point?
    Let me know if you need further assistance.
    Kind regards, Stacy

Maybe you are looking for

  • GRC 10.0 - Transport Connector Relevant Settings

    Hi Gurus, Many of you have already completetd GRC 10.0 implementaion. One of the Key advantage of GRC 10.0 stated as "Changes can be transported". While carrying out configuration settings under nodes SPRO -->GRC --> Common Component Settings --> Int

  • Daisy Chain?

    Hello All! I am just wondering if you can Daisy Chain FW drives.......? I got some new LaCie Drives (LightScribe 16x FW, and the Bigger Disk). They both have FW.. the HD has FW800 as well, and that will more than likely be the connection between the

  • My lock button not working

    Any ideas i have restored my phone twice

  • Report formatting in my way

    I want to make a report which will show my DB table data the way I want.Most report tools just fetch the data and format it in a typical row. But I want to display my row data in a way that I want.For example, I want to show each cell data of a row i

  • How do I export layers as individual files?

    I have an animation with 24 bit colors and alpha transparency. Each frame is a layer in my project and I wish to export each individual layer as a PNG so I can create an animation in a different tool. Is there a way to do this?