Set text issue
I have made a picture rotator for my website, but when I
click on the image (which initiates the rotation to the next
picture) the javascript SHOULD change the text of the specified
layer, but instead of changing the HTML, it just posts the code on
the page. Below are the codes I am using (without the picture
locations, file names, ect.)
Layer11 is the layer which the info is posted. The initial
click works fine, the text is put into the layer as HTML, and the
pic shows. When I think click on the pic, the code for the next pic
is set to the layer. Where I went wrong, I dont know.
A little help?
No this a Flex layout text area. Now what it does once the page is build I dont know. I just dragged a text area control and gave it an id. Is my setStyle syntax look right?
-Miguel
Similar Messages
-
There appear to be several text issues in D11 on Mac OSX
10.4.11 and 10.5.2.
First problem being that setting the style of text to bold or
italic doesn't show any change. This occurs in both Shockwave and
D11 projectors.
Second using Chines Unicode font Song the text in fields
sometimes disappears. Its still there since calculations based on
the content of those fields still works but no text is visible
onscreen.
This font also has the problem where the text will not change
to bold.
Anyone else seenig anything like this or have a solution?
Thanks
EDBIF we are now limited to setting only font styles that are
specifically defined in the font we're in real trouble.
This is NOT the way it worked in all previous version of
Director that I've used (7, 8, 8.5 MX, MX 2004).
The project I'm converting to D11 deals with font styles as I
would expect in MX 2004 on the very same machine with the same
fonts that D11 refuses to make bold.
This is the Chinese font information from my Mac...
Song Regular, 18 pt.
PostScript name SIL-Song-Reg-Jian
Full name Song Regular
Family Song
Style Regular
Kind TrueType
Language Bulgarian, Chinese, Cornish, English, Indonesian,
Malay, Oromo, Russian, Somali, Swahili
Version 4.1d1e1
Location /Library/Fonts/Song.dfont
Unique name Song Regular; 4.1d1e1; Wed, Feb 19, 2003
Copyright © Copyright Shanghai Ikarus Ltd. 1993 1994
1995
Trademark Shanghai Ikarus Ltd./URW Software & Type GmbH
Enabled Yes
Duplicate Yes
Copy protected No
Embeddable Yes -
Set Text of Container to HTML not working
I have a div tag named "theAnswer" on a page. When the user
clicks the "Submit" button, I want some text to appear inside the
div that has HTML formatting.
The HTML code for the text I want to appear is below:
You are correct! We are committed to conducting
business with
the highest degree of integrity, complying with legal
standards and
regulations and serving others with respect, fairness and
caring. Click here for <a
href="javascript:;"
onClick="MM_openBrWindow('../docs/
Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=575')">More
Info</a> or click Continue.
After I put in the Behavior to "Set Text > Set Text of
Container to", choose the correct Div tag, and paste the above into
the "New HTML" field, when I click the Submit button, I get the
following appearing in the div "theAnswer" exactly how it appears
below as text without it being actual formatted HTML.
You are correct! We are committed to conducting
business with
the highest degree of integrity, complying with legal
standards and
regulations and serving others with respect, fairness and
caring. Click here for <a
href="javascript:;"
onClick="MM_openBrWindow('../docs/
Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=575')">More
Info</a> or click Continue.
It's not formatted as HTML, it just comes out exactly what
the coding is. Why?!Let's see the page, please.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Jim Rehmann" <[email protected]> wrote in
message
news:g6a3in$dv4$[email protected]..
>I have a div tag named "theAnswer" on a page. When the
user clicks the
> "Submit" button, I want some text to appear inside the
div that has HTML
> formatting.
>
> The HTML code for the text I want to appear is below:
>
> You are correct! We are committed to
conducting business with
> the highest degree of integrity, complying with legal
standards and
> regulations and serving others with respect, fairness
and
> caring. Click here for <a
href="javascript:;"
> onClick="MM_openBrWindow('../docs/
>
>
Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=57?5')"
>>More
> Info</a> or click Continue.
>
>
> After I put in the Behavior to "Set Text > Set Text
of Container to",
> choose
> the correct Div tag, and paste the above into the "New
HTML" field, when I
> click the Submit button, I get the following appearing
in the div
> "theAnswer"
> exactly how it appears below as text without it being
actual formatted
> HTML.
>
>
> You are correct! We are committed to
conducting business with
> the highest degree of integrity, complying with legal
standards and
> regulations and serving others with respect, fairness
and
> caring. Click here for <a
href="javascript:;"
> onClick="MM_openBrWindow('../docs/
>
>
Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=57?5')"
>>More
> Info</a> or click Continue.
>
> It's not formatted as HTML, it just comes out exactly
what the coding is.
> Why?!
>
> -
Getting error while trying to set text for form value field in oaf
Hi ALL,
When i am trying to set text for a form value type field it is giving null pointer exception, please help me out.
I tried below way.
OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item11");
containlineid.setText(pageContext,"test");
ThanksHI Keerthi,
I am able to set and get the value now, i am able to see the data in my log window, but in my page it is erroring out, giving null pointer exception.
after commenting the two lines setting and getting value page is running fine, so any clue on this, please check the below code.
public class XXDPECONTAINLINESCO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
OARawTextBean startDIVTagRawBean =
(OARawTextBean) webBean.findChildRecursive("DivStart");
System.out.println("debhorizontal"+ startDIVTagRawBean);
// addScrollBarsToTable(pageContext, webBean,"DivStart", "DivEnd", true , "400",true,"400");
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
String preplenish = pageContext.getParameter("item1");
String pworkorder = pageContext.getParameter("item2");
String pdmr = pageContext.getParameter("item4");
String punloading = pageContext.getParameter("item6");
String prrnum=pageContext.getParameter("item16");
String pworknum=pageContext.getParameter("item14");
String pdtr=pageContext.getParameter("item13");
Serializable param[] = {preplenish,pworkorder,pdmr,punloading,prrnum,pworknum,pdtr};
OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
if(pageContext.getParameter("item11")!=null)
if(am !=null)
am.invokeMethod("getSearchData",param);
if (pageContext.getParameter("item30") != null) {
String recout = (String)am.invokeMethod("getSelectedData");
System.out.println("deb multi select test"+recout);
System.out.println("1111test1"+pageContext.getParameter("item32"));
OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item32");
System.out.println("1111test2"+pageContext.getParameter("item32"));
//containlineid.setValue(pageContext,recout);
System.out.println("1111"+pageContext.getParameter("item32"));
/// System.out.println("22222"+containlineid.getValue(pageContext));
containlineid.setValue(pageContext,recout);
containlineid.getValue(pageContext);
System.out.println("1111test3"+pageContext.getParameter("item32"));
--------------Error it is giving in the page as----------------
Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at _OA._jspService(_OA.java:71) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) ## Detail 0 ## java.lang.NullPointerException at xxdpe.oracle.apps.ak.xxdpecontain.webui.XXDPECONTAINLINESCO.processFormRequest(XXDPECONTAINLINESCO.java:123) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.beans.layout.OAMessageComponentLayoutBean.processFormRequest(Unknown Source
Thnaks -
How do I GET the 'set text of container' behavior in DW CS3 if it's missing?
I'm building a site using CSS in DW CS3 (bought in May 2006) that has some photo gallery pages where a large image changes per thumbnails to its right that are clicked. The thumbnails are in their divs and the wished-for big image should appear in a larger div to the left. I've read in other postings here that I can use Behaviors panel > Set Text > Set text to container to do this, but this behavior is missing in my Set Text submenu. How do I add this behavior there?
Also, how do I not only create this 'on click' behavior, but have the thumbnail image change to a 'HIT' state like a rollover would?
(P.S. - posted this yesterday, slightly different heading, but it didn't appear today)
Thanks for your help --Check this location in windows C:\Program Files\Adobe\Adobe Dreamweaver CS5\configuration\Behaviors\Actions\Set Text
If this Set Text folder is not there it means that the behavior did not get installed. So you might need to reinstall DW CS3. -
Set text of container in DW CS3
I'm building a site using CSS in DW CS3 (bought in May 2006) that has some photo gallery pages where a large image changes per thumbnails to its right that are clicked. The thumbnails are in their divs and the wished-for big image should appear in a larger div to the left. I've read in other postings here that I can use Behaviors panel > Set Text > Set text to container to do this, but this behavior doesn't appear in my Set Text submenu. How do I add this behavior there?
Also, how do I not only create this 'on click' behavior, but have the thumbnail image change to a 'HIT' state like a rollover would?
Thanks for your help --Check this location in windows C:\Program Files\Adobe\Adobe Dreamweaver CS5\configuration\Behaviors\Actions\Set Text
If this Set Text folder is not there it means that the behavior did not get installed. So you might need to reinstall DW CS3. -
I have tried to find ways around this, but i must set text into a panel. but there is no .setText(), like there is for text fields. So how would i set text into a TextArea?
BTW: what i am trying to do is be able to constatly add things without replacing what has been put up there.
thank youBigDaddyLoveHandles wrote:
sys5 wrote:
I have tried to find ways around this, but i must set text into a panel. but there is no .setText(), like there is for text fields. So how would i set text into a TextArea?
BTW: what i am trying to do is be able to constatly add things without replacing what has been put up there.
thank youCould it be that you are not aware of the documentation?
http://java.sun.com/javase/6/docs/api/
By the way, JTextArea does have a setText method, but it replaces the current text with the given text. It sounds like you want to use ---- but wait, it's better if you find that out yourself. Big hint: it's the first method listed on JTextArea's API page.
edit: too late!If he wasn't aware of the documentation, he probably would have tried using setText(), and found that it worked. That he thought it didn't exist suggests that he looked at the API but only looked in the method summary area, and not below at the "methods inherited from..." sections.
(sorry to ruin your surprise) -
Need help with Set Text behavior
In Dreamweaver CS3/Mac, I am creating a disjointed rollover
that is initiated by rolling over an image. I need it to swap two
images and hopefully set text in two divs. I want this to happen on
rollover and not on click. I don't want it to restore on mouse out.
The images are no problem but I can't seem to make this happen for
the text. Is this possible? Any help? Thanks.http://murraytestsite.com/carneros.html
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"LB:Monroe" <[email protected]> wrote in
message
news:fsp2da$l1$[email protected]..
> Thanks for your response. You can view the page under
construction at:
>
http://www.monroest.com/tlcd/
>
> As one rolls over a square (image file) in the top bar,
the following is
> to
> occur:
> the large image swaps (simple swap image)
> the caption text changes (text, not an image)
> the text to the right of the image changes (text, not an
image)
> the background color of the text div (currently light
gray) changes
> (property
> change?)
> on some of them, the text color of the long text block
changes (property
> change?)
http://www.monroest.com/tlcd
> -
I have set text size to Auto but it starts too small
I have created a form in Acrobat Pro 9, and set text size to Auto in all fields.
I know it is limited to the height of the field, but one of the fields is a block for multi-line paragraghs. Size is set to Auto, font to Times Roman. When I open the file in Reader to test it, it looks like it's starting at 12 points. It goes down from there as the whole block is filled with text, but I'd like it to start at around 18.
Advice?as I mentioned, this one field is a block for multi-line paragraghs. It's one, large text block, taking up the bottom half of the form, so that users can input multiple paragraphs of text (they're telling their story). Some people will write a lot, some less. That's why I set it to Auto, so that the shorter stories would be in larger text, but longer stories will still shrink to fit.
It works, but I want to know if their is a way to get the text to start out at a larger font size before auto-sizing-to-fit. I mean, Something is telling the font to start at 12 point...
Should I attach the form to this discussion? (How do I do that?) -
Work with JTable cell (check input, set text color)
I have a JTable with data
The task is:
User inputs some data into cell
I want to check his input string for equatily with other values in column
For example, I have these values in column:
1.example
2.exercise
3.execute
User inputs word "execution" in the same column
until user inputs "executi" his input string should be red.
What event I have to listen to if I want to get user input string?
Also a question:
Is there any opportunity to work with cell row (copy it to another JTable) ?
Message was edited by:
Holodi think you should use cell editor as textfield (although that is default for jtable) and then implements document listener and set text color in insert update method.
try this out :-) -
how do i set text in a object so that object expands with text and has even space on both sides of the object in illustrator cc?
if you see all the different panel. I past the info in and have to manually expand the width of every panel. Is there a way of pasting the text in and the panel moves to the right with so that there is an even space on both sides of the blue panel?
-
Behaviour: "Set Text of Text Filed"
I am attempting to apply the behaviour "Set Text of Text
Filed" to a radio button pair (the NO of Yes, NO) in order to fill
in a text field with "skip to question 4"
However, when attempting to apply, I get an error message "no
ID. Set ID in the Property Inspector. I also not that while the
form text fields all have names (eg., "name", "street", etc.) The
"Set Text of Text Filed" behaviour windows shows them as "input
<unidentified> why?
The radio button name in the property inspector is "radio"
and the checked value is "yesno". I see no other fields on the
property inspector to apply an ID. I have even encapsulated the
"NO" radio button in a "DIV" tage with a ID=NO. But it also does
not show up in the "Set Text of Text Filed" behaviour window. Still
shows them as "input <unidentified>. Why?
Can anyone advise what I am doing wrong?
The "set text of container" and the "set text of status bar"
behaviours work just fine.
CarverW> why?
Because this behavior requires you to select elements with an
ID assigned,
not just a name (I am referring to the TARGET of the
behavior, not the
trigger).
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"CarverW" <[email protected]> wrote in
message
news:fldsdh$q60$[email protected]..
>I am attempting to apply the behaviour "Set Text of Text
Filed" to a radio
> button pair (the NO of Yes, NO) in order to fill in a
text field with
> "skip to
> question 4"
> However, when attempting to apply, I get an error
message "no ID. Set ID
> in
> the Property Inspector. I also not that while the form
text fields all
> have
> names (eg., "name", "street", etc.) The "Set Text of
Text Filed" behaviour
> windows shows them as "input <unidentified> why?
>
> The radio button name in the property inspector is
"radio" and the
> checked
> value is "yesno". I see no other fields on the property
inspector to apply
> an
> ID. I have even encapsulated the "NO" radio button in a
"DIV" tage with a
> ID=NO. But it also does not show up in the "Set Text of
Text Filed"
> behaviour
> window. Still shows them as "input <unidentified>.
Why?
>
> Can anyone advise what I am doing wrong?
>
> The "set text of container" and the "set text of status
bar" behaviours
> work
> just fine.
>
> CarverW
> -
Behavior: Set Text of Text Field
I have an onclick event that sets the value of a form element
to "Hi there" using the Set Text of Text Field behavior. Works
great. The reference book I have says you can also place valid
JavaScript code in the box that appears by placing it in brackets {
}. Anyone done this?
What I am trying to do is to set the value of field2 to the
value of field1 by using code like this:
{document.form1.field2.value = document.form1.field1.value}
Of course, can't get it to workSomething like this
<input type="text" name="field1"
onchange="this.form.field2.value=this.value" />
<input type="text" name="field2" />
This will update field2 to field1's value when you tab out of
the field - or
you can alter onchange to onkeyup to have field2 updated as
you type into
field1
Cheers,
Jon
"DreamerJim" <[email protected]> wrote in
message
news:gioo4k$cmb$[email protected]..
>I have an onclick event that sets the value of a form
element to "Hi there"
> using the Set Text of Text Field behavior. Works great.
The reference
> book I
> have says you can also place valid JavaScript code in
the box that appears
> by
> placing it in brackets { }. Anyone done this?
>
> What I am trying to do is to set the value of field2 to
the value of
> field1 by
> using code like this:
>
> {document.form1.field2.value =
document.form1.field1.value}
>
> Of course, can't get it to work
> -
Set text of status bar problem
I'm trying to hide the url in the status bar of the links in
a graphic where I have a mapping situation. I click on the map box
and select the set text of status bar behavior but it will not work
while the mouse is over the mapped area. When I move my mouse over
the mapped area it displays the url and when I move away from it it
displays the text that I want to have when I mouse over. Any help
is greatly appreciated. I've including the code below.
<img src="images/productsimage.gif" alt="products"
width="750" height="550" border="0" usemap="#Map" />
<map name="Map" id="Map"><area shape="rect"
coords="31,60,171,188" href="
http://www.airtight.net/"
target="right" alt="airtight" onmouseover="MM_displayStatusMsg('To
order contact Sales at [email protected]');return
document.MM_returnValue" />
<area shape="rect" coords="232,81,499,138" href="
http://www.blue.com" target="right"
alt="Blue" onmouseover="MM_displayStatusMsg('To order contact sales
at [email protected]');return document.MM_returnValue" />.oO(SimoneStanich)
>I'm trying to hide the url in the status bar of the links
in a graphic where I
>have a mapping situation.
Why do you want that? The status bar is part of the browser's
GUI and of
absolutely no interest for the website author. Additionally
recent
browsers will prevent scripts from manipulating it, so you
should think
about it again.
>I click on the map box and select the set text of
>status bar behavior but it will not work while the mouse
is over the mapped
>area. When I move my mouse over the mapped area it
displays the url and when I
>move away from it it displays the text that I want to
have when I mouse over.
You want to use the 'title' attribute to show additional text
on mouse-
over.
Micha -
Set text of layer...again
hi everybody
any ideas as to why when i use the set text of layer
behaviour i'm losing the hand cursor when you mouseover the link?
the behaviour works fine, but i'm getting the text cursor, so it
doesn't look like a link when you view the page, although it
works...i've tried changing the cursor option in the css, but that
still doesn't seem to make any difference...thanks in advance
saraIt would have nothing to do with the STOL behavior, but
rather what you are
pasting into it.
Any event handler directly on an <img> tag will fail to
produce the pointer.
You need to make sure that when applying behaviors directly
to <img> tags,
you always use the <A> onMouse event. Try that....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"sara-jane.s" <[email protected]> wrote in
message
news:e7j97s$7co$[email protected]..
> hi everybody
>
> any ideas as to why when i use the set text of layer
behaviour i'm losing
> the
> hand cursor when you mouseover the link? the behaviour
works fine, but
> i'm
> getting the text cursor, so it doesn't look like a link
when you view the
> page,
> although it works...i've tried changing the cursor
option in the css, but
> that
> still doesn't seem to make any difference...thanks in
advance
>
> sara
>
Maybe you are looking for
-
Feature Request: Record actions in Photoshop Elements
I would sincerely like the ability to record actions. I can't find actions on the net that replicate my standard workflow. Larry Message title was edited by: Brett N
-
PDE-PDS001 cannot compile pu against 10g database
Error occurs when compiling form/library 10as/10g db database version 10.1.0.2 forms version 9.0.4.0.19 also forms6i patch15 library that can be succesfully compiled against ver 8.1.7.3 and 9.2.0.3 cannot be compiled against 10g database PDE-PDS001 C
-
Hi Gurus, I am not in a position to see the values in the form 16, what is procedure, can any one explain the procedure. thanks in advance //sri
-
Multisim 8.0 - Reports menu is missing.
In our college we are using Multisim 8.0.0.0 installed as a shared app on an application server, and its been pretty smooth over the years. Recently one of our lecturers updated some assessment materials and for the first time included several funct
-
WRT54G ethernet cable not being recognized with ps2
As of yesterday I had no problems with my wireless router but this morning there was a bad thunderstorm and now when I go to connect to the internet through it it says "Connection failure! The network cable is disconnected." but if I wait about thirt