Yeah, depending on what language your boss likes, make your action .pl ,
.dll, .exe, .vbs, .ico, or my favorite: .bat
/processCreditCard.bat just instills confidence in me.
- Nic.
amol k wrote:
There are several ways to make this transparent to the user! I can
send details if >you don
Hi again,
My apologies for a probably obvious problem. I've got an example
where I need to check (on update) if this object is actually being
'moved' (ie, keypair is being changed), and if there is already data at
the dest. keypair, go back to the page, display both objects and confirm
the us
Hi again,
I'm calling the validate() method in my MappingDispatchAction to
check errors on page. Which is fine, except that I want to return to the
URL (Action w/params) that was called. I have two Actions, Edit and Add,
which both refer to Attributes.jsp, and depending on the type param set,
Did you try putting them all in one bracket?
SELECTED
- Nic.
Brian McGovern wrote:
At least i think its simple. I have this code which doesnt error.. but also doesnt work.
" SELECTED >
This loops fine and i can c:out every single piece of that code, including the
session var.
Reading from the 'Jakarta Struts Cookbook' by Bill Siggelkow, he
discusses this problem. "You want to store all labels,messages, and
other static text in a database rather than a properties file, while
still being able to access the values using the bean:message tag"
If this is what you're look
Wendy,
I had a similiar issue where I was adding a user, and I would get an
error about breaking unique constraints. Looking at the logs, I saw this
action being performed twice. I don't have an exact solution, but what I
did was re-checked my pageflow (I was using DispatchAction), and made
For the 1.2 users:
I have a simple CRUD unit that I'm working on. Instead of creating
an action for each one, I originally used DispatchAction to merge them
all into one action. This allowed me to have my Create/Update page
re-use the same JSP - I included a hidden param for the respective
metho
Brad Balmer wrote:
Many different people/groups need to access these so I thought that the
first person in would generate it and save it to a common location. Then, the
next user in would see a link to the PDF instead of re-generating it.
I obviously don't know your users, but beware of your expe
Rick Reumann wrote:
Nic Werner wrote the following on 3/28/2005 1:06 PM:
I view the unspecified() method as the equivalent to 'index.jsp'. I
deliberately put an index.jsp (or html) in the directory to provide
the correct output, as opposed to leaving it unhandled - I see Struts
and u
I view the unspecified() method as the equivalent to 'index.jsp'. I
deliberately put an index.jsp (or html) in the directory to provide the
correct output, as opposed to leaving it unhandled - I see Struts and
unspecified() as a mirror of this.
- Nic.
Rick Reumann wrote:
nitin dubey wrote the f
That was exactly what I needed, thanks Wendy.
Wendy Smoak wrote:
From: "Nic Werner" <[EMAIL PROTECTED]>
I call this with: addDevice.do?method=edit
and: addDevice.do?method=update
The param for the first page seems a bit extraneous, is there a way
that DispatchAction can just call
Hi,
I'm using DispatchAction for grouping common items together, and one
of them is to just load a form page, and the other action is to 'update'
this page.
I call this with: addDevice.do?method=edit
and: addDevice.do?method=update
The param for the first page seems a bit extraneous, is there
, where the form values will be
displayed. It is that simple.
On Mon, 14 Mar 2005 11:53:12 -0800, Nic Werner <[EMAIL PROTECTED]> wrote:
I apologize as I seem to have hijacked this thread in a direction I
didn't intend. Jack, I didn't mean for you to pick through my code, it
was jus
I apologize as I seem to have hijacked this thread in a direction I
didn't intend. Jack, I didn't mean for you to pick through my code, it
was just in response to Joe helping me.
To answer your question Dakota Jack, in an overall view what you have
said is correct:
From a page of Users, I want
See my comments in-line. You've got the idea of what I want to do, Joe.
Joe Germuska wrote:
At 11:08 PM -0800 3/13/05, Nic Werner wrote:
Is what I am doing calling JSP pages directly? From my struts-config
below I show them being mapped to Actions.
My question was that I have to set the html
with different actions for new form and edit forms. The same save actions then work either way.
-Original Message-
From: Nic Werner <[EMAIL PROTECTED]>
Date: Sun, 13 Mar 2005 18:13:05
To:Struts Users Mailing List
Subject: Re: Correct Prepopulate Method
Okay, from the FAQ:
Okay, from the FAQ:
* Both the |/editRegistration| and |/saveRegistration| actions use
the same form bean.
* When the |/editRegistration| action is entered, Struts will have
pre-created an empty form bean instance, and passed it to the
|execute()| method. The setup action is fr
Hi,
Big picture, I have a form that gives you the ability to 'move' an
object. I'd like to check to see if the destination location already
exists so nothing would be overwritten. If something does exist, I'd
like to output what object (and its values) is there, and do a
confirmation screen.
Saw this in a query, anybody know what you would have to do for this result?
http://www.officedepot.com/txtSearchDD.do?uniqueSearchFlag=true&searchTxt=ibook+power+supplie&x=0&y=0
Actually, any search query starting with 'ibook power' and a third word
returns this problem.
Relevance
1. <%
QUICK NOTE: Hubert brought up a good point that gets asked a lot:
For those of you wanting to use Struts but have some basic logic that
only needs to go to JSP pages, this is a good way to do it. All your
page flow still goes through Struts but you don't have to write any
additional code/overhe
m.
kr,
guenther
-Ursprüngliche Nachricht-
Von: Nic Werner [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 01. März 2005 00:17
An: Struts Users Mailing List
Betreff: Re: Multi-select file chooser
Wow, what browser is that? Can they hold down CTRL? (assuming Windows)
Rakefet Bitton wrote:
Hi, I'm usi
Wow, what browser is that? Can they hold down CTRL? (assuming Windows)
Rakefet Bitton wrote:
Hi, I'm using the "file" tag to select a file from my jsp. The default browser
allows the user to select only 1 file at a time. The user can not multi select
files or a directory.
Does anyone know of a m
Hi,
Is there any way to have html:option parse JSTL sql:query results
for a dropdown? I have a form containing a drop-down that is populated
by a database. My hope is that I could use to walk
through it, and if the id matches the value of the Form, pre-select that
value.
Is this possibl
Which part are you agreeing with? Setting the hidden field to be
'pageB.jsp' and having the Action return
(mapping.findForward(request.getParameter("page"))?
- This wouldn' put all the page flow in one file though.
Eric Lemle wrote:
sure you just forward to a .jsp or an Action.
Eric D. Lemle
Se
Hi,
I want to follow the Struts model and have all my page flow be in
struts-config. However, I have a couple of JSP-only pages that forward
to each other. Is there a way to set this flow up? A -> B->C.
An example I have is of a search page -> results -> edit individual result.
I thought of s
Please remove Read Notification when you post to this list.
Justin Moore wrote:
test
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
in your Action class. The lookup method will lookup
the data, store it into your ActionForm (using session scope), and then
forward to the page that displays the data.
-Original Message-----
From: Nic Werner [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 17, 2005 10:01 AM
To: user@strut
It looks like your issue isn't about customized page names, but
customized links.
I don't know your implementation, and I'm going to abstract out the
Tiles/Struts portion, but here is how I would do it:
- For the intro page, load the class schedule from the database, and its
according class co
Greetings,
I've searched through the archives but can't really seem to find a
solution. If one exists, please just point me there.
I have a form that is to be filled out. However, one of the fields needs
to have a seperate lookup, and then return back to the original page
with the results.
29 matches
Mail list logo