Customizing Development Menu
Can anyone tell me, wat is the transaction used in 602,603 and 604 systems for customizing Development Menu, In 600 i did it using txn SIGMA?
Trans SE43N
Similar Messages
-
Creation of Custom context menu in CL_GUI_TEXTEDIT
Hello all,
I need to develop a custom context menu in the Text Editor.
I am using the <b>CONTEXT_MENU</b> event of the class
<b>CL_GUI_TEXTEDIT </b>for the same.
It is giving a short dump with an exception 'empty_obj' in the method
<b>CL_CTXMNU_MGR=>CREATE_PROXY</b>.
Please help.Hello Tejas
The following sample report ZUS_SDN_TEXTEDIT_CTXMENU shows how to trigger context menus in text editor. Please note that the editor must be set <b>enabled</b>.
If you inactivate subroutine <b>SET_REGISTERED_EVENTS</b> the new context menu function will no be displayed. Thus you need to <b>register</b> the event for context menu handling.
*& Report ZUS_SDN_TEXTEDIT_CTXMENU
*& Flow logic of screen 100.
* PROCESS BEFORE OUTPUT.
* MODULE STATUS_0100.
* PROCESS AFTER INPUT.
* MODULE USER_COMMAND_0100.
REPORT ZUS_SDN_TEXTEDIT_CTXMENU.
TYPE-POOLS: cntl. " Types for Controls
DATA:
gd_okcode TYPE ui_func,
go_docking TYPE REF TO cl_gui_docking_container,
go_textedit TYPE REF TO cl_gui_textedit,
gd_name TYPE thead-tdname,
gs_header TYPE thead,
gd_langu TYPE thead-tdspras,
gt_lines TYPE STANDARD TABLE OF tline.
* CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:
handle_context_menu
FOR EVENT context_menu OF cl_gui_textedit
IMPORTING
menu
sender,
handle_ctxmenu_selected
FOR EVENT context_menu_selected OF cl_gui_textedit
IMPORTING
fcode
sender.
ENDCLASS. "lcl_eventhandler DEFINITION
* CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
METHOD handle_context_menu.
CALL METHOD menu->add_function
EXPORTING
fcode = 'MY_FUNC'
text = 'My Function'
* ICON =
* FTYPE =
* DISABLED =
* HIDDEN =
* CHECKED =
* ACCELERATOR =
ENDMETHOD. "handle_context_menu
METHOD handle_ctxmenu_selected.
CASE fcode.
WHEN 'MY_FUNC'.
MESSAGE 'My function selected from ctxmenu' TYPE 'I'.
WHEN OTHERS.
ENDCASE.
ENDMETHOD. "handle_ctxmenu_selected
ENDCLASS. "lcl_eventhandler IMPLEMENTATION
PARAMETERS:
p_pspnr TYPE prps-pspnr.
START-OF-SELECTION.
* Get the text object
gs_header-tdid = 'LTXT'. " long text
gs_header-tdspras = syst-langu.
CONCATENATE syst-langu p_pspnr
INTO gs_header-tdname.
gs_header-tdobject = 'PMS'.
CALL FUNCTION 'READ_TEXT'
EXPORTING
* CLIENT = SY-MANDT
id = gs_header-tdid
language = gs_header-tdspras
name = gs_header-tdname
object = gs_header-tdobject
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
* IMPORTING
* HEADER =
TABLES
lines = gt_lines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL SCREEN '0100'.
END-OF-SELECTION.
*& Form SET_REGISTERED_EVENTS
* text
* --> p1 text
* <-- p2 text
FORM
set_registered_events .
* define local data
DATA:
lt_events TYPE cntl_simple_events,
ls_event TYPE cntl_simple_event.
TYPES: BEGIN OF cntl_simple_event,
eventid TYPE i,
appl_event TYPE c,
END OF cntl_simple_event.
ls_event-eventid = cl_gui_textedit=>event_context_menu.
APPEND ls_event TO lt_events.
ls_event-eventid = cl_gui_textedit=>event_context_menu_selected.
APPEND ls_event TO lt_events.
CALL METHOD go_textedit->set_registered_events
EXPORTING
events = lt_events
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
illegal_event_combination = 3
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " SET_REGISTERED_EVENTS
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'MAIN_0100'.
* SET TITLEBAR 'xxx'.
CLEAR: gd_okcode.
IF ( go_textedit IS NOT BOUND ).
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
* REPID =
* DYNNR =
* SIDE = DOCK_AT_LEFT
* EXTENSION = 50
* STYLE =
* LIFETIME = lifetime_default
* CAPTION =
* METRIC = 0
ratio = 90
* NO_AUTODEF_PROGID_DYNNR =
* NAME =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT go_textedit
EXPORTING
* MAX_NUMBER_CHARS =
* STYLE = 0
wordwrap_mode =
c_textedit_control=>wordwrap_at_windowborder
* WORDWRAP_POSITION =
wordwrap_to_linebreak_mode =
c_textedit_control=>true
* FILEDROP_MODE = DROPFILE_EVENT_OFF
parent = go_docking
* LIFETIME =
* NAME =
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
gui_type_not_supported = 5
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD go_textedit->set_text_as_r3table
EXPORTING
table = gt_lines
EXCEPTIONS
error_dp = 1
error_dp_create = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD go_textedit->set_enable
EXPORTING
enable = cl_gui_cfw=>true
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PERFORM set_registered_events.
SET HANDLER:
lcl_eventhandler=>handle_context_menu FOR go_textedit,
lcl_eventhandler=>handle_ctxmenu_selected FOR go_textedit.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
CASE gd_okcode.
WHEN 'BACK' OR
'EXIT' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
WHEN OTHERS.
ENDCASE.
CLEAR: gd_okcode.
ENDMODULE. " USER_COMMAND_0100 INPUT
Regards
Uwe -
How to Get List Item in Custom Context Menu?
Hi,
I got this code from the net.
<CustomAction Id="SPTest.CustomMenuItem.ButtonClicked"
RegistrationType="ContentType"
RegistrationId="0x0101"
Location="EditControlBlock"
ImageUrl="/_layouts/IMAGES/DOCLINK.GIF"
Sequence="600"
Title="Click Me!"
Description="Shows an alert message for this content type."
>
<UrlAction Url="javascript:alert('Hello World!');" />
</CustomAction>
It creates a custom context menu. How can i get the selected item using that code..
Sorry for the tons of question. SharePoint newbie here (5 weeks in SP), Hehhehe!If you can redirect your request on context.....you can try this line of code
<UrlActionUrl=”~site/_layouts/ItemAudit.aspx?ID={ItemId}&List={ListId}”/>
The Idea is to send in query string parameter and get the ItemID in the Pageload Event of the page you want to redirect to.
Other tokens that are available
Token
Replaced By
~site/
SPContext.Current.Web.ServerRelativeUrl
~sitecollection/
SPContext.Current.Site.ServerRelativeUrl
{ItemId}
item.ID.ToString()
{ItemUrl}
item.Url
{SiteUrl}
web.Url
{ListId}
list.ID.ToString(“B”)
{RecurrenceId}
item.RecurrenceID
Srikant N , MCPD SharePoint Developer 2010 -
Custom Ribbon Menu in MS Project Professional 2013
Hi all,
I want to create a custom ribbon menu in MS Project Professional 2013 but I am not sure how to save it as a template and apply it enterprise wide.
Or is it something that needs to be packaged?
Thanks!
SJApologies for the delay. To get this working in VBA you need to construct a Ribbon XML format version of the menu as you want it. I've copied an example below, but there is a
Microsoft page with information on how the schema works. Key lessons I've learnt are that:
button id and group id values - doesn't seem to matter what they are, but they must be unique
imageMSOs - for the gallery of images that you can choose from is published by Microsoft
here. I found various pages that described how to add custom images to the ribbon in Excel, but I never managed to get them to work for me, so just stuck with the images in this file.
Don't expect any meaningful error messages if you make mistakes in the XML - it just won't appear. I found putting the value of the string into an XML editor was useful for highlighting some errors.
The ribbon menu is actually applied to projects rather than the application, so if you don't have any projects open, then the ribbon menu won't appear.
Here's my example, which adds a "New Menu" tab to the ribbon, with a couple of buttons to launch macros. This can just be added to a new module in your global file.
'===========================================================================
' Developed by A Simpson, 27 November 2013
'===========================================================================
Public Sub evst_AddCustomRibbon()
Dim customUiXml As String
Dim pj As Project
customUiXml = "<mso:customUI xmlns:mso=""http://schemas.microsoft.com/office/2009/07/customui"" loadImage=""LoadImage"" >" _
& "<mso:ribbon><mso:tabs><mso:tab id=""evst"" label=""New Menu"">"
customUiXml = customUiXml _
& "<mso:group id=""group0"" label=""Reporting"">" _
& "<mso:button id=""button0-1"" label=""Task Usage+"" size=""large"" " _
& "imageMso=""TaskUsageViewGallery"" onAction=""Macro1"" " _
& "supertip=""Gives a report of the projected expenditure on the project.""/>" _
& "<mso:button id=""button0-2"" label=""Resource Usage+"" size=""large"" " _
& "imageMso=""ResourceAllViewsGallery"" onAction=""Macro2"" " _
& "supertip=""Gives the projected headcount of the project in FTE values."" />" _
& "</mso:group>"
customUiXml = customUiXml _
& "<mso:group id=""group1"" label=""Eversight QA"">" _
& "<mso:button id=""button1-1"" label=""DCMA 14 point Analysis"" size=""normal"" " _
& "imageMso=""GroupResolveConflictsAndErrors"" onAction=""Macro3"" " & "supertip=""Executes the DCMA 14 point assessment of the current schedule.""/>" _
& "<mso:button id=""button1-2"" label=""Eversight Advanced QA"" size=""normal"" " _
& "imageMso=""PwaProjectProgressUpdate"" onAction=""Macro4"" " & "supertip=""Executes the Eversight QA Advanced checks, as configured in Eversight > Options."" />" _
& "<mso:button id=""button1-3"" label=""Eversight Basic QA"" size=""normal"" " _
& "imageMso=""PwaProjectProgressUpdate"" onAction=""Macro5"" " & "supertip=""Executes the Eversight QA Basic checks, as configured in Eversight > Options.""/>" _
& "</mso:group>"
customUiXml = customUiXml _
& "</mso:tab></mso:tabs></mso:ribbon></mso:customUI>"
For Each pj In Application.Projects
pj.SetCustomUI (customUiXml)
Next pj
End Sub
You'll also need an event which executes this macro. The following code goes in the "Microsoft Project Objects > ThisProject (Global.MPT)" module within the global file:
Option Explicit
Public WithEvents MSPApp As Application
Private Sub MSPApp_WindowActivate(ByVal activatedWindow As Window)
evst_AddCustomRibbon
End Sub
I hope that gets you started,
Thanks,
Andrew
Andrew Simpson
Founder – Eversight Ltd
E: [email protected]
W: www.eversight.co.uk
Download Eversight for MS Project — a free add-on which helps users build high quality schedules with MS project. -
Safari 4.0.3 Develop menu user agent default
I have noticed that whenever a new window is opened the user agent defaults to "Mozilla/4.0(compatible-MSIE 6.0 Windows NT 5.1-SV1-.NET CLR 1.1.4322".
Can I change the default to safari 4.0.3-Mac?Hi and Welcome to Apple Discussions
That setting ought to appear as "Default Automatically Chosen". May be corrupted preference file. In the Finder, go to Your User Account>Library>Preferences. There, move the com.apple.safari.plist file to the trash, then restart Safari.
On the restart Safari creates a new preference file, so all settings are returned to default values. Therefore, you'll need to reset your Safari preferences to your liking, plus any custom settings found in the Edit Menu (spelling) or View Menu (status bar, Address bar, custom icons in the "Customize Address Bar" ). The Develop menu is not part of the default settings. To activate it, go to the Safari Preferences in the Safari Menu and select the Advanced panel. There, you'll see at the bottom the option to activate it. -
How to register custom report under Custom Development Application
Hi 2 all
How to register custom report under the Custom Development application in R12 vision DB, and also confirm location/folder of Custom Development application in R12.
Thanks
ZulqarnainHi,
You may or may not need to "register" the workflow - it depends on the changes that you made and which Item Type you modified. Some applications are essentially hard-coded to use a specific item type and process, some hard-coded to use an item type but you can configure the process to use, and some allow you to specify which item type and which process to use.
Without knowing exactly what you have done, though, there is no specific advice that anyone can give you here on what you need to do, apart from to ensure that you have saved the new definition to the database.
HTH,
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://www.workflowfaq.com/blog ?
WorkflowFAQ support forum: http://forum.workflowfaq.com -
The custom development is not visible .
Hi Gurus,
I am trying to do the custom developments in SAP CRM 7 .
Eg : Creating a new component with a table view .
When I am trying to execute the custom development , Internet explorer opens but I cant see any thing .
Not even frame .
NOTE : Its not throwing any error .
Eg 2 : Adding a new view in the overview page of an existing component .
I cant see the assignment block in the view set configuration .
Is there any configuration need to be done for making the custom developments available ?
NOTE : This is a new system .
Thanks in advance .
Naval
Edited by: naval bhatt on Jul 22, 2011 11:37 AMHi Naval,
Please check whether you added your view under the main window in Runtime Repository.
Regards,
Lakshmi.Y -
Error while creating iViews after implementing custom hover menu in NW 7.3
Dear Experts,
We recently implemented a customized hover menu in Portal 7.3. Since then while creating an iView we are getting the following error :
java.net.MalformedURLException: Illegal character in query at index 1023: /irj/servlet/prt/portal/prtroot/com.sap.portal.pagebuilder.IviewModeProxy?iview_id=pcd%3Aportal_content%2Fcom.sap.pct%2Fadmin.templates%2Fiviews%2Fcom.sap.portal.adminStudioRedirector&iview_mode=default&isEmbedded=false&workUnitIndex=0&oClass=com.sapportals.portal.iview&PagePath=pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.content_administration/com.sap.portal.content_admin_ws/com.sap.portal.wd_portal_content&SerWinIdString=&tabID=Tab054b1825_40f6_11e1_8169_00000ace34a2&workUnit=pcd%3Aportal_content%2Fcom.sap.pct%2Fadmin.templates%2Fiviews%2Feditors%2Fcom.sap.portal.appintegratorWizard&com.sap.portal.reserved.cnfgurl=pcd%3Aportal_content%2Fadministrator%2Fsuper_admin%2Fsuper_admin_role%2Fcom.sap.portal.content_administration%2Fcom.sap.portal.content_admin_ws%2Fcom.sap.portal.wd_portal_content%2Fcom.sap.portal.admin.studio.configuration&ComponentType=com.sapportals.portal.iview&NavigationTarget=navurl://e9d5d97dd3e55c9763a4973a016a3cc6&where=pcd%3Aportal_content&TarTitle=Portal Content Management&NavMode=0&sessionID=1326796101929&PrevNavTarget=navurl://032ac1f471768f5a16cac8e152546fd3&objectID=pcd%3Aportal_content&HistoryMode=1&com.sap.portal.reserved.wd.pb.restart=false&what=portal_content/templates/iviews/sap_bi7x_report_iview&workUnitUniqueId=054b1824-40f6-11e1-81f7-00000ace34a2&editorID=Tab054b1825_40f6_11e1_8169_00000ace34a2&displayName=New+iView&ClientWindowID=WID1326795999656
The error persists for all iView templates. Please provide your inputs.
Best Regards
Gaurang DayalHi Gaurang Dayal,
The problematic part is the (first) space character within the parameter
TarTitle=Portal Content Management
You'd have to examine why this is not escaped.
Hope it helps
Detlev -
Creation of New Custom Development Object in Solar02
Hi,
We are trying to create an object type of Form for a new custom development object in solar02 under tab Development,and for this I get an error that the object doesn’t exist in development environment.
Based on my analysis, it looks like Solution Manager only allows to link pre-existing development objects but not creating new objects. Is that right? If not please advice how can we add new custom objects through solution manager.
Thanks & Regards,
Sandeep Alapatihi,
solar01/02 is the tools for documenation, it is not for creating objects.
basically it should allow you to enter any developement objects names, irerespective of whether they are created in the back end system or not.
please provide the screenshots.
Thanks
Jansi -
Post Upgrade Step "Adjust custom development"
Hello all:
Based on your BI 3.x to 7.0 upgrade experience, I wanted some insight on the post upgrade step "Adjust custom development per note 857904". Can you please share how you handled this, any details of activities done here...any tips?
Thanks,
PravinHi Pravin,
Hope this helps you -
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/472443f2-0c01-0010-20ab-fbd380d45881 - you can use this checklist for 2004s too!
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0d7c290-0201-0010-bbaa-d8f8af341796
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a1a0eb43-0b01-0010-23aa-908cc4eaabcd
Bye... -
Interactive Report - Add a 'custom' Action Menu Item
Hi,
I'm wondering if it is possible to add 'custom' Action menu items to an interactive report?
I have a situation where I want to use all the richness that an interactive report gives with it's out of the box functionality, then if a download is selected I need to be able to set a 'lock' on the currently selected records set before the records are downloaded.
I've had a good look around the forum and various other sites and I can't seem to find anything in this area. The nearest I can find is on the OBD tutorials the ability to add a 'Reset' button.
I know how to create custom download functionality, to which I could add the required record locking functionality and in turn link to a button, but what I don't know how to do is pull out the selection variables from the Interactive Report in order to construct my select query.
Maybe I'm barking up the wrong tree and there's a better way if so any suggestions would be most welcome.
Many thanks in advance Peter..
Edited by: Pete on Jun 30, 2011 4:16 PM
Edited by: Pete on Jun 30, 2011 4:24 PM
Edited by: Pete on Jun 30, 2011 4:31 PMHi,
For your issue, in SharePoint Designer, Click Custom Action->View Ribbon->Create Custom Action.
Then the extra form will show up in the Ribbon.
Refer to the following link:
http://www.abelsolutions.com/totm/creating-a-custom-action-in-2-steps-with-sharepoint-designer/
Best Regards,
Lisa Chen
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected] -
How to deploy custom development with JDI
We use JDI to deploy webdynpro for ESS application. for that we create a track, check in ESS components in the track and set up run time systems. now we are going to do custom development, for example: create interactive forms, etc.. we would like to use the same procedure to deploy modifications, but we could not found any software components to check in for the track. we are wondering, what should we do for our customer development? how do we create track without any software components?
Thanks
Jane ZhouHi
U can create the prduct and component by logging to SLD
http://hostname:port/sld
and then clicking on software catlog...
regards
Krishna -
How to deploy custom development
We use JDI to deploy webdynpro for ESS application. for that we create a track, check in ESS components in the track and set up run time systems. now we are going to do custom development, for example: create interactive forms, etc.. we would like to use the same procedure to deploy modifications, but we could not found any software components to check in for the track. we are wondering, what should we do for our customer development? how do we create track without any software components? If we don't use JDI, how do you get the modifications in to development environment after they are tested in NWDI? Do you allow developers to connect to sdm for development system driectly?
Thanks
Jane ZhouHi,
For that we should be creating a software component in SLD.
Define the required DC's for that.
After doing this we need to create track for this software component.
From then the way to develop will be same as modifying any ESS application the only change will be instead of saying create project in inactive DC's we say create application for the new Software component.
Regards,
Nagaraju Donikena. -
Any way to link a controls' custom shortcut menu to a new .rtm file?
My project programmatically generates controls from a template. The template has a custom shortcut menu that is saved in the project directory, and the generated controls all work fine with this. However, now I need to be able to export the project to other directories/machines, and so now the generated controls can no longer 'find' the .rtm shortcut file, despite it being in the same folder as the control. This means if I want to be able to use the menu I have to open every generated control (which there can be hundreds of) and right-click -> advanced -> run-time shortcut menu -> and then reopen the file.
Is there any way to programmatically link a controls' shortcut menu to a new .rtm file, or is there any way to set a controls' custom shortcut file as a relative path instead of an absolute one?
CheersMany people can solve their problems with the 20 page limit using custom components. You should check out this thread
http://forums.adobe.com/message/2500263#2500263
It is possible to use the onClick -> go to State and set states on a custom component or any of its subcomponents.
Catalyst does not currently support linking to a local files.
-Bear -
Problem with custom development for documents in Record Management
In Record Management i have setup a record model. It contains Bor objects, documents, cases and so on.
Each kind of record managent object has it own requirements.
For the documents there is a requirement which demands that if the scandate is changed also the date till which the document must be helded in the system must be changed.
This cannot be done automatically via default SAP and i don't want to let the customers do it there selfs, to much risk they make errors, so this must be done via custom development.
The logic searches in a enhanced method for the right attributes from the importing list of available attributes of the particular document.
This is going well in the development system but when i transport it to the test system it fails. I have noticed that the content of a custom developed field ( for example ZSCANDATE) is loaded well but a default field like SRM_DOM_STORAGE_START not. The systems returns an error that the description of the attribute is missing. When i look in the DMWB ( DocuMent WorkBench ) i dont see errors, but afcorse there is one.
What can i have forgotten in my record management installation?
Offcorse the test system is a copy of a working development system, but you have also some things that are system dependent. and i think i have forgotten some of those..
If you have a idea let me know!
kind regards,
Anton Pierhagen.Hi BalusC,
thanks for the quick answer. I tried it as you said and now I get a validation error in my h:messages tag on my jsf page after submitting the form. There are no errors in my JBoss console, just this one word on my jsf page. Do you have any idea what this could mean?
My two lists look like this:
private ArrayList<GroupBean> selectedItems = new ArrayList<GroupBean>();
private ArrayList<SelectItem> allGroups = new ArrayList<SelectItem>();The allGroups list gets filled like this:
for (GroupBean group: groups){
allGroups.add(new SelectItem(group, group.getName()));
}where groups is a simple collection of GroupBeans which I read from the database. This seems to be correct; at least my list of checkboxes shows the correct group names.
Now here is my selectManyCheckbox:
<t:selectManyCheckbox id="sensor_access" value="#{sensorBacker.selectedItems}" layout="pageDirection" layoutWidth="3">
<f:selectItems value="#{sensorBacker.allGroups}"/>
</t:selectManyCheckbox>Any idea what goes wrong here?
Thanks for your help!
Wiebke
Maybe you are looking for
-
How do I add another e-mail address to my mail preferences?
How do I add another e-mail address to my mail preferences?
-
PSE7 Restore to different PC fails to update drive letter in catalog
I'm trying to simply copy my catalog and photos from my desktop to my laptop to have with me when I'm away. From all the discussions it seemed like backup/restore was the best method in order to preserve all the tags and other data associated with th
-
I think my iPhone fried itself while driving on a business trip. I was driving for several hours listening to podcasts and occasionally checking maps. I was using an FM transmitter to charge the iPhone while listening to music. I stopped at a rest st
-
OraOLEDB.Oracle provider create connections (sessions).
Hi all, I have Link server between oracle and MSSQL with following versions, Oracle – 10G MSSQL – SQL Server 2008 R2 Link server provider=N'OraOLEDB.Oracle' After created link server then without actually doing any queries or anything oracle sid
-
Took a free trial of Adobe XI Pro but found it absolutely useless as I could not get anything to work as per tutorial. Now when I go to open a PDF file Abode put message to say my trial is over and to licence / buy product. When I close this messag