Several of the actions take advantage of the implicit return statement to return data to a GSP page named the same.
有些动作利用隐式的return语句将数据返回到具有相同名称的gsp页面。
When you send out WML from a GSP, you must override the default MIME type from text/html to text/vnd.wap. wml, as in the first line of Listing 1.
当从GSP 中发送出WML 时,切记要将默认的MIME类型text/html 替换为 text/vnd.wap.wml,如清单1 中的第一行所示。
The key to GSP development is realizing that a GSP is essentially a template and, therefore, may be best served by limited logic. I'll create a simple GSP in Listing 7 to get us started.
GSP开发的关键是认识到GSP实质上是一个模板,因此,它最适合有限的逻辑。
My next step is to forward the request, using a RequestDispatcher, to a GSP that will handle the view component of the reporting application. The new report Groovlet is defined in Listing 8.
下一步是用RequestDispatcher将request转发给GSP,它会处理报告应用程序的视图部分。
On the surface, GSPs look just like JSPs, but actually, they couldn't be more different because the GSP framework is really a template engine.
表面上,GSP看起来很像JSP,实际上它们不可能有太大的差别,因为GSP框架其实就是一个模板引擎。
Seemingly hoping to appear unaffected, the central bank denied in a statement that the loss of GSP Plus would have an adverse impact on Sri Lanka's exports.
表面上,斯里兰卡中央银行,在一份声明中拒绝承认失去“普惠制+”适用将会给斯里兰卡的出口行业带来不利影响,希望表现出没有受到欧盟的影响。
For larger blocks of GSP markup, you can use a partial template.
但是对于更大块的GSP标记来说,可以使用片断模板。
Yet the narrowing of GSP is a sign of troubled times, with Europe growing more fretful about its decline.
然而,普遍优惠制范围变窄是乱世的标志,欧洲对它实力下降越来越烦躁。
The leading underscore is a hint to the framework (as well as a visual cue for the developer) that this isn't a complete, well-formed GSP.
前面的下划线是对框架的提示(对开发人员也是个明显的提示),告诉框架这不是个完整的格式良好的GSP。
Under a trade deal with the European Union called GSP-plus, Sri Lanka's garment exports (its second-largest source of foreign exchange) enjoy duty-free access to the EU.
斯里兰卡在普遍化优惠关税特殊优惠方案的条件下与欧盟做成衣出口(斯里兰卡外汇收入第二大来源)交易时,享受着免税进入欧盟的待遇。
Rather than putting more logic in the GSP, this feels like the perfect place for a custom TagLib.
这时就不是将更多的逻辑放入到 GSP 中了,最好的地方是一个定制的 TagLib。
If you find yourself copying and pasting the same snippet of GroovyServer Pages (GSP) code in multiple places, you can create a partial template or a custom TagLib.
如果您需要在多个地方复制和粘贴相同的GroovyServer Pages (GSP)代码段,您就可以创建一个部分模板或一个自定义TagLib。
Fortunately, I can resolve the situation by creating a simple GSP to complement the Groovlet.
幸运的是,可以通过创建一个简单的gsp来补充这个Groovlet,从而解决这个问题。
GSP is a thin Groovy facade over standard HTML, making it easy to shell out of the framework and use native Web technologies whenever you feel the need.
GSP是在标准HTML上的薄薄的一层groovy层,因此在必要时,可以轻松地将它从框架中取出来,并使用原生的Web技术。
Thus, the first step to setting up a Groovlets and GSP implementation is to define a web application context and update its associated web.xml file.
因此,建立Groovlet和GSP的实现的第一步是定义一个web应用程序上下文,并更新它的相关web . xml文件。
A file extension of .gsp is a dead giveaway, as is the copious use of tags that begin with <g:.
文件扩展名 .gsp 就是一种很明显的方法,就好像很多以
You can achieve all of this functionality in about 150 lines of code spread across a single GSP file and three controllers.
您可以在1个GSP文件和3个控制器中,用大约150行代码实现所有这些功能。
You should now know a bit more about GSP and the alternate view technologies available to Grails. You should have a better understanding of the default tags used in many of the generated pages.
现在您对 GSP以及Grails可以使用的其他视图技术应该有了进一步的了解,并更好地理解了在生成的众多页面中使用的默认标记。
If you take a quick look back at the diagnostic Groovlet in Listing 6, you might see where it could stand to be improved with GSP code.
如果快速查看一下清单6中的诊断groovlet,就可以看出GSP代码改进了哪些地方。
For countries like Brazil and Argentina (which depend on GSP for about half their exports to the EU), the lost privileges should be made up, even surpassed, by a future trade deal.
对于像巴西和阿根廷这样的国家,它们出口欧盟的商品中有一半依赖于普遍优惠制,它们失去了的特权将依据未来的贸易协定得到补偿,甚至是超额补偿。
Another thing is to do a general certificate of origin and GSP certificate, we must do.
再就是做一般产地证的和普惠制证书的,也要去做。
A regional association contributing to the comprehensive regional economic integration of its members may be granted GSP cumulation benefits.
加入综合区域经济集团成员国的区域性联盟,可得到普惠制的累积优惠额。
This in certify that these two copies of GSP Certificates Form a issued by the official of our bureau are true and reliable.
兹证明我局官员签发的这两份普惠制格式证书均是真实、可信的。
It now seems there is general agreement that a single across the board origin rule based on the value added by the processing in the GSP beneficiary country will not work.
似乎普遍的看法是,一个基于在GSP受惠国加工附加值的顾及各方面的的原产国规则是行不通的。
And these systems are taken GSP is not only a particular group.
而这些制度采取的都是普惠制,并非只针对某一群体。
GSP Certificate of origin, Form a, certifying goods of origin in China, issued by competent authorities.
该条款要求由授权机构签发普惠制原产地证明书格式a,证明货物的原产地在中国。
Quality Inspection Center, room acceptance conservation, medicine specimen room, has passed a State Drug Authority "medicine quality control" (GSP) acceptance.
有质量检测中心、验收养护室、中药标本室,目前已通过国家药品监督管理局《药品经营质量管理规范》(GSP)验收。
Quality Inspection Center, room acceptance conservation, medicine specimen room, has passed a State Drug Authority "medicine quality control" (GSP) acceptance.
有质量检测中心、验收养护室、中药标本室,目前已通过国家药品监督管理局《药品经营质量管理规范》(GSP)验收。
应用推荐