DropDown List in Pages Template?
Hi!
Id like to know if there is a way to insert a dropdown list into a pages template just as i can do it in numbers?
I want to be able to select between 3 possible values for a box which are all quite long so copy pasting or typing it all each time really *****
i tried to copy a dropdown-formatted box from numbers but aymi i didnt
copy the dropdown-formatting but only the current value
is there a way?
regards
DaNylz
No.
Similar Messages
-
Dropdown List in Second Page Not Displaying First Page's Selection
Hi,
I have two pages. The first displays an employee hierarchy. So the first page displays several employee ids. When you click Edit, the second page only displays the emp_id because of this code in my dropdown list.
e.emp_id=:P2_X_EMPDROPDOWN;
The other dropdown lists do not get populated with the previous page selection. So my questions is how do I get the dropdown lists in page 2 to display the previous page's selection. So the focus of each of the dropdown lists should highlight the previous page's selection.
Thanks in advance.If I understand your problem right, this can be the solution:
In the list of values definition of the seccond selectlist, you set this:
select e.LST_NM||' '|| e.frst_nm d, e.emp_id r
from
emp_table ethen your default value must be the Id selected on the first page. You can do this as follows:
Default Value Type is set to PL/SQL Function Body
Default value is
return :P1_X_EMPDROPDOWN; -
Does anyone have a list of all iWork Pages templates handy? I'm not at my Mac now.
Does anyone have a list of all iWork Pages templates handy? I'm not at my Mac now.
Sorry this forum is playing up again, refusing to take the image. Finally got it to bite.
-
Customize Dropdown lists on the Accounts List Accounts page in IDM
Hi All,
There is probably a simple way to do this but haven't had any luck so far.
I want to customize the drop down lists on the Accounts > List Accounts page which provide the options to Create, Update, Enable, Disable, etc. However I'm not sure which object I need to edit to do this.
I thought it was the User Actions Configuration object but I have tried changing values and the drop down stays the same.
Does anyone know the best way to edit the drop down lists? We are using IDM version 7.1.1.8
Thanking you all in advanced.User List Form > 'buttonrowsearch' property of the 'TreeTable' field. place the 'users' map block before 'orgs' map in the list.
Cheerz -
Murray Please - Re: dynamic dropdown list DWMX
Hello Murray,
The dynamic dropdown list works fine now!
I have now a little other problem, the ORDER BY for my
dropdown list.
I selected "ASC" but he shows me from Z -->>A and a
want from A-->>Z
Can you explain this? My code ...
Thanks in advanced,
www.SamDesing.be
<%
Dim groepenrecordset
Dim groepenrecordset_numRows
Set groepenrecordset = Server.CreateObject("ADODB.Recordset")
groepenrecordset.ActiveConnection = MM_con_dbwaterloo_STRING
groepenrecordset.Source = "SELECT * FROM tbl_hoofdgroep ORDER
BY
hoofdgroep_fr ASC"
groepenrecordset.CursorType = 0
groepenrecordset.CursorLocation = 2
groepenrecordset.LockType = 1
groepenrecordset.Open()
groepenrecordset_numRows = 0
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Untitled Document</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
//-->
</script>
</head>
<body>
<form action="resultdropdown.asp" method="post"
name="dropdown"
id="dropdown">
<p>Select category</p>
<select name="hoofdgroep" id="hoofdgroep"
onChange="MM_jumpMenu('parent',this,1)">
<%
While (NOT groepenrecordset.EOF)
%>
<option
value="resultdropdown.asp?ID_hoofdgroep=<%=(groepenrecordset.Fields.Item("ID_hoofdgroep") .Value)%>"
<%If (Not
isNull((groepenrecordset.Fields.Item("ID_hoofdgroep").Value)))
Then If
(CStr(groepenrecordset.Fields.Item("ID_hoofdgroep").Value) =
CStr((groepenrecordset.Fields.Item("ID_hoofdgroep").Value)))
Then
Response.Write("SELECTED") : Response.Write("")%>
><%=(groepenrecordset.Fields.Item("hoofdgroep_fr").Value)%></option>
<%
groepenrecordset.MoveNext()
Wend
If (groepenrecordset.CursorType > 0) Then
groepenrecordset.MoveFirst
Else
groepenrecordset.Requery
End If
%>
</select>
</p>
</form>
</body>
</html>
<%
groepenrecordset.Close()
Set groepenrecordset = Nothing
%>
"Murray *ACE*" <[email protected]> a
�crit dans le message de
news: [email protected]...
You're welcome.
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
==================
"Sam" <[email protected]> wrote in message
news:[email protected]...
> Thank you Murray
>
> "Murray *ACE*" <[email protected]> a
�crit dans le message
> de news: [email protected]...
>> You could use either, but with a jump menu, all you
would have to do is
>> to make sure that the category is carried to the
results page as a URL
>> parameter.
>>
>> --
>> 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
>> ==================
>>
>>
>> "Sam" <[email protected]> wrote in message
>> news:[email protected]...
>>> Hello friends,
>>>
>>> I know that this is possible, but I can't find
the solution!
>>>
>>> I use ASP VB
>>>
>>> I have a dynamic dropdown list from a table
"categories" (access), when
>>> I select a category I want to display the
results from that category on
>>> the result page.
>>>
>>> Do I have to use a dropdown or jump menu?
>>>
>>> Somebody can help me or give me a good step by
step tutorial
>>>
>>> Thanks in advance,
>>>
>>> www.SamDesign.beSorry, Sam, I have no idea.....
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
==================
"Sam" <[email protected]> wrote in message
news:[email protected]...
>I found it, but the last category is always selected. Is
it possible to
>have always the first selected with the A and not the Z?
> Thanks,
>
> "Murray *ACE*" <[email protected]> a
�crit dans le message
> de news: [email protected]...
>> Try DESC....
>>
>> --
>> 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
>> ==================
>>
>>
>> "Sam" <[email protected]> wrote in message
>> news:[email protected]...
>>> Hello Murray,
>>> The dynamic dropdown list works fine now!
>>> I have now a little other problem, the ORDER BY
for my dropdown list.
>>> I selected "ASC" but he shows me from Z
-->>A and a want from A-->>Z
>>> Can you explain this? My code ...
>>> Thanks in advanced,
>>> www.SamDesing.be
>>> <%
>>> Dim groepenrecordset
>>> Dim groepenrecordset_numRows
>>>
>>> Set groepenrecordset =
Server.CreateObject("ADODB.Recordset")
>>> groepenrecordset.ActiveConnection =
MM_con_dbwaterloo_STRING
>>> groepenrecordset.Source = "SELECT * FROM
tbl_hoofdgroep ORDER BY
>>> hoofdgroep_fr ASC"
>>> groepenrecordset.CursorType = 0
>>> groepenrecordset.CursorLocation = 2
>>> groepenrecordset.LockType = 1
>>> groepenrecordset.Open()
>>>
>>> groepenrecordset_numRows = 0
>>> %>
>>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
>>> "
http://www.w3.org/TR/html4/loose.dtd">
>>> <html>
>>> <head>
>>> <meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
>>> <title>Untitled Document</title>
>>> <script language="JavaScript"
type="text/JavaScript">
>>> <!--
>>> function MM_jumpMenu(targ,selObj,restore){
//v3.0
>>>
>>>
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
>>> if (restore) selObj.selectedIndex=0;
>>> }
>>> //-->
>>> </script>
>>> </head>
>>>
>>> <body>
>>> <form action="resultdropdown.asp"
method="post" name="dropdown"
>>> id="dropdown">
>>> <p>Select category</p>
>>> <select name="hoofdgroep" id="hoofdgroep"
>>> onChange="MM_jumpMenu('parent',this,1)">
>>> <%
>>> While (NOT groepenrecordset.EOF)
>>> %>
>>> <option
>>>
value="resultdropdown.asp?ID_hoofdgroep=<%=(groepenrecordset.Fields.Item("ID_hoofdgroep") .Value)%>"
>>> <%If (Not
isNull((groepenrecordset.Fields.Item("ID_hoofdgroep").Value)))
>>> Then If
(CStr(groepenrecordset.Fields.Item("ID_hoofdgroep").Value) =
>>>
CStr((groepenrecordset.Fields.Item("ID_hoofdgroep").Value))) Then
>>> Response.Write("SELECTED") :
Response.Write("")%>
>>>
><%=(groepenrecordset.Fields.Item("hoofdgroep_fr").Value)%></option>
>>> <%
>>> groepenrecordset.MoveNext()
>>> Wend
>>> If (groepenrecordset.CursorType > 0) Then
>>> groepenrecordset.MoveFirst
>>> Else
>>> groepenrecordset.Requery
>>> End If
>>> %>
>>> </select>
>>> </p>
>>> </form>
>>> </body>
>>> </html>
>>> <%
>>> groepenrecordset.Close()
>>> Set groepenrecordset = Nothing
>>> %>
>>>
>>> "Murray *ACE*"
<[email protected]> a �crit dans le
message
>>> de news: [email protected]...
>>> You're welcome.
>>> --
>>> 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
>>> ==================
>>>
>>>
>>> "Sam" <[email protected]> wrote in message
>>> news:[email protected]...
>>>> Thank you Murray
>>>>
>>>> "Murray *ACE*"
<[email protected]> a �crit dans le
>>>> message
>>>> de news:
[email protected]...
>>>>> You could use either, but with a jump
menu, all you would have to do
>>>>> is
>>>>> to make sure that the category is
carried to the results page as a URL
>>>>> parameter.
>>>>>
>>>>> --
>>>>> 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
>>>>> ==================
>>>>>
>>>>>
>>>>> "Sam" <[email protected]> wrote in
message
>>>>>
news:[email protected]...
>>>>>> Hello friends,
>>>>>>
>>>>>> I know that this is possible, but I
can't find the solution!
>>>>>>
>>>>>> I use ASP VB
>>>>>>
>>>>>> I have a dynamic dropdown list from
a table "categories" (access),
>>>>>> when
>>>>>> I select a category I want to
display the results from that category
>>>>>> on
>>>>>> the result page.
>>>>>>
>>>>>> Do I have to use a dropdown or jump
menu?
>>>>>>
>>>>>> Somebody can help me or give me a
good step by step tutorial
>>>>>>
>>>>>> Thanks in advance,
>>>>>>
>>>>>> www.SamDesign.be
>>>
>>>
>>>
>>
>>
>
> -
Hi Team,
I have created Administrator -approved Infopath form template to my site and activated same template in CA.
I have used this template in one of my Form library and i can able to submit the Form with success to the library.
when i click "View Item" or "Edit Item" of the form it throws , "One or more field types are not installed properly. Go to the list settings page to delete these fields." error message.
I have refered my log files also but there is no useful information in that, please find my logs for your reference.
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
Logging Correlation Data
xmnv
Medium
Site=/sites/Prototypes
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
Monitoring
b4ly
High
Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=8.51588679566816
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
General
8kh7
High
One or more field types are not installed properly. Go to the list settings page to delete these fields.
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
General
8sl1
High
DelegateControl: Exception thrown while adding control 'ASP._controltemplates_publishingconsole_ascx': One or more field types are not installed properly. Go to the list settings page to delete these fields.
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
General
8kh7
High
One or more field types are not installed properly. Go to the list settings page to delete these fields.
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
Runtime
tkau
Unexpected
System.Runtime.InteropServices.COMException: One or more field types are not installed properly. Go to the list settings page to delete these fields.
at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEA...
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
Runtime
tkau
Unexpected
...RRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
Monitoring
b4ly
Medium
Leaving Monitored Scope (Request (GET:http://test-sharepoint:80/sites/Prototypes/TRT/TRTLibrary/Forms/EditForm.aspx?ID=47&Source=http%3A%2F%2Ftest%2Dsharepoint%2Fsites%2FPrototypes%2FTRT%2FTRTLibrary%2FForms%2FAllItems%2Easpx&RootFolder=%2Fsites%2FPrototypes%2FTRT%2FTRTLibrary&ContentTypeId=0x01010100E7EE25E5A6898C4587A6B52C808EF03300FD54861D587A7E43BA3E2E6D392A3526&IsDlg=1)).
Execution Time=32.443369199158
w3wp.exe (0x08E4)
0x2C58
Access Services
Data Layer
8jg2
Medium
ResourceManager.PerformCleanup: Disk Manager: CurrentSize=0.
w3wp.exe (0x08E4)
0x2C58
Access Services
Data Layer
5pbr
Medium
ResourceManager.EvictUnusedItems: Disk Manager: Going to evict unused items. CurrentSize: 0.
w3wp.exe (0x08E4)
0x2C58
Access Services
Data Layer
5pbs
Medium
ResourceManager.EvictUnusedItems: Disk Manager: After unused items eviction. CurrentSize: 0
Diff:0.
w3wp.exe (0x2D7C)
0x0774
SharePoint Foundation
Topology
e5mc
Medium
WcfSendRequest: RemoteAddress: 'http://test-sharepoint:32843/4ac2daef5ffe4850be08bd7bbebb5ac2/MetadataWebService.svc' Channel: 'Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges'
MessageId: 'urn:uuid:dcba94c3-2764-428c-b44f-60e703328ceb'
w3wp.exe (0x08E4)
0x2E24
SharePoint Foundation
Topology
e5mb
Medium
WcfReceiveRequest: LocalAddress: 'http://test-sharepoint.anca.com.au:32843/4ac2daef5ffe4850be08bd7bbebb5ac2/MetadataWebService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges'
MessageId: 'urn:uuid:dcba94c3-2764-428c-b44f-60e703328ceb'
JeevaHello,
Is there any other content type on library or check if there is any duplicate column? Could you please also show us your library columns detail? (pic is also fine of lib settings page)
If you have any ""Property Promotion" column then SP create those columns as site column and associate them with this template so check "Allow management of content types" for that form library as well.
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Creating Custom Bullets & Lists in Pages 5.0
I cannot figure out how to create a custom numbered list in Pages 5.0. I had custom LISTS on my 4.3 Docs that did not migrate to 5.0. How do I create duplicate LIST STYLE in 5.0?
Thank you for your help.On the format menu on the right side, there is the font section, alignment section, spacing section, and bullets & lists section. Next to the bullets & lists section is a drop-down menu of preset lists. At the top-right of this menu is a plus sign. Clicking on this will allow you to create a new list in that menu and title it. From there, you will have to manually create your custom list change the type of bullets (numbers, roman numerals, letters, etc.) -- you might need to click on the disclosure triangle to the left of the bullets & lists title to see this part. When you finish with your custom list, there will be an asterik next to the title of the list, and if you click on that title, the drop-down menu will open up again and you can hit "Update" next to your list name. This should save the style for that custom list. Here is the most important part: When you have finished making this list, make sure you save the document as a template and select that template if you ever want to use that list. I have found that a custom list in a document (saved or deleted) that is not made into a template does not carry over into other documents. Setting up this custom list may take a while, but hopefully it will work and make things easier. I hope this makes sense, and let me know if you cannot understand something. Hopefully this picture will help too.
-
Page Template Body 1,2,3 position to the left of the page
Hi,
How can make a page template as default.
The situation is i have a theme which has a default page template set so that the "Page Template Body 2' comes to the the center(let me this be theme - theme 1). But there is another theme which gives me the option to
set the 'page template body 2' to the left of the page(theme 2). I thought of switching the theme but my other setting for report will go for toss. So i have copied default template for page from theme 2 to theme 1, but i
cant make the page template as default. How can make the page template to default ?
Is there any other way of doing this so the 'Page Template Body 2' appears to the left.
Thank you,
rakeshIn Application Builder:
- Edit the Application
- Click on Shared Components
- Click on Themes
> The current theme will have an 'asterisk (*)' by the theme name
- DO NOT CLICK ON THE THEME
- On the far right column will be a panel called Tasks
- Click Edit Theme
- Click on your current theme
You'll see a drop down list that allows you to pick the default page template.
Hope that helps. -
We have a publishing website in SharePoint 2010. There are total 4 environments - Development, Test, Stage and Production. For some enhancements, we had to create some new lists and libraries. When we moved changes from Development to Test environment, everything
worked fine. Relevant lists and libraries in lower environments were saved as templates (in .stp format) including content, imported to higher environment, lists/libraries were created in higher environment using imported templates.
Things worked fine from Development to Test. We did similar exercise from Test to Stage environment. Now in Stage, when we access some pages, we get error message - "One or more field types are not installed
properly. Go to the list settings page to delete these fields.". ULS logs don't tell which exact list has got problems.
On searching for this error, I got many articles that explain how this could happen when we migrate from SharePoint 2007 (MOSS) to 2010. Though our case different (as all our environments are in 2010), we still tried following steps.
De-activate 'SharePoint Server Publishing Infrastructure' Site Collection feature
Go to https://site-name/relationships%20list/allitems.aspx. This is a hidden list. Delete this list.
Re-activate 'SharePoint Server Publishing Infrastructure' Site Collection feature.
Make sure that new hidden list with one item is created at https://site-name/relationships%20list/allitems.aspx
However, this didn't help as we are still getting same error message. Appreciate if someone can suggest how this issue can be resolved.
Following are ULS logs:
Unable to execute query: Error 0x81020014
One or more field types are not installed properly. Go to the list settings page to delete these fields.
System.Runtime.InteropServices.COMException: One or more field types are not installed properly. Go to the list settings page to delete these fields.
at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback
pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
Thanks!Hi Shrishail ,
Some time this issue occurs if you have any custom filed types in the list or library and that field type is not installed on server .
Can you please check that if you are having any custom field types column on the list and library and if that is the case you need to install that field type on the server. sometimes it happens if field types are not properly deployed / Installed then
you have to uninstall that field types (retract solution) and deploy it again.
Thanks,
Ujjwal -
How do I display Text linked to a dropdown list selection in a form?
Ok, I have a form that has a dropdown list with several selections. What I want to have happen is when someone selects one of the options from the dropdown, I want to have text displayed to the right of that information that pertains to that selection.
I have attached the page with the form I have created as well as the css document that is used.
Any insight would be most appriciated! Thanks in advance!Hi,
I browsed for you a bit and found this: http://javascript.internet.com/forms/suggest-messages.html Looks like what you need!
Otherwise just search this database: http://javascript.internet.com/forms/ -
how do I make a drop down list of text in numbers as it is made in the example spreadsheet for comparing cars for buying where you can choose a value from a dropdown list for each car?
Where is this example spreadsheet? Without seeing it I can only guess at what you are asking.
To make a drop-down list (a pop-up menu in Numbers-speak), format the cell as a pop-up then edit and add to the list of items.
If the example spreadsheet is pulling in a dollar value based on what car you chose in the pop-up, it is probably using LOOKUP or one of the other lookup functions, getting the information from another table (a lookup table). If, instead, these dollar values are what you are choosing in the pop-up, then you need to create a pop-up with these values in it.
The Help menu includes a link to a page where you can download the Numbers Users Manual. It also has a link to the Formulas and Functions guide. Both are useful to new users. -
Getting error to bind data to dropdown list
hay dear,
i bind data to a dropdown list, everything gonna ok but when i run the project the web page containing the bellow error message. could anyone help me
Exception Handler
Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
Exception Details: java.sql.SQLException
Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource
Possible Source of Error:
Class Name: com.sun.gjc.spi.base.DataSource
File Name: DataSource.java
Method Name: getConnection
Line Number: 112
Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
Exception Details: java.lang.RuntimeException
java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource
Possible Source of Error:
Class Name: com.sun.data.provider.impl.CachedRowSetDataProvider
File Name: CachedRowSetDataProvider.java
Method Name: setCursorRow
Line Number: 343
Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
Exception Details: com.sun.rave.web.ui.appbase.ApplicationException
java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource
Possible Source of Error:
Class Name: com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl
File Name: ViewHandlerImpl.java
Method Name: cleanup
Line Number: 603
Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.I'm not a guru, but I would say : your jdbc isn't working. Make sure that it's functioning properly.
The errormesages suggest that the application can not find the datasource.
Best Regards,
Martijn -
Has anyone encountered this error.
I am developing on SP 2010 with VS 2010.
I was following an online tutorial: How to use custom form templates in NewForm.aspx/EditForm.aspx located at:
http://sharepointbox.blogspot.co.at/2010/11/how-to-use-custom-form-templates-in.html
The tutorial was a little lacking on some of the direction, but it included the working source code, and I managed to complete it.
Every time I try to deploy my version I get the error: Error 42 Error occurred in deployment step 'Activate Features': Field type MyCustomField is not installed properly. Go to the list settings page to delete this field.
I have gone through my code line by line and matched it to the working code from the tutorial, so I can only assume that I am missing something in the Procedure to properly deploy.
Any help is greatly Appreciated!It seems that something went wrong with your custom field type installation. Check below line in .xml file of your custom field type and correct it if needed.
<Field Name="FieldTypeClass">DocumentFieldType.DocumentFieldTypeClassName, DocumentFieldType, Version=1.0.0.0, Culture=neutral, PublicKeyToken=379382f3e8928835</Field>
Please recheck respective values of namespace.classname , dllname. and publickeytoken in your code
Thanks. Please mark it as an answer if it helps. -
Table Control Dropdown List Problem
Hi,
I have this problem with my table control.
I now have an input field (with input help) called: Reference Table, as well as a table control.
What i need is to select the table names (select from the Reference table input help) and the field names will be populated inside the table control (according to the field names inside the respective tables) as a dropdown list.
Refer to this diagram if unclear: http://img166.imageshack.us/img166/1066/tablecontrolwt4.png
Please give me sample codes as i really need help.
Will reward marks if useful.
thanks a lot.
Below is my codes:
*& Report ZHERA_TABLE3
REPORT ZHERA_TABLE3_EVONNE.
DATA: P_HERA TYPE DNTAB-TABNAME VALUE 'Z07P4_REF',
ITAB_HERA TYPE TABLE OF Z07P4_REF,
FIELD_COUNT TYPE I,
WA_HERA LIKE LINE OF ITAB_HERA.
SELECT * INTO TABLE ITAB_HERA FROM Z07P4_REF.
START-OF-SELECTION.
CALL SCREEN 3000.
MODULE STATUS_3000 OUTPUT.
SET PF-STATUS 'UI'.
SET TITLEBAR 'TITLE'.
ENDMODULE. "STATUS_8000 OUTPUT
MODULE USER_COMMAND_8000 INPUT
MODULE USER_COMMAND_3000 INPUT.
CASE SY-UCOMM.
WHEN 'BACK' OR 'EXIT'.
LEAVE PROGRAM.
WHEN 'SAVE'.
PERFORM UPDATE_TABLE.
ENDCASE.
ENDMODULE. "USER_COMMAND_8000 INPUT
*&SPWIZARD: DECLARATION OF TABLECONTROL 'ZTABLE' ITSELF
CONTROLS: ZTABLE TYPE TABLEVIEW USING SCREEN 3000.
*&SPWIZARD: LINES OF TABLECONTROL 'ZTABLE'
DATA: G_ZTABLE_LINES LIKE SY-LOOPC.
DATA: OK_CODE LIKE SY-UCOMM.
*&SPWIZARD: OUTPUT MODULE FOR TC 'ZTABLE'. DO NOT CHANGE THIS LINE!
*&SPWIZARD: UPDATE LINES FOR EQUIVALENT SCROLLBAR
MODULE ZTABLE_CHANGE_TC_ATTR OUTPUT.
DESCRIBE TABLE ITAB_HERA LINES ZTABLE-lines.
ENDMODULE.
*&SPWIZARD: OUTPUT MODULE FOR TC 'ZTABLE'. DO NOT CHANGE THIS LINE!
*&SPWIZARD: GET LINES OF TABLECONTROL
MODULE ZTABLE_GET_LINES OUTPUT.
G_ZTABLE_LINES = SY-LOOPC.
ENDMODULE.
*&SPWIZARD: INPUT MODULE FOR TC 'ZTABLE'. DO NOT CHANGE THIS LINE!
*&SPWIZARD: MODIFY TABLE
MODULE ZTABLE_MODIFY INPUT.
MODIFY ITAB_HERA
FROM WA_HERA
INDEX ZTABLE-CURRENT_LINE.
ENDMODULE.
*&SPWIZARD: INPUT MODULE FOR TC 'ZTABLE'. DO NOT CHANGE THIS LINE!
*&SPWIZARD: PROCESS USER COMMAND
MODULE ZTABLE_USER_COMMAND INPUT.
OK_CODE = SY-UCOMM.
PERFORM USER_OK_TC USING 'ZTABLE'
'ITAB_HERA'
CHANGING OK_CODE.
SY-UCOMM = OK_CODE.
ENDMODULE.
INCLUDE TABLECONTROL_FORMS *
*& Form USER_OK_TC *
FORM USER_OK_TC USING P_TC_NAME TYPE DYNFNAM
P_TABLE_NAME
P_MARK_NAME
CHANGING P_OK LIKE SY-UCOMM.
&SPWIZARD: BEGIN OF LOCAL DATA----
DATA: L_OK TYPE SY-UCOMM,
L_OFFSET TYPE I.
&SPWIZARD: END OF LOCAL DATA----
*&SPWIZARD: Table control specific operations *
*&SPWIZARD: evaluate TC name and operations *
SEARCH P_OK FOR P_TC_NAME.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
L_OFFSET = STRLEN( P_TC_NAME ) + 1.
L_OK = P_OK+L_OFFSET.
*&SPWIZARD: execute general and TC specific operations *
CASE L_OK.
WHEN 'INSR'. "insert row
PERFORM FCODE_INSERT_ROW USING P_TC_NAME
P_TABLE_NAME.
CLEAR P_OK.
WHEN 'DELE'. "delete row
PERFORM FCODE_DELETE_ROW USING P_TC_NAME
P_TABLE_NAME
P_MARK_NAME.
CLEAR P_OK.
WHEN 'P--' OR "top of list
'P-' OR "previous page
'P+' OR "next page
'P++'. "bottom of list
PERFORM COMPUTE_SCROLLING_IN_TC USING P_TC_NAME
L_OK.
CLEAR P_OK.
WHEN 'L--'. "total left
PERFORM FCODE_TOTAL_LEFT USING P_TC_NAME.
WHEN 'L-'. "column left
PERFORM FCODE_COLUMN_LEFT USING P_TC_NAME.
WHEN 'R+'. "column right
PERFORM FCODE_COLUMN_RIGHT USING P_TC_NAME.
WHEN 'R++'. "total right
PERFORM FCODE_TOTAL_RIGHT USING P_TC_NAME.
WHEN 'MARK'. "mark all filled lines
PERFORM FCODE_TC_MARK_LINES USING P_TC_NAME
P_TABLE_NAME
P_MARK_NAME .
CLEAR P_OK.
WHEN 'DMRK'. "demark all filled lines
PERFORM FCODE_TC_DEMARK_LINES USING P_TC_NAME
P_TABLE_NAME
P_MARK_NAME .
CLEAR P_OK.
WHEN 'SASCEND' OR
'SDESCEND'. "sort column
PERFORM FCODE_SORT_TC USING P_TC_NAME
l_ok.
ENDCASE.
ENDFORM. " USER_OK_TC
*& Form FCODE_INSERT_ROW *
FORM fcode_insert_row
USING P_TC_NAME TYPE DYNFNAM
P_TABLE_NAME .
&SPWIZARD: BEGIN OF LOCAL DATA----
DATA L_LINES_NAME LIKE FELD-NAME.
DATA L_SELLINE LIKE SY-STEPL.
DATA L_LASTLINE TYPE I.
DATA L_LINE TYPE I.
DATA L_TABLE_NAME LIKE FELD-NAME.
FIELD-SYMBOLS <TC> TYPE CXTAB_CONTROL.
FIELD-SYMBOLS <TABLE> TYPE STANDARD TABLE.
FIELD-SYMBOLS <LINES> TYPE I.
&SPWIZARD: END OF LOCAL DATA----
ASSIGN (P_TC_NAME) TO <TC>.
*&SPWIZARD: get the table, which belongs to the tc *
CONCATENATE P_TABLE_NAME '[]' INTO L_TABLE_NAME. "table body
ASSIGN (L_TABLE_NAME) TO <TABLE>. "not headerline
*&SPWIZARD: get looplines of TableControl *
CONCATENATE 'G_' P_TC_NAME '_LINES' INTO L_LINES_NAME.
ASSIGN (L_LINES_NAME) TO <LINES>.
*&SPWIZARD: get current line *
GET CURSOR LINE L_SELLINE.
IF SY-SUBRC <> 0. " append line to table
L_SELLINE = <TC>-LINES + 1.
*&SPWIZARD: set top line *
IF L_SELLINE > <LINES>.
<TC>-TOP_LINE = L_SELLINE - <LINES> + 1 .
ELSE.
<TC>-TOP_LINE = 1.
ENDIF.
ELSE. " insert line into table
L_SELLINE = <TC>-TOP_LINE + L_SELLINE - 1.
L_LASTLINE = <TC>-TOP_LINE + <LINES> - 1.
ENDIF.
*&SPWIZARD: set new cursor line *
L_LINE = L_SELLINE - <TC>-TOP_LINE + 1.
*&SPWIZARD: insert initial line *
INSERT INITIAL LINE INTO <TABLE> INDEX L_SELLINE.
<TC>-LINES = <TC>-LINES + 1.
*&SPWIZARD: set cursor *
SET CURSOR LINE L_LINE.
ENDFORM. " FCODE_INSERT_ROW
*& Form FCODE_DELETE_ROW *
FORM fcode_delete_row
USING P_TC_NAME TYPE DYNFNAM
P_TABLE_NAME
P_MARK_NAME .
&SPWIZARD: BEGIN OF LOCAL DATA----
DATA L_TABLE_NAME LIKE FELD-NAME.
FIELD-SYMBOLS <TC> TYPE cxtab_control.
FIELD-SYMBOLS <TABLE> TYPE STANDARD TABLE.
FIELD-SYMBOLS <WA>.
FIELD-SYMBOLS <MARK_FIELD>.
&SPWIZARD: END OF LOCAL DATA----
ASSIGN (P_TC_NAME) TO <TC>.
*&SPWIZARD: get the table, which belongs to the tc *
CONCATENATE P_TABLE_NAME '[]' INTO L_TABLE_NAME. "table body
ASSIGN (L_TABLE_NAME) TO <TABLE>. "not headerline
*&SPWIZARD: delete marked lines *
DESCRIBE TABLE <TABLE> LINES <TC>-LINES.
LOOP AT <TABLE> ASSIGNING <WA>.
*&SPWIZARD: access to the component 'FLAG' of the table header *
ASSIGN COMPONENT P_MARK_NAME OF STRUCTURE <WA> TO <MARK_FIELD>.
IF <MARK_FIELD> = 'X'.
DELETE <TABLE> INDEX SYST-TABIX.
IF SY-SUBRC = 0.
<TC>-LINES = <TC>-LINES - 1.
ENDIF.
ENDIF.
ENDLOOP.
ENDFORM. " FCODE_DELETE_ROW
*& Form COMPUTE_SCROLLING_IN_TC
text
-->P_TC_NAME name of tablecontrol
-->P_OK ok code
FORM COMPUTE_SCROLLING_IN_TC USING P_TC_NAME
P_OK.
&SPWIZARD: BEGIN OF LOCAL DATA----
DATA L_TC_NEW_TOP_LINE TYPE I.
DATA L_TC_NAME LIKE FELD-NAME.
DATA L_TC_LINES_NAME LIKE FELD-NAME.
DATA L_TC_FIELD_NAME LIKE FELD-NAME.
FIELD-SYMBOLS <TC> TYPE cxtab_control.
FIELD-SYMBOLS <LINES> TYPE I.
&SPWIZARD: END OF LOCAL DATA----
ASSIGN (P_TC_NAME) TO <TC>.
*&SPWIZARD: get looplines of TableControl *
CONCATENATE 'G_' P_TC_NAME '_LINES' INTO L_TC_LINES_NAME.
ASSIGN (L_TC_LINES_NAME) TO <LINES>.
*&SPWIZARD: is no line filled? *
IF <TC>-LINES = 0.
*&SPWIZARD: yes, ... *
L_TC_NEW_TOP_LINE = 1.
ELSE.
*&SPWIZARD: no, ... *
CALL FUNCTION 'SCROLLING_IN_TABLE'
EXPORTING
ENTRY_ACT = <TC>-TOP_LINE
ENTRY_FROM = 1
ENTRY_TO = <TC>-LINES
LAST_PAGE_FULL = 'X'
LOOPS = <LINES>
OK_CODE = P_OK
OVERLAPPING = 'X'
IMPORTING
ENTRY_NEW = L_TC_NEW_TOP_LINE
EXCEPTIONS
NO_ENTRY_OR_PAGE_ACT = 01
NO_ENTRY_TO = 02
NO_OK_CODE_OR_PAGE_GO = 03
OTHERS = 0.
ENDIF.
*&SPWIZARD: get actual tc and column *
GET CURSOR FIELD L_TC_FIELD_NAME
AREA L_TC_NAME.
IF SYST-SUBRC = 0.
IF L_TC_NAME = P_TC_NAME.
*&SPWIZARD: et actual column *
SET CURSOR FIELD L_TC_FIELD_NAME LINE 1.
ENDIF.
ENDIF.
*&SPWIZARD: set the new top line *
<TC>-TOP_LINE = L_TC_NEW_TOP_LINE.
ENDFORM. " COMPUTE_SCROLLING_IN_TC
*& Form FCODE_TC_MARK_LINES
marks all TableControl lines
-->P_TC_NAME name of tablecontrol
FORM FCODE_TC_MARK_LINES USING P_TC_NAME
P_TABLE_NAME
P_MARK_NAME.
&SPWIZARD: EGIN OF LOCAL DATA----
DATA L_TABLE_NAME LIKE FELD-NAME.
FIELD-SYMBOLS <TC> TYPE cxtab_control.
FIELD-SYMBOLS <TABLE> TYPE STANDARD TABLE.
FIELD-SYMBOLS <WA>.
FIELD-SYMBOLS <MARK_FIELD>.
&SPWIZARD: END OF LOCAL DATA----
ASSIGN (P_TC_NAME) TO <TC>.
*&SPWIZARD: get the table, which belongs to the tc *
CONCATENATE P_TABLE_NAME '[]' INTO L_TABLE_NAME. "table body
ASSIGN (L_TABLE_NAME) TO <TABLE>. "not headerline
*&SPWIZARD: mark all filled lines *
LOOP AT <TABLE> ASSIGNING <WA>.
*&SPWIZARD: access to the component 'FLAG' of the table header *
ASSIGN COMPONENT P_MARK_NAME OF STRUCTURE <WA> TO <MARK_FIELD>.
<MARK_FIELD> = 'X'.
ENDLOOP.
ENDFORM. "fcode_tc_mark_lines
*& Form FCODE_TC_DEMARK_LINES
demarks all TableControl lines
-->P_TC_NAME name of tablecontrol
FORM FCODE_TC_DEMARK_LINES USING P_TC_NAME
P_TABLE_NAME
P_MARK_NAME .
&SPWIZARD: BEGIN OF LOCAL DATA----
DATA L_TABLE_NAME LIKE FELD-NAME.
FIELD-SYMBOLS <TC> TYPE cxtab_control.
FIELD-SYMBOLS <TABLE> TYPE STANDARD TABLE.
FIELD-SYMBOLS <WA>.
FIELD-SYMBOLS <MARK_FIELD>.
&SPWIZARD: END OF LOCAL DATA----
ASSIGN (P_TC_NAME) TO <TC>.
*&SPWIZARD: get the table, which belongs to the tc *
CONCATENATE P_TABLE_NAME '[]' INTO L_TABLE_NAME. "table body
ASSIGN (L_TABLE_NAME) TO <TABLE>. "not headerline
*&SPWIZARD: demark all filled lines *
LOOP AT <TABLE> ASSIGNING <WA>.
*&SPWIZARD: access to the component 'FLAG' of the table header *
ASSIGN COMPONENT P_MARK_NAME OF STRUCTURE <WA> TO <MARK_FIELD>.
<MARK_FIELD> = SPACE.
ENDLOOP.
ENDFORM. "fcode_tc_mark_lines
FORM UPDATE_TABLE.
"Update physical database table
UPDATE Z07P4_REF FROM TABLE ITAB_HERA.
ENDFORM. "UPDATE_TABLE
Edited by: Evonne Gow on Jan 4, 2008 2:52 AMhey gary help me lei...
Edited by: Evonne Gow on Jan 4, 2008 2:55 AM -
How to extract data from xml field to dropdown list?
Hi,
I have designed a form and connected to a SQL server database using a web service. The XML data retrieved from wsdl connection is currently hold in a text field called 'XMLfield'. I need to extract the data such as 'PersonnelName' from XMLfield into a dropdown list. I used the following code and I do not get any error, but nothing come up and all my fields in the forms become bank when i click the dropdown list.
I would appreciate it if anyone can help me with this issue.
form1.DropDownList::click - (JavaScript, client)
xfa.datasets.data.loadXML(form1.XMLfield.rawValue,0,1);
form1.XMLfield.rawValue = xfa.datasets.data.saveXML();
var dataGroup = xfa.resolveNode("xfa.data.Timesheet.Personnel.PersonnelName");
var dataGroupLength = dataGroup.nodes.length;
if (dataGroupLength == 0) {
xfa.host.messageBox("There are no parts in the XML doc");
else {
for (var i=0; i < dataGroupLength; i++){
this.addItem(dataGroup.nodes.item(i).nodes.item(0).value);
Thanks,
RoyaHi Roya,
I think the loadXML will override your form data, so blanking out your fields. You could try loading the xml data at the xfa.datasets level (that is xfa.datasets.loadXML(form1.XMLfield.rawValue,0,1);) or using E4X to process the XML.
Another option though might be more rework is to use the Acrobat SOAP api which will return you a JavaScript object so you wont have to do any XML work.
There's a good intro to the SOAP api here, http://www.avoka.com/blog/page/11/.
Regards
Bruce
Maybe you are looking for
-
SEM BPS - Planning function to distribute total value over months
Hello, We use SEM BPS. In fact we use the integration of SEM BPS in the CRM opportunity component as opportunity planning. Now we want to distribute the total value of certain key figures over the months. Either equal distribution or increasing distr
-
ADF BC/Faces - Order of validation / backing bean action problem
Hello, I want the user to enter the same "operation date" into all adf faces table rows created in one batch (one transaction). So I removed operation date field from the table and added "unbound" date field above the table. The date field value is t
-
Requery Condition with custom save button.
Hi, I've set the 'Requery Condition' for my group equal to 'After Commit' and it doesn't seem to refresh my page when I do a commit using a custom button bound to my method in the managed bean. Do I need to do anything extra in my bean where I am com
-
Hi, I'm considering buying a macbook pro. I currently have windows xp laptop. Is it possible to have a msn messenger with hotmail accounts on Mac's???
-
Biztalk Custom Send Pipeline Error
Hello Experts, I have been trying to work with the Custom Send Pipeline, which picks up the .xml file which has the path directory of the file needs to be sent to the destination. I used the code from here to practice how it works using System; usin