<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gnety</author_name>
  <author_url>https://blog.hatena.ne.jp/gnety/</author_url>
  <blog_title>gnety試験管</blog_title>
  <blog_url>https://gnety.hatenadiary.org/</blog_url>
  <categories>
    <anon>JRuby</anon>
  </categories>
  <description>制御構造にはJSTLが使えるからいいけど、フォームやリンクを生HTMLで書くのは不便なのでカスタムタグを用いて記述したいところ。 いろいろ考えたが、Railsの機能を使いつつタグファイルによるカスタムタグ作成ができたのでメモ。 JSPのエスケープシーケンスを使う はRailsでも使うがJSPでもスクリプトレットとして解釈されてしまう。 これをJSPで解釈されずにRailsに解釈させたい。 そこでエスケープシーケンスを用いてにすることで、JSPでの解釈を回避できた。 JSPにそのまま書く場合はこんな感じ &lt;\%= link_to &quot;linkName&quot;, :action =&gt; &quot;add&quot;, :v1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgnety.hatenadiary.org%2Fentry%2F20100609%2F1276099863&quot; title=&quot;JSPからRailsの機能を使う - gnety試験管&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-06-09 01:11:03</published>
  <title>JSPからRailsの機能を使う</title>
  <type>rich</type>
  <url>https://gnety.hatenadiary.org/entry/20100609/1276099863</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
