Images in 9i at design time
Hi,
Can anyone help me to show the image in design time.
Iam not able to get the gif image in the design time.
If i run the form on the web i get the image.
all the images are in (GIF format).
Regards
Mohd,
The Forms design time expects the images (actually those on buttons) to be in ico format (assuming Windows as your development environment). There will be a new feature in Forms10g - upcoming - that allow you to show give images in teh design environment as well. This then will free you from having to maintain all icons as gif and ico files.
Frank
Similar Messages
-
How to load a file at design time?
I have a custom component which has a property that takes a path to an xml file.
I have a file chooser property editor associated with the property which returns a relative path. The component correctly resolves this path at runtime using the application context etc.. but I'm at loss on how to do this at design time.
The image component in JSC does this correctly as the image is loaded at design time using the url. I'm not sure how this is done but I'm looking for exactly the same functionality.
The only way I figured to correctly resolve the physical path of the file at design time was through the DesignBean.
In order to resolve the path and pass the resolved path to the component property I need to intercept property changed event and change the property value. However doing this in PropertyChanged(..) method of DesignInfo bean for my component doesn't do it as this is called 'after' the property value is set and changing the property value at this point results in a circular loop.
Is there any way to accomplish this? Any help is appreciated.
Thanks.Is this still unresolved? I'm sure you've read everything at "Building Custom Components"
http://developers.sun.com/prodtech/javatools/jscreator/reference/index.jsp#Building_Custom_Components
by now. I don't have the answer, but if it's still a problem, I'll work with you to figure it out. -
RoboHelp 8 crashes when clicking See Also tab of Design-Time Control Properties
My project was previously in RoboHelp 7 and is a merged project. I copied a topic with see also buttons and want to edit the links. I right click the button and select Design-Time Control [name] Properties and click the See Also tab. RoboHelp crashes every single time. Error message:
EventType : BEX
P1 : RoboHTML.exe
P2 : 8.0.0.203
P3 : 4944f3bb
P4 : CLIENTMONTEREYDB.dll
P5 : 8.0.0.203
P6 : 4944e14d
P7 : 000016aa
P8 : c0000409
P9 : 00000000
One thing that is a little strange is that some of the buttons have Design-Time Control [object1] Properites and some have Design-Time Control [RelatedTopic] Properties, but all have the See Also tab.
If I insert a new See Also button using Insert > See Also, the menu choice is Design-Time Control [See Also] Properties and the tab is See Also. Click the tab and RoboHelp crashes.
If I insert a new Related Topics button using Insert > Related Topics, the menu choice is Design-Time Control [Related Topic] Properties and the tab is called Related Topics. Click the tab and RoboHelp does not crash.
I have a whole lot of these buttons I need to modify, so I'd appreciate if anyone knows of a solution to this problem.
Sample HTML for an offending button:
<!--Metadata type="DesignerControl" startspan
<object classid="clsid:A2F1FA63-C1E6-11d2-9140-006DC83B9955" border="0"
id="object1" style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px;
margin-right: 0px;" align="bottom">
<param name="_Version" value="65536" />
<param name="_ExtentX" value="1720" />
<param name="_ExtentY" value="582" />
<param name="_StockProps" value="13" />
<param name="ForeColor" value="0" />
<param name="BackColor" value="12632256" />
<param name="UseButton" value="-1" />
<param name="UseText" value="0" />
<param name="ControlLabel" value="See Also" />
<param name="UseIcon" value="0" />
<param name="Items" value="ChgSubErrSeverity - see also$$**$$" />
<param name="Image" value="" />
<param name="FontInfo" value="Verdana,8,0,,BOLD" />
<param name="_CURRENTFILEPATH" value="C:\DocsClassic\CARS-Maintenance\HelpSourceZip313\carsis\Changing_Submission_Error_ Severity.htm"
/>
<param name="_ID" value="object1" />
<param name="DialogDisplay" value="1" />
<param name="Frame" value="" />
<param name="Window" value="" />
<param name="ChmFile" value="" />
<param name="DisableJump" value="0" />
</object>-->
<object
classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11"
type="application/x-oleobject">
<param name="Command" value="ALink,MENU" />
<param name="Button" value="Text:See Also" />
<param name="Font" value="Verdana,8,0,,BOLD" />
<param name="Frame" value="" />
<param name="Item1" value="" />
<param name="Item2" value="ChgSubErrSeverity - see also" />
</object>
<!--Metadata type="DesignerControl" endspan-->Hello again
Bummer that!
First, I'll answer something I failed to earlier. You said that sometimes it says SeeAlso and sometimes it's object1. Here's the deal on that.
When you click Insert > See Also the first time in a topic, the control is named SeeAlso. If you copied and pasted or clicked Insert > See Also again, the first time you did that it would be object1 or OBJECT1 depending on whether you used the menu or you copied and pasted. This is because each of these must use a unique name. So is it possible that you disliked seeing object1 on some and you renamed so the second (or third) also was named SeeAlso? I could see that causing RoboHelp to gag.
Assuming that's not it, what about topic filenames or titles? Do any of them have unusual characters in the names? Any character other than 0-9, a-z, A-Z or an underscore ( _ ) is suspect. Perhaps an odd character is tossing a monkey wrench into the works.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7, 8 or 9 within the day!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
Dynamically loading images?One at a time :(
codeworld....help...sos.....send in more troops....the titanic is sinking.....
The problem:
I am trying to load dynamic images in order without all of them attempting to load at once....
I have an array of images that I loop through depending on the gallery that will load up....but when i loop through the images all of them try to load.
What i need to happen is somewhere in the loop i guess....each image fully load....then goto the next image and fully load.....etc.....
Basically each image load one at a time in order......and the list is dynamic so uhhhhh HELP ......????
save narnia....save tinseltown.....awww hell sacrifice yo self and just save me .....ok ok......one of these i'm going to make work
....thanx for all the help....
this is kinda the basics of how i got the method looking that i will change
for(var i=0; i<listArray.length; i++)
//picListLoader is a custom class......its just the loaded picture and some variables attached to it.....
var picture:picListLoader = new picListLoader(pID, ptitle, pdesc, picURL, i );
picArray.push(picture);
addChild(picture);
i think instead of calling the class to create the individual objects......
i'm going to create a gallery object......and send in the info....and once all of the picture's urls and info is loaded into the object tell the gallery object to load each one of the pictures using one of the methods above......and that should cure my ills
smallville was saved once again................byMe... ...selfGlory..... .......(ok....saved by yall) thx a million
thelegendaryghost -
How to create a drop down box values on design time?
Hello,
I have a drop down box that I would like to edit on design time to have the valus 1 to 10.
Is it possible to doo it on design it or do I have to create a loop in the code to do that?See go to LocalDictionary->Data Type-> SimpleType Right Click and create a Simple Type giving some Package Name
Once u have created
There u will see Enumeration Tab and give Key Value Pairs by pressing New Button
Now Create a Context Attr and at Type property select that three dots
Then go to Dictionary Simple Type and select the Package u have given
then select the Simple type u have created
Then assign the context Attr to the UI Element
Message was edited by: krish kanth -
Report does not print exactly same as it appears at design time
Hello,
I am using SAP Crystal report with VS 2010.
I designed a report. At design time every thing appears fine. Margins are set to 0, printer is selected and page size is custom.(right click on report, design>pagesetup)
When I use <reportname>.printtoprinter(), it dramatically changes the text size and margins of the report in hard copy. I tried literally everything for this. Especially It adds nearly 2 inches extra margin at top.Also , at run time it changes the font size to 8 or 9 points if i have set it to 12 at design time.
I get the same problem if I do following:
crystalReportViewer1.ReportSource = rptRcAbh;
crystalReportViewer1.PrintReport();
HOWEVER!!
When I do this:
crystalReportViewer1.ReportSource = rptRcAbh;
AND when I manually click the print button of crystal report viewer, i get EXACTLY SAME result as design time. This is what I am expecting from printoprinter() method. But Its changing result dramatically.
Why is this happening? Am I forgetting any setting?
I must use reprot.printtoprinter() method here. Because I am printing the bill receipt. I dont want the user to go to printpreview then click print. AND I must get same result as design on printed page.
Please help me. I am in urgent need.Hi Don,
Firstly I am very very thankful to you for replying me.
I know I must have irritated you a bit cuz I was expecting everything ready which I should have :P
but I was in urgent need and there was no time for me to read everything. I must say a thing that I did not get good search results on printcontroller when I used search box of this website.
Well Thanks again for helping me in deed.
I am sure this must be the problem for many people across the globe, hence I am posting the exact code that helped me to print the document Accurately:
rptReceiptAbhishek rptRcAbh = new rptReceiptAbhishek();
// rptRcAbh.Load("rptReceiptAbhishek.rpt", OpenReportMethod.OpenReportByTempCopy); i did't need this line
//////// Directly Entering data to the fields of the report.
CrystalDecisions.CrystalReports.Engine.TextObject txtname;
CrystalDecisions.CrystalReports.Engine.TextObject txtaddress;
txtname = (CrystalDecisions.CrystalReports.Engine.TextObject)rptRcAbh.ReportDefinition.ReportObjects["txtRptName"];
txtname.Text = cboInitials.Text + " " + cboDonarName.Text;
txtaddress = (CrystalDecisions.CrystalReports.Engine.TextObject)rptRcAbh.ReportDefinition.ReportObjects["txtRptAdd"];
txtaddress.Text = txtAddess.Text;
rptRcAbh.PrintOptions.PrinterName = Properties.Settings.Default.PrinterName;
System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();
CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions rasPROpts = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions();
CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions newOpts = new CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions();
pDoc.PrinterSettings.PrinterName = Properties.Settings.Default.PrinterName;
pDoc.PrinterSettings.SupportsColor.ToString();
//if (pDoc.PrinterSettings.SupportsColor)
// MessageBox.Show("Printer Supports Color", pDoc.PrinterSettings.SupportsColor.ToString());
rasPROpts.PrinterName = Properties.Settings.Default.PrinterName;
// rasPROpts.PaperSize = (CrPaperSizeEnum)pDoc.PrinterSettings.PaperSizes[cboCurrentPaperSizes.SelectedIndex].Kind;
//rasPROpts.PaperSource = (CrPaperSourceEnum) pDoc.PrinterSettings.PaperSources[cboDefaultPaperTrays.SelectedIndex].Kind;
// rptReceiptAbhishek rpt = new rptReceiptAbhishek();
var rptClientDoc = rptRcAbh.ReportClientDocument;
rptClientDoc.PrintOutputController.PrintReport(rasPROpts);
MessageBox.Show("Printing in progress. Make sure that printer is not turned off.", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information); -
Design Time for Processes and Forms
Hi experts,
When trying to open "Design Time for Processes and Forms" in order to create a process, I get a dump.
Could you let me know what could be wrong ? config? etc..
Hereunder is a sample of what I found in T.code ST22
The following checkpoint group was used: "No checkpoint group specified"
If in the ASSERT statement the addition FIELDS was used, you can find
the content of the first 8 specified fields in the following overview:
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
referenced node must exist
READ TABLE object_hierarchy_nodes TRANSPORTING NO FIELDS
WITH KEY node_id = object_hierarchy_node_wa-ref_node_id
>>> ASSERT sy-subrc = 0.
ENDIF.
provider has to be specified (except in case of recursion)
IF object_hierarchy_node_wa-ref_node_id IS INITIAL.
ASSERT object_hierarchy_node_wa-provider_id IS NOT INITIAL.
ENDIF.
Thanks in advance,
Louisnote: Note 1075650
Re: Assertion_Failed dump when accessing Design Time for Processes & Forms EP3
regards,
Prakesh. -
I just have a procedure in which i do have a dynamic query.It has certain parameter on the basis of which different set of columns will be returned in the result set. Now I want a SSRS report which can automatically pick up the columns from the Procedure
result.without declaring column Names at Design Time(As i don't know which columns will come in the result set)
PS:- I can't make separate matrix/table with their respective column names and show/hide them as I don't know which columns will come from procedure.
Thanks
KanwarCan you please give a reference.I want a matrix or table to display the result set as is returned from the procedure.(Lets just say you keep the columns fixed).How without writing the column Names in table/matrix it automatically generates
the columns similar to resultset.
A bit of background for Understanding scenario:
We want to give users the column names, arithmetic operators,etc.(From UI) and then send the query to SSRS. This query will be sent to SQL procedure(which is being used in RDL).What after that ??? . SSRS is not changing the result set dynamically.So as the
result set is not definite i want table/matrix to populate the data returned from procedure automatically (without defining columns at design - time).
Thanks
Kanwar -
Dump while Executing Hrast_dT (Design time of HCM Process and Forms)
Hi All,
I am getting Syntax Error Dump while Executing Hrast_dT tcode (Design time of HCM Process and Forms) and here with i have mentioned the source code also ist contained in standard class.
*METHOD constructor.
DATA:
badi_context TYPE REF TO lcl_badi_context.
CALL METHOD super->constructor
EXPORTING
form_scenario = form_scenario
form_scenario_service = form_scenario_service.
DATA:
t5asrfscnsrv_wa TYPE t5asrfscnsrv.
SELECT SINGLE * FROM t5asrfscnsrv INTO t5asrfscnsrv_wa WHERE form_scen_srv EQ form_scenari
ASSERT sy-subrc EQ 0.
ASSERT t5asrfscnsrv_wa-service_type = 'GENSRV'.
fill_table_metadata( ).*
i followed this link also..its not working for me..
[Re: Assertion_Failed dump when accessing Design Time for Processes & Forms EP3]
Regards,
ParthiHello Parthasarathi,
Please, try to implement the note 1075650. -
Ver 4: Still no support for Includes or Design Time Stylesheets?
Wow...well, without either of these I can't make use of this
product. I guess I'm confused at what types of users this product
may be marketed toward, although with the amount of focus put on
Blogs and Blogging and lack of focus on requests already made in
this forum for some time I'm getting a better idea. Hey, if they
want to "dumb this down" and make it a price point product that
purposely sits lower on the totem pole than Dreamweaver, then I
think that ought to be made more clear in the marketing materials.
I guess what's frustrating is that it's touted that it "uses the
Dreamweaver HTML Engine" but can't implement a feature like Design
Time Stylesheets? Would this put it too close to Dreamweaver in the
product line? I certainly don't think so but if it did implement
such a feature it would increase the demographic that could make
use of such a great product as many users are not going to rewrite
Includes OUT of their existing sites just to be able to use it.
Most intermediate to advanced designers will almost always,
and have been taught, to use includes to minimize page changes in
multiple places...it's such a common thing to do. But unless an
included page can be edited inline I have no way to turn my users
loose with this app. It seems reasonable to implement Design Time
Stylesheets like Dreamweaver does in which case, the users could
edit the included page directly and at least see it like it should
look with formatting which they can't do now because of the lack of
an applied stylesheet when opening the include file directly.
Do they expect that once we've written a site using includes
we should have our content providers use Dreamweaver? I don't know
about the rest of you but that's asking for a heck of a lot of
trouble turning non-designer/developers loose with
Dreamweaver...even using Templates.
Sorry for the rant, I'm just a bit frustrated as I really
need an app that can let me make use of "Content Providers" in our
company. And don't get me wrong, I'm a long time Macromedia/Adobe
supporter...just hoped something would happen with v4 that didn't
and was pretty sure it would based on user input on this and other
forums.
If anyone has ideas on workarounds for this problem I'd love
to hear!
Thx,
MikeHi. I'm going to reopen this thread instead of starting a new
one. Maybe someone here can help me figure out how Contribute can
solve my client's editing woes.
His site is built in ColdFusion, with template information
that's stored in the database for each page. Currently this is what
happens, simplified.
1. User requests /foo.cfm
2. Database looks up header, footer, and template to use for
/foo.cfm, or the page can use "no template" in which case
whatever's in the page gets put between the header and footer.
3. The template or the page will contain one or more
"editable regions", to use a Dreamweaver term. These blocks of HTML
are pulled out of the database, and can currently be edited within
the CMS by a browser-based WYSWYG editor.
The problem is, the WYSIWYG editor in question isn't up to
the task. Contribute seems to be, but I can't figure out how to fit
it into a workflow compatible with this site!
We don't use Dreamweaver and from what I've seen Dreamweaver
templates aren't going to work in this application. It seems that
if you make a change to the template, Dreamweaver has to go and
update all 800 pages that use the template ... ??!? ... if so,
lame.
I don't mind pulling out all the HTML content snippets from
the database and making a "database" on the filesystem of files
that can be edited in Contribute. No problem. One of these snippets
may be a "contact us" box or something that's used on 100 pages
throughout the site, so I'm not going to put stuff like that
separately on every page.
If I do this, though, my snippets when I open them to edit
them in Contribute are missing their CSS. This is because the CSS
is set up in the header file, which is not included in the snippet
HTML, obviously. The snippets also won't have the header and footer
navigation and stuff, but I can live with that.
How can I get the CSS to show up for my client when he edits
the HTML snippets?
The only solution I can think of is to put a stylesheet
include into every snippet, and then pull that out with a regular
expression from EVERY include at runtime whenever I display that
HTML to the end user. Talk about a gross, ugly, non-extensible
hack. Please tell me there's a better way...
Thanks for reading,
- Andrew. -
JSF Design Time View Not working correctly for ADF/JSF components
My project is not using any external tag libraries. It is based purely on ADF core/html and JSF core/html components. The design time view does not show the appropriate presentation, everything is shown as nexted frame containers (I suppose how you would show a component that does not have a visual representation).
If I create a new project and copy my jsp (jsf) pages over they show perfectly. I did this activity and all was going well in the new project and then I lost the design time view again. I cannot tell you what I did to cause the issue, maybe it was a modification to the web.xml as has been suggested in some other threads. Can anyone tell me what I should be looking for that causes this problem, what corrective actions I might take to eliminate the issuesOk I have isolated this issue. In my phase listener I had this line of code:
private static final Logger _logger = Logger.getLogger(EigRequest.class.getPackage().getName());
and I changed it to
private static final Logger _logger =
Logger.getLogger(EigRequest.class.getName());
and design mode started to work. I guess either of the above works for me although I do not understand why the line works when you run the application but not in design mode.
Moral to the story is if something fails in any one of these types of decorators you will drop into a raw view mode. The question I have is if errors are occuring how do I figure out where they may be. There is no indication that anything is wrong with the exception that you lose most of the design mode functionality.
This was not a compile issue, this was not a runtime issue. It took me quite a few hours of writing a test program to validate that it was not just writing a phase-listener issue; then launching, editing, relaunching the application to find the problem. I will say that a good portion of the code came from a Eclipse project. If you add the offending lines of code while using JDeveloper you do not loose design mode immediately. You only see the problem the next time you start JDeveloper which complicates finding the problem. -
Create Adobe Form using Design Time for Processes and Forms
Hi all,
I am trying to create a form that have 3 fields:
1. pernr
2. ename
3. effective_date
I done all the necessary setup of BADI ,class, interface and form.
I need the step to step guide where you create the adobe form using the Design Time for Processes and Forms. Anyone have any idea?
Edited by: Siong Chao on Jan 3, 2011 4:54 AM
Edited by: Siong Chao on Jan 3, 2011 5:00 AMHi,
I couldn't get to your query..
What do you mean by step by step procedure for a design time & process for forms.
if you are a beginner and looking for basic examples to implement adobe forms there are lot of them in SDN, please search them.
let me know if your query was a very specific one.
Cheers,
Sai -
How to add values dynamically for custom property during design time?
I am trying to create a user control with custom properties. I have a property named Server.
And Values for this property is system dependent. I have the code that can generate the values and is working fine.
During the design time, when I include this control in my application, and type the property name, I want Visual Studio to prompt for the values. Like it
does for Alignment property for some controls shows Left, Right, Center.. during design time.
If the Values are static, I can use an enum and it works fine. I need help with dynamic values.You can't, afaik.
It's either an enum or you don't get that functionality of values.
There is no right left centre, "Towards the top right but just off centre" - which I just thought of... option for example.
Hope that helps.
Recent Technet articles: Property List Editing;
Dynamic XAML -
Does changing report connection at runtime require the same user/pwd used at design time?
I've recently integrated Crystal 13 into a web service to provide HTML reports served up within our web application. Sometimes reports would work and other times they would fail when attempting to connect to the database. The ConnectionInfo associated with the tables referenced in the reports bore the account info used at design time (in the Crystal IDE), what ever connection was set as the Datasource Location, this would include the server name, database name, and other attributes of the connection.
I found that any changes I make to table, sub-report connection info have no affect unless the UserID and Password match the UserID and Password saved with the report during design time. While generally searching online, I came across several references to this being and issue or suggestion when database connection problems dynamically running reports.
If this is by design?
How would I support customers who want to use my reports, but also require that they manage the db access accounts?
Thanks,
JeffHi Brian, thanks for the response.
It does make sense that subreports would not necessarily be constrained to the same connection as the container report, and the designer would not persist a password for any stored connection.
I'm on Windows 7 and up, Crystal 13 runtime, C# web service, sql 2008 r2 and up (native client).
After loading the report source, I call ReportDocument.SetDatabaseLogon to set userId, password, serverName, and databaseName pulled from web.config. I then pass the connection info and the ReportDocument to a recursive call that applies the connection info to each table in the report and each table in any subreport.
Based on your description, it sounds like I may be missing, and require, the SetDatabaseLogon call on each subreport (ReportDocument).
This seems to ring true and I think coincides with your description. Would you agree?
Thanks,
Jeff -
How to Test Design Time Fusion Customizations in JDeveloper
Hi
When we look at the wording and the diagram in the Oracle documentation, it says -
"After you create these customizations, you can test them locally in JDeveloper and then deploy them directly into the full test environment. You can also deploy your customizations to a sandbox."
2.1.2 Design Time Customization Workflow
http://docs.oracle.com/cd/E28271_01/fusionapps.1111/e16691/ext_lifecycle.htm#CHDIJJJJ
But the message in this OTN forum we are getting is that we have to deploy it to the server and cannot be tested out locally.
Could someone please clarify. The ability to test it out locally would be of tremendous help to us in reducing the development lifecycle.
Thanks
Srinivasa SunchuSorry for the long delay. Response from the colleague:
>
For SOA Jdev customizations there is nothing which can be tested locally in Jdev. The customized composite would need to be deployed to a standalone environment to test.
>
For other DT customizations i.e. customizations created in JDeveloper for ADF can be tested locally on integrated WLS. RT customizations created using composers require a deployed environment; the the customized definitions can be tested in sandboxes from which they can be published into production.
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/
Maybe you are looking for
-
Error when creating the form Pay ESS "Salary Statement"-Benefits and Payments
Dear All. I have a issue when genere the PayError when creating the form Pay ("Salary Statement"-Benefits and Payments) Thanks in advance Regards
-
Iweb '09 slideshow not working on website
I have created a photo page in iweb that includes a slideshow with downloading of pictures as an option. I used Fetch to put the webpage on my host. I've done this many times before and not had an issues. This time, the "play slideshow" button is vis
-
PDF Conversion of Smartform Output
Hi All, Requirement : Be able to provide customers with reprinting old invoices. As Is : We have a standard way of doing it by reissuing a print of the Invoice by going into transaction VF02. But in doing so we have a chance that if some master data
-
Wrong eMail used during iCloud setup.
Ok, i'm really hoping someone can help me here. I will try my best to descibe the problem and hope ye understand. I wasn't there at the time so I can only go by what he said and guess the rest of it. My Nephew got a 2nd hand iPhone4s and while he was
-
Hi all, Just got my first Mac a few weeks ago...woo So I've been trying to figure out this iPhoto stuff... I transferred all my photos from my old computer into the 'pictures' folder in my users folder, and then imported that entire folder into iPhot