Problem with multiple tiles-defs.xmls  in struts

Hi,
I am using struts1.3.I have two struts-config.xml files in my application.I am adding those files in web.xml.
<servlet>
          <servlet-name>action</servlet-name>
          <servlet-class>
               org.apache.struts.action.ActionServlet
          </servlet-class>
          <init-param>
               <param-name>config</param-name>
               <param-value>/WEB-INF/first-struts-config.xml,/WEB-INF/settings-struts-config.xml</param-value>
          </init-param>
          <init-param>
               <param-name>convertNull</param-name>
               <param-value>true</param-value>
          </init-param>
          <init-param>
               <param-name>chainConfig</param-name>
               <param-value>
                    org/apache/struts/tiles/chain-config.xml
               </param-value>
          </init-param>
</servlet>Each struts-config.xml file have seperate tiles-defs.xml .I am adding those files like the following
first-struts-config.xml
<plug-in className="org.apache.struts.tiles.TilesPlugin">
        <set-property property="definitions-config" value="/WEB-INF/first-tiles-defs.xml" />
        <!-- Set Module-awareness to true -->
        <set-property property="moduleAware" value="true" />
    </plug-in>settings-struts-config.xml
<plug-in className="org.apache.struts.tiles.TilesPlugin">
        <set-property property="definitions-config" value="/WEB-INF/settingst-tiles-defs.xml" />
        <!-- Set Module-awareness to true -->
        <set-property property="moduleAware" value="true" />
    </plug-in>I am getting one error
javax.servlet.ServletException: Path .settings.users does not start with a "/" character..settings.users definition is specified in settingst-tiles-defs.xml.
If i want to pick the definitions which are there in first-tiles-defs.xml ,then it is working fine.
Is there any idea for this problem?
Regards
kondal

Try a forum/mailinglist devoted to struts. There´s one at their own homepage over there at apache.org.

Similar Messages

  • Tiles / JSF with single tiles-defs.xml file, no templating JSPs?

    All the examples I've seen for using JSF with Tiles use many JSP files for the templating information, resulting in twice as many JSP files as you would have in, say, a typical Struts project.
    When coding in Struts you can forward to a tiles definition, meaning that if all your page layouts are defined in tiles-defs.xml, then you only need to provide the JSPs for the non-standard parts of each page.
    With JSF it seems that you need to provide a JSP for the template for each file (which might end up being a single <tiles:insert... />, and the JSP for the non-standard bits for that page.
    Is there a way to either a) combine those two JSP files into one (by maby using a <tiles:put ... type="string"/> - tried this, couldn't get it to work), or b) get something similar to the way Struts + Tiles works?

    It does not work by default. It is a fact.
    Source for Struts, Tiles and even JSF are open now. I.e. everybody who has interest can research this question.
    I got this reply from another forum for this question and I am currently working on it. Lets see if we get somewhere.

  • Help needed in tiles-defs.xml

    Hi,
    I have a problem with my application, i have 2 seperate actions which have the following mappings in struts-config.xml
    <action
    attribute="memberinformationextractionForm"
    input="/meminfo.do?gotoaction=info"
    name="memberinformationextractionForm"
    scope="request"
    path="/memberinformationextraction" type="com.cisco.ciseclub.Admin.action.MemberinformationextractionAction">
    <forward name="success" path="doc.mainLayout" />
    <forward name="success1" path="doc.mainLayout" />
    <forward name="systemfailure" path="doc.mainLayout" />
    </action>
    <action
    attribute="corpinfoextractionForm"
    input="/jsp/corpinfoextraction.jsp"
    name="corpinfoextractionForm"
    scope="request"
    path="/displaymeminfo"
    type="com.cisco.ciseclub.Admin.action.CorpdomainentAction">
    <forward name="success" path="/jsp/extracteddata.jsp" />
    <forward name="failure" path="doc.mainLayout" />
    <forward name="systemfailure" path="doc.mainLayout" />
    </action>
    In tiles-defs.xml i have the following code:
    <definition name="doc.mainLayout" path="/jsp/Layout/homePage.jsp">
    <put name="info" value="/jsp/memberinformationextraction.jsp" />
    <put name="corpinfo" value="/jsp/corpinfoextraction.jsp" />
    Now the problem i am facing is after doing the validation in the form when some wrong data is entered in memberinformationextraction.jsp ,it returns back to the jsp,then it is showing both the jsps memberinformationextraction as well as corpinfoextraction one below the other.
    Please can somebody reply back as to why this is happening, could it be because i have "info" is there in both the definitions, in that case i even have other jsps in the tiles xml with name as meminfo and addinfo.

    It might be a crossdomain.xml problem.
    Please make sure that the server hosting the xml allows the domain where the swf is hosted.
    You can start with:
    <?xml version="1.0" encoding="utf-8" ?>
    <cross-domain-policy>
        <allow-access-from domain="*"/>
        <site-control permitted-cross-domain-policies="master-only"/>
    </cross-domain-policy>

  • SEVERE: null : Can't find file '/WEB-INF/tiles-defs.xml'

    I'm trying to get Tiles to work with Struts on my server. I'm running a local instance of Tomcat v5.5. Development environment is Eclipse. I"ve looked everywhere on the web and can't find any solutions that work. I've been working on this for several days now. It shouldn't be this hard...
    I appreciate any help or suggestions people might have. I would really like to get beyond the configuration $#!^ and start coding.
    Thanks in advance!!!
    Jim
    Here are snippets from the pertinent files:
    web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
         <display-name>
         admin</display-name>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
         </welcome-file-list>
         <servlet>
              <servlet-name>action</servlet-name>
              <servlet-class>
                   org.apache.struts.action.ActionServlet
              </servlet-class>
              <init-param>
                   <param-name>config</param-name>
                   <param-value>/WEB-INF/struts-config.xml</param-value>
              </init-param>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet-mapping>
              <servlet-name>action</servlet-name>
              <url-pattern>*.do</url-pattern>          
         </servlet-mapping>
         <jsp-config>
              <taglib>
                   <taglib-uri>struts-bean</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/struts-bean.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>struts-logic</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/struts-logic.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>struts-html</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/struts-html.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>struts-tiles</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/struts-tiles.tld</taglib-location>
              </taglib>
              <!-- The following tag library info was added for JSTL libraries. -->
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/fmt.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/fmt-rt</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/fmt-rt.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/c.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/core-rt</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/c-rt.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/sql.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/sql-rt</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/sql-rt.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/x</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/x.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/x-rt</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/x-rt.tld</taglib-location>
              </taglib>
         </jsp-config>
    </web-app>
    struts-config.xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
    "/WEB-INF/dtds/struts-config_1_2.dtd">
    <struts-config>
         <!-- ============================================ Data Source Configuration -->
         <data-sources />
         <!-- ================================================ Form Bean Definitions -->
         <form-beans>
         </form-beans>
         <!-- ========================================= Global Exception Definitions -->
         <global-exceptions />
         <!-- =========================================== Global Forward Definitions -->
         <global-forwards />
         <!-- =========================================== Action Mapping Definitions -->
         <action-mappings>          
              <action path="/foobar" forward="/createAccount.jsp" />
         </action-mappings>
         <!--
         ============================================= Controller Configuration
         <controller contentType="text/html; charset=UTF-8" />
         ======================================== Message Resources Definitions
         <message-resources
              parameter="com.xilinx.web.registration.struts.res.ApplicationResources" />
         =============================================== Plug Ins Configuration -->
         <!--======================================================= Tiles plugin -->
         <!--
              This plugin initialize Tiles definition factory. This later can takes some
              parameters explained here after. The plugin first read parameters from
              web.xml, thenoverload them with parameters defined here. All parameters
              are optional.
              The plugin should be declared in each struts-config file.
              - definitions-config: (optional)
              Specify configuration file names. There can be several comma
              separated file names (default: ?? )
              - moduleAware: (optional - struts1.1)
              Specify if the Tiles definition factory is module aware. If true
              (default), there will be one factory for each Struts module.
              If false, there will be one common factory for all module. In this
              later case, it is still needed to declare one plugin per module.
              The factory will be initialized with parameters found in the first
              initialized plugin (generally the one associated with the default
              module).
              true : One factory per module. (default)
              false : one single shared factory for all modules
              - definitions-parser-validate: (optional)
              Specify if xml parser should validate the Tiles configuration file.
              true : validate. DTD should be specified in file header (default)
              false : no validation
              Paths found in Tiles definitions are relative to the main context.
         -->
              <plug-in className="org.apache.struts.tiles.TilesPlugin" >
              <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />
              <set-property property="definitions-debug" value="2" />
              <set-property property="definitions-parser-details" value="2" />
              <set-property property="definitions-parser-validate" value="true" />
              </plug-in>
         <!-- =================================================== Validator plugin
         <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
              <set-property property="pathnames"
                   value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
         </plug-in>
         -->
    </struts-config>
    tiles-defs.xml (in the WEB-INF directory as are the other xml files...):
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"     
                                                 "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
    <tiles-definitions>
         <definition name="Tiles.register" page="/tiles/template.jsp">
              <put name="header" value="/tiles/header.jsp" />          
              <put name="body" value="/register.jsp" />
              <put name="footer" value="/tiles/footer.jsp" />
         </definition>
    </tiles-definitions>
    Console output when starting the server:
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
    Jul 7, 2006 11:36:41 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Jul 7, 2006 11:36:43 AM org.apache.struts.tiles.xmlDefinition.I18nFactorySet initFactory
    SEVERE: null : Can't find file '/WEB-INF/tiles-defs.xml'
    Jul 7, 2006 11:36:43 AM org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
    SEVERE: Can't create Tiles definition factory for module ''.
    Jul 7, 2006 11:36:43 AM org.apache.struts.action.ActionServlet init
    SEVERE: Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency.
    javax.servlet.ServletException: null : Can't find file '/WEB-INF/tiles-defs.xml'
         at org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:233)
         at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:137)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
         at javax.servlet.GenericServlet.init(GenericServlet.java:211)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
    Jul 7, 2006 11:36:43 AM org.apache.catalina.core.ApplicationContext log
    INFO: Marking servlet action as unavailable
    Jul 7, 2006 11:36:43 AM org.apache.catalina.core.StandardContext loadOnStartup
    SEVERE: Servlet /admin threw load() exception
    javax.servlet.UnavailableException: null : Can't find file '/WEB-INF/tiles-defs.xml'
    I have the following jars in my Web App Libraries (WEB-INF/lib):
    standard.jar
    commons-fileupload.jar
    antlr.jar
    struts.jar
    commons-beanutils.jar
    commons-logging.jar
    commons-validator.jar
    myswl-connector-java-3.1.12-bin.jar
    struts-el.jar
    jstl.jar
    commons-digester.jar
    Struts is version: 1.2.9.
    JRE / JDK: 1.5.0_06 (Program files shows I have JRE 1.5.0_05 in the tree as well)
    Note: Struts will work if I comment out the tiles plug-in in the struts-config.xml file.

    you don�t call o files-defs.xml in jsp?

  • Problem with multiple Toplink/JPA apps in same server

    Anyone have experence of running serveral Toplink/ EJB-3 Web apps in the same server (OC4J, alas)?
    We seem to get a problem with the second app failing to initialise toplink, with an entity not found message. Each app runs OK on it's own.

    Yes, they access the same datasource and most of the tables overlap.
    We're thinking it might help to have common entity classes and put them in a shared library, but I don't know if this is relevant (setting up shared libraries complicates testing and tends to snowball, I reckon we need about 15 jars all told).
    I''ve had some funnies on OC4J before which I think may be to do with it's use of ClassLoaders, for example I initially put persistence.xml in the libary jar with the data model, but for some reason I get the entity not found error that way. It only seems to work if it's in the classes folder.
    For the moment we're getting arround the problem with multiple OC4J instances in the server.

  • Problem with multiple versions of documents being published with 001, 002, etc.

    I am using Contribute CS3. I am having a problem with multiple versions of documents being published on the sever with 001, 002, etc in the name. So that I end up with 2 or 3 versions of a document on the server. Does anyone know why / how Contribute  is doing this? Thanks for any help you can give.

    Your Web site administrator will need to update your key to allow you to delete files you are able to edit.

  • Problems with multiple idocs in one file ( Inbound file )

    HI,
    Thanks in Advance for your suggestions.. Highly appreciated.
    We have problems with multiple IDocs in one file.
    We are using XIB ( Amtrix ) as Middleware to receive the files.
    Curretenly When the file contains one IDoc then there is no problem. IDoc is created and everything is ok.
    If file contains two IDocs ( for example two messages ORDERS and DELVERY ) then it is creating two IDocs but both IDocs contains ORDERS plus DELIVERY segements information. That is the problem. Some how SAP unable to differentiate the IDocs in the file.. But it knows that how many idocs are there in the file..because it is creating exact number of idocs.
    We are using TRFC port ... Do I need to change it to File port..
    When we have more than one idoc do we need set any parameter in the file ...

    Thanks for the swift response. Always ideas are useful.
    As of now , Middleware cannot split the file.
    Thing is SAP is creating two Idocs with different message types. Problem is First IDoc contains ORDERS message type but also DELIVERY segments as well. Second IDoc with DELIVERY message tyoe but ORDERS segments as well... This is the problem... I think we are missing some field activation in file for EDIDC record.
    As far as I know file port supports the number of IDocs in one file.. Hope TRFC port also supports that

  • Problem with multiple forms and subview

    I have a problem when using NetBean Web Pack (JDK6, Net Beans 5.5, JSF 1.2).
    1) I created a JSF page (hello.jsp) and a page fragment (header.jspf) inside Web Pack, and let the JSF page (hello.jsp) includes the page fragment.
    2) The include instruction is outside of the "form" element id=main_form() of the first JSF page.
    3) Inside the page fragment (header.jspf), I put a form (id=header_form) with some input fields inside the "subview" element.
    4) When running the web application, the form and its children (id=header_form) inside the subview are not rendered.
    It seems to be a problem with multiple forms on a page and the subview.
    Do I use these JSF components incorrectly? Any advice?
    Thanks

    The forms are not nested.
    hello.jsp
    <webuijsf:body ...>
    <!-- BEGIN: include header -->
    <div style="margin: 0px 0px 10px 0px; left: 0px; top: 0px">
    <jsp:directive.include file="Header.jspf"/>
    </div>
    <!-- END: include header -->
    <webuijsf:form ...>
    From above fragment, you can see the header.jspf is outside of the form element.

  • LOV Problem with multiple values

    HI All,
    I have a problem with LOV .When ever i click LOV after search button all values are displaying fine.
    But when i get so many values i want to select only one vlaue that is not cmng to the main page ....Cursor is in running state always after that time out error is coming in my application .
    This problem is coming with with only single value selection in lOV only problem with Multiple values retrival that time only...
    (Iam using 11.1.1.3 Jdeveloper.)
    Thanx in advance...

    duplicate of {thread:id=2286814}

  • HT6065 I installed this update.  I have never had problems with "multiple prompts to unlock "Local items" keychain" until after I installed this update.  Now, I can't get it to STOP prompting me.

    So how do I fix this?  How do I get this to go away?  It's prompting me for a password that I haven't ever set up!

    I have the same problem with three pop-up prompts:
    (1) com.apple.iCloudHelper wants to use the "login" keychain. Please enter the keychain password.
    (2) CalendarAgent wants to use the "login" keychain. Please enter the keychain password.
    (3) AddressBookSourceSync wants to use the "login" keychain. Please enter the keychain password.
    I can enter my login password and the prompt goes away for a little while, but eventually returns.  Or I can click on "Cancel" many multiple times and it goes away for a little while, but returns again.
    I want a solution too and hope this additional information will help.

  • Candlestick chart problem with multiple series

    Hello,
    I added one mx:CandlestickSeries object and couple additional
    mx:LineSeries objects to the chart. All series are represented but
    still I have one problem. More series I add - less candles are
    becoming of CandlestickSeries data. It seems that there should be
    any scaling option for all series in the chart or something like
    this, but I cannot find it. I'm still new in Flex Can anyone halp
    me with this?
    Thanx in advance
    marukas

    I've added screenshots to get better view of the problem.
    Here is chart with addtional series:
    Chart
    with multiple series
    And here nothing is changed except that additional line
    series were removed:
    Chart
    with only one CandlestickSeries
    Is it possible to get the same candles as in 2nd view with
    addiotnal series added?

  • Problem with multiple client numbers from a view

    Hi Gurus,
    I have a problem with a view
    Creates a view with a UNION ALL stmt
    =====================================
    Create view vw_benifits
    as
    SELECT
         Client_num, -- can have multiple values like 200,201,250
         PERNR,     
         OBJPS,     
         ENDDA,     
         BEGDA,
         AEDTM,     
         UNAME,
         COB_MNTH_AMT
    FROM
         STG_SAP_PA9211_TB
    UNION ALL
    SELECT
         null, -- no client number for legacy data
         PERNR,     
         OBJPS,     
         ENDDA,     
         BEGDA,
         AEDTM,     
         UNAME,
    COB_MNTH_AMT
    from
         LEG_STG_SAP_PA9211_TB;
    ==============================
    The second table contains legacy data (LEG_STG_SAP_PA9211_TB). The first table now contains multiple client data (ie the client_num can be 201,202,250 like that.
    Now if the users qery the view they will only get that clients data.
    eg selet * from vw_benifits where client_num=250 results only client 250 data. But I want to add the legacy data also with that.
    I don't want to propose
    selet * from vw_benifits where client_num in (250,NULL) since the users will be confused.
    Is there any other way to do this . my requirement is like
    If they query
    select * from vw_benifits where client_num=250, the data should include all the records satisfying client=250 + the records from the legacy data. The view need to be created like that.
    Appreciate your help
    Deepak

    Hi Thanks for the suggestion.
    But I am not sure this may work for me. Here my users may not be able to use that since they don't know Oracle.
    I want to hide that details from them
    They may just issue a statement like this
    select * from vw_benifits where client_num =250
    Or
    select * from vw_benifits where client_num =400 . But both times I need to show them the data from the legacy table.
    Deepak

  • Problems with Multiple Photo Galleries

    Hey all, I am having issues with multiple photo galleries. The problem is, iWeb will randomly delete old photo libraries when new ones are made.
    My workflow is each blog entry has its own Photo Library attached to it, so i really would love to be able to keep this functionality.
    Does anyone have any clues as to why they are getting deleted? They literally just vanish from the entries in iWeb...
    Many thanks, Matt

    mattperrott wrote:
    Each blog entry has a iweb photo gallery attached to it. I create these by duplicating a previous blog entry, and changing the details as well as the photos contained inside.
    Matt ~ Even without adding such complexity, many people have problems with their iWeb blog. So even if someone helps you to solve this problem, you may then be back with a different iWeb blog problem: Lost all your blog entries or all your comments or unable to publish, etc.
    mattperrott wrote:
    Any thoughts on why this might happen?
    The simple answer is that Apple's implementation of iWeb's blog appears to be buggy. Every day on these forums you'll likely see a couple of problems with iWeb's blog, often "solved" like this: +"I deleted my blog page, and was able to successfully publish the site"+. Also, if you ever have to re-publish everything (say, after upgrading iWeb) you'll wish you had a web-based blog.
    mattperrott wrote:
    This isnt a problem currently but if i ever need to republish my entire site it is a potential killer, especially as it grows...
    The person who posted the following thread had similar concerns saying: +"...I get the feeling when this gets bigger, it'll outgrow iWeb's capability."+ Read his solution here:
    _To blog or not to blog_
    And to link to an external blog from iWeb's navbar:
    Create a blank internal page titled "Blog" (Actually you can name the page whatever you want.) Then in that Blog page add an HTML Snippet with the following code:
    <script type="text/javascript">
    parent.window.location = "http://www.yourblogname.com"; // change this to your own URL
    </script>
    ...Once published, clicking on "Blog" in the navbar will immediately redirect to your external Blog page. (Thanks to Cyclosaurus for the code).
    By the way, rather than posting your URL in these forums like this:
    www.local-hero.com.au
    ...include the prefix to make it conveniently clickable:
    http://www.local-hero.com.au

  • Problems with multiple e-mail accounts on Droid 2 & also can't put phone into Silent mode

    I just received my Droid 2 and having a problems with having multiple e-mail accounts.
    My original droid worked fine with all of this.
    I have 2 different personal e-mail accounts setup.
    When I click e-mail, it just defaults to the default e-mail address and I have no way of switching accounts. I have to change the default e-mail account in order to view the other account.
    Along with having a shortcut on the home page to each e-mail account, it always just goes to the default one and no way of adding a shortcut to both.
    When I did this on the original droid, i could choose which e-mail account I wanted a shortcut for and could obviously have both on the home screen.
    I also have found no way to NAME the accounts, ex. Comcast & Work.
    That way I could distinguish the difference between the 2 on my home screen even if I could get a shortcut to both.
    not sure how this could be overlooked but I sure dont think there is a way to make this happen.
    Also, what is with 2.2 System and not allowing you to put it in silent mode?
    I updated my original Droid to 2.2 and could no longer make it silent with the volume button on side or going into the sound settings and changing it to silent, it would always stay on vibrate.
    And now it does the same thing with Droid 2. I cant make it silent at all.
    Any ideas on either issue

    becker800 wrote:
    ok I got the silent problem fixed.
    The update changed vibrate to be always, even when on Silent mode.
    The e-mail problem however is stll an issue and I realy hope they release an update to fix this.
    I'm sure I'm not the only one with 2 e-mail accounts on their droid.
    I never had an original Droid, so I can;t compare to what was on that.  For me, I am using the "Messaging" app - it seems to be set up for multiple e-mail accounts better than the email app.  Messaging is the one recommended by the manufacturer - give that a try.

  • MDS Customization Problem with multiple root components

    Hello,
    Oracle JDeveloper 11.1.1.5.0 and WebLogic Server Version: 10.3.5.0
    I am using Oracle MDS Customization class with the following classes:
    oracle.adf.view.rich.change.MDSDocumentChangeManager
    org.apache.myfaces.trinidad.change.ChangeManager
    org.apache.myfaces.trinidad.change.MoveChildComponentChange
    Based on these classes I am moving UI components
    <af:panelStretchLayout>
    <f:facet name="center">
    <af:region />
    </f:facet>
    </af:panelStretchLayout>
    into another component thanks to the MDS.
    Once I do the movement and persist, I receive the following waning message:
    *<RegionRenderer> <encodeAll> The region component with id: pt1:r1:0:pt2:r1:0:r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.*
    When I run the application in Oracle JDeveloper 11.1.1.5.0, it work fine, but when I deploy it on WebLogic Server Version: 10.3.5.0 it is not working.
    I receive the same warning message on the server and in JDeveloper.
    I think that MDS makes a copy of the components that I move because of that it says me that "a page fragment with multiple root components"
    The problem is not because of duplication any of the tags <af:document> <f:view><f:form> <html> <head> <body>
    After the movement and persistence, I also call the FacesContext to reset its view root with the following code:
    FacesContext context =FacesContext.getCurrentInstance();
    String currentView = context.getViewRoot().getViewId();
    ViewHandler vh = context.getApplication().getViewHandler();
    UIViewRoot x = vh.createView(context, currentView);
    x.setViewId(currentView);
    context.setViewRoot(x);
    The idea is that the entire JSF tree to be rebuild on entering page with aim to clear previously drag and drop settings.
    Do you know how I can overcome the problem on the server WebLogic Server Version: 10.3.5.0?
    This worked on Oracle JDeveloper 11.1.1.3.0 and now the problem is with Oracle JDeveloper 11.1.1.5.0.
    Regards,
    Niki

    Hi,
    what the error means is that you have more than one node under the jsp:root node of the fragment. Say the content of your fragment is
    <af:panelGroupLayout id="pgl1">
    </af:PanelGrouPLayout>
    Then this is okay
    if you have
    <af:panelGroupLayout id="pgl1">
    </af:PanelGrouPLayout>
    <af:panelGroupLayout id="pgl2">
    </af:PanelGrouPLayout>
    or
    <af:panelGroupLayout id="pgl1">
    </af:PanelGrouPLayout>
    <af:commandButton id="cb1"/>
    Then these mean duplicated root components. The JDeveloper IDE flags this as Warnings (Structure Window) when selecting the page fragment
    Frank

Maybe you are looking for