[
https://issues.apache.org/jira/browse/TAPESTRY-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564351#action_12564351
]
Ernest Monklitch commented on TAPESTRY-2098:
--------------------------------------------
Also all JS should be in a separate jar that developer could choose to use or
not. This way if Tapestry sees that there is no JS available it won't use it at
all. The functionality is there in the components. (Because all components
fallback to ordinary whole-page-post cycle if user doesn't have js turned on.)
This would be very nice because some clients still don't accept _any_
javascript to be referenced in the html and / or sent to browser. (Or their
inhouse developed browser-client.)
Anyways, that would be the perfect world. I haven't looked at the source but
this can't be impossible, right? I'm volunteering to do the job also, but this
really need to be thought through twice before implementing..
Also could it be possible to give developers the possibility to replace
scriptaculous/prototype with their own choice. (Going a bit too far there?) I
mean that core Tapestry would provide a set of interfaces that the JS jar must
provide to work. (The interfaces would return JS that would achieve whatever
Tapestry needs in the browser side.) After this change the Tapestry ajax
support would be only reference implementation using scriptaculous/prototype.
But, back to the point: there should be developer configurable on/off toggle
that would hide the JS entirely from the client.
> Pack javascript (prototype, scriptaculo etc.)
> ---------------------------------------------
>
> Key: TAPESTRY-2098
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2098
> Project: Tapestry
> Issue Type: Wish
> Components: tapestry-core
> Affects Versions: 5.0.10
> Reporter: Alexey Pomogaev
> Fix For: 5.0.10
>
>
> Current JavaScript: prototype.js, sriptaculo.js etc. in tapestry resources
> not packed. Please pack this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]