Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with translating sch*Chart.jsp #27

Open
changtung opened this issue Jan 12, 2018 · 1 comment
Open

Problem with translating sch*Chart.jsp #27

changtung opened this issue Jan 12, 2018 · 1 comment

Comments

@changtung
Copy link
Member

In files patterned sch*Chart i have problem translating these three or four files.
There is mixed jsp and javascript in these files for cuple variables.
For example in schAdhByRouteChart in line 55 there is:

String chartSubtitle = allowableEarly + " min early to "
+ allowableLate + " min late
"

I want to translate string "min early to" to fmt.
I made c:set wrapped with this a fmt message. I tried using jsp in javascript but don't have idea how to translate this string.
Normally i am using

<fmt:message key="div.minutes" />

formatting.
I tried

<c:set var="a"><fmt:message key="div.minutes" /></c:set/>

But jsp compiler writes that variable is not defined.
I am thinking also of creating different jsp project just for testing this issue in order to not compile for 10 minutes entire transitime to see the results.
How can i pass fmt message to that variable?

@scrudden
Copy link
Member

I have a setup similar to this https://www.mkyong.com/java/how-to-convert-java-project-to-web-project-in-eclipse/ in eclipse.

This server options need the j2ee extensions installed in eclipse.

https://stackoverflow.com/questions/7170694/installing-j2ee-into-existing-eclipse-ide

When you have made the api and the webapp into web projects you will be able to right click on the tomcat server (in the server tab) in eclipse and add them as modules and they will auto deploy when you make changes.

sheldonabrown pushed a commit to sheldonabrown/core that referenced this issue Sep 30, 2022
…-APIs-to-Search-by-Time-Band-instead-of-Time-Range_79

API - Updated APIs to Search by Time Band instead of Time Range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants