Displaying 20 results from an estimated 4000 matches similar to: "RJS Template rendering viewable code"
2006 Jan 13
1
Rendering an RJS template within another RJS template
Is there a way to render an RJS template within another?
I''ve put my simplified code below. No errors are generated, but the
partial isn''t rendered. I also tried using render :action =>
''update_actions''
destroy.rjs---
page.visual_effect :fade, comment_container(@object.id.to_s)
# update the number of comments(below is another rjs template)
render :partial
2006 Aug 14
0
rendering RJS template from view
I''m sure I''m missing something obvious, but I''m stumped.
I have a tabbed nav bar with an associated content area that is used
to display query results. Clicking a tab, rebuilds the nav bar with
that tab now highlited, performs the query and renders the results to
a separate div. I''m using an RJS template which calls
page.replace_html with the various
2007 Jan 07
1
home shares always viewable
for a unix non-literate crowd i wish to keep the linux
side home directories hidden. even though i have set
browseable = no the directories still show up. is
there some way to avoid this?
thanks
to reply s/nowhere/nevikintx/
kevin t
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2016 Dec 08
0
Eventlog not viewable from Windows in domain member config
I've configured a domain member server using version 4.4.7 on FreeBSD. I'm able to manage groups and shares from the Computer Management tool on a Windows 2008 server, but when I connect to the samba member server the following error occurs:
Event Viewer cannot connect to computer 'XXXXXX'. The error reported is : The RPC server is unavailable.
Clicking OK allows me to proceed.
2009 Feb 07
1
vignettes are installed but not viewable?
Hi, I have a package for which I'm writing a vignette. The vignette
looks fine as indicated by R CMD check. However after installing the
package (in my personal R library location) doing
vignette('rcdk')
says
Warning message:
vignette 'rcdk' *not* found
But I can see the PDF file located under rcdk/doc in the R library
directory. The header of the Rnw file is
%
2005 May 03
0
Directory Contents Not Viewable
We have a Debian server running Samba 3.0.14a.
2 days ago this problem started in that we cannot view the contents of a
Samba share.
I can map a drive to a samba share and authenticate with no errors.
After authentication it just shows an empty directory on a Windows client?
I have tried numerous troubleshooting measures, such as increasing file
perms to world readable but have been
2010 Nov 24
0
Files and folders not viewable (hidden)
Hi, I have a strange problem with some folders shared by Samba.
In my home directory (share by samba) I have these files with this
permissions (only samples, it also happens with folders):
-rw-r----- 1 mark Domain Users 0 2010-11-24 14:30 a
-rw------- 1 mark Domain Users 0 2010-11-24 14:30 b
When I connect to USER Share (home) from any host (Windows or
Samba/Linux) as the correct user:
Samba
2005 Dec 26
0
[rjs] How can I render a action template instead of partial
Hi,
I want to render a action template with rjs, so instead of doing this:
page.replace_html ''maincontent'', :partial => ''list'' I want to do this:
page.replace_html ''maincontent'', :action => ''list'' but the render (that
is called by replace_html, outputs to the reponds_body), so it doesn''t work.
Is there a
2006 Jul 03
2
rjs renders string or partial but not template or action
Hi,
I have an rjs file. I only have one controller called called front. I
have views called "new_title.rhtml" and "_new_title.rhtml"
These work
page.replace_html ''title'', ''new title''
page.replace_html ''title'', :partial => ''new_title''
page.replace_html ''title'',
2006 May 26
10
ROR website''s weblog not viewable on internet explorer
Does anyone know why the weblog at http://weblog.rubyonrails.org/ is
often messed up, with the first or first and second topics left-shifted
and melded with the Rails logo, the Live Search box and the page''s menu?
This happens on all my boxes that run Internet Explorer 6 (IE6). I
checked it on Firefox and the page appears correctly. While it''s easy
to argue "just use
2006 Aug 18
1
controller is to app.rb ; view is to layout folder ; rjs template is to ??
any help with this analogy? i have an rjs template that goes along with a method
i have in application.rb and the functionality will be used from many diff
controllers (the method take a tag as param to accomplish some AJAX
acrobatics).. just trying to stay DRY here. is there no other way other than
sticking the same rjs template in each view folder that uses this functionality?
i guess i could do
2006 Jul 17
1
RJS template help
Does anyone know where I can find good documentation on how to use
RJS template. I know I can do various things with the page object:
page.visual_effect :shake, ''some_id''
Is there a list of method I can run on the page onject and what
parameters they are expecting? I can''t find this anywhere.
Thanks for your help.
Thank You,
Ben Johnson
E: bjohnson@contuitive.com
2006 Jul 21
1
rjs template modifying form_remote_tag
I would like to build a form which uses ajax on the first request, but
on a subsequent request uses the regular form_tag. The reason for
doing this is that I need a file upload in the second request, and so
I can''t use AJAX. I''ve tried using an rjs template to modify the
form_remote_tag''s id (using page.replace ''form_tag_id'', ...), but the
request
2006 May 28
1
RJS template / page.insert_html problem
Hiall,
I have a rjs template which is calling page[:xxx].replace_html ... a
couple of times and this works perfectly. However, in the same rjs
file I have two calls to page.insert_html, which do not work. No error
in development.log, nor error message in browser, the new content for
the div simply isn''t changed at all.
This is my code:
...
action = "save_" +
2006 Mar 22
0
Changing the onsubmit event using an RJS template
Hi there,
I''m currently writing my first ROR application, and must say I''m
loving the framework. Just a quickie, which people will probably
instantly know the answer to. I''ve got a select box which I want to
be able to add values to on the fly using AJAX. I''ve got the form
all appearing and updating the database, however, what I want to be
able to
2006 Jan 29
1
RJS template problem!
hi all,
i have the following controller:
class UserController < ApplicationController
.
.
.
def login
@user = User.new(params[:user])
@logged_in_user = @user.try_to_login
if @logged_in_user
session[:user_id] = @logged_in_user.id
else
flash[:notice] = "ungültige Daten!"
end
end
.
.
.
end
with this rjs template:
login.rjs:
if @logged_in_user
2007 Feb 17
0
Template is missing 'show.rjs.rhtml' error in safari only?
I was able to solve this but want to understand why this fix works.
Solution:
Remove the format.js line from the respond_to block
the error i get when navigating to: /music;accept
Template is missing
Missing template script/../config/../app/views/music;accept.rjs.rhtml
Accept is an aspect of the music controller eg in routes.rb
map.resources :music, :collection => {:accept =>
2006 Sep 19
1
No request.raw_post when using RJS template?
Hi all
I wanted to try out the RJS thing for updating more than just one HTML
element using AJAX.
I have a selection like that:
<select id="booking_musician_profile_id"
name="booking[musician_profile_id]">
<option value="4" selected="selected">Danc!ng TortoYse</option>
<option value="2">DJ Psyhigh</option>
2006 May 14
0
RJS Template not getting called
I have a shared account on Site5.com running Rails v1.0. I installed
the RJS template plugin within my project.
My controller function gets called, but my corresponding RJS template
does not get called. The following is output (any thoughts?):
ActionController::MissingTemplate (Missing template
./../config/../app/views//workout/addjournalentry.rhtml):
2009 Jul 28
4
RJS-Template and link_to_remote
Hi, I am quite new to rails and can''t use any rjs-templates.
The problem is, that he can''t use/find the methods in that template
e.g. ''page'' or ''replace_html''. I get an error message on these
methods.
Here''s what I got so far in my example:
Controller:
----
class AjaxTestController < ApplicationController
layout