Web Dynpro Code Generator

Hi All
In webdynpro some files will be generated by "Web Dynpro Code Generator" internally and keeps in gen_wdp folder. One of the file (that is Internalview_XXX.java file) generated by this generator contains the methods which are duplicated there by at the time of DC build it is giving errors such as already defined
Thereby deleting these gen_wdp folder also does not solved my issues please any one can help me in this issue.
Regards
Prasad.

Hi,
You are correct - files in the gen_wdp folder are generated by NWDS using the WDP Framework.
Have you tried to edit these files directly? If so you will need to a second WDP project and create the view, then add whatever coding you did onthe older view. Finally you can delete the old view and replace it.
It is not guaranteed to work - but unless I have more information on what you are trying to do - I will not be able to give more help.
Hope that helps.
Thanks.
p256960

Similar Messages

  • Web Dynpro Code Wizard - code patterns

    Hello,
    the code patterns that are generated by the very helpful Web Dynpro Code wizard seem to be a little inconsistent in their syntax structuring.
    If I were to ask the wizard to read me a context node - I would get something like (some bits removed for brevity):
    data lo_nd_result type ref to if_wd_context_node.
      data lo_el_result type ref to if_wd_context_element.
      data ls_result type wd_this->element_result.
    * navigate from <CONTEXT> to <RESULT> via lead selection
      lo_nd_result = wd_context->get_child_node( name = wd_this->wdctx_result ).
    * get element via lead selection
      lo_el_emp_search_result = lo_nd_emp_search_result->get_element( ).
    * get all declared attributes
      lo_el_emp_search_result->get_static_attributes(
        importing
          static_attributes = ls_emp_search_result ).
    Yet if I were to ask the wizard to generate a message I would get:
    *  get message manager
    data lo_api_controller     type ref to if_wd_controller.
    data lo_message_manager    type ref to if_wd_message_manager.
    lo_api_controller ?= wd_this->wd_get_api( ).
    call method lo_api_controller->get_message_manager
       receiving
         message_manager = lo_message_manager
    *  report message
    call method lo_message_manager->report_t100_message
       exporting
         msgid                     =
         msgno                     =
         msgty                     =
    *     p1                        =
    *     p2                        =
    *     p3                        =
    *     p4                        =
    *     msg_user_data             =
    *     is_permanent              = ABAP_FALSE
    *     scope_permanent_msg       = CO_MSG_SCOPE_CONTROLLER
    *     view                      =
    *     show_as_popup             =
    *     controller_permanent_msg  =
    *     msg_index                 =
    *     cancel_navigation         =
    *     enable_message_navigation =
       receiving
         message_id                =
    Edited by: Thomas Jung on Apr 27, 2010 8:56 AM

    post  split to avoid silly size/formatting limits
    Ok - both work - but one is using the:     
    result = class_ref->methodname( parameters = paramvalue )
    and one is using 
    call method class_ref->methodname
                                      exporting parameters = paramvalue
                                    receiving result = result.
    As I often have to review code written by others, I encourage them to use these wizards - it helps speed code and prevents simple mistakes.  But code that contains multiple different syntax structure approaches is harder to read (albeit only slightly), moreover - it looks sloppy.
    But why are they not consistent in their syntax structure? (one could also argue why do we have multiple syntax structures for the same operation - but that's a different discussion).
    Is there some way customers can update these structures to match with their own internal coding standards - or something we can change so that they go one way or another?
    I look forward to other's thoughts on the same topic.
    Cheers,
    Chris

  • Web Dynpro Code Wizard doesn't have context tab

    When doing web dynpro development and when clicking the Web Dynpro Code Wizard, I can't see the context tab.  It looks like this: [http://twitpic.com/z2q92].  In other SAP systems I have seen the wizard look like this, where it has two tabs one of which is the context tab: [http://twitpic.com/z2qgh].  As the context tab is very useful, I would like to know how to get it to display. 
    I have searched in the SE80 settings and can't find any option related to this.  I also searched the forums here and could not find any related posts.  We're using the 700 release level 13 (as seen in this screenshot: [http://twitpic.com/z2qkf]).  Is there something I can do to make this tab appear?  If we need to implement a note or a newer support pack, which one would it be?

    As you stated the system without the context tab is NetWeaver 7.0.  The context tab and the extra wizards were new features in NetWeaver 7.0 Enhancement Package 1.  Your system would have to be updated to this NetWeaver Enhancement Package level in order to have this functionality.

  • MSS Web Dynpro code modification

    Hi,
    We are using XSS component on top of ECC 5.0. I need to make a small change to the standard Web Dynpro code delivered by SAP. Is there is an alternate way to modify the code without implementing JDI? Your thoughts are welcome...
    Regards,
    GN

    Hi Raju,
    Could you please gice me pointers on how to go about modifying the standard SAP ESS/MSS Web Dynpro applications?
    Is there any documentation for doing the same?
    Thanks and Regards
    Paddie

  • Web Dynpro Code Wizard in WDJ??

    Hi Guys,
    in Web Dnypro ABAP I frequently use the Code Wizard Tool to generate source code, call methods in controllers etc.. I guess you know what tool I mean..
    Is there such a thing for Web Dynpro Java as well?? Let me know!!
    Later, Johannes

    Hi,
    there is no code wizard in webdynpro Java. But You can use cntrl+space to see methods.
    Example you just type wd then press cntrl+space then you can see all the interfaces and classes starting from wd like  wdcontext,wdcomponentAPI etc. After that press dot(.) and see the methods under it.
    I hope it helps.
    Regards,
    Rohit

  • Experiences - Applying support packs to enhanced SAP Web Dynpro code

    Just thought I might highlight some experiences we've had with applying support packs for XSS. (Reply if you have your own experiences or a proven better way)
    Firstly, we are using Travel within XSS and have some significant developments to get this working globally.  Rightly or wrongly, we added our own DC's within the ESS application area and need to take this into account during support packs.
    As advised by SAP, we have not directly applied the support pack source code to the modified track, but created a separate SPXX track which we manually need to reaply all of our changes.  It dissapoints me that SAP don't recommend doing what the help.sap.com states, but there must be a reason for this (supposedly the meta data tool not yet available in NW04 will address the main reason).
    In order to get our custom DC's from the old track to the new; I needed to add all non-generated objects to an activity, connect SPXX-1 track to the SPXX track and transport all the way through to the approval stage to get it migrated (the connection can be terminated after this is done).  Again - Less than ideal, especially if you accidentally transport a generated file or miss a file.
    Then for all SAP Web Dynpro changes, we've documented all changes to the nth degree and it's at this point we manually reapply the changes - taking into account any SAP changes that may have occurred.
    I hope SAP promotes doing this a better way soon, but here's a process for anyone else needing to do this.
    Regards,
    Matt

    As you stated the system without the context tab is NetWeaver 7.0.  The context tab and the extra wizards were new features in NetWeaver 7.0 Enhancement Package 1.  Your system would have to be updated to this NetWeaver Enhancement Package level in order to have this functionality.

  • Web dynpro Abap generated URLs - Namespace vs Alias

    Hi,
    We have developped web dynpro abap applications on two systems that both have to be exposed to our external users in production. We would like to provide a unique host for the two systems by using an appliance in front dispatching the request to the correct system based on differences in URL.
    As all generated URLS are in the following format:
    /sap/bc/webdynpro/sap/z_test
    /sap/public/bc/ur/nw7/js/domainrelax.js
    /sap/public/bc/ur/nw7/js/autorelax.js
    We would like to be able to modify the first tag (/sap) for something else either by renaming it or by adding some other layer in front of it in order to get:
    /nwa/sap/bc/webdynpro/sap/z_test
    /nwa/sap/public/bc/ur/nw7/js/domainrelax.js
    /nwa/sap/public/bc/ur/nw7/js/autorelax.js
    We thought we could use an external alias on one of our systems in order to change the generated url of that system but it does not work as we expected. When we call our web dynpro application using the external alias, it correctly renames the application bath but all other urls stay the same:
    /nwa/sap/bc/webdynpro/sap/z_test
    /sap/public/bc/ur/nw7/js/domainrelax.js
    /sap/public/bc/ur/nw7/js/autorelax.js
    What could we do in order to have all URLs generated by an ABAP system either renamed or prefixed by something else?
    Thank you very much for your help!
    Regards,
    Renaud

    hi Xiaoming Yang  ,
    i am facing the same error . can you please tell me how you have solved this ??
    regards
    Sujay Kulkarni

  • Search for users in a particular LDAP through Web Dynpro code...

    Hi Experts,
    Let me try explaining my problem. In my project we are using two ADAM LDAPs. One for storing internal users and the other for storing external users. I have configured the portal to connect to both the LDAPs. I am able to search for the users created in both the LDAPs through portal Indentity Management.
    I am trying to search for the users in a specific LDAP through Web Dynpro coding... I am not lucky enough to get it done. Let me explain you what I did.
    I created a custom attribute for UME through config tool. Gave a physical mapping for the custom attribute in dataSourceConfig_xxx.xml to the LDAP attribute distinguishedName which returns the distinguished Name for the user in ADAM LDAP.
    For Example: Custom attribute in UME is ldapuser which is mapped to distinguishedName attribute in ADAM LDAP in dataSourceConfig_xxx.xml.
    When I do a search for the users in a particular LDAP, I am trying to put a filter to the newly created ldapuser attribute to distinguish between the two LDAPs.
    The search will result if I pass the value as '*'. If I try to specify the user path for the LDAP in this attribute it doesnt result any data.
    For example:
    userSearchFilter.setSearchAttribute(
         "com.sap.com.cust.admn",
          "ldapuser",
         "OU=16482515,OU=Members",
         ISearchAttribute.LIKE_OPERATOR,
         false);
    The above code will not return the data, whereas
    userSearchFilter.setSearchAttribute(
         "com.sap.com.cust.admn",
          "ldapuser",
         ISearchAttribute.LIKE_OPERATOR,
         false);
    Will result with user list from both the LDAPs.
    If anyone tried searching for users in a particular LDAP through code, please help me with this issue.
    Thank you in advance.
    Regards,
    Rekha Malavathu

    I just figured it out. Under "group-policy GroupPolicy_COMPANY_SSL_VPN attributes", I had to add "vpn-simultaneous-logins 15". Apparently, it was using the value "vpn-simultaneous-logins 0" under the NOACCESS group policy.

  • One section data of adobe form is not read by web dynpro code

    Hi,
    I am facing problem in adobe form integrated with web dynpro. Form is having Java script. There is a section in the form related to settlement rule of wbs. It can be added in the form by pressing add record button.
    When I use this form offline and press add record and one section is added. I fill the data in those two section and upload on the portal to process online data in the second section is not reaby the code whereas in the first section is present there.
    But if the same activity is performed online data is properly read by the code.
    Could you please assist if there is any issue of saving data in the form offline and how it is handled in offline form.
    Thanx..

    Hi ,
    Try this.
    I think  you have corresponding context node is in the WDP. using  'APPEND INITIAL LINE TO'  just add  some blank data to the context. .
    Inside the form, create a table  for the context node. so at  run time all the empty entry will be displayed. Make this Table as hidden.
    Create another  Table that will display all the non empty row from  the above hidden table. When ever  we add / delete rows, the corresponding entry will update the hidden table. or else you can update the  hidden table on the click event of SUBMIT .
    Hope  this will help you.
    Regards ,
    Shaira

  • Problem while moving Web Dynpro code from one env to other

    Hi Experts,
    I have developed some Web Dynpro program in Development Environment. The Web Dynpro program uses BAPI and gets data from R/3.  I have to transfer the Web Dynpro program to Quality environment. When I am trying to compile, I am getting following error message:
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'DT8_METADATA' in the SLD. No such JCO destination is defined in the SLD.
    In Development environment, I have created JCOs called DT8_METADATA and DT8_METADATA. Is it important for me to create same named JCO in Quality as well.
    Regards,
    S

    Hi,
    the JCO destination names u have created in Dev also needs to be created in Qlty also with targetd destination msgserver.
    This might helps you to run in Quality.
    Thanks,
    Lohi,

  • Exclusive Checkout - Web Dynpro codes from NWDI

    HI, SDN fellows.
    I imported the SC Configuration, and created the project of the DC. When I try to open the file, just wanna to view the codes (not plannig to change them). There is a pop up message with check box - "Exclusive Checkout".
    What is the meaning of "check" or "uncheck" the "Exclusive Checkout"?
    In my case (just wanna to view the codes, not planning to change them), should I "check" or "uncheck" it?
    Thanks,
    Kent

    HI,
    when you try to touch any file in DC which belongs to NWDI track, NWDS will ask you to create activity to insure you are not going to make any changes accidently..
    when you just want to see the code, and have no intention to touch source, then just dont checkout it.
    In your case don't check out anyhting, if pop up comes then just cancel it.
    whatever Marlo said about exclusive check out is right.
    not only you can exclusively check out your file but a complete DC also. so when you are working on any DC nobody would able to touch it, it becomes read only for every other user except you.

  • How do I edit the file created by code generator?

    hi all,
    I want to modify a java file that is generated when you create the webdynpro, but I can not change.
    // This file has been generated partially by the Web Dynpro Code Generator.
    // MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
    // ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
    how can I disable the file to modify
    thanks!

    Hi Pablo.
    There's no way to modify it, NW2004s and its IDE has a code compilation based in some internal scripts based on eclipse plugin architecture.
    In your code you must consider this.
    1 - Try to find in your declared methods, importing directives, packages declarations  some like this:
    // This file has been generated partially by the Web Dynpro Code Generator.
    // MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
    // ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
    package com.sap.teste;
    // IMPORTANT NOTE:
    // ALL IMPORT STATEMENTS MUST BE PLACED IN THE FOLLOWING SECTION ENCLOSED
    // BY @@begin imports AND @@end. FURTHERMORE, THIS SECTION MUST ALWAYS CONTAIN
    // AT LEAST ONE IMPORT STATEMENT (E.G. THAT FOR IPrivateTesteApp).
    // OTHERWISE, USING THE ECLIPSE FUNCTION "Organize Imports" FOLLOWED BY
    // A WEB DYNPRO CODE GENERATION (E.G. PROJECT BUILD) WILL RESULT IN THE LOSS
    // OF IMPORT STATEMENTS.
    //@@begin imports
    import com.sap.teste.wdp.IPrivateTesteApp;
    import com.sap.myimport.MyClass;
    //@@end
    //@@begin
    //@@end
    it means that between begin and end...you can add what you want..and the code will not be removed after class compilation....
      //@@begin javadoc:wdDoExit()
      /** Hook method called to clean up controller. */
      //@@end
      public void wdDoExit()
        //@@begin wdDoExit()
        //@@end
    int this case too....if you implement something between //@@begin and //@@end in the method scope...all part of your code will be surely safe.

  • No NWDI activity asked while modifying the Web Dynpro java code

    Hi,
    We have 2 team in our project, one offshore team and one onsite team. We have NWDI also in our landscape.
    I have created 1 project in my local NWDS from DTR using create project  option from NWDI track , when i do any modification in that web dynpro code once it appears in my local NWDS, its asking for the activity, all this is fine.
    But when my offshore team send me this project from offshore (offshore team also working on this project), i go to my local machine under C:\Documents and Settings\user\.dtc\0\DCs\xyz.org\.. (workspace, where all the project folders are created in my local machine ) and replaces the web dynpro project  (which i created using create project option from NWDI track ) with the project which offshore teams gave me  that is I copy paste the project folder I received from offshore team.
    I closed the NWDS and reopened NWDS, i did repair and reload also, but now when i try to do any code modification in that project its not asking any activity at all. So i want to know the reason why its not asking activity at all while modifying the code.
    if now i do any code changes, and since no activity is asked, it wont be transported to QA and Prd system.
    Can anyone have any suggestion on this..

    Hi GLM,
    I think you might be right that some files are in read as well as write mode. I went to my local machine and checked the project folder C:\Documents and Settings\user\.dtc\0\DCs\xyz.org\testproject\_comp\.dcdef  file , its not in read only mode, that is read only flag was not checked.
    I again checked the mode of .dcdef file in other web dynpro projects which are asking for the activity in all those projects mode of .dcdef was read only that is read only flad was checked in .dcdef file.  ( I am not sure is .dcdef file only giving this problem that si because of this file not in read only mode I am not asked for the activity)
    So could you plzz tell me how to make in read only. when ever i click the read only check box of .dcdef file and reload the project in my NWDS. that read only check box is getting removed. how to do this..
    regarding your query, landscape in offshore team and onsite team are different, client has not provided nay access to its landscape to ofshore team so offshore team can not check in / check out the code written by me and same applies to me I can not check in / check out the code written by offshore team , only option is offshore team do some changes in the code and send the project folder via email and I have to deploy in client landsacpe and do further modification.

  • Maintaining custom Web Dynpro Java applications

    We are a relatively new Web Dynpro Java shop, and I hope to propose a standard for code modification documentation to my organization. I have a few questions for WDJ maintenance developers:
    When documenting creation and modification activities, what is the benefit of using the javadoc comment convention?
    In the controller implementation tab, when I use the Source --> Add JavaDoc Comment tool, the comment block is always inserted into the
    //@@begin imports
    tag. Is the automatically generated tag
    //@@begin documentation
    in the controller implementation tab useful? Should summary information and ongoing modification comments for the controller be stored here?
    Does anyone require full javadoc comments on every new method? @param, @return, @exception?
    Do the NWDS/Eclipse Tasks and/or Bookmarks provide any real value? I have observed that bookmarks are useless for flagging code changes because they are dropped whenever edits are saved. I'd like to leverage Tasks, are there any examples of using them successfully that can be shared with me?

    The Java source in Web Dynpro is generated from the meta-data. Manual changes must be done exclusively inside the so-called user coding areas marked by comments //@@begin ID ... //@@end. That has the consequence that many of the Eclipse source code and refactoring functionality does not work anymore resp. is overwritten by the code generation step. Please be careful.
    Armin

  • First Web Dynpro application error

    Hi,
    I'm new to SAP portal development, when I tried to deploy my first web dynpro application, I getting the below error.  I have followed exactly the same procedure described in the tutorials.  I'm using NW Sneak preview.  What is DC mean?
    An error has occurred:
    "Failed to process the request."
    Please contact your system administrator.
    Hide details
    Web Dynpro client:
    HTML Client
    Web Dynpro client capabilities:
    User agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0, version: null, DOM version: null, client type: ns7, client type profile: nn7, ActiveX: disabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
    Web Dynpro runtime:
    Vendor: SAP, Build ID: 6.4009.00.0000.20041104173322.0000 (release=630_REL, buildtime=2004-11-18:22:17:10[UTC], changelist=298578, host=PWDFM027)
    Web Dynpro code generators of DC local/Welcome:
    SapDictionaryGenerationCore: 6.4010.00.0000.20040910101802.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:15:29[UTC], changelist=280522, host=PWDFM026.wdf.sap.corp)
    SapMetamodelWebDynpro: 6.4010.00.0000.20041213121535.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:19:39[UTC], changelist=312712, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCore: 6.4010.00.0000.20041126121122.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:08:55[UTC], changelist=306364, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 6.4010.00.0000.20041209081817.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:37:37[UTC], changelist=311488, host=PWDFM026)
    SapWebDynproGenerationCTemplates: 6.4010.00.0000.20041209081817.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:37:37[UTC], changelist=311488, host=PWDFM026)
    SapGenerationFrameworkCore: 6.4010.00.0000.20041104141254.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:07:58[UTC], changelist=298452, host=PWDFM026.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 6.4010.00.0000.20041104141931.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:24:21[UTC], changelist=298465, host=PWDFM026.wdf.sap.corp)
    SapMetamodelDictionary: 6.4010.00.0000.20040609163924.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:12:38[UTC], changelist=253570, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCommon: 6.4010.00.0000.20041126121122.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:09:08[UTC], changelist=306364, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationCore: 6.4010.00.0000.20041104141931.0000 (release=630_VAL_REL, buildtime=2004-12-13:22:24:53[UTC], changelist=298465, host=PWDFM026.wdf.sap.corp)
    SapDictionaryGenerationTemplates: (unknown)
    Web Dynpro code generators of DC sap.com/tcwddispwda:
    No information available
    Web Dynpro code generators of DC sap.com/tcwdcorecomp:
    No information available
    J2EE Engine:
    No information available
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_07-b05, vendor: Sun Microsystems Inc.
    Operating system:
    Windows XP, version: 5.1, architecture: x86
    Error stacktrace:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for view com.sap.examples.welcome.StartView. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.<init>(DelegatingView.java:41)
    Caused by: java.lang.NoSuchMethodError: com.sap.tc.webdynpro.progmodel.gci.GCIContext.createMappedAttribute(Ljava/lang/String;Ljava/lang/String;Z)Lcom/sap/tc/webdynpro/progmodel/gci/IGCIAttributeInfo;
         at com.sap.examples.welcome.wdp.InternalStartView.<init>(InternalStartView.java:43)
         ... 36 more

    Hi Siva,
    to my understanding - your problem has nothing to do with J2EE server configuration - your application is already deployed on the server and running (brings error though):
    at com.sap.examples.welcome.wdp.InternalStartView.<init>(InternalStartView.java:43)
    so your class is already called.
    DC = Development Component, but if you created a "simple" WebDynpro project - you should read the hint as "are you sure your project is properly deployed?"
    I got similar messages (see your quota about NoSuchMethodException - I'm not really sure I was getting NSME, but definitely "Failed to create delegate for view") in case a Java-type context attribute was not initialized (e.g. you create context attribute of type java.util.Properties, do not put any object there, and request the attribute value). Check if you properly initialize context attributes.
    Another thing - I presume you're running DevStudio of the same version as your server. DevStudios of different versions generates different sources - there could be problems in run-time when out of synchronization.
    Best regards,
    Nick

Maybe you are looking for

  • How to do I add Adobe Photoshop CS6 Extended Student and Teacher Edition Bundle to my basket?

    Hi there, I was just wondering how i could add Adobe® Photoshop® CS6 Extended Student and Teacher Edition Bundle to my basket as it wont let me once i have selected the bundle option. Many thanks Tom

  • Apple TV not showing up in Airplay devices

    After reading some other discussions regarding similar issues with Airplay, I can't seem to find a working solution. I'm having trouble getting my Apple TV to show up as a speaker in Airplay on my iOS devices (iPad and iPhone 4). The strange thing is

  • How much does it cost to repair a headphone jack?

    i cant hear the vocals of songs through earphones  only some vocals play  their was something in the jack but i got it out but now it is doing that   any ideas how much it cost to fix? cheers

  • Output Service invocation with webservices

    Hello, I want to invoke the output service with a Java Client using webservices. I have generated the proxy Java classes using Apache Axis, and then I wrote a Java Client invoking the output service, using a simple form (xdp file) and a data xml file

  • Idisk public folder

    Not sure this is the correct place but I cannot get the password to work on letting someone use my public folder. It asks for a password but it is my main password not the one I enter when using the mac tab on System Preferences.