- This topic has 8 replies, 3 voices, and was last updated 20 years, 4 months ago by Riyad Kalla.
-
AuthorPosts
-
John ParkerMemberI 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.
Scott AndersonParticipant1) 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.
Riyad KallaMember1) 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.
John ParkerMemberInternationalization 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.
Riyad KallaMemberWell 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.
John ParkerMemberI 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?
Riyad KallaMember“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.
John ParkerMemberI see the externalize Strings wizard, however it does not seem to look at JSP files.
Should I move this to an enhancement request?
Riyad KallaMemberHow 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…
-
AuthorPosts