Displaying 20 results from an estimated 600 matches similar to: "Struts"
2006 Aug 04
4
Tabs
I''m new to Ruby/Rails
I want to create Tabs similar to these...
http://demo.raibledesigns.com/struts-menu/tabbedMenu.jsp;jsessionid=aM2yeUTgLeTbY7WLAZ;jsessionid=aBFrrGHWQim4pwSPAZ?People
Can someone outline the best method?
Specifically,
Is creating a tabs.html in \..apps\views\layouts and using
class PhotoController < ApplicationController
layout "tabs"
....in my
2008 Jan 18
8
link_to problem
hi @ all
I create a new archiv.html.erb and a archiv method in the controller.
Now, I would like to link from index.html.erb to archiv.html.erb. I
tried to use <%= link_to ''archive'', archiv_xxx_path %> but it doesn''t
run.
It appears a error message "SyntaxError in xxx#index".
Does anyone know, how I can enhance this problem?
thanks a lot...
--
Posted
2006 Aug 14
2
(no subject)
I have the following code that generates a rhtml page,
<%= start_form_tag :action => ''create'' %>
<%= render :partial => ''form'' %>
<%= submit_tag "Create" %>
<%= end_form_tag %>
<%= link_to ''Back'', :action => ''list'' %>
...I am trying to put a "Browse" button to
2006 Aug 09
8
AJAX image manipulation
I have this code in a controller that returns images to my browser...with
ROR.
def index
@products = Product.find_all_ pictures
end
....this is the .rhtml..
<% for photo in @pic -%>
<div class="entry">
<img src="<%= photo.image_url %>"/>
<h3><%= h(photo.title) %></h3>
<%= photo.description %>
2006 Jan 19
7
Rails or Java J2EE (Spring, Struts Shale) - scalabilty
Hi,
normally I am doing all my webprojects with PHP. But now I am planning
to use a framework, either Ruby On Rails, or Java in particular J2EE
with Java Spring, or Struts Shale.
Well, I already tried RoR a few month ago, so I am simply comparing it
to the Java alternatives now. My problem is, that maybe using Java for
my projects is like using a dredger to grub a small hole :) But on the
other
2006 Jul 15
7
:maxsize => 30 in form not working
Well, I''ve researched the books and the web to no avail (I tried the search here too but kept getting page not found.I''m doing what the examples say to do but I cannot get this work. The form allows entry of characters beyond the maxsize which causes the app to abend giving me the browser page showing a trace with the following info preceding the trace:
Mysql::Error:
2006 Aug 08
12
Rails (internals) architectural question
Hi
Another newbe here..... I was wondering if someone could please help me
understand the controllers/view inner working in Production
1. If xxx_controller.rb is only loaded once does it mean there is only one
instance of Controller serving all requests?
2. If only one instance of controller is there then how are controllers
instance variables protected from data corruption when serving multiple
2005 Aug 15
2
Newbie rendering problem
Hi
On every list request i render an item partial through a collection of
items. the item table has 3 columns namely name,anotherName and id. the
item partial looks like
<%@item=item%>
<%= error_messages_for(:item) %>
<tr id="<%=item.id%>">
<% for column in Item.content_columns %>
<td><%=h item.send(column.name) %></td>
<%
2014 May 07
0
CESA-2014:0474 Important CentOS 5 struts Update
CentOS Errata and Security Advisory 2014:0474 Important
Upstream details at : https://rhn.redhat.com/errata/RHSA-2014-0474.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
i386:
1cc4200256cb0a4ae91db1bde3b5f4cdf6b9ab4e920d0c33934bae1a3b2e0bfe struts-1.2.9-4jpp.8.el5_10.i386.rpm
2006 Mar 23
0
Porting from Struts to Rails
Hi all,
I''ve been put into the unique position of having to port a J2EE app
using Struts and Hibernate over to RoR. The good news is that it''s not
a terribly complicated application. The bad news is that I know next
to nothing about Struts. I took some Java classes in my university
days and have had the opportunity to work with a couple Java
developers in the past, so
2006 Aug 10
0
Ajax In place edit with Struts
Hi All,
First of all my apologies if this is not a correct place to post it.
Please direct me to correct place. I am using scripataculous inplace
edit with struts framework. I am having some text with double quotes and
single quote. If the user types it normally then in the callback
function i am doing encodeURIComponent before doing a post and
everything works fine. I have the encoding set
2008 Mar 11
0
Struts with PrototypeJS
Hi,
can you please help me in knowing how do I get PrototypeJS working
with Struts Action class.
Please let me know any article or site that can help me clrearing my
doubts.
Thanks
Rohit Anand
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send
2006 Dec 08
4
Patch to wobbly snap for outputs
Here's a patch to wobbly.c to handle edge snapping with multiple outputs...
Also, I tweaked the window edge snapping to include dock window types, to
support the case where dock windows may be on the inner edges of multiple
monitors (and thus currently ignored as struts in the output workarea setup).
I personally think we should include these "inner" struts when calculating the
2006 Jan 06
7
Question
All,
I am looking to write an ecommerce application and debating using
rails or struts. Any advice as to which path to follow.
2010 Jun 18
1
Two patches for Snap
Hi,
There are a couple of problems with Snapping Windows that I tried to fix:
(1) The snap to windows checkbox in ccsm has no effect because Snap treats
any window with struts as an edge, and all windows have struts. I think it
should be a test for dock windows.
(2) Windows don't snap to the left edge because it has been erased. The
right edge doesn't seem to get erased because it is
2006 Jul 02
3
homepage_url ?
does the routes.rb have some kind of automatic generated url_for a ''''
map.connect?
(say, something like url_for_homepage or homepage_url) ...i''ve looked
around, tried a couple of combos but nothing really worked. do i have
the wrong lead?
?
thanks...
--
Posted via http://www.ruby-forum.com/.
2006 Jul 21
10
why validation on server side
hi,
i have noticed that the validations in RoR happen at server side
mostly what sites do is using javascript they validate user information
there...
whats the point of doing it at the server side
is it that loading of javascript file in a browser makes a response to
client slow
and validation at server side offsets that....?????
any sugeestions????
is it that i am missing something as
2006 Jan 23
3
running a background task/thread in rails?
Hi, I am new to ruby and to rails, but I like what I see so far. I have
been working on a web app in java (servlets and JSPs) that, based on a
request from the user, kicks off a thread in the background to perform a
task (puts messages in an MQSeries queue). The thread object is stored
in the session and I then allow the user to control the task from the
browser(like stop it).
Is the same
2005 Mar 04
3
Whoo Hoo... We''re on the Slashdot front page!
Part 2 of my Rails article on ONLamp.com just made the slashdot front page!
The entry, itself, is here:
http://developers.slashdot.org/article.pl?sid=05/03/04/1319242&tid=156
Curt
2006 Apr 19
9
translating RoR framework into the Java environment
For a company study I am trying to come up with what would one need
to replicate *grosso modo and at the functional level* what we get in
Rails. This does not need to be an "equivalent" solution, just what a
Java programmer would build upon, the canonical aggregation of
components, the usual tools.
My first fraft is:
Struts -> C layer
Hibernate -> M