Using img tag with htmlText
I'm trying to display images within mx:Text components using htmlText. However, no matter what I try, I can't get an image to display. The application just displays whitespace where the <img> tag is. My current code looks something like:
<mx:Text id="test_html" width="100%" height="100%">
<mx:htmlText>
<![CDATA[
<p>Why can't I include an image =(</p><img src='assets/add_icon.gif' width='20' height='20' align='left' hspace='10' vspace='10' />
]]>
</mx:htmlText>
</mx:Text>
What I get displayed when I view this is:
I've tried essentially every permutation that I can think of -- setting the htmlText in actionScript, using all different paths (app:/assets/add_icon.gif, ../assets/add_icon.gif, add_icon.gif, embedding the image and using {<classname>.addIcon}). I have other images embedded in the application using the path "../assets/<image file>" and they work fine (they're not being used in htmlText).
Has anyone had this kind of trouble before? Any idea what might be going wrong?
does anybody know anything? how long do i need to wait to see
if someone replies? I just need to know if it is possible or not.
Similar Messages
-
Using multiple img src / with htmlText --display problem
I need help.
I am using multiple <img src /> tag with htmlText and
pictures displays in layers(overlay)?
html_txt.html = true;
html_txt.htmlText = "text<br><img src = '
http://picture1.jpg 'width='500'
height='491' hspace='0' /><br>more text<br><img
src = '
http://picture2.jpg' width='299'
height='612' hspace='101' ><br>end with text";
Is there any way to refresh text field when pictures are
fully loaded so it will display like regular html page?
this is flash version, evrything is shown but it is not
right.
http://www.sosui.jp/flash/test/v001/pages/home/homeBlogV002.swf
I want to show them like this page.
http://sosui.jp/flash/test/v001/pages/home/blog.html
I tried onEnterFrame but pictures will not show. I think it
is because it is trying to load pictures everytime. So I cannot use
onEnterFrame, i need other way to refresh text field.
Please help me. you might of guessed I am not an English
speaker, so my English might be little off.
Thank you.does anybody know anything? how long do i need to wait to see
if someone replies? I just need to know if it is possible or not. -
Possible bug using go tag with redirection under SSL?
I've been testing an application under SSL and have noticed that some links "pop-out of SSL". Upon further inspection I noticed the links were using <go> tags with redirect set to true.
Does anyone know where <go> gets the URL it uses? I'm wondering if this might be a webcache configuration issue or appserver config issue.
note: using AS 10g 9.0.4.1.1
Thanks in advance!
/SFLHi all,
Just thought I'd update on resolution. As suspected, an AS config issue was responsible for this glitch. Long story short WebCache can communicate in 2 ways w/ an origin server (HTTP or HTTPS). You can have WebCache use SSL w/ the client and still communicate with the origin server using HTTP (which was our case). PITFALL: the origin server is unaware of the use of SSL by the client (WebCache only "knows"). SINCE THE ORIGIN SERVER IS THE ONE EXECUTING THE <GO> TAG, when using redirect=true attribute with the tag, the URL generated by the rewrite routine is HTTP and not HTTPS as one might expect when accessing the app via SSL.
Hope I can spare someone else the headache...
Cheers!
/SFL -
Anyone use cfdocument tag with a cfloop
Anyone use <cfdocument> tag with a <cfloop>
I am trying to generate multiple documents like this -
<cfloop query="myquery">
<cfdocument type=pdf>
<html>...html code here...<html>
</cfdocument>
</cfloop>
But only the first document is generated in the browser?
my requirement i wnat to create multiple PDF and upload in to folder then zip folder so user can able to download ZIP file
thanks in advancemy requirement i wnat to create multiple PDF and upload in to folder then zip folder so user can able to download ZIP file
1) Create a folder named, say, docsDir, in the currect directory.
2) Create the PDFs, using Eddie Lotter's suggestion, naming each file dynamically, and storing each in the folder docsDir.
<cfloop query="myquery">
<!--- Use row number to create filename dynamically --->
<cfset filename='doc' & myquery.currentRow & '.pdf'>
<cfdocument format="pdf" filename="#expandPath('docsDir\#filename#')#" overwrite="true">
<html> Code to generate content of <cfoutput>#filename#</cfoutput> goes here. </html>
</cfdocument>
</cfloop>
3) Zip the folder, docsDir, storing the resulting file, docsDir.zip, in the current directory.
<cfzip action="zip" file="#expandPath('.')#/docsDir.zip" source="#expandPath('docsDir')#"> -
Generate image with CFIMAGE - but need to use img tag to serve the content
I create a new image with cfimage, that already works without
any problems.
But instead of using the action="writetobrowser" I need to be
able to use the script inside a img tag:
Example: <img
src="myscript.cfm?somedata=iwanttheimagetocreate>
I found one webpage that deals with that problem (
http://www.webdevelopernews.com/2007/09/14/serving-up-cfimages-via-image-tags/)
but the image served to the browser, when using the code below, is
of a very low quality and another point is that you can't serve
.gif's to the browser.
<cfcontent type="image/jpg"
variable="#ImageGetBlob(backgroundimage)#">
Any suggestions/solutions?
Thanks,
PhilIn that entry Raymond mentions:
"The WriteToBrowser action actually generates HTML that points
to a ‘magic’ URL to serve the image.". ie <img
src="/CFFileServlet/_cf_image/_cfimg-12345036853711072.PNG" alt=""
/>
Perhaps you could create a function that captures the
generated html by using <cfsavecontent>.
<cfsavecontent variable="imageTagHTML">
<cfimage action="writeToBrower" ..>
</cfsavecontent>
Then uses a regular expression to extract and return the url
portion only. ie
"/CFFileServlet/_cf_image/_cfimg-12345036853711072.PNG"
<cfset ExtractedURLHere = SomeFunction(arguments...)>
<cfoutput><img
src="#ExtractedURLHere#"></cfoutput>
Though you could also use the entire html string directly
<cfoutput>#imageTagHTML#</cfoutput> -
JSPs using Custom Tag with Boolean attribute cannot compile
Hi,
In Oracle9iAS(9.0.3), a jsp using a tag extension, which has a Boolean attribute, caused the following compile error, although the jsp is valid in other web containers.
ERROR:
/opt/oracle/j2ee/home/application-deployments/simple/simple/persistence/_pages/_test.java:56: Method toBoolean(java.lang.Boolean) not found in class _test.
__jsp_taghandler_1.setExists( OracleJspRuntime.toBooleanObject( toBoolean( b)));
JSP:
<%@ page language="java" %>
<%@ page errorPage="error.jsp" %>
<%@ taglib prefix="jnpr" uri="/WEB-INF/testtag.tld" %>
<%
Boolean b = Boolean.valueOf("true");
%>
<jnpr:TestTag exists="<%= b%>"/>
The boolean value is <%= b %>
Tag Handler:
package defaultpak;
import javax.servlet.jsp.tagext.*;
import javax.servlet.jsp.*;
public class TestTag extends TagSupport{
private Boolean exists = null;
private java.lang.Boolean getExists() {
return exists;
public void setExists(java.lang.Boolean newExists) {
exists = newExists;
public int doStartTag() throws JspException {
return super.doStartTag();
Is this a known problem? Is there a way to get around this?
Thanks in advance.
FredThis is a known issue with 903, fixed in coming 904.
In 903 the workaround is to use primitive type "boolean" instead of Object type "java.lang.Boolean" in user's getter and setter code for the taglib.
-Prasad -
N95 will crash when using voice tags with HS-4W
When I try and use my Nokia Bluetooth Head Set HS-4W to access voice tags it always resets!
Anybody else got this problem?I finaly got it to work by resetting the headset.
No problem whatsoever with voice dialing.
I have firmware V30.0.15
Do you have the problem when using voice tags on the phone alone? -
Use img in TextField.htmlText?
Hello,
I try to show load picture (<img />) in TextField.htmlText.
Questions :
Is this supported?
If yes, are there safety rules particulate?
Code :
var textArticle : TextField = stage.addChild( new TextField ) as TextField;
textArticle.autoSize = TextFieldAutoSize.LEFT;
textArticle.htmlText = "<p>test load picture :: <img src=\"http://www.google.com/intl/en_com/images/logo_plain.png\" id=\"image\" /></p>";
var loaderPicture : * = textArticle.getImageReference("image");
trace(loaderPicture); // return null
Tested on MacOsX 10.5.8, Flash 11.0.0.428
Thanks,
Laurenthave you checked through here?
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204-7c83.html
also you'll need to wait until it is loaded
http://wiki.mediaboxtraining.com/doku.php/flash:text_loading -
Error using selectmany tags with backing beans - Beta 1
Hi All,
I'm not having any luck getting any of the selectmany tags working with back-end beans. I've concluded it just doesn't work. My example is derived from the selectmany sample in the tutorial, which also just doesn't work (there are 4 or 5 problems with the sample in the tutorial, including the fact that there's no tag called 'selectmany_checkbox' in Beta 1, it's renames to selectmany_checkboxlist. But I digress).
Anyway, the following is the relevant JSP snippet:
<html:selectmany_menu value="#{facesTest.items}">
<faces:selectitem itemValue="foo" itemLabel="foo" />
<faces:selectitem itemValue="bar" itemLabel="bar" />
</html:selectmany_menu>
Here's the relevant backing bean snippet:
protected ArrayList items = null;
public Object[] getItems() {
System.out.println("getItems():ENTRY");
if (items != null)
return items.toArray();
else
return null;
public void setItems(Object[] items)
System.out.println("setItems():ENTRY");
int len = 0;
if (null == items ||(len = items.length) == 0) {
return;
if (this.items != null)
this.items.clear();
this.items = new ArrayList(len);
for (int i = 0; i < len; i++) {
this.items.add(items);
I've declared the bean as follows in the face-config.xml:
<managed-bean>
<managed-bean-name>facesTest</managed-bean-name>
<managed-bean-class>ipt.faces.FacesTest</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
The errors vary, but basically when I don't select anything from the multi-select menu, all is fine. When I do select something I get one of two messages returned thru the messages tag, either "Conversion Error setting value 'null' for 'expression'" when I select one item or " Conversion Error setting value '[Ljava.lang.String;@397d4e' for 'expression'." when I select two items.
Turning on 'FINEST', I get the output below: Any ideas? I've noticed several posting regarding the selectmany tags, any response on getting these to work?
thanks!
Steve
FINE: Exiting RenderResponsePhase
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINE: Begin executing lifecycle phases
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: execute(phaseId=RESTORE_VIEW 1)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: Begin execute(phaseId=RESTORE_VIEW 1)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.RestoreViewPhase execute
FINE: Entering RestoreViewPhase
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl getMappingForR
equest
FINEST: servletPath /hello.jsf
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl getMappingForR
equest
FINEST: pathInfo null
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl getFacesMappin
g
FINE: URL pattern of the FacesServlet executing the current request .jsf
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl convertViewId
FINE: viewId after appending the context suffix /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.StateManagerImpl restoreView
FINE: Begin restoring view from response /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.StateManagerImpl restoreView
FINE: End restoring view from response /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl restoreView
FINEST: set character encoding on request to ISO-8859-1
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.RestoreViewPhase execute
FINE: Postback: Restored view for /hello.jsf
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.RestoreViewPhase execute
FINE: Exiting RestoreViewPhase
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: End execute(phaseId=RESTORE_VIEW 1)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl hasPostDataOrQuery
Params
FINEST: Request Method: POST/PUT
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: execute(phaseId=APPLY_REQUEST_VALUES 2)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: Begin execute(phaseId=APPLY_REQUEST_VALUES 2)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.ApplyRequestValuesPhase execute
FINE: Entering ApplyRequestValuesPhase
Jan 9, 2004 10:11:52 AM com.sun.faces.el.ValueBindingImpl getValue
FINE: getValue(ref=facesTest.items)
Jan 9, 2004 10:11:52 AM com.sun.faces.el.VariableResolverImpl resolveVariable
FINE: resolveVariable: Resolved variable:ipt.faces.FacesTest@f97d27
getItems():ENTRY
Jan 9, 2004 10:11:52 AM com.sun.faces.el.ValueBindingImpl getValue
FINE: getValue Result:[Ljava.lang.Object;@11fb68f
Jan 9, 2004 10:11:52 AM com.sun.faces.el.ValueBindingImpl getValue
FINEST: -->Returning [Ljava.lang.Object;@11fb68f
Jan 9, 2004 10:11:52 AM com.sun.faces.el.VariableResolverImpl resolveVariable
FINE: resolveVariable: Resolved variable:ipt.faces.FacesTest@f97d27
Jan 9, 2004 10:11:52 AM com.sun.faces.el.ValueBindingImpl getType
FINE: isReadonly result:class [Ljava.lang.Object;
Jan 9, 2004 10:11:52 AM com.sun.faces.el.ValueBindingImpl getValue
FINE: getValue(ref=facesTest.items)
Jan 9, 2004 10:11:52 AM com.sun.faces.el.VariableResolverImpl resolveVariable
FINE: resolveVariable: Resolved variable:ipt.faces.FacesTest@f97d27
getItems():ENTRY
Jan 9, 2004 10:11:52 AM com.sun.faces.el.ValueBindingImpl getValue
FINE: getValue Result:[Ljava.lang.Object;@1262667
Jan 9, 2004 10:11:52 AM com.sun.faces.el.ValueBindingImpl getValue
FINEST: -->Returning [Ljava.lang.Object;@1262667
Jan 9, 2004 10:11:52 AM com.sun.faces.context.FacesContextImpl addMessage
FINE: Adding Message[sourceId=_id0:_id7,summary=Conversion Error setting value '
[Ljava.lang.Object;@1262667' for 'expression'.)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.ApplyRequestValuesPhase execute
FINE: Exiting ApplyRequestValuesPhase
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: End execute(phaseId=APPLY_REQUEST_VALUES 2)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: execute(phaseId=PROCESS_VALIDATIONS 3)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: Begin execute(phaseId=PROCESS_VALIDATIONS 3)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.ProcessValidationsPhase execute
FINE: Entering ProcessValidationsPhase
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.ProcessValidationsPhase execute
FINE: Exiting ProcessValidationsPhase
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: End execute(phaseId=PROCESS_VALIDATIONS 3)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINE: Skipping to RenderResponsePhase
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.RenderResponsePhase execute
FINE: Entering RenderResponsePhase
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.RenderResponsePhase execute
FINE: About to render view /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl renderView
FINE: About to render view /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl getFacesMappin
g
FINE: URL pattern of the FacesServlet executing the current request .jsf
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl renderView
FINE: Found URL pattern mapping to FacesServlet .jsf
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl renderView
FINEST: Before dispacthMessage to newViewId /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl getFacesMappin
g
FINE: URL pattern of the FacesServlet executing the current request .jsf
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl getViewIdPath
FINEST: viewId after modifications /hello.jsf
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ApplicationImpl createConverte
r
FINEST: Created converter of type javax.faces.convert.BooleanConverter
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl writeState
FINEST: Begin writing state to response for viewId/hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl writeState
FINEST: End writing state to response for viewId/hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.StateManagerImpl saveSerialize
dView
FINE: Begin creating serialized view for /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.StateManagerImpl saveSerialize
dView
FINE: End creating serialized view /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl renderView
FINEST: After dispacthMessage to newViewId /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.RenderResponsePhase execute
FINE: Exiting RenderResponsePhaseCould you post your code example? I am having the same problem. And I am wondering how you can set the value, label and description using the String[] return type. I thought the object[] would basically be a SelectItem Array...
thanx! -
Issue while playing video in firefox 19 using embed tag with mplayer2 plugin
In mozilla firefox embed tag not working properly. the embed video starts playing after browser is resized. Can anyone help me out playing video in ff without resizing the browser? Below is the html code. The below code works in fine in other browser
<pre><nowiki>
<object id="MediaPlayer1" width="400" height="300" classid="CLSID:6BF52A52-394A-11d3- B153-00C04F79FAA6"
standby="Loading Windows Media Player components..." type="application/x-oleobject">
<param NAME="AutoStart" VALUE="True">
<param name="uiMode" value="none">
<param name="PlayCount" value="9999">
<param name="url" value="C:\SR\documents\library\2013\Video\sample_1363245215320.avi" />
<embed type="application/x-mplayer2" src='C:\SR\documents\library\2013\Video\sample_1363245215320.avi' NAME="MediaPlayer" WIDTH="400" HEIGHT="300" ShowControls="0" ShowStatusBar="0" ShowDisplay="0" autostart="1"> </embed>
</object></nowiki></pre>Maybe try to use the file protocol instead.
<pre><nowiki>src="file:///C:/SR/documents/library/2013/Video/sample_1363245215320.avi"
</nowiki></pre>
*http://kb.mozillazine.org/Links_to_local_pages_do_not_work -
Use Finder Tags with multiple computers
How do we keep Finder Tag names in sync for files saved in Dropbox or iCloud?
After I can add tags to files in my rMBP and assign colours to them, these files are kept in sync with my iMac through Dropbox.
In my iMac, while the new colours are reflected in the same files, the Tag names are not.
Is this how its supposed to work?To seems problem to be the effect of you rename the defult Finder tags (the ones replacing Finder labels) instead of making new ones.
So this made the trick for me:
1. Created completely new tags whith the names I wanted
2. Gave the new tags colors
3. In Finder settings, removed the default tags from the sidebar and the contextual menu, putting the new ones in their place.
Then at least tagnames - and colors and sidebar settings – was synced via iCloud and Dropbox. I think this will be the case for server volumes as well. -
Can you use the tag in mail?
I was reading about sub-addressing in email accounts. It was suggested to use the +tag with your email address, such as: [email protected]
Any idea if this works with Apple Mail, and if so how to go about it?.
ThanksiCloud: Create or change email aliases
-
How do I use JSP tag with Weblogic?
Where should I put my tld file, and where should I put the Java class file?
I put the Java files under
C:\bea\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WE
B-INF\lib and it was not successful.
Thank you
something like this...
OuterTag qParent = null;
try {
Tag myParent = getParent();
while (myParent != null ) {
// loop up through tags until you find the one you want
if (myParent instanceof OuterTag) {
qParent = (OuterTag) myParent;
data = qParent.getSomeData();
} else {
myParent = myParent.getParent();
} -
Tomcat 4.1.12 and custom tags with body
Hi,
I had deployed one application in tomcat 3.3.1 which used custom tags with body, and it worked fine, However recently I upgraded that application to tomcat-4.1.12
and the tags with body stopped giving expected behaviour, however the tags without body are giving expected behaviour, I had a look at generated jsp file...
I am pasting the generated output here
jp.co.nttdata.sk._webtier.tagext.FormTag jspxth_sk_form_0 = (jp.co.nttdata.sk._webtier.tagext.FormTag) jspxtagPool_sk_form_action.get(jp.co.nttdata.sk._webtier.tagext.FormTag.class);
jspxth_sk_form_0.setPageContext(pageContext);
jspxth_sk_form_0.setParent(null);
jspxth_sk_form_0.setAction(SKScreenDefinition.SK_I0100 );
int jspxeval_sk_form_0 = jspxth_sk_form_0.doStartTag();
if (_jspx_eval_sk_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
if (_jspx_eval_sk_form_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
_bc.clear();
out = _bc;
jspxth_sk_form_0.setBodyContent(_bc);
jspxth_sk_form_0.doInitBody();
do {
out.write("\r\n<input type=\"hidden\" name=\"rpt_no\" value=\"<%= rpt_no %>\">\r\n<input type=\"hidden\" name=\"optnOpen\" value=\"0\">\r\n<table border=0 cellspacing=0 cellpadding=0 class=\"bdsyl\">\r\n<tr>\r\n<td class=\"innframe\">\r\n\r\n\t<table border=0 cellspacing=0 cellpadding=5 class=\"bgcol_1\">\r\n\t<tr>\r\n\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������E/td>\r\n\t<td>\r\n\t\t\t<select name=\"rptDivCombo\">\r\n<%\r\n\tstrSelected = \"\";\r\n\tnLen = 0;\r\n\tif(arrOskCodeNameRptDiv != null) nLen = arrOskCodeNameRptDiv.length;\r\n%>\r\n<%\r\n\tfor(int i=0;i<nLen;i++) \r\n\t{\r\n\t\tString cd = arrOskCodeNameRptDiv.getCode();\r\n\t\tString nm = arrOskCodeNameRptDiv[i].getName();\r\n\t\tString value = cd + SKConstants.SEPARATOR + nm;\r\n\r\n\t\tstrSelected = \"\";\r\n\t\tif(cd.equals(rpt_div)) strSelected = \"selected\";\r\n%>\r\n\t\t\t\t<option <%= strSelected %> value=\"<%=value%>\"><%= nm%></option>\r\n<%\r\n\t}//for loop\r\n%>\r\n\t\t\t</select>\r\n\t</td>\r\n\t</tr>\r\n\t<tr>\r\n\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ��� ���E���</td>\r\n\t<td>\r\n\t\r\n\t\t\t<select name=\"prortyCombo\">\r\n<%\r\n\tstrSelected = \"\";\r\n\tnLen = 0;\r\n\tif(arrOskCodeNameProrty != null) nLen = arrOskCodeNameProrty.length;\r\n");
out.write("%>\r\n<%\r\n\tfor(int i=0;i<nLen;i++) \r\n\t{\r\n\t\tString cd = arrOskCodeNameProrty[i].getCode();\r\n\t\tString nm = arrOskCodeNameProrty[i].getName();\r\n\t\tString value = cd + SKConstants.SEPARATOR + nm;\r\n\r\n\t\tstrSelected = \"\";\r\n\t\tif(cd.equals(prorty)) strSelected = \"selected\";\r\n%>\r\n\t\t\t\t<option <%= strSelected %> value=\"<%= value %>\"><%= nm %></option>\r\n<%\r\n\t}//for loop\r\n%>\r\n\t\t\t</select>\r\n\t\r\n\t</td>\r\n\t</tr>\r\n\t<tr>\r\n\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������E/td>\r\n\t<td><input type=\"text\" size=4 maxlength=4 name=\"rpt_dt_yyyy\" value=\"<%= rpt_dt_yyyy %>\">��� <input type=\"text\" size=2 maxlength=2 name=\"rpt_dt_mm\" value=\"<%= rpt_dt_mm %>\">���E<input type=\"text\" size=2 name=\"rpt_dt_dd\" maxlength=2 value=\"<%= rpt_dt_dd %>\">��� <input type=\"text\" maxlength=2 size=2 name=\"rpt_dt_hh\" value=\"<%= rpt_dt_hh %>\">���E<input type=\"text\" size=2 maxlength=2 name=\"rpt_dt_mi\" value=\"<%= rpt_dt_mi %>\">���E<span class=\"fsyl_2\">�E����������������E/span></td>\r\n\t</tr>\r\n\t<tr>\r\n\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ��� ���E���E</td>\r\n\t<td><input type=\"text\" size=20 name=\"rpt_user\" value=\"<%= Util.forHidden(rpt_user) %>\"></td>\r\n");
out.write("\t</tr>\r\n\t<tr>\r\n\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ���������������E/td>\r\n\t<td>\r\n\t\r\n\t\t\t<select name=\"rptRegiUserCombo\">\r\n<%\r\n\tstrSelected = \"\";\r\n\tnLen = 0;\r\n\tif(arrOfUserName != null) nLen = arrOfUserName.length;\r\n\r\n\tfor(int i=0;i<nLen;i++){\r\n\t\tString[] arrTemp = UzUtil.extractTokens(arrOfUserName[i], SKConstants.SEPARATOR);\r\n\t\t\r\n\t\tstrSelected = \"\";\r\n\t\tif(arrTemp[0].equals(rpt_regi_user)) strSelected = \"selected\";\r\n%>\r\n\t\t\t\t<option <%= strSelected %> value=\"<%= arrOfUserName[i] %>\"><%= arrTemp[1] %></option>\r\n<%\r\n\t}//for loop\r\n%>\r\n\t\t\t</select>\r\n\r\n\t\r\n\t</td>\r\n\t</tr>\r\n\t<tr>\r\n\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������������</td>\r\n\t<td><input type=\"text\" size=70 name=\"rpt_title\" value=\"<%= UzString.forHidden(rpt_title)%>\"> <span class=\"fsyl_2\">�E�E00���E�����E/span></td>\r\n\t</tr>\r\n\t<tr>\r\n\t<td valign=top class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ��������E���</td>\r\n\t<td nowrap><textarea wrap=\"physical\" rows=10 cols=72 name=\"rpt_txt\"><%= UzString.htmlEncodeForHidden(rpt_txt) %></textarea> <span class=\"fsyl_2\">�E�E000���E�����E/span> </td>\r\n");
out.write("\t</tr>\r\n\t<tr>\r\n\t<td valign=top class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ���������E��</td>\r\n\t<td><textarea rows=5 cols=72 name=\"rpt_effct_lmt\"><%= UzString.htmlEncodeForHidden(rpt_effct_lmt) %></textarea> <span class=\"fsyl_2\">�E�E00���E�����E/span></td>\r\n\t</tr>\r\n\t<tr>\r\n\t<td valign=top class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ���E��� ���</td>\r\n\t<td><textarea rows=5 cols=72 name=\"reappr_cnd\"><%= UzString.htmlEncodeForHidden(reappr_cnd)%></textarea> <span class=\"fsyl_2\">�E�E00���E�����E/span></td>\r\n\t</tr>\r\n\t<tr>\r\n\t<td nowrap class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������������E/td>\r\n\t<td><input type=\"text\" size=4 name=\"rply_prf_dt_yyyy\" maxlength=4 value=\"<%= rply_prf_dt_yyyy %>\">��� <input type=\"text\" size=2 name=\"rply_prf_dt_mm\" maxlength=2 value=\"<%= rply_prf_dt_mm %>\">���E<input type=\"text\" maxlength=2 size=2 name=\"rply_prf_dt_dd\" value=\"<%= rply_prf_dt_dd %>\">��� <input type=\"text\" maxlength=2 size=2 name=\"rply_prf_dt_hh\" value=\"<%= rply_prf_dt_hh %>\">���E<input type=\"text\" maxlength=2 size=2 name=\"rply_prf_dt_mi\" value=\"<%= rply_prf_dt_mi %>\">���E<span class=\"fsyl_2\">�E����������������E/span></td>\r\n");
out.write("\t</tr>\r\n\t<tr>\r\n\t<td>���</td>\r\n\t<td align=right><input type=\"button\" value=\"���������������\" onClick=\"openOptn()\"></td>\r\n\t</tr>\r\n<!---- ��������������������������������������� ----->\r\n\t<tr id=\"com\" style=\"display:none\">\r\n\t<td colspan=2>\r\n\t\t<table border=0 cellspacing=0 cellpadding=5>\r\n\t\t<tr>\r\n\t\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ���������������E/td>\r\n\t\t<td>\r\n\t\t\t<select name=\"crrspndUserCombo\">\r\n<%\r\n\tstrSelected = \"\";\r\n\tnLen = 0;\r\n\tif(arrOfUserName != null) nLen = arrOfUserName.length;\r\n\r\n\tif(crrspnd_user.equals(\"\")) strSelected = \"selected\";\r\n%>\r\n\t\t\t\t<option <%= strSelected %> value=\"<%= SKConstants.NOTSPECIFIED %>\">���������������������E/option>\r\n<%\r\n\tfor(int i=0;i<nLen;i++){\r\n\t\tString[] arrTemp = UzUtil.extractTokens(arrOfUserName[i], SKConstants.SEPARATOR);\r\n\t\t\r\n\t\tstrSelected = \"\";\r\n\t\tif(arrTemp[0].equals(crrspnd_user)) strSelected = \"selected\";\r\n%>\r\n\t\t\t\t<option <%= strSelected %> value=\"<%= arrOfUserName[i] %>\"><%= arrTemp[1] %></option>\r\n<%\r\n\t}//for loop\r\n%>\r\n\t\t\t</select>\r\n\t\t\r\n\t\t</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������������E/td>\r\n");
out.write("\t\t<td>\r\n\t\t\t<select name=\"fndngDivCombo\">\r\n<%\r\n\tstrSelected = \"\";\r\n\tnLen = 0;\r\n\tif(arrOskCodeNameFndngDiv != null) nLen = arrOskCodeNameFndngDiv.length;\r\n\r\n\tif(fndng_div.equals(\"\")) strSelected = \"selected\";\r\n%>\r\n\t\t\t\t<option <%= strSelected %> value=\"<%= SKConstants.NOTSPECIFIED %>\">���������������������E/option>\r\n<%\r\n\tfor(int i=0;i<nLen;i++) \r\n\t{\r\n\t\tString cd = arrOskCodeNameFndngDiv[i].getCode();\r\n\t\tString nm = arrOskCodeNameFndngDiv[i].getName();\r\n\t\tString value = cd + SKConstants.SEPARATOR + nm;\r\n\r\n\t\tstrSelected = \"\";\r\n\t\tif(cd.equals(fndng_div)) strSelected = \"selected\";\r\n%>\r\n\t\t\t\t<option <%= strSelected %> value=\"<%= value %>\"><%= nm %></option>\r\n<%\r\n\t}//for loop\r\n%>\r\n\t\t\t</select>\r\n\t\t\r\n\t\t</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������E��������</td>\r\n\t\t<td><input type=\"text\" maxlength=4 size=4 name=\"crrspnd_fin_pln_dt_yyyy\" value=\"<%= crrspnd_fin_pln_dt_yyyy %>\">��� <input type=\"text\" maxlength=2 size=2 name=\"crrspnd_fin_pln_dt_mm\" value=\"<%= crrspnd_fin_pln_dt_mm %>\">���E<input maxlength=2 type=\"text\" size=2 name=\"crrspnd_fin_pln_dt_dd\" value=\"<%= crrspnd_fin_pln_dt_dd %>\">��� <span class=\"fsyl_2\">�E����������������E/span></td>\r\n");
out.write("\t\t</tr>\r\n\t\t<tr>\r\n\t\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������E��</td>\r\n\t\t<td><input type=\"text\" maxlength=4 size=4 name=\"crrspnd_fin_dt_yyyy\" value=\"<%= crrspnd_fin_dt_yyyy %>\">��� <input type=\"text\" maxlength=2 size=2 name=\"crrspnd_fin_dt_mm\" value=\"<%= crrspnd_fin_dt_mm %>\">���E<input type=\"text\" size=2 maxlength=2 name=\"crrspnd_fin_dt_dd\" value=\"<%= crrspnd_fin_dt_dd %>\">��� <span class=\"fsyl_2\">�E����������������E/span></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t<td valign=top class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������</td>\r\n\t\t<td><textarea rows=8 cols=72 name=\"cause_txt\"><%= UzString.htmlEncodeForHidden(cause_txt) %></textarea> <span class=\"fsyl_2\">�E�E000���E�����E/span></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t<td valign=top class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ���������E��</td>\r\n\t\t<td><textarea rows=10 cols=72 name=\"crrspnd_txt\"><%= UzString.htmlEncodeForHidden(crrspnd_txt) %></textarea> <span class=\"fsyl_2\">�E�E000���E�����E/span></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t<td valign=top class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ���������������E/td>\r\n\t\t<td><textarea rows=8 cols=72 name=\"rlps_prvnt_schm\"><%= UzString.htmlEncodeForHidden(rlps_prvnt_schm) %></textarea> <span class=\"fsyl_2\">�E�E000���E�����E/span></td>\r\n");
out.write("\t\t</tr>\r\n\t\t</table>\r\n\t</td>\r\n\t</tr>\r\n<!---- ��������������������������������������� ���E----->\r\n\t<tr>\r\n\t<td valign=top class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������������E/td>\r\n\t<td>\r\n\t\t<table border=0 cellspacing=0 cellpadding=0>\r\n\t\t<tr valign=top>\r\n\t\t<td><input type=\"radio\" name=\"mail_sendto_div_radio\" checked onClick=\"mailCheck(true)\" value=\"<%= SKConstants.CD_ONE + SKConstants.SEPARATOR + \"������\" %>\">��������������� <input type=\"radio\" name=\"mail_sendto_div_radio\" onClick=\"mailCheck(false)\" value=\"<%= SKConstants.CD_ZERO + SKConstants.SEPARATOR + \"���������E��\" %>\">���������E��Enbsp; </td>\r\n\t\t<td>\r\n<%\r\n\tstrSelected = \"\";\r\n\tnLen = 0;\r\n\tif(arrOskCodeNameGroup != null) nLen = arrOskCodeNameGroup.length;\r\n\tint nExtra = (nLen/2) + (nLen%2);\r\n%>\r\n<%\r\n\tfor(int i=0;i<nLen;i++) \r\n\t{\r\n\t\tString cd = arrOskCodeNameGroup[i].getCode();\r\n\t\tString nm = arrOskCodeNameGroup[i].getName();\r\n\t\tString value = cd + SKConstants.SEPARATOR + nm;\r\n%>\r\n\t\t\t\t<input type=\"checkbox\" name=\"send_mail\" value=\"<%= value %>\"><%= nm %><br>\r\n<%\r\n\t\tif((i+1) == nExtra)\r\n\t\t{\r\n%>\r\n\t\t\t</td>\r\n\t\t\t<td> </td>\r\n");
out.write("\t\t\t<td>\r\n<%\r\n\t\t}\r\n\t}//for loop\r\n%>\r\n\t\t</td>\r\n\t\t</tr>\r\n\t\t</table>\r\n\t</td>\r\n\t</tr>\r\n\t<td>���</td>\r\n\t<td align=right><br><input type=\"submit\" value=\"������������\" name=\"saveReport\">���<input type=\"submit\" value=\"���������������������\" name=\"regReport\"></td>\r\n\t</tr>\r\n\t</table>\r\n\r\n</td>\r\n</tr>\r\n</table>\r\n");
int evalDoAfterBody = jspxth_sk_form_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
if (_jspx_eval_sk_form_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
out = pageContext.popBody();
What I found out that scriptlets are also encluded in string however they should not be enclosed.
Is it a bug? or do I need to change my taghandler class...?
Any suggestion, any help ll be really helpful
Regards,
SusheelHi,
I am able to resolve it,
Actually I was using the body content as tagdependent instead of jsp.
However the body content tagdependent works in Tomcat 3.3.1 and weblogic 5.1, 6.0.
Anyway... -
Using itemtype img tag and meta tag with {tag_largeimage}
Hi everyone
Just getting into using Social Media meta Tags for my online store using bc
Schema.org markup for Google+
Twitter Card data
Open Graph data
and I used this site for reference Must-Have Social Meta Tags for Twitter, Google+, Facebook and More - Moz
Ive added this to my large product page and now ive entered the world of Schema.org markup and itemtype and im having trouble with images.
for my large product page ive turned the meta tags from this...
<meta itemprop="image" content="http://www.example.com/image.jpg">
<meta name="twitter:image" content="http://www.example.com/image.html">
<meta property="og:image" content="http://example.com/image.jpg" />
to this
<meta itemprop="image" content="{tag_largeimage}">
<meta name="twitter:image" content="{tag_largeimage}">
<meta property="og:image" content="{tag_largeimage}" />
but the page doesnt like it and the page reads with 3 /> /> /> at the top of my html page for anyone to see meaning that bc doesnt like the code.
also doesnt like it when i use
<img itemprop="image" {tag_largeimage}" />
turns into this
<img alt="" itemprop="image" />
Image is the only one im having a problem with so far any ideas if I can do anything about it. I dont want to have to manually add a http to every product.
thanks
Davethe meta tags work now.
the only one i still cant get to work is the
<img itemprop="image" {tag_largeimage}" />
when I change it to _path the html editor saves it as
<img alt="" itemprop="image_path" />
so will have to leave that for now put I can still use alot of the itemprop tags to promote the page better than before.
thanks for the help
Maybe you are looking for
-
Before I updated Firefox, my tabs were on the same line as the search/url bar, and I didn't have the back/forward buttons. I liked the simple design I had, but now it doesn't seem like I can go back to that setting.
-
Problem sync'ing emails made on my iPad with MBP
HI I have emails on my iPad which do not appear on the MacBookPro, so I seem to be having a problems with emails generated by on my ipad not syncing back to my MacBookPro. I have done all thge usual checks but perhaps I have missed something, can any
-
When I updated my Macbook to LIon, I seemed to have lost apps on my iPhone. Does that make sense?
-
Wrong status after UD is taken
Hi, we take usage decisions automatically with a custom-made program. But the problem is, even after the UD is taken, the system status is still INSP RREC. How can we put the ilot on the right status? Anyone can help me? Thanks. Jessica
-
Is it possible to link to image in responses?
Knowing that any images supplied in the survey have to be downloaded manually (this is not fun on a large survey ), is it possible that the image itself has a hyperlink since its stored on Adobe servers? If the hyperlink can be made accessible, I can