Available objects and fragmentes depending upon template selection
Hi
We have a use case where we have several different templates. For each template the user is to have access to only some objects and fragmentes. For example for the car template the user have access to car_registration, number_of_doors. While for instance for the house template the user have access to address, city etc. Anyone know if this is possible with the LiveCycle designer?
Cheers
Tore
I've finally found a useful reference for doing this here:
http://developers.sun.com/prodtech/javatools/jscreator/reference/techart/intro_buildingcomps.html
Similar Messages
-
Problem in populating 2nd combo box depending upon the selection of 1st
Hi all,
I have 2 combo boxes on my jsp page ,say continent and country . obviously the data in 2nd box is dependant on selection made in the 1st . I'm using MySQL with tomcat 5.0.7 . and JSP.
The first combo box in one form and the 2nd in another. After submitting first i 'm populating the second combo also.
But the problem is after submitting the first form the page gets refreshing and i can't see the selected continent in the first combo box.
The javascript code used follows:
function callCapture(form)
var item = continent.cmbContinent.selectedIndex;
document.country.hidContId.value=continent.cmbContinent.options[item].value;
document.continent.action="country.jsp?hidContId="+document.country.hidContId.value+"&buttName="+document.country.buttName.value+"";
document.continent.target="_self";
document.continent.submit();
some one pls help me asap !Hi Reegz,
that's what i'm also doing and i'm successfull till populating the second combo box but how do I keep the previous inputs on the page and reload the page based on the change of a selection box?
Is their any mistake in the javascript code:
Here is the code:
function callCapture(form)
var item = continent.cmbContinent.selectedIndex;
document.country.hidContId.value=continent.cmbContinent.options[item].value;
document.continent.action="country.jsp?hidContId="+document.country.hidContId.value+"&buttName="+document.country.buttName.value+"";
document.continent.target="_self";
document.continent.submit();
Pls help me... -
Every iWork '09 app crashes upon template selection
Installed it last night, and Numbers and Pages were both hanging, then crashing on choosing the blank template. When I choose the Grocery template and Checklist template in Pages and Numbers respectively, they both displayed the template and then immediately crashed as soon as I clicked the mouse to try and interact with them.
I can choose any template in Keynote, it just crashes when I try to double-click a title to edit it, or do anything really.
As the apps start to beachball an occurence of ATSServer appears in Activity Monitor, taking up about 50% CPU - I don't know if this is relevant.
I have already re-downloaded the .dmg to check if it was corrupted. Re-installed twice with it, no luck. Deleted all instances of "iwork" in /Library/Preferences and ~/Library/Preferences and the receipt in /Library/Receipts and re-installed - again no change. Repaired permissions out of desperation - no difference.
Here are a couple of errors for each app:
Pages
Clicked the blank template - hang and then crash: http://pastebin.com/f57b85f57
Clicked the Grocery template, it loads, then clicking the document caused a crash: http://pastebin.com/f1f32ab0d
Numbers
Clicked the blank template resulting in a hang and crash: http://pastebin.com/f6b932e2
Clicked the Checklist template, it loads, then clicking the document caused a crash: http://pastebin.com/f1410a857
Keynote
Choose Gradient template, 1280x720, clicked Chart button (the graph appeared and I tried to move it), then it crashed: http://pastebin.com/f288c95f2
Choose blank template, 1024x768, double-clicked the title resulting in a crash: http://pastebin.com/f22b27654
Can anyone shed some light on this? I'm completely and utterly stuck.I think eyeless is on the right track as far as a font or fonts being part of the issue. Another thing to try is to use Font Book to see if any fonts are corrupt/bad, or if there are duplicate fonts. Font Book is in the Applications folder, and here are the steps to try:
1. Once Font Book is launched, make sure you have "All Fonts" selected in the Collection column.
2. Then click on a font name in the Font column, and Select All from the Edit menu.
3. Choose "Validate Fonts" from the File menu.
- This tracks down fonts that may be corrupt.
4. Once that is done, choose "Resolve Duplicates" from the Edit menu.
- This lets you know if you have more than one copy of a font.
Hopefully, once those two things are done you won't see the crash. I know corrupt fonts have caused me no end of grief. -
Hi !
I am doing a little mini-game but i have a problem with HitTestObject and his hitbox
Look at those images :
Here HitTestOject == 1 but it should be i want HitTestOject to react like this :
This is weird because for me the wall is well cropped, because if i select a space near the rectangle it doesn't trigger it.
Thanks !http://www.mikechambers.com/blog/2009/06/24/using-bitmapdata-hittest-for-collision-detecti on/
-
Jtable set cell Font and Color depending on JTree selection
Hello all,
I have the following problem:
A JTree displays certain values. On selection of one value in the JTree I would like to mark certain cells in a JTable. For instance: If value1 is selected in the tree, set bold font in cell1, cell2 and cell3. If value2 is selected in the tree, set bold font in cell35 and cell36.
I have a renderer that sets my default font, color, foreground and background, but how I set now dynamically single cells in the JTable. I would accept a solution where instead of changing the font in a cell to bold, the cells will be selected.
Thank you for any replies,
lexdabearI'm looking too... If you found the solution to just change the font to a specific cell? please shared...
-
Can we hide column in a query depending upon the variable selected
Hi all,
let us say my report have 10 column.
now i am giving user option to select the values (let us say 'a' or 'b')
columns must be displayed depending upon the value selected by user ..
for example if user has selected 'a' then first five columns should be displayed..and if user has selected 'b' last five column should be displayed..(it will be OK even if we can hide the columns depending upon the selection )
Is it possible in BEx...please let me knowI did it sometime back. A bit complicated process.
Create an infoobject, manually enter the values "keyfig1" and "keyfig2".
Include this infoobject in the filters and restrict it using a "ready for input" variable.
Now create two formula variables.
Write a customer exit such that when you select "keyfig1", first formula variable's value should be set to 1 and other one's to 0.
Then in the query create two calculated key figures, multiply both with the formula variable. Also supress column (all active value == 0).
Then it will show the key figure which you have selected.
Pravender -
How to make a value changed based upon values selected in dropdown menu
Hi,
I am making my first Dreamweaver website using Dreamweaver CS6 on a windows 8 PC.
I am trying to make a website where the user selects different criteria; in this example an ipod's model, condition and size from three seperate dropdown selections (similar to www.itrado.co.uk) and then based upon these selections a value for their ipod is shown. However i cannot work out how to display a value which remains on the same page and changes based upon the values which have been selected from the dropdown boxes. I was planning on creating a database and then creating a simple code which retrieves the value from the database which corresponds to the three selected values, however i am not sure how to go about doing this.
Any help would be greatly appreciated.
Many Thanks,
HenryYou need scripts for this. Try this jQuery tutorial
http://anthonygthomas.com/2010/03/14/display-form-fields-based-on-selection-using-jquery/
Nancy O. -
Significance of the include Reservations and include dependent reservation
Dear friends,
Please throw some light regarding significance of the include Reservations and include dependent reservations in OPJJ and impact of both settings.....Hi R.S.,
In the material availability check
- include reservation means it will take the material reservations, while doing material availability check
and in dependent reservation means it will take into account the orders, purchase orders...
So while doing availability check in PP orders so here in OPJJ we will define what PP check rule can be defined for which elements which should be accounted for to determine the components availability in the production order.
Hope this clarifies your question. Please let me know if there is any doubt.
Regards,
Abhijeet -
Build dynamic query depending upon selection of table and columns
Hi ,
I want your views on following requirement :
we r doing generic export to excel functionality .
1.User will select multiple tables and according to tables ,columns on that table will select
2.There can be multiple table
3.depending upon column and table selection , we have to build dynamic query and execute .
Please let me know is it possible .If yes then please tell me how to do above requirement.
Thanks in advanceHi,
Identifiers cannot be used as bind variables, query are parsed
before evaluate bind variables. Identifiers like table name.
For excel you can use some like this:
SET MARKUP HTML ON ENTMAP ON SPOOL ON PREFORMAT OFF
SPOOL test_xls.xls
SELECT colum1||chr(9)||columN FROM tableName;
or CSV:
SELECT colum1|| ',' ||columN FROM tableName;
SPOOL OFF
SET MARKUP HTML OFF ENTMAP OFF SPOOL OFF PREFORMAT ON
For construct the query i suggest to read "Dynamic SQL Statements":
http://www.java2s.com/Tutorial/Oracle/0440__PL-SQL-Statements/0300__Dynamic-SQL.htm
http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/dynamic.htm
http://docs.oracle.com/cd/B10500_01/appdev.920/a96590/adg09dyn.htm
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:227413938857
--sgc -
How to create some columns dynamically in the report designer depending upon the input selection
Post Author: ekta
CA Forum: Crystal Reports
how to create some columns dynamically in the report designer depending upon the input selection
how export this dynamic report in (pdf , xls,doc and rtf format)
report format is as below:
Element Codes
1
16
14
11
19
10
2
3
Employee nos.
Employee Name
Normal
RDO
WC
Breveavement
LWOP
Sick
Carers leave
AL
O/T 1.5
O/T 2.0
Total Hours
000004
PHAN , Hanh Huynh
68.40
7.60
76.00
000010
I , Jungue
68.40
7.60
2.00
5.00
76.00
000022
GARFINKEL , Hersch
66.30
7.60
2.10
76.00
In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
Can anybody help me how do I design such report....
ThanksHi Developer life,
According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric values) in the details, add an filter to filter the data base on this column group, but if
the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
Similar threads with details steps for your reference:
https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings
If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
Any question, please feel free to let me know.
Best Regards
Vicky Liu -
Dependency between projects for presentations, BPM objects and external res
Hi,
I am trying to create a common project for all our exceptions, presentations and external resources...
I have updated the properties of the project1 for dependeny on project2(exceptions project)
but I am not able to see the user exception BPM Objects in the depended project to use...
Project 1 is having all code that needs to call the BPM objects, presentations and external resources on the Project 2
but these objects and presentations etc., are not visible to the project1.
please advice if I need to do anything in relation to configs apart from making the Project 1 properties to dependency --> check box ticked and selecting the Project 2.
thanks
SatyaWhen you use the project dependency feature, you do not see the BPM Objects in the Catalog. You see them (shown in blue) when you add variables in the process that refer to BPM Objects from the master project. You see them when you create a new attribute in your BPM object that is an BPM Object in the master project. You see them when you use them in logic inside your methods.
Dan -
Showing a field depending upon selection
Hi,
I have created a executable type program. The generated screen has two radio buttons and a push button.
Depending upon the radio button selected(push button need not be clicked) i want to display a input field.
How can we achieve this?
Thanks & Regards,
VijithREPORT zrsdvsr1
LINE-SIZE 220
LINE-COUNT 65(5).
TYPE-POOLS : slis.
TABLES
TABLES: vbak.
DATA DECLARATIONS
Ranges
RANGES: r_posnr FOR vbap-posnr.
DATA: BEGIN OF t_veramt OCCURS 0,
vbeln TYPE vbap-vbeln,
posnr TYPE vbap-posnr,
matnr TYPE vbap-matnr,
netwr TYPE vbap-netwr,
mwsbp TYPE vbap-mwsbp,
END OF t_veramt.
DATA: BEGIN OF t_disamt OCCURS 0,
vbeln TYPE vbap-vbeln,
posnr TYPE vbap-posnr,
matnr TYPE vbap-matnr,
netwr TYPE vbap-netwr,
mwsbp TYPE vbap-mwsbp,
netwr_v TYPE vbap-netwr,
mwsbp_v TYPE vbap-mwsbp,
disc_val TYPE vbap-mwsbp,
END OF t_disamt.
*& ALV FIELDS
DATA : alv_fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
alv_layout TYPE slis_layout_alv.
SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_ver RADIOBUTTON GROUP g1 USER-COMMAND rad DEFAULT 'X',
p_sab RADIOBUTTON GROUP g1 .
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
SELECT-OPTIONS: s_vbeln FOR vbak-vbeln NO INTERVALS MODIF ID gr1.
PARAMETERS: p_dwfile TYPE rlgrap-filename
DEFAULT 'C:\test1.txt' MODIF ID gr2, "#EC NOTEXT
p_upfile TYPE rlgrap-filename
DEFAULT 'C:\test.txt' MODIF ID gr3. "#EC NOTEXT
SELECTION-SCREEN END OF BLOCK b2.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_upfile.
**************F4 Help For Input File Name****************************
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
field_name = 'C:\'
IMPORTING
file_name = p_upfile.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_dwfile.
**************F4 Help For Input File Name****************************
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
field_name = 'C:\'
IMPORTING
file_name = p_dwfile.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF p_sab = 'X'.
IF screen-group1 = 'GR1' OR screen-group1 = 'GR2'.
screen-active = '0'.
screen-invisible = '1'.
ELSE.
screen-active = '1'.
screen-invisible = '0'.
ENDIF.
MODIFY SCREEN.
ELSE.
IF screen-group1 = 'GR3'.
screen-active = '0'.
screen-invisible = '1'.
ELSE.
screen-active = '1'.
screen-invisible = '0'.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
START-OF-SELECTION
START-OF-SELECTION.
Check Radio Button
IF p_ver = 'X'.
PERFORM get_details_open_so_vertex.
ELSE.
PERFORM get_details_open_so.
ENDIF.
Display the output.
PERFORM diplay_report .
regards
vinod -
Hi,
I have a MBP 13' Late 2011 and Yosemite 10.10.2 (14C1514).
Until yesterday, I was using Garmin ConnectIQ SDK and all was working fine.
Yesterday, I've updated my system with latest security updates and Xcode updates too (Version 6.2 (6C131e)).
Since, I can't launch the ConnectIQ simulator app, I have this message in console :
8/04/2015 15:19:04,103 mds[38]: There was an error parsing the Info.plist for the bundle at URL Info.plist -- file:///Volumes/Leto/connectiq-sdk-mac-1.1.0_2/ios/ConnectIQ.bundle/
The data couldn’t be read because it isn’t in the correct format.
<CFBasicHash 0x7fa64f44e9a0 [0x7fff7dfc7cf0]>{type = immutable dict, count = 2,
entries =>
0 : <CFString 0x7fff7df92580 [0x7fff7dfc7cf0]>{contents = "NSDebugDescription"} = <CFString 0x7fa64f44f0a0 [0x7fff7dfc7cf0]>{contents = "Unexpected character b at line 1"}
1 : <CFString 0x7fff7df9f5e0 [0x7fff7dfc7cf0]>{contents = "kCFPropertyListOldStyleParsingError"} = Error Domain=NSCocoaErrorDomain Code=3840 "The data couldn’t be read because it isn’t in the correct format." (Conversion of string failed.) UserInfo=0x7fa64f44eda0 {NSDebugDescription=Conversion of string failed.}
I have looked at this file and it looks like a binary plist
bplist00ß^P^V^A^B^C^D^E^F^G^H
^K^L^M^N^O^P^Q^R^S^T^U^V^W^X^Y^Z^[^\^]^^^_ !"$%&'()'+,^[\CFBundleNameWDTXcodeYDTSDKName_^P^XNSHumanReadableCopyrightZDTSDKBuild_^P^YCFBundleDevelopmentRegion_^P^OCFBundleVersi on_^P^SBuildMachineOSBuild^DTPlatformName_^P^SCFBundlePackageType_^P^ZCFBundleShortVersionString_^P^ZCFBundleSupportedPlatforms_^P^]CFBundleInfoDictionaryVersion_^P^RCFBundleE xecutableZDTCompiler_^P^PMinimumOSVersion_^P^RCFBundleIdentifier^UIDeviceFamily_^P^QDTPlatformVersion\DTXcodeBuild_^P^QCFBundleSignature_^P^ODTPlatformBuildYConnectIQT0611[iph oneos8.1o^P-^@C^@o^@p^@y^@r^@i^@g^@h^@t^@ ^@©^@ ^@2^@0^@1^@5^@ ^@G^@a^@r^@m^@i^@n^@.^@ ^@A^@l^@l^@ ^@r^@i^@g^@h^@t^@s^@ ^@r^@e^@s^@e^@r^@v^@e^@d^@.V12B411RenQ1V14C109Xiphoneos TBNDLS1.0¡#XiPhoneOSS6.0YConnectIQ_^P"com.apple.compilers.llvm.clang.1_0S8.1_^P^Tcom.garmin.ConnectIQ¡*^P^AW6A2008aT????^@^H^@7^@D^@L^@V^@q^@|^@<98>^@ª^@À^@Ï^@å^A^B^A^_^A?^AT^ A_^Ar^A<87>^A<96>^Aª^A·^AË^AÝ^Aç^Aì^Aø^BU^B\^B_^Ba^Bh^Bq^Bv^Bz^B|^B<85>^B<89>^B<93>^B¸^B¼^BÓ^BÕ^B×^Bß^@^@^@^@^@^@^B^A^@^@^@^@^@^@^@-^@^@^@^@^@^@^@^@^@^@^@^@^@^@^Bä
I guess it is a normal format but my system seems to be unable to read binary plist ?
I tried some stuff with plutil
plutil -lint Info.plist
Info.plist: Unexpected character b at line 1
Same for convert
plutil -convert xml1 Info.plist
Info.plist: Property List error: Unexpected character b at line 1 / JSON error: JSON text did not start with array or object and option to allow fragments not set.
I also try to download a fresh version of the connectIQ SDK and no changes.
Any idea ?
ThanksStep by step, how did you arrive at seeing this agreement?
-
iMac, Model Identifier iMac12,1 with 121.5" screen, 2.8 GHz Intel Core i7 processor, 8 GB 1333 MHz DDR3 memory, 1 TB internal hard drive, running Snow Leopard 10.6.8 from internal drive.
I want to install Yosemite onto a 1 TB external hard drive (OWC) , and keep Snow Leopard installed on the internal hard drive. I want to be able to boot from either system, depending upon circumstance (at least until Yosemite is stable). Is this possible?It is possible. I'll let you read some articles that cover the setup:
Starting from an external USB storage device (Intel-based Macs) - Apple Support
or
http://osxdaily.com/2013/06/22/boot-mac-external-drive/ -
I put an object and/or a text box on a page and then cannot select it - the Text cursor (not pointer, just the text cursor shows) is put on the object or text box and nothing happens. It is so frustrating! I then open up Everweb and the same thing, I create an object and then try and elect it to make it bigger etc and cannot. I know it must be something system wide as it happens in apps other than Pages.
I put an object and/or a text box on a page and then cannot select it - the Text cursor (not pointer, just the text cursor shows) is put on the object or text box and nothing happens. It is so frustrating! I then open up Everweb and the same thing, I create an object and then try and elect it to make it bigger etc and cannot. I know it must be something system wide as it happens in apps other than Pages.
Maybe you are looking for
-
Hi All I have an rdf report version 10g , registered in oralce apps 11i .I have one parameter for the report. When i pass the value for this parameter from SRS window , report is not giving output. But when i pass it as null it return the value.Its a
-
I am not able to play any audio in firefox. For ex, If I open a song from youtube, I am not able to listen to audio but same link in Chrome/IE works fine. Firefox '''used to be fine''' in my pc until someday '''it suddenly started behaving weird''' w
-
Cant buy apps with itunes credit
I just recently got a giftcard but i cant buy apps with it, it says it will be charged to my credit card but i got over 50 dollars in store credit
-
How can i have a password verification code using swing?
can u pls give me codes that i can study with.. tnx alot! it should b a GUI
-
After latest update, all the documents got lost, have no backup, what can I do and why this happen?