I've spent a while trying to sort this and found an unanswered question which I have since lost. But heres the beat:
I used phonegap create . my.app.id and it created a hello world boiler plate that looks awful on iphone 6. There are black bars reducing it to an iPhone 4 size and the resolution is wrong.
Symptoms are black bars above and below your app, the status bar and keyboard in the wrong resolution and app being blurry af.
What you need to do is specify more splash screen sizes. That is what controls the resolution on different devices... I know, don't ask.
For android you need the following:
<splash src="..." density="land-hdpi"/>
<splash src="..." density="land-ldpi"/>
<splash src="..." density="land-mdpi"/>
<splash src="..." density="land-xhdpi"/>
<splash src="..." density="port-hdpi"/>
<splash src="..." density="port-ldpi"/>
<splash src="..." density="port-mdpi"/>
<splash src="..." density="port-xhdpi"/>
For iOS you need the following:
<splash src="..." width="320" height="480"/>
<splash src="..." width="640" height="960"/>
<splash src="..." width="768" height="1024"/>
<splash src="..." width="1536" height="2048"/>
<splash src="..." width="1024" height="768"/>
<splash src="..." width="2048" height="1536"/>
<splash src="..." width="640" height="1136"/>
<splash src="..." width="750" height="1334"/>
<splash src="..." width="1242" height="2208"/>
<splash src="..." width="2208" height="1242"/>
If it's still not displaying correctly check if there isn't another set that is missing from this list.
Related
Sofar as I know deploying an unmanaged solution should completely wipe & replace all included forms, but this isn’t the behaviour I’m seeing and I’ve been suspicious of the MSDN docs for some time now. I’ve attached some form xml, ripped directly from my (unmanaged) solution which defines 10 fields in a "Product Interest" section. After import you can see in the customisations section that 13 fields remain, yet it seems that some of the form changes have been applied (e.g. change of checkbox to radio button field display) and all schema changes have applied (new fields, mappings, translations, etc..)
The import log file would indicate that everything was imported and overwritten successfully but I do have some maybe-relevant tid-bits to share with you.
Customisations are owned by 3 different publishers
Import was not performed in the root business unit
100% of existing customisations are already on the unmanaged layer
I am now performing the customisations manually, I’d like to understand this behaviour though so I can tell which changes won’t have applied and plan how I can work around this issue in future. Though in this instance I'm working with a CRM 2011 UR18 client system, I'd like to know if the behaviour is inconsistent across CRM 2013 and 2015 also.
<section showlabel="true" showbar="true" locklevel="0" id="{7ff259a4-27dd-df11-82c4-002481a8e9f0}" IsUserDefined="1" layout="varheight" columns="1111" labelwidth="115" name="Sec01ProductInterestUS" celllabelalignment="Left" celllabelposition="Left" labelid="{51d9f7d2-e17b-4c73-84ec-1c4633a6957c}">
<labels>
<label description="Product Interest" languagecode="1033" />
<label description="Interet du produit" languagecode="1036" />
</labels>
<rows>
<row>
<cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{7226b58f-b08a-4966-b0ed-ed275c09f05e}" labelid="{404b5467-fc39-4cab-8b3c-66b3b5bbc461}">
<labels>
<label description="Partnership Factoring" languagecode="1033" />
</labels>
<control id="ccrm_partnershipfactoring" classid="{B0C6723A-8503-4fd7-BB28-C8A06AC933C2}" datafieldname="ccrm_partnershipfactoring" disabled="false" />
</cell>
<cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{ab02e3eb-89fc-4cab-b78d-5f67ebbc1305}" labelid="{196844f4-0890-4bde-8f0c-1f312d0ceda6}">
<labels>
<label description="Fast Track" languagecode="1033" />
</labels>
<control id="ccrm_fasttrackus" classid="{B0C6723A-8503-4fd7-BB28-C8A06AC933C2}" datafieldname="ccrm_fasttrackus" disabled="false" />
</cell>
<cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{fddf76ad-247f-4d75-a6ba-7da304d8c360}" labelid="{daae06ac-3a88-444c-aaf2-534c3c0d5523}">
<labels>
<label description="Confidential Invoice Discounting" languagecode="1033" />
</labels>
<control id="ccrm_confidentialinvoicediscounting" classid="{B0C6723A-8503-4fd7-BB28-C8A06AC933C2}" datafieldname="ccrm_confidentialinvoicediscounting" disabled="false" />
</cell>
<cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{05a203dd-4844-4084-936d-99b408a0a934}" labelid="{375bdb4d-ebed-405d-ba81-e259b18c996a}">
<labels>
<label description="Export Factoring" languagecode="1033" />
</labels>
<control id="ccrm_exportfactoring" classid="{B0C6723A-8503-4fd7-BB28-C8A06AC933C2}" datafieldname="ccrm_exportfactoring" disabled="false" />
</cell>
</row>
<row>
<cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{d1733c2a-90bc-411c-817e-edf71f15d20e}" labelid="{3cf8df35-ccdf-40d9-a78d-92a1967be869}">
<labels>
<label description="Notified Invoice Discounting" languagecode="1033" />
</labels>
<control id="ccrm_notifiedinvoicediscounting" classid="{B0C6723A-8503-4fd7-BB28-C8A06AC933C2}" datafieldname="ccrm_notifiedinvoicediscounting" disabled="false" />
</cell>
<cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{840b3c14-a92b-48f3-b049-ca190f62d5ba}" labelid="{a1795428-c22f-4cdc-9006-16b55051c18d}">
<labels>
<label description="Confidential Invoice Finance" languagecode="1033" />
</labels>
<control id="ccrm_confidentialinvoicefinance" classid="{B0C6723A-8503-4fd7-BB28-C8A06AC933C2}" datafieldname="ccrm_confidentialinvoicefinance" disabled="false" />
</cell>
<cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{8271f3a4-884d-4c46-bf93-0d711771ac0a}" labelid="{46003870-1fac-45af-a1f2-9af6fe14fb09}">
<labels>
<label description="Full Service Factoring" languagecode="1033" />
</labels>
<control id="ccrm_fullservicefactoring" classid="{B0C6723A-8503-4fd7-BB28-C8A06AC933C2}" datafieldname="ccrm_fullservicefactoring" disabled="false" />
</cell>
<cell auto="false" showlabel="true" locklevel="0" rowspan="1" colspan="1" id="{d057821a-204c-4295-9c7e-baf2a904364d}" labelid="{3ab10852-3812-46e8-b860-6d7b0d39174c}">
<labels>
<label description="Asset Finance Loan" languagecode="1033" />
</labels>
<control id="ccrm_assetlend" classid="{B0C6723A-8503-4fd7-BB28-C8A06AC933C2}" datafieldname="ccrm_assetlend" disabled="false" />
</cell>
</row>
<row>
<cell id="{087c2759-8418-9375-714a-c59b75ccd6dc}" showlabel="true" locklevel="0">
<labels>
<label description="Progress Claim Finance" languagecode="1033" />
</labels>
<control id="bfs_constructionfinance" classid="{B0C6723A-8503-4fd7-BB28-C8A06AC933C2}" datafieldname="bfs_constructionfinance" disabled="false" />
</cell>
<cell id="{2ae1b646-910e-45e0-db48-34eecbe797a0}" showlabel="true" locklevel="0">
<labels>
<label description="Bad Debt Protection" languagecode="1033" />
</labels>
<control id="bfs_baddebtprotection" classid="{B0C6723A-8503-4fd7-BB28-C8A06AC933C2}" datafieldname="bfs_baddebtprotection" disabled="false" />
</cell>
<cell id="{64897183-533e-343e-dde3-8271ec4e10d6}" showlabel="false">
<labels>
<label description="" languagecode="1033" />
</labels>
</cell>
<cell id="{78dee79b-1882-0c86-942c-97969e844902}" showlabel="false">
<labels>
<label description="" languagecode="1033" />
</labels>
</cell>
</row>
</rows>
</section>
CRM Solutions are a very difficult beast to figure out when it comes to what happens upon import. General rule of thumb is that Unmanaged solutions are additions. Managed Solutions tend to be an update / replace. Different types of changes operate in different was as well. As far as defining columns / forms / views, unmanaged solutions will always be additive.
I am creating a Layerslider with Fluid Content Element (FCE).
Below Is my code.
<flux:form.sheet name="elements" label="Elements">
<flux:form.section name="slides" label="Slides">
<flux:form.object name="slide" label="Slide">
<flux:field.input name="title" label="Slide Title" />
<flux:field.text name="layersliderdata" enableRichText="0" rows="4" label="Layerslider data" />
<flux:field.file name="background" allowed="jpg,png,jpeg,gif" label="Background" />
<flux:field.file name="thumbnail" allowed="jpg,png,jpeg,gif" label="Thumbnail" />
<flux:form.section name="elements" label="Elements">
<flux:form.object name="text" label="Text">
<flux:field.text name="content" rows="3" label="Text" />
<flux:field.select name="type" items="p,h1,h2,h3,h4,h5,h6,h7,h8" label="Type" />
<f:render section="SharedObjectFields" arguments="{_all}" />
</flux:form.object>
<flux:form.object name="image" label="Image">
<flux:field.file name="file" allowed="jpg,png,jpeg,gif" label="Image file" />
<f:render section="SharedObjectFields" arguments="{_all}" />
</flux:form.object>
</flux:form.section>
</flux:form.object>
</flux:form.section>
</flux:form.sheet>
<f:section name="SharedObjectFields">
<flux:field.text name="style" enableRichText="0" rows="4" label="CSS Styles" />
<flux:field.text name="layersliderdata" enableRichText="0" rows="4" label="Layerslider data" />
<flux:field.input name="class" label="Class" />
</f:section>
I am Getting Result Like this.
But I want Result as per below screenshot.
I Dont Know. What's going wrong.
I am using below Versions of fluid elements.
Typo3 6.2.14
vhs 2.3.3
fluidcontent 4.2.4
fluidpages 3.2.3
flux 7.2.1
I can confirm this on dcngmbh/moox_core for Split Button with DropDown FCE (Fluid Content Element) in which its display result in backend like this.
http://screencast.com/t/wIeYk8AUmGl
http://screencast.com/t/QLqnSmpy
I faced the same issue some days ago using fluidcontent. It seems, there is a bug in flux, which has been fixed in the GitHub repositories. You could try to switch to the development version of flux or wait for an official release on TER.
If I try to display a JSF 2 page on Tomcat 7.0.34 with:
jsf-api/impl 2.1.7
el-api 2.5
jstl 1.2
like this one:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:fn="http://java.sun.com/jsp/jstl/functions"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui"
xmlns:cis="http://java.sun.com/jsf/composite/comp">
<h:head>
<title>Prova errore di sintassi</title>
</h:head>
<h:body>
<f:view>
<ui:include src="/WEB-INF/include/menubar.xhtml" />
<h:form>
<p:ajaxStatus style="width: 32px;height: 32px;" />
<p:growl />
<p:panel id="pannello">
<p:focus />
<p:messages
showDetail="true"
globalOnly="true" />
<h:panelGrid columns="3">
<p:outputLabel
for="ckpensionat2"
value="Pens2"
title="tit x pens2"
style="padding-right: 3px; display: inline-block; min-width: 60px;" />
<p:selectBooleanCheckbox
id="ckpensionat2"
value="#{miocomp.pensionato}"
title="tit x pens2"
valueChangeListener="#{miocomp.pensCambiato}" />
</p:selectBooleanCheckbox>
<h:outputLabel value="pippo" />
</h:outputLabel>
<p:message for="ckpensionat2" />
<p:commandButton
value="agg"
update="pannello" />
</h:panelGrid>
</p:panel>
</h:form>
</f:view>
</h:body>
</html>
Nothing is showing!
please pay attention to the error of double closing tag
.../>
</p:selectBooleanCheckbox>
<h:outputLabel value="pippo" />
</h:outputLabel>
My questions are:
why </h:outputLabel> is evincted like a syntax error on Eclipse while </p:selectBooleanCheckbox> not
when I try to show this page I get a blank page. If I remove the error all goes fine.
no errors at all appears on my log view neither on tomcat 7 log dir
thanks in advance for any suggestions
It is a syntax error (invalid XML) since in <h:outputLabel value="pippo" />
</h:outputLabel> you close the tag twice; once with the /> end tag and secondly with the </h:outputLabel> element. Also, p:selectBooleanCheckbox doesn't have title attribute. I'm pretty sure IDE can't validate the rest of the document because of these errors, so it only complains about the first.
That's normal...
I believe you should increase the log level or change the javax.faces.PROJECT_STAGE parameter to Development in your app's web.xml
When my "installation components" screen runs (I'm in console mode, if it matters), I get the list of components to install, as expected. However, the "default" response is to accept 2 of the components, even though their "Initially Selected for installation" option is false.
I want the user to be able to NOT select any of the optional components, and this isn't possible when it's defaulting to have some of them "Selected".
As far as I can tell, there are no varfiles being loaded.
Snippet from my install4j file:
<component name="A" id="527" customizedId="a" displayDescription="false" hideHelpButton="false" selected="false" changeable="true" downloadable="false" hidden="false">
<description />
<include all="false">
<entry location=".i4j_external_314/a" fileType="regular" />
<entry location=".i4j_external_2366/a" fileType="regular" />
<entry location=".i4j_external_316/a" fileType="regular" />
<entry location=".i4j_external_8155/a" fileType="regular" />
<entry location=".i4j_external_318/a" fileType="regular" />
</include>
<dependencies />
</component>
<component name="B" id="528" customizedId="b" displayDescription="false" hideHelpButton="false" selected="false" changeable="true" downloadable="false" hidden="false">
<description />
<include all="false">
<entry location=".i4j_external_316/b" fileType="regular" />
<entry location=".i4j_external_8155/b" fileType="regular" />
<entry location=".i4j_external_318/b" fileType="regular" />
</include>
<dependencies />
</component>
<component name="C" id="69" customizedId="c" displayDescription="false" hideHelpButton="false" selected="false" changeable="true" downloadable="false" hidden="false">
<description />
<include all="false">
<entry location=".i4j_external_316/c" fileType="regular" />
<entry location=".i4j_external_8155/c" fileType="regular" />
<entry location=".i4j_external_318/c" fileType="regular" />
</include>
<dependencies />
Notice that in all 3 components, "selected" is false, and "changeable" is true.
When the installer runs, though, here is how it is presented:
Which components should be installed?
*: D
*: E
1: A
2: B
3: C
Please enter a comma-separated list of the selected values or [Enter] for the default selection:
[1,2]
(D and E are fine - they're set to "selected" and "not user changeable")
So, even though A and B are not "selected", they show up as a default. Also notice that "C" is configured the same way as "A" and "B", yet doesn't show up in the default.
This is problematic, because I have no way to select "none" of the optional components. I have to select at least 1 in order to not accept the default.
Thanks for any info - if you need more detail, I'd be happy to provide it.
When my .flv and .swf files are referenced through an http:// address they work fine but when I reference them via UNC path, they don't work. Any idea if it's possible to for it to work?
This works:
<object width="640" height="360">
<param name="movie" value="/flash/FLVPlayer_Progressive.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=/flash/clearSkin_3&streamName=/flash/Ch1_Trial&autoPlay=false&autoRewind=false" />
<embed src="/flash/FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=/flash/clearSkin_3&streamName=/flash/Ch1_Trial&autoPlay=false&autoRewind=false"
quality="high" scale="noscale" width="640" height="360" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
This does not work:
<object width="640" height="360">
<param name="movie" value="/flash/FLVPlayer_Progressive.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=/flash/clearSkin_3&streamName=\\flashfileserver\flash\Ch1_Trial&autoPlay=false&autoRewind=false" />
<embed src="/flash/FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=/flash/clearSkin_3&streamName=\\flashfileserver\flash\Ch1_Trial&autoPlay=false&autoRewind=false"
quality="high" scale="noscale" width="640" height="360" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
Thanks in advance
I believe this is due to same origin policy. Resources can only be loaded from the same server that served the script/plugin/etc. Otherwise, whats to stop the script/plugin/etc from opening a file on your local system and then send the content to a third party.
http://en.wikipedia.org/wiki/Same_origin_policy