Displaying 20 results from an estimated 50000 matches similar to: "adding anchor ref in controller action"
2020 Jul 17
3
[FileCheck] RFC: Add support for line anchors.
Hello,
I was wondering about extending FileCheck to enable creating line
anchors. These are numeric variables that hold the value of the line
number that where they were defined.
The motivation for this comes from test cases using clang-based
diagnostics which often include notes attached to source locations in
different parts of the file. In order to test for the correct location
of the note,
2020 Jul 17
2
[cfe-dev] [FileCheck] RFC: Add support for line anchors.
Hi Joel,
That sounds like a very nice idea and definitely a direction I could
get behind. However I feel that outside the use case I suggested, this
functionality would only be used to compress CHECK lines that contain
repeated text, not saying its a bad or good thing though. WDYT?
~Nathan
On Fri, 2020-07-17 at 14:52 -0400, Joel E. Denny via cfe-dev wrote:
> Hi Nathan,
>
> On Fri, Jul
2008 Jan 02
5
anchor tags?
Hi,
Is there a cool webgen way to do anchor tags? I''ve just been doing this:
<span id="anchor_name"/>
...but is there a better way?
Thanks,
Chad
2006 Jan 12
1
adding a destination anchor in the link
hi, I would like to specify a destination anchor in the generated link with
the link_to helper, so the navigator opens the document at the given point.
it should look something like this:
/blog/archive/2006/01/10/test-post.html#comments
I tried it with the following code:
<% link_to("comments",
:controller => "blog",
:action => "archive",
:year
2006 Jun 08
8
another routes question
i need help setting up the routes for my app.
I have created about 10 controllers in the app/controllers/pro
directory:
app/controllers/pro/address_controller.rb
app/controllers/pro/certification_controller.rb
app/controllers/pro/program_controller.rb
app/controllers/pro/program_controller.rb
and so on...
The problem is that I would like to also use app/controllers/pro as a
controller; so
2006 Jun 10
2
How can I link/anchor down the page with #anchor in urls?
I''m trying to expand on a blog tutorial and one thing I can''t figure out
is how to use anchors within pages.
For example say I have sections on a page with anchors like <a
name=section1"</a> through <a name=section6"</a>. Using older non-rails
methods I would construct urls that contains the pound symbol and anchor
name in the url such as
2013 Jun 12
0
[LLVMdev] "anchor" method policy, request for clarification
(+Chris, since I assume he wrote this policy - and, as I said in my
previous email, I wouldn't mind seeing some justification or just
seeing the rule go away & drop the anchors I added previously (or, if
we're going to keep it, we could add more anchors & actually get to
the point where we're -Wweak-vtable clean & enable that warning))
On Wed, Jun 12, 2013 at 1:44 PM,
2006 Jul 24
0
Why doesn''t default_url_options :anchor => ... work for render
In my action, I test to see if a particular button was clicked, if it
was, I want the template to render, but to go to a particular anchor,
like #company.
E.g.
if params[''add_company'']
default_url_options :anchor => ''insurance''
end
#... logic
# then default render
In the add.rhtml:
<a name="company">
<%= text_field model, company_name
2003 Jun 04
1
[rfc idle thought] exclude pattern left anchor
A thought has been nagging me for a bit now so i'll run it
up the flagpole and see if anyone salutes.
There seems to be quite a bit of confusion regarding the use
of the leading slash as a top of tree anchor for exclude
patterns. The manpage seems clear enough to me but somehow
it doesn't seem to get through.
What if we allowed a leading circumflex (^) to serve the
same function. We
2013 Jun 12
2
[LLVMdev] "anchor" method policy, request for clarification
I tried to build LLVM with 'gcc-4.8.1 -flto', and when linking unittest programs, I got the following error:
/tmp/cc8pMk84.ltrans30.ltrans.o:(.data.rel.ro._ZTIN4llvm2cl15OptionValueCopyISsEE[_ZTIN4llvm2cl15OptionValueCopyISsEE]+0x10): undefined reference to `typeinfo for llvm::cl::GenericOptionValue'
2009 Oct 16
0
Selenium: get href link by anchor text
Hi
I am using Selenium on rails plugin for automated testing in my project.
Currently I can check the links on a page by anchor text.
Now I want to check href link for that anchor text
like for <a href="/prj/url">Click Here</a>
"Click here" text contain "prj/url" url..
So can anyone tell me how can I do this?
Thanks in advance
Brijesh Shah
--
2006 Jan 18
5
redirect_to with an anchor, how ?
Hello,
I try this :
redirect_to :action => ''infos'' , :id => params[:id] , :show => "comments#a"
i want this : .../infos/15?show=comments#a
but I have this : .../infos/15?show=comments%23a
Someone could tell me how generate an anchor link ?
Thanks
2005 Mar 10
4
:anchor won''t work in 0.10.1
Anyone else having problems with :anchor? Until 0.10.0 it was working
fine but with this recent update it''s just not doing anything.
Thanks,
Pedro
2006 Sep 15
2
Link_to with anchor?
Hi!
Very silly question, but how do you use link_to with an anchor, for
example:
www.website.com/articles/123#comments ?
Just can''t figure out!
Thank you!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2007 Jul 03
2
link anchor targets?
Is there any way to pursuade markdown to create HTML link anchor
targets?
--
Make April 15 just another day, visit http://fairtax.org
2007 Oct 03
2
Scroll to anchor from RJS
Is there an way to tell the browser to scroll to a certain anchor from
an RJS template?
I''m doing a page update, adding stuff at the bottom and want to
browser to go there after it''s been added.
Thanks,
Helzer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
2013 May 15
2
[PATCH] Fix dead links/anchor and update comparison
Hi,
The first patch updates comparison.html, the second fixes some dead
links in the website pages (both for flac-website.git) and the third
patch fixes a dead anchor in the Doxygen API documentation (in flac.git,
not flac-website.git).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Update-comparison.html.patch
Type: text/x-patch
Size: 0 bytes
Desc:
2007 Jun 02
0
Rel attribute in anchor tags
Hi there,
I haven''t looked at the code but will it be possible to add rel
attribute to anchor tags in super redcloth? It would be great! ATM i
have changed the regexp in redcloth to use curly braces as rel tag
when writing textile. Since target attribute don''t validate in XHTML
strict and i still want to open some links in new a window.
Old style
----
Textile:
2006 Jan 31
0
pagination_links - change anchor size?
Has anybody figured out a way to change the anchor size in
pagination_links? I''d like links like:
1 2 3 ... 7 8 9 10 11 ... 15 16 17
Thanks!
csn
--
Posted via http://www.ruby-forum.com/.
2015 Jan 04
0
http://www.centos.org/ Help menu anchor
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/02/2015 01:27 PM, PatrickD Garvey wrote:
> On http://www.centos.org/, the Help in the navbar is described by
> the anchor
>
> <a
> href="http://wiki.centos.org/Documentation?action=show&redirect=GettingHelp
>
>