facebook

Can’t Access Some Features

  1. MyEclipse Archived
  2.  > 
  3. Old Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #210136 Reply

    John Parker
    Member

    I seem to be at a loss as to how to access some of your features in the 3.8 beta 2 release.

    1. How do I use the Database Explorer? I use New, Other, SQL Editor under Database Explorer category, but once in the file, I have nothing under Choose Connection. How do I create a connection?

    2. Struts Datasource Declaration – I am struggling with this – could someone provide an example config for mySQL? Is this why 1. does not work?

    3. Internationalization – how about a quick outline as to how to set this up?

    I hope you are planning to add some updated documentation in the near future. I realize creating those videos must be very time consuming, all I need are the general steps to follow.

    #210145 Reply

    Scott Anderson
    Participant

    1) The easiest way to get everything open easily is to go to Window > Open Perspective > Other… > MyEclipse Database Explorer. Connections are managed under Window > Preferences > MyEclipse > Database Explorer > Drivers.

    On 2 & 3, I’ll have to ask someone else to help out.

    #210146 Reply

    Riyad Kalla
    Member

    1) Window > Show View > Other… > MyEclipse > (db stuff here)
    2) Struts docs and devs say NOT to use this for a production environment, use your application server’s datasource instead.
    3) I’m confused about this question, what internationalization support are you referring to?

    As far as videos, yes definately, we like them a lot, just need the time to make them.

    #210445 Reply

    John Parker
    Member

    Internationalization support of any kind…

    I assume you add a resource bundle somewhere with all of your strings in it…then access them using the jstl <fmt:> tag. Are you planning to supprt this in your interface?

    If you want to see a nice implementation of i18n, please see NitroX at http://www.m7.com

    Thanks and looking forward to 3.8 release.

    #210447 Reply

    Riyad Kalla
    Member

    Well we don’t have any explicit i18n support for the Struts internationalization. You are free to setup your message resources and edit them with a normal Text Editor. I’m happy to look at the M7 product if you could provide a link to a screenshot, or a particular time into one of their demo movies.

    #210455 Reply

    John Parker
    Member

    I guess as long as there is preview support, that’s pretty good, although some gui input help would be much better.

    You can see it in action in the long demo video at http://www.demosondemand.com/clients/m7/001/page/demo.asp
    and skip forward to just before the 8:00 minute mark.

    One of the nice features is that if you double-click on the message part of the tag, it takes you right to it in the resource file so you can edit it directly.

    They use the Struts <bean:write> method, but IMHO I think the path to follow now is to use the JSTL <FMT:> tag, which is very similar but a more accepted standard.

    By the way, I just read about something called the “Externalize Strings wizard” in another post…what is this?

    #210468 Reply

    Riyad Kalla
    Member

    “Find Strings to Externalize”, its an Eclipse feature under the “Source” submenu if you right click on your project. It searches for literal strings to break out into a properties file for you and replaces the string usage with a static call to a properties utility class to lookup the string. Kinda slick.

    #210742 Reply

    John Parker
    Member

    I see the externalize Strings wizard, however it does not seem to look at JSP files.

    Should I move this to an enhancement request?

    #210743 Reply

    Riyad Kalla
    Member

    How would you propose the functionality work in a JSP page? I doubt that a good catch-all solution for JSP could be made for this… consider things like:

    <td>You now have <bean:write name=”cart” property=”size” /> items in your cart, do you want to <html:link name=”cart” property=”checkout”>checkout</html:link> now?</td>

    Which part of this is a String that should be externalized? How many strings here should be externalized? What should they be replaced with? What about scriplets? etc. etc…

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Can’t Access Some Features

You must be logged in to post in the forum log in