List with pagination
I would like to create a panel like this:
View image: Screenshot Create a new
Can you show me some simple example with slider? And also the biggest problem how I can open a different window based on the selection?
How I can create a small JavaFX window which looks like the picture.
Use a ListView with a custom cell factory to display the graphic.
Similar Messages
-
Select list with pagination in Interfactive report
Hi all
Iam using apex 3.2.1.
iam using interactive report it contains 15 thousand records.By default only two options are there in interative report x to y and x to y of z pagination. it is very difficult to finding the particular range rows.
In Sql report select list with pagination and search engine (set based pagination) are provided.
i want to use those options in in my interactive report
i f any one knows about the solution please provide me information.
Thanks in advance
baluhi jari,
In the HTML header i added this code
<script type="text/javascript" src="#APP_IMAGES#jquery-1.4.4.min.js"></script>
<script type="text/javascript">
function htmldbIrtPagination(pRet){
var p=$.trim($('#apexir_DATA_PANEL').find('td.pagination').find('span.fielddata').text());
var a=new Array();var n=new Array();a=p.split(' ');
$.each(a,function(i,v){if(!isNaN(v)){n.push(v)}});
n.push($v('apexir_NUM_ROWS')*1);
switch(pRet){case 'first':return n[0];case 'last':return n[1];case 'max':return n[2];case 'show':return n[3];default:return n}
function RetMinRow(){
var lS=$v('apexir_NUM_ROWS')*1;
var lM=htmldbIrtPagination('max')*1;
var lN=lM*1/lS*1;
lN=Math.floor(lN*1);
if(lN*1>1){lN=lN*1*lS*1+1;if(lN*1>lM*1){lN=lN*1-lS*1}}else{lN=lM*1}
return lN
</script>and in region footer
<div id="first_last"><table><tr><td style="cursor:pointer;cursor:hand">
<img align="absmiddle" alt="<<" title="<<" src="#IMAGE_PREFIX#srmvall.gif" onclick="gReport.navigate.paginate('pgR_min_row=1max_rows='+$v('apexir_NUM_ROWS')+'rows_fetched='+$v('apexir_NUM_ROWS'))" />
</td><td style="cursor:pointer;cursor:hand">
<img align="absmiddle" alt=">>" title=">>" src="#IMAGE_PREFIX#smvall.gif" onclick="gReport.navigate.paginate('pgR_min_row='+RetMinRow()+'max_rows='+$v('apexir_NUM_ROWS')+'rows_fetched='+$v('apexir_NUM_ROWS'))" />
</td></tr></table></div>Could give the suggestion why it is giving like that.
Thanks
Balu
Edited by: Balu K on Nov 26, 2010 12:58 AM
Edited by: Balu K on Nov 26, 2010 1:03 AM
Edited by: Balu K on Nov 26, 2010 1:04 AM -
Empty report with pagination, rows not displayed
Dear HTML DB Team,
We have in our reports the next error: An empty report with pagination appears , no rows not displayed
The test case to reproduce the error:
1. Create "SQL report" with next report attributes in "Layout and Pagination"
a. Row ranges 1-15 16-30 in select list (with pagination)
b. Number of Rows : 15
c. Number of Rows (Item): empty
d. Max Row Count: empty
2. Fill the table on which the report is based with 17 rows
3. Go to the 2nd page of the report , pagination rows 16-17 of 17
4. Remove 2 rows from the table, refresh report
5, The pagination shows now 1 - 15 of 15 rows
- no rows displayed
- no "previous button" ( only )
- no way to get the rows displayed, except logging out and in again
Any suggestions?
ErikHello,
i encountered the same problem while developing in HTMLDB.
In application builder, i select application Application 106, then click on items, then click next ( the application has 22 global items). Now i want to take a look at the global items in application 105 (there are only 5). In the menu i click Builder - Application 106, select application 105 from Available Applications, click Go and Items. It shows no rows, but says that is displaying rows 1-5, and offers a Next button. No way to see/modify the items unless make a new session or go back to Application 106, Click Previous to see the first page of global items and then again switch to Appication 105 or click to the next button and then manually set pg_min_row=1 in URL.
One more question - is this forum the right place to report bug suspicions, or is there some other special place for that?
Best regards,
Andres -
Problem of POP LOV in a SQL Report with pagination
I am using a pop up lov (along with some other fields), HTMLDB_ITEM.POPUP_FROM_LOV(5, null, 'EMPLOYEE_LIST', '20', '50')), in a sql report. This is a report with pagination. Whenever I select any value from pop up lov on first page of the report it gets populated properly in the corresponding text field. But from second page onwards it doesnt populate any value.
For example, my report fetches a total of 50 rows, of which I am displaying 15 at a time. The popup lov comes with a text field for each row. Whenever I do select from popup lov for 1-15 rows which come on page 1, the values come up in the text field properly, but for rows 16-30 on second page, 31-45 on third 46-50 on fourth the values do not get populated. When I changed the pagination settings to display 40 rows..the values were still coming properly on page 1(1-40 rows) and not on the next page. Any clues how to resolve this problem?good find. this is a bug that has already been identified and will be corrected in the upcoming patch release for htmldb. a good work-around for now is to use the equivalent declarative options in the tool. so rather than coding your query like...
select ename , HTMLDB_ITEM.POPUP_FROM_LOV(2, null, 'DEPARTMENT', '20', '50') as "department" from emp
...just code it like this...
select ename , null as "department" from emp
...and then use the column attributes screen for your "department" column to indicate that you'd like that col to be rendered as a "Popup LOV (named LOV)" using your DEPARTMENT list of values.
hope this helps,
raj -
Sorting with paginating Java FX 8
Hi,
I need help. I'm using Java FX8 and I have a table with pagination, but sorting works only under the visible part of the list (TableView that is shown on page), not under the whole list, how to bind the data and make the sorting works correctly with pagination ?Please supply an executable sample
-
Scrollbars in WD ALV are replaced with paginator if there is 1 row
Hi!
I've set WDTABLENAVIGATION = SCROLLBAR for my WD application. This works fine if number of rows in the ALV is more the one. But if there is one row, then scrollbars are replaced with paginator.
But since I have horisontal scrollbar too, I need to have scrollbars even if there is only one row in the list.
Is it possible to do so?
Thanks!hi Siddharth,
loop at itab into wa.
wa-column3 = wa-column1 + wa-column2.
modify itab from wa.
endloop.
now bind this itab to the node which u binded to the node.
Madhu -
Interactive report with pagination
Hi,
i have create an interactive report with pagination .i have follow instraction form
[http://dbswh.webhop.net/apex/f?p=BLOG:READCAT:0::::CATEGORY:10800346812869]
i have put JQuary in Page HTML HEADER .
Now it show me that code in header in my page .No value in my pagination select list.
How can i solve this problem.
ThanksHi friends,
i have sort out that problem,
i have jus put JQuary code in JavaScript Section.
Thanks -
How to add item to a List with a bounded wildcard
Hi,
Is there a way to add a subtype instance to a List with a bounded wildcard? For example, say I have an
abstract class called Car. Then I have 2 concrete subclasses--Ford and Toyota. Now say I have another
class that contains a prepopulated list and is wildcard bounded like this: List<? extends Car> carList. I
want to add a method where I pass in a Car subtype as a parameter and then add it into this list, e.g:
public void addCar(Car car) {
carList.add(car);
Trying this, I keep getting "cannot find symbol" compilation errors. When I went back to read the Generics
tutorial by Bracha, he mentions that explicitly adding a subtype, e.g. carList.add(new Ford()), can not be
done. But here I'm adding the "upper bound" of the wildcard, i.e. the Car type. Therefore there should be no
discrepancy between supertype and subtype an thus the carList.add(car) should be ok, IMO.
Am I misunderstanding something with this logic? Also, if carList.add(car) can not be done, then how can
I go about doing something similar which will allow me to add subtypes to a "generic" list?
Thanks in advanced!
-losI get a compilation error expecting an Object instead of a Car. Of course you did. List<? super Car> is a list into which you can put cars -- and possibly other stuff. List<? extends Car> is a list out of which you can get cars (possibly of different makes).
Do you need a list that you can put cars in and get cars out? That's List<Car>
This isn't a linguistic problem you are having; this is a design problem. If you have a function that takes an argument which is a list that you can put any kind of car into and be sure of getting a car out of, it isn't reasonable to pass in a List<Ford> (because the function might put in a Chevy) or a List<Object> (but there might be motorcycles already in there). By the requirements you have, you need a List<Car> and nothing else.
Yes, you could use a cast, but all you are doing is circumventing the type system by saying "I know this List<Object> only has Cars in it." -
Excel 2010 Synchronize List with SharePoint List using VBA
I have used and loved the interaction between Excel and SharePoint for many generations of both solutions. It's a wonderful opportunity to integrate the familiarity and simplicity of Excel (formatting, ease of use, availability) with the data storage
and centralized list capabilities of SharePoint. Right?
When upgrading to Excel 2010, I have noticed with much dismay that much of the inherent easy to use features of previous versions were effectively stripped from this newest version. Much research, time and energy has been spent working around and resolving
the deficiency. One Microsoft based article,
http://support.microsoft.com/kb/930006, has provided the mechanics behind utilizing the "hidden" functionality... although, this capability to use VBA to create the synchronized list was available in previous versions. However, once Microsoft
published this article to this "hidden" functionality... I feel that the behavior should be supported by Microsoft in some way. OK?
Revised instructions to reproduce the problem:
1. Create a SharePoint list with 20 dummy records.
- Note the List Name ##LIST_NAME##
- Note the View GUID ##VIEW_GUID##
- Note SharePoint Base URL ##BASE_URL##
2. REVISED... In Excel 2010, save the file as Compatible "Excel 97-2003 Workbook". Close the file and reopen. Create a connected table (ListObject) in Excel using the article above to the SharePoint list. Use Sample VBA code
below:
Sub LinkedSharePointList()
ActiveSheet.ListObjects.Add SourceType:=xlSrcExternal,_
Source:=Array(##BASE_URL## & "/_vti_bin", ##LIST_NAME##, _
##VIEW_GUID##), LinkSource:=True, Destination:=Range("A1")
End Sub
3. OOPS REVISED this item. The problem is actually with ROW 21... So, update record on row 21... (no matter where the table is located... (if the "Destination" is "A1", then the problem is with ID=20, but if the Table is
shifted down to say A12, then ID=9 on row 21). Anyway... make a simple change to that record... and you'll see the ID immediately change.... as if it's a NEW record. WEIRD! Note: If the sheet is protected, then an error is displayed
indicating that a "read-only" record cannot be updated (referring to the ID cell in column A for the current row).
4. Now "synchronize" the list with excel. The former record is still in the list unchanged AND there is a NEW record in the list holding the changes. There are a number of problems that seem to ONLY occur when something changes to ROW
21.... Next, try to copy/paste multiple records across multiple rows that intersect with ROW 21. Yikes!!
I look forward to hearing others' experience!
Thanks!
MarkHere are some things that you can try (change the code, where appropriate):
Private Sub CreateList()
Dim folder As folder
Dim f As File
Dim fs As New FileSystemObject
Dim RowCtr As Integer
RowCtr = 1
Set folder = fs.GetFolder("http://excel-pc:43231/Shared Documents/Forms/") '<=Variable Location
For Each f In folder.Files
Cells(RowCtr, 1).Value = f.Name
RowCtr = RowCtr + 1
Next f
End Sub
Sub ListAllFile()
Dim objFSO As Object
Dim objFolder As Object
Dim objFile As Object
Dim pth As String
Dim WBn As Workbook
Dim ObCount As Long
Dim FileNme As String
Application.ScreenUpdating = False
Set objFSO = CreateObject("Scripting.FileSystemObject")
'Get the folder object associated with the directory
Set objFolder = objFSO.GetFolder("\\excel-pc:43231\Shared Documents\Forms\")
'** You'll need to specify your path here. By removing the http: from the path, the code liked it & found the folder. It wasn’t working previously ***
pth = "http://excel-pc:43231/Shared Documents/Forms/"
'** You'll need to specify your path here. The reason I’ve done this separately is because the path is not recognised otherwise when trying to specify it with workbook.open & using the value set for objFolder **
ObCount = objFolder.Files.Count
'** counts the number of files in the folder
'Loop through the Files collection
For Each objFile In objFolder.Files
Nm1 = Len("http://excel-pc:43231/Shared Documents/Forms/")
'** You'll need to specify your path here **
Nm2 = Len(objFile) - Nm1
FileNme = Right(objFile, Nm2)
'** I’ve done this part to find out/set the file name**
Set WBn = Workbooks.Open(pth & FileNme, , , , Password:="YourPassword")
'** opens the first file in the library – if there is no password, the remove everything from - , , , , Password:="Password1" – leaving the close bracket ‘)’
Application.ScreenUpdating = False
'** optional – you can leave the screen updating on
'<< Your coding here>>
'** The file is now open. Enter whatever code is specific to your spreadsheets.
Next
'** goes to next file within your sharepoint folder
End Sub
Sub SharePoint()
Dim xlFile As String, xlFullFile As String
Dim xlApp As Excel.Application
Dim wb As Workbook
xlFile = "\\excel-pc:43231\Shared Documents"
'http://excel-pc:43231/Shared Documents/
'****----denotes the path.(i.e) u give the path as windows search.Don't use "\" at the end.
'In the sharepoint path %20 denotes space.so u remove that and use space .
Set xlApp = New Excel.Application
xlApp.Visible = True
xlFullFile = GetFullFileName(xlFile, "Book") 'ANZ denotes starting characters of the file.
xlFile = xlFile & "\" & xlFullFile
Set wb = xlApp.Workbooks.Open(xlFile, , False)
'Once the workbook is opened u can do ur code here
wb.Close False
End Sub
Function GetFullFileName(strfilepath As String, _
strFileNamePartial As String) As String
Dim objFS As Variant
Dim objFolder As Variant
Dim objFile As Variant
Dim intLengthOfPartialName As Integer
Dim strfilenamefull As String
Set objFS = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFS.GetFolder(strfilepath)
'work out how long the partial file name is
intLengthOfPartialName = Len(strFileNamePartial)
For Each objFile In objFolder.Files 'Instead of specifying the starting characters of the file you can directly loop through all files in the folder .
'Test to see if the file matches the partial file name
If Left(objFile.Name, intLengthOfPartialName) = strFileNamePartial Then
'get the full file name
strfilenamefull = objFile.Name
Exit For
Else
End If
Next objFile
Set objFolder = Nothing
Set objFS = Nothing
'Return the full file name as the function's value
GetFullFileName = strfilenamefull
End Function
Sub SrchForFiles()
' Searches the selected folders and sub folders for files with the specified (xls) extension.
'ListTheFiles 'get the list of all the target XLS files on the SharePoint Directory
Dim i As Long, z As Long, Rw As Long, ii As Long
Dim ws As Worksheet, dd As Worksheet
Dim y As Variant
Dim fldr As String, fil As String, FPath As String
Dim LocName As String
Dim FString As String
Dim SummaryWB As Workbook
Dim SummaryWS As Worksheet
Dim Raw_WS As Worksheet
Dim LastRow As Long, FirstRow As Long, RowsOfData As Long
Dim UseData As Boolean
Dim FirstBlankRow As Long
'grab current location for later reference, for where to paste final data
Set SummaryWB = Application.ActiveWorkbook
Set SummaryWS = Application.ActiveWorkbook.ActiveSheet
y = "xls"
fldr = "\\excel-pc:43231\Shared%20Documents\Forms\AllItems.aspx"
FirstBlankRow = 2
'asd is a 1-D array of files returned
asd = ListFiles(fldr, True)
Set ws = Excel.ThisWorkbook.Worksheets(1) 'list of files
ws.Activate
ws.Range("A1:Z100").Select
Selection.Clear
On Error GoTo 0
For ii = LBound(asd) To UBound(asd)
Debug.Print Dir(asd(ii))
fil = asd(ii)
'open the file and grab the data
Application.Workbooks.Open (fil), False, True
'Get file path from file name
FPath = Left(fil, Len(fil) - Len(Split(fil, "\")(UBound(Split(fil, "\")))) - 1)
'Get file information
If Left$(fil, 1) = Left$(fldr, 1) Then
If CBool(Len(Dir(fil))) Then
z = z + 1
ws.Cells(z + 1, 1).Resize(, 6) = _
Array(Dir(fil), LocName, RowsOfData, Round((FileLen(fil) / 1000), 0), FileDateTime(fil), FPath)
DoEvents
With ws
.Hyperlinks.Add .Range("A" & CStr(z + 1)), fil
'.FoundFiles(i)
End With
End If
End If
'Workbooks.Close 'Fil
Application.CutCopyMode = False 'Clear Clipboard
Workbooks(Dir(fil)).Close SaveChanges:=False
Next ii
With ws
Rw = .Cells.Rows.Count
With .[A1:F1]
.Value = [{"Full Name","Location","Rows of Data","Kilobytes","Last Modified", "Path"}]
.Font.Underline = xlUnderlineStyleSingle
.EntireColumn.AutoFit
.HorizontalAlignment = xlCenter
End With
.[G1:IV1 ].EntireColumn.Hidden = True
On Error Resume Next
'Range(Cells(Rw, "A").End(3)(2), Cells(Rw, "A")).EntireRow.Hidden = True
Range(.[A2 ], Cells(Rw, "C")).Sort [A2 ], xlAscending, Header:=xlNo
End With
End Sub
Function ListFiles(ByVal Path As String, Optional ByVal NestedDirs As Boolean) _
As String()
Dim fso As New Scripting.FileSystemObject
Dim fld As Scripting.folder
Dim fileList As String
' get the starting folder
Set fld = fso.GetFolder(Path)
' let the private subroutine do all the work
fileList = ListFilesPriv(fld, NestedDirs)
' (the first element will be a null string unless the first ";" is removed)
fileList = Right(fileList, Len(fileList) - 1)
' convert to a string array
ListFiles = Split(fileList, ";")
End Function
' private procedure that returns a file list
' as a comma-delimited list of files
Function ListFilesPriv(ByVal fld As Scripting.folder, _
ByVal NestedDirs As Boolean) As String
Dim fil As Scripting.File
Dim subfld As Scripting.folder
' list all the files in this directory
For Each fil In fld.Files
'If UCase(Left(Dir(fil), 5)) = "MULTI" And fil.Type = "Microsoft Excel Worksheet" Then
If fil.Type = "Microsoft Excel Worksheet" Then
ListFilesPriv = ListFilesPriv & ";" & fil.Path
Debug.Print fil.Path
End If
Next
' if requested, search also subdirectories
If NestedDirs Then
For Each subfld In fld.SubFolders
ListFilesPriv = ListFilesPriv & ListFilesPriv(subfld, NestedDirs)
Next
End If
End Function
Finally . . .
Sub ListFiles()
Dim folder As Variant
Dim f As File
Dim fs As New FileSystemObject
Dim RowCtr As Integer
Dim FPath As String
Dim wb As Workbook
RowCtr = 1
FPath = "http://excel-pc:43231/Shared Documents"
For Each f In FPath
'Set folder = fs.GetFolder("C:\Users\Excel\Desktop\Ryan_Folder")
'For Each f In folder.Files
Cells(RowCtr, 1).Value = f.Name
RowCtr = RowCtr + 1
Next f
End Sub
Sub test()
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder("C:\Users\Excel\Desktop\Ryan_Folder")
'Set colSubfolders = objFolder.SubFolders
'For Each objSubfolder In colSubfolders
Cells(RowCtr, 1).Value = f.Name
RowCtr = RowCtr + 1
'Next
End Sub
Ryan Shuell -
when I tried to open document library in Windows explorer view by click 'Open with Explorer', it popped up “Your client does not support opening list with windows explorer”
OS: Windows Server 2008 Enterprise x64
IE: 9.0 32bit
webcient service is runing
HKLM\System\CurrentControlSet\services\WebClient\Parameters and changed the BasicAuthLevel to 2 instead of 1.
Anybody knows how?
Thanks.Did you add your site to trusted site list?
http://sharepoint.stackexchange.com/questions/15098/your-client-does-not-support-opening-this-list-with-windows-explorer
--Cheers -
Hi All
I have one sharepoint list with huge data i.e with 20columns and more than 200 records with the fields .
Suppose lets consider there are A,B,C,D,E,F,G,H columns.
Now i want to create one form with the fields A,C,E.
When the user enter the existing data of list for columns A,C..based on C value the E column value should change and update that particular item in the list.
Please guide me without visual web part can we acheive this by Sharepoint designer 2013 or what would be the preferable solution.
Please help me on this as it is very urgent from me..
Thanks in Advance
Sowjanya GHi,
According to your post, my understanding is that you wanted to update the list item in the same sharepoint list with particular condition with Sharepoint Designer 2013.
I recommend to create workflow associated to the list and then start the workflow automatically when an item is changed.
In the workflow, you can add condition and actions as below:
If current item: C equal to Test1
Set E to Test2
Then the value of the filed E will be changed based on the value of the filed C.
In addition, if you create the form using InfoPath, you can add rule to the filed C as below:
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Select list with bind variable does not work
Hi,
What can be wrong with a 'select list' with the a simple select
select omschrijving o, id i
from basiscodes b
where domein = 'OPTIES'
and b.id in
(select eo.basiscode_id from evenementen_opties eo
where eo.event_id = :P16_ID)
The :P16_ID has a value and should give result
But it does not work at all with 'select list'
Using the POPUP LOV (display discription, return key value) works nice
The select retuns less then 10 recordsHi Flavio,
As I explained, the P16_ID is an item of the master page (page 16)
In Page 18 where I want to reuse that value, the item is not there, but I use it to assign
P18_EVENT_ID with the value in P16_ID and that works fine.
In an after submit process, I do this :
declare
function get_pk return varchar2
is
begin
for c1 in (select EVENEMENT_INSCHRIJVING_SEQ.nextval next_val
from dual)
loop
return c1.next_val;
end loop;
end;
begin
:P18_ID := get_pk;
:P18_EVENT_ID := :P16_ID;
:P18_CREATIE_DT := TO_CHAR(SYSDATE,'DD-MM-YYYY HH24:MI:SS');
:P18_CREATIE_USER := APEX_APPLICATION.G_USER;
end;
The value P16_ID is there before I open page 18
I made a display item that displays the value P16_ID
If I change the LOV select in :
select b.omschrijving o, b.id i
from basiscodes b
, evenementen_opties eo
where b.domein = 'OPTIES'
and b.id = eo.basiscode_id
and eo.event_id = 16
then it returns the value I want : 1 record
You see, I'm a really new one in apex.
Forms 6i was easier for me...
Regards Jules
null -
Creating a list with different row sizes...
I'm new to AS 3.0 and CS4 and I've been getting up to speed
on all of it. I've used the List component before with my own
CellRenderer. I now need to create a list with different row
heights. The List component is great and does everything that I
want but it requires all rows to be the same height.
I'm unsure of where to go. Creating my own class seems like a
lot of work. The TileList and Grid components don't allow different
sized (and dynamically changing) row heights either. Is there some
base class (SelectableList? BaseScrollPane?) that I should extend
or do I need to just bite the bullet and write it all from scratch?
I need each row to have it's own height and interaction with
a row could change the height of the row. The main use is a list of
data. If the user clicks in an item, it turns the display into
something they can edit (which will need more height).
Thanks for any thoughts on a direction I should think about.
By the way, I really like that AS 3.0 is much more consistent of a
programming language than previous MX versions that I've used.
We're doing a lot of AS/Flash/AIR work with it and it's turning
into a wonderful environment...Any ideas about this??
-
How do you isolate an album or artist in the new iTunes? (12.0) It is really frustrating when trying to listen to one album and I get the album in the list with all 1,025 other albums in my library. Same with the artist.
Welcome to the Discussion Forums
... I assumed that if I played the 1st track, it would continue to play the rest of the album (as iTunes does on my Macs and PCs),...
You assumed correctly, and it should continue to play the rest of the album in order. Does this happen to all your albums. Have you tried restarting the tv. -
How can I create a XMP List with multiple selection
Hello,
I try to build my own XMP custom panel. Herefore I need a couple of lists with the possibility for multiple selections (e.g. the choice for one language or multiple languages).
But how is it possible to integrate a list into a panel? There is no XMPList inside the custom folder. I have experimented with the standard mx:list and an array collection for data binding into the list. But how can I write the user selection into an XMP field? Example: In the List the user choose three languages (DE, EN, FR). Is it possible to collect the choice into a string and to write the result into an XMP standard field (e.g. dc:description)?
A further question is, if it's possible to use the "HTTPService" to bind an external xml-file with the languages and other informations into the panel or is it only possible to work with an array collection inside the code?
Here is my code:
<?xml version="1.0" encoding="utf-8"?>
<fi:XMPForm
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:fi="com.adobe.xmp.components.*" width="100%" height="100%"
xmlns:Iptc4xmpCore ="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/"
label="XMP-Custom Panel"
initialize="ds.send()"
>
<!-- Each namespace prefix that is used within an xmpPath-attribute,
MUST BE registered at the top of EACH panel where it is referenced -->
<fi:XMPNamespaces>
<fi:XMPNamespace prefix="dc" value="http://purl.org/dc/elements/1.1/"/>
</fi:XMPNamespaces>
<fi:XMPForm>
<mx:HBox width="100%" height="26" verticalAlign="middle">
<mx:HRule width="50%"/>
<mx:Label text="Allgemeine Metadaten" fontSize="12" fontWeight="bold"/>
<fi:XMPSeparator width="50%"/>
</mx:HBox>
<fi:XMPFormItem
label="Titel"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
<fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
</fi:XMPFormItem>
<fi:XMPFormItem
label="Titel"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
<fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
</fi:XMPFormItem>
<fi:XMPFormItem
label="Druckkennzeichen"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
<fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
</fi:XMPFormItem>
<fi:XMPFormItem
label="Verfasser"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Erzeuger des Dokumentes" fontSize="11" width="100%">
<fi:XMPComboBox xmpPath="dc:creator" width="100%"/>
</fi:XMPFormItem>
<fi:XMPFormItem
label="Versionsnummer"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
<fi:XMPComboBox xmpPath="dc:creator" width="100%"/>
</fi:XMPFormItem>
<mx:HBox width="100%" height="26" verticalAlign="middle">
<mx:HRule width="50%"/>
<mx:Label text="Enthaltene Sprachen" fontSize="12" fontWeight="bold"/>
<fi:XMPSeparator width="50%"/>
</mx:HBox>
<!-- Beginn der Auswahl-Liste für die Sprachen -->
<mx:Script>
<![CDATA[
import flash.events.MouseEvent;
import mx.controls.Alert;
import mx.collections.ArrayCollection;
private const NL:String = "\r";
// A data provider created by using ActionScript
[Bindable]
private var subscriptions:ArrayCollection =
new ArrayCollection
{data:0, label:"Deutsch"},
{data:1, label:"Englisch"},
{data:2, label:"Französisch"},
{data:3, label:"Italienisch"}
[Bindable]
private var market:ArrayCollection =
new ArrayCollection
{data:0, label:"(Bitte Marktversion auswählen)"},
{data:1, label:"Marktversion Deutsch (M_DE)"},
{data:2, label:"Marktversion Englisch (M_EN)"},
{data:3, label:"Marktversion Frankreich (M_FR)"},
{data:4, label:"Marktversion Italien (M_IT)"}
[Bindable]
private var documenttyp:ArrayCollection =
new ArrayCollection
{data:0, label:"(Bitte Dokumenttyp auswählen)"},
{data:1, label:"Gebrauchsanweisung"},
{data:2, label:"Ersatzteilkatalog"},
{data:3, label:"Service-Anleitung"},
{data:4, label:"Etikett"}
]]>
</mx:Script>
<fi:XMPFormItem label="Sprachauswahl" width="100%">
<mx:List
id="userSubscriptions" rowCount="4"
allowMultipleSelection="true" width="100%"
dataProvider="{subscriptions}"
/>
</fi:XMPFormItem>
<mx:Text text="* Mehrfachauswahl möglich." fontWeight="normal" fontSize="10"/>
<!-- Ende der Liste für die Auswahl von Sprachen -->
<fi:XMPFormItem
label="Marktvariante"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
<fi:XMPComboBox xmpPath="dc:creator" width="100%" dataProvider="{market}"/>
</fi:XMPFormItem>
<fi:XMPFormItem
label="Dokumenttyp"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
<fi:XMPComboBox xmpPath="dc:creator" width="100%" dataProvider="{documenttyp}"/>
</fi:XMPFormItem>
<fi:XMPFormItem
label="Stichworte"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Erzeuger des Dokumentes" fontSize="11" width="100%">
<fi:XMPTextArea/>
</fi:XMPFormItem>
<mx:HBox width="100%" height="26" verticalAlign="middle">
<mx:HRule width="50%"/>
<mx:Label text="Metadaten Photoshop" fontSize="12" fontWeight="bold"/>
<fi:XMPSeparator width="50%"/>
</mx:HBox>
<fi:XMPFormItem
label="Originalname FA"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%" id="PS1">
<fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
</fi:XMPFormItem>
<fi:XMPFormItem
label="Fotoauftragsnummer"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%" id="PS2">
<fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
</fi:XMPFormItem>
<fi:XMPFormItem
label="Interne Anmerkungen"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Erzeuger des Dokumentes" fontSize="11" width="100%" id="PS3">
<fi:XMPTextArea/>
</fi:XMPFormItem>
<mx:Text text="* hier steht eine kleine Erläuterung" fontWeight="normal" fontSize="10"/>
</fi:XMPForm>
</fi:XMPForm>
Any suggestions?
Thank you in advance.
MarkusHi Markus,
the FileInfo SDK does not offer a ready-made list component allowing for multi-selection.
So you would need to implement one using the FileInfo SDK API. Your component "XMPList" would inherit from mx:list and would need to implement the XMPRead and XMPWrite events and talk to the XMP using the IXMPAccess interface within those event handlers.
Please have a look at the Programmer's Guide, section "XMP Flex components" and at the API description available in "docs" for further guidanc.
Hope this helps
Kind Regards
Jörg
Adobe XMP
Maybe you are looking for
-
Broken links when made changes to the topic
I recently installed RoboHelp x5. When I opened a topic with a whole bunch of links (hotspots), and make changes to the word. I saved, compiled, and review my changes. My word changes are okay, but when I click on the link, it points to the one below
-
HT4798 How to open my Mac book air without my password? I forgot my password
I forgot my password, how can I open my Mac book air?
-
Hi what is diff in these commands thankx
-
I shared my iTunes music folder using SharePoints and set up something to automatically "re-attach" that share on my wife's PowerBook every time she logs on. I also pointed her iTunes music folder to this share. All of this works. The frustrating par
-
Airport Express and USB Hard drive and extremely slow performance
HI Guys, I seem to having a lot of trouble with an Airport express and a Lacie 1TB drive. While I have solved several problems by updating firmware and enabling journalling on the Lacie, I am still having problems with extremely slow performance with