[
https://issues.apache.org/jira/browse/FELIX-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Valentin Valchev updated FELIX-1988:
------------------------------------
Attachment: 6.vmstat.patch
This patch (6.vmstat.patch) updates the "System Information" plugin:
- to use templates instead of hard-coded HTML code inside the servlet.
- use JQuery UI framework and the other common utilities: JS & CSS in lib folder
- uses the i18n framework for translation of the strings
Notice, the visual interface is still not quite polished, but later, the UI
will be updated and will look much better. The reason for this is that I didn't
integrated the CSS changes in the webconsole.css. ( will be done later, when
all plugins are updated to JQuery UI).
I'm waiting for your comments on i18n.
In the templates I've used:
$(vmstat.stopped)
and in resource file:
vmstat.stopped=Framework has been stopped.
Instead, I could use in template:
${Framework has been stopped.}
And no need to update the string in the resource bundle. However, this second
variant raises the question:
What if we change the original string as example to "${The OSGi framework has
been stopped.}. That simple change would require translation of all resource
bundles, or leave the ugly line in the original resource bundle:
Framework has been stopped.=The OSGi framework has been stopped.
So, please, give you opinion here. Which method is better and should be used
for other plugins.
> Integrate jQuery UI integration into the Web Console Trunk
> ----------------------------------------------------------
>
> Key: FELIX-1988
> URL: https://issues.apache.org/jira/browse/FELIX-1988
> Project: Felix
> Issue Type: Task
> Components: Web Console
> Affects Versions: webconsole-2.0.4
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: webconsole-3.0.0
>
> Attachments: 2.use-utility-methods.patch, 3.javadoc-public-api.patch,
> 4.webconsole_src_main_resources_res_lib.zip, 5.main_template.patch,
> 6.vmstat.patch, abstr-simple-web-console2.patch, src.zip
>
>
> Valentin Valchev has implemented jQuery UI support in the web console. This
> issue is to keep track of this migration.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.