Sorry about that subject line, but I couldn't think of anything simpler.
Besides, this should cover about all the searches!
I am looking to pass a this reference into an OGNL expressions as follows:
s:textfield key=name readonly=applyRule(this)/
Apparently this is not quite the right
Nice reference Wes! BTW, I noticed you are not using the new cover letter
for the TPS reports, so I'm going to have to go ahead and ask you to read
that memo one more time.
Peace,
the Bob's
On Tue, Apr 21, 2009 at 11:11 AM, Wes Wannemacher w...@wantii.com wrote:
[snip]
OTOH, siphoning the
Hey bro --
Have you read anything about Struts 2 or are you just trying stuff? The
form bean is gone and the action is now the action-model. If you have
accessible setters on your action-model, OGNL will graph those data onto
your action-model. I would recommend a quick Google search for
I just received notice that the ActionContext now throws NoSuchMethodError
from this interceptor. I am advising to use HttpServletRequest request =
ServletActionContext.getRequest (); however, I am surprised to learn about
this break.
private void dropCrumb(ActionInvocation invocation) {
Take a look at the DisplayTag http://displaytag.sourceforge.net/1.2/control.
It kicks bootie.
Peace,
Scott
On Fri, Apr 3, 2009 at 2:58 AM, Manoj Dhore manoj.dh...@sword-soft.comwrote:
Hi,
Is there anyway to create a grid control in Struts 2 or any default
implementation of grid layout.
Can someone throw me a clue as to why s:param name=chd value=chd/ is
converting the String returned from getChd()
from this === t:60,40
to this === t%3A60%2C40
I have funked around with encode on the enclosing s:url .../ and cannot
get the literal data inserted into the URL!
P.S. I'm freak'n
Yeah, as it turns out, this was the culprit. Jetty 6.x had issues with the
conditionality where TC 6.x did not.
s:if test=%{#blog.content != 'NoPost' }
ul
li
a
s:action var=blog name=blog-menu1/
s:property
Guys --
I have a loaded (Hibernate, Spring, Tiles) S2.1.6 application running on TC
6 and I want to speed up the development cycle. I have exhausted the trials
to get TC 6.x to dynamically reload modified class changes and have reached
the point where I have installed Jetty 6.x. My
The required attribute only paints the asterisk -- it has nothing to do with
actually requiring input. Nice huh?
Peace,
Scott
On Fri, Mar 13, 2009 at 4:14 PM, Griffith, Michael *
michael.griff...@fda.hhs.gov wrote:
Hi all,
I just noticed that the only required field validations that seem
the
comprehensive tree?
Peace,
Scott
Wes Wannemacher wrote:
On Tue, Mar 3, 2009 at 11:20 PM, stanlick stanl...@gmail.com wrote:
Java != C?
I realize the strength and duration of dependencies varies, and I
understand
the issues concerning use vs. redistribution. This notwithstanding, I am
looking
How does a company go about fleshing out the aspects of FOSS without wasting
so many people's time? As FOSS gains in popularity, we are sinking in a
quagmire of manual research, analysis and legal license inspections. It
seems the FOSSology product will unpack compressed files and sniff around
Well, since necessity is the mother of all invention and I have been asked
for a magic bullet that poops out a stack of licenses, I am becoming more
creative. Consider the following simple dependency:
project ...
dependencies
dependency
groupIdorg.apache.struts/groupId
dependency:resolve.
Musachy Barroso wrote:
well, for core, that should be it.
On Tue, Mar 3, 2009 at 2:57 PM, stanlick stanl...@gmail.com wrote:
Well, since necessity is the mother of all invention and I have been
asked
for a magic bullet that poops out a stack of licenses, I am becoming
will give the script the three key Maven elements and it will
cache out a tree.
Peace,
Scott
Wes Wannemacher wrote:
On Tuesday 03 March 2009 15:40:43 stanlick wrote:
If you look at the POM for Struts 2.1.6 there are many more dependencies
than what show up running
dependency:resolve. I
I'm not real sure what you have in mind here, but this works very nicely:
action name=blah-* method={1}
class=acme.action.BlahAction
...
/action
request for www.//blah-fred fires the fred() method and
request for www.//blah-barney fires the barney method
Peace,
Scott
Thanks Antonio --
I'll give it a spin.
Peace,
Scott
On Wed, Feb 11, 2009 at 2:42 AM, Antonio Petrelli
antonio.petre...@gmail.com wrote:
2009/2/10 Jaarthy aarthyj...@yahoo.com:
listener-class
org.apache.struts2.tiles.StrutsTilesListener
/listener-class
Currently
I just upgraded a website from 2.1.2 to 2.1.6. and something must have
changed with respect to this style of action invocation because my site is
broken!
div class=main-content
h1 class=pagetitleAbout/h1
div class=column1-unit
p
s:action var=cms name=cms-topstories/
s:property
Does anyone have a clue why
s:action var=cms name=cms-topstories/
is working differently between 2.1.2 and 2.1.6? I have looked many places
and cannot see the usage pointed out anywhere. Is
thishttp://struts.apache.org/2.1.6/docs/version-notes-216.htmlthe
only hot sheet for differences? I'd
Hey brother --
Actually, I believe the problem is with the action call itself
s:action var=cms name=cms-topstories/
When this action is invoked, my CmsAction identifies the appropriate action
name using
getContext().getActionInvocation().getInvocationContext().getName();
which is now ALWAYS
Thanks Musachy --
I really appreciate you pointing this out. I will review the changes to see
if it would be cheaper to roll back to 2.1.2. This sort of change that
breaks an application is troubling.
Peace,
Scott
On Tue, Feb 10, 2009 at 1:54 PM, Musachy Barroso musa...@gmail.com wrote:
I
version2.0.6/version
/dependency
while the latest you can pull out from sonatype's repo :)
cheers,
Edwin
On Sat, Jan 31, 2009 at 1:05 AM, stanlick stanl...@gmail.com wrote:
Greetings --
I am SO DONE with mucking around in dependencies that I am about
Thanks Dave --
I am looking for a seed POM like the one you describe. Does it contain
gray poupon by chance?
Scott
On Fri, Jan 30, 2009 at 11:53 AM, Dave Newton newton.d...@yahoo.com wrote:
stanlick wrote:
I am SO DONE with mucking around in dependencies that I am about to
scream! Until
Greetings --
I am SO DONE with mucking around in dependencies that I am about to scream!
Until recently, I thought real developers were in control of jars and the
classpath, but as another year passes me by, I'm starting to rethink this
whole deal. I installed the Maven 2 plug-in for Eclipse
Wes is right Dave... if the guy wants to buy a book, who are we to
discourage it? Your demand will not be affected in the least! Also, I
would like to give a shout out to the upcoming Struts 2 in Practice book. I
have been reviewing it, and it absolutely rocks! Of course my boy Wes
learned
Can I ask a personal question Dave? Does this have anything to do with your
illiteracy? :)
P.S. And why are you not finishing your leather bound volume? I already
said I would pay in advance!
On Sat, Jan 24, 2009 at 3:28 PM, Dave Newton newton.d...@yahoo.com wrote:
The guy specifically said
I would be careful about placing action execution logic in your view. This
is really not the place to be making navigation decisions.
On Mon, Jan 19, 2009 at 9:05 PM, dusty dustin_pea...@yahoo.com wrote:
I have not researched this butthe way I understand it the action is
executed and
I think you can get the unique handle to either a tab or new window
created with Ctrl-N via the DOM. I remember trying this back when tabs came
onto the scene. With that key you could use a Map in session to correlate
the conversations.
Peace,
Scott
On Sun, Jan 18, 2009 at 11:32 PM, dusty
Beware that if you remove the conversionError from your stack, whatever value
was typed (that could not be converted) will *not* be represented when the
screen is redisplayed. Dave's right about the message, but I have
overridden the default message with the one below and it is a little more
Wes Obama --
You will make a fine Struts Czar once your publication is released. Please
consider me for a cabinet position -- Newton can be my driver.
Peace,
Scott
Struts 1 is well-supported, and saw a new release just about a month
ago. So, it is supported and maintained. Struts 2 is a
I need to fetch a locale specific string for an evaluation and cannot get
the syntax worked out:
field name=title
field-validator type=expression
param name=expression
!title.toUpperCase().equals( getText(titleMatch) )
/param
This test sounds about as straightforward as parallel parking a freight
train on a one lane road.
Is there a way to avoid hard coding limits into a validator? Take for
instance the IntRangeFieldValidator. It has a min and max property that are
populated from the XML as per:
field name=ageLimit
field-validator type=int
0
I have encountered a validation that seems to disrupt the S2 request life
cycle. If I have the following validation and foo is not found on the
stack, I do not get a result!
validators
field name=name
field-validator type=expression
I am aware that OGNL will convert incoming parameters and apply them to the
business model in my action. However, I would like to leverage role based
permissions so that only authorized parameters are processed. What is the
prescribed solution for this?
Scott
--
View this message in context:
Have you looked at
Slinghttp://incubator.apache.org/sling/site/discover-sling-in-15-minutes.html?
On Wed, Dec 10, 2008 at 2:04 AM, AndersLandberg [EMAIL PROTECTED]wrote:
For a CMS project I require the following functionality:
Translate/map a URL like
I have used this technique and it works fine. Perhaps you should simply
display the property on the web page to see what it actually contains.
On Sun, Nov 30, 2008 at 7:21 AM, Milan Milanovic
[EMAIL PROTECTED]wrote:
Dear Khawaja,
Thanks. I tried with Boolean too for action class edittinMode
I had my workspace nearby and here is the relevant content
MyAction
private boolean readOnly = false; get/set
MyPage
s:textfield key=userName readonly=%{readOnly} size=40
required=true/
Peace,
Scott
On Sun, Nov 30, 2008 at 5:10 AM, Milan Milanovic
[EMAIL PROTECTED]wrote:
No one knows how to
s:textfield id=id label=Id name=id readonly=%{edittingMode)/
As I was pressing send, I noticed you have a closing parenthesis instead of
brace! That is not going to be good for anyone.
On Sun, Nov 30, 2008 at 5:10 AM, Milan Milanovic
[EMAIL PROTECTED]wrote:
No one knows how to do this
What? Are there solutions that are not web-based? :)
On Sun, Nov 30, 2008 at 6:11 AM, Paweł Wielgus [EMAIL PROTECTED] wrote:
Hi Dani,
the only solution i can imagine in this case is to invalidate session
from first browser when the same user logs in with the second browser
- it would
Tiles and validations work fine together. Can you post some code?
On Wed, Nov 26, 2008 at 5:39 AM, mthalis [EMAIL PROTECTED] wrote:
It is possible to use tiles and validation(validation forms data) in same
project. if it is possible please give me reference or sample project.
please help
Hey all --
Not sure who is in the area, but I will be presenting Struts 2 at the St.
Louis Gateway JUG next Tuesday evening (Dec 2). You can get directions to
the meeting here:
http://www.gatewayjug.org/
Peace,
Scott
--
View this message in context:
Have you tried using s:iterator/
Also, this works as well:
c:forEach items=${employees} var=currRow
varStatus=loopStatus
tr
td
${currRow.id}
/td...
Peace,
Scott
On Fri, Nov 14, 2008
s:form theme=simple
s:submit action=employeeAction_saveAndRedisplay /
s:iterator value=employees
tr
td
!-- key was 7932F and leaving the single
ticks off
I am reviewing Tiles 2.1 for an upcoming project. This recent version of
tiles supports wildcard definitions, EL, and a few other features that
nearly eliminate the XML-HELL that is tiles-defs.xml. It looks like the
struts2-tiles-plugin-2.1.2.jar is not compatible with Tiles v 2.1.0 and I
would
I would like to use EL in tiles definitions. Is it supported by Struts 2.x
and is there a recipe for this? I downloaded Tiles 2.1.0 and reviewed the
changes, but the web.xml has undergone radical change and I thought I'd do a
little fact finding before performing open heart surgery on my
I would add access to folks here on the mailing list is akin to having
access to the developers in many cases. Unlike customer support for some
commercial software, your questions here are actually understood!
Peace,
Scott
On Thu, Nov 6, 2008 at 10:48 PM, ryan webb [EMAIL PROTECTED] wrote:
While it it possible to migrate a Struts 1.x site to Struts 2, it would be
better use of your time to write any new applications using S2 and let
existing S1 sites churn along. It is possible for the two to coexist.
On Fri, Nov 7, 2008 at 11:31 AM, Ariel [EMAIL PROTECTED] wrote:
Hie everybody:
call the setModel at the end of your action?
On Tue, Oct 28, 2008 at 4:33 AM, Alexander Baetz
[EMAIL PROTECTED]wrote:
Hi,
inside the execute method of an action i'm retrieving an Object. I want the
ModelDriven-Interceptor, to put it on the Stack when execute is done.
One solution would be
Keep in mind that when you program these requirements using javascript
that an end user can turn your requirements off. I see this all the time
when a form is asking me for too much data. Click Tools - Options -
Enable Java Script and most of the time the next page you see is Thanks for
signing
Unless you really *need* to bind your actions to Http* types, you should use
RequestAware. This allows the same end goal indirectly through a Map.
Scott
On Fri, Oct 24, 2008 at 7:10 AM, Nick Maunder | Oathouse
[EMAIL PROTECTED]wrote:
Hi
I'm fairly new to Struts 2
I'm looking for a way
Then perhaps you are reading the wrong book yo! If it's the session you
wish, then implement SessionAware. These POJOish interfaces make testing a
cake walk.
On Fri, Oct 24, 2008 at 7:25 AM, Nick Maunder | Oathouse
[EMAIL PROTECTED]wrote:
Ah ... my book doesn't mention RequestAware at all...
logging to 11 on s2, xwork, tiles, and
ognl.
Not sure why the exception page would be hit w/ *no* exception but I
could imagine that there could be an exception after the page/response
has been written to... Is the 'right' page rendered *completely*?
Dave
stanlick wrote:
When I dig deeper
When I dig deeper into this, I see the problem is with a oops.jsp I have
configured in my struts.xml as
global-results
result name=exceptionLogger
type=dispatcher/oops.jsp/result
/global-results
Now here is the strange part -- my request
could
imagine that there could be an exception after the page/response has been
written to... Is the 'right' page rendered *completely*?
Dave
stanlick wrote:
When I dig deeper into this, I see the problem is with a oops.jsp I have
configured in my struts.xml as
global-results
Maybe you should consider buying an off-the-shelf web application or slowing
down a little to read the documentation. Popping in and asking for snippets
of code for this and a sample file to do that only shows that you are
looking for someone else to do your work. Have you searched *this*
I started a new Struts 2 project today with Tiles and Spring. My default
result type is tiles and everything works alright as long as you don't
look at the console! For some strange reason there are numerous messages
like the following:
The Struts dispatcher cannot be found. This is usually
PLEASE BAG THIS USER!!!
On Tue, Oct 21, 2008 at 12:24 PM, Nils-Helge Garli Hegvik
[EMAIL PROTECTED]wrote:
I agree.
On Mon, Oct 13, 2008 at 10:49 AM, Lukasz Lenart
[EMAIL PROTECTED] wrote:
Hi,
Could someone remove this email from list? It's very annoying ;-(
Regards
--
This is the million dollar question! Always strive to hold onto the least
amount of data possible. This usually means for as long as it takes to
build the web page.Use the request scope unless you *must* access the
*same* data later. At which point you should save only *keys* to the actual
No. Hibernate will not affect Struts's action creation. You don't by
chance have your action is Spring do you? If so, make sure the scope is
prototype or you will see the same action instance over and over.
Scott
On Fri, Oct 10, 2008 at 6:49 AM, Gawain Hammond [EMAIL PROTECTED]wrote:
How about this instead -- Is the ActionContext exposed to a JSP other than
using the static getContext() method?
stanlick wrote:
I have a global exception handler registered, which is itself an action
mapping. I am trying to ascertain what happened by accessing
ActionContext.getContext
Does anyone know why this does not work in 2.1? It used to return the action
name.
name: s:property
value=@[EMAIL PROTECTED]().actionInvocation.proxy.actionName/
--
View this message in context:
http://www.nabble.com/S2-2.1-OGNL-Diffs--tp19900205p19900205.html
Sent from the Struts - User
Well no I don't sir! Was this property changed/added in 2.1? Is there a
reason the default is false?
Peace,
Scott
Musachy Barroso wrote:
Do you have static method invocation enabled?
On Thu, Oct 9, 2008 at 10:32 AM, stanlick [EMAIL PROTECTED] wrote:
Does anyone know why this does
I have a global exception handler registered, which is itself an action
mapping. I am trying to ascertain what happened by accessing
ActionContext.getContext().getActionInvocation().getProxy() inside this
action class, but the invocation has now moved on to that of the exception
action! Is
Any idea how to get language specific validations? e.g.
SomeAction-validation_fr.xml
Scott
On Mon, Oct 6, 2008 at 11:24 AM, Chris Pratt [EMAIL PROTECTED]wrote:
One way is to use the s:text tag. If you define an entry in your
application properties file similar to:
I have an exception configuration as follows:
global-exception-mappings
exception-mapping exception=java.lang.Throwable
result=exceptionLogger/
/global-exception-mappings
If an action throws an exception my logger works fine. However, if the
Struts DefaultActionProxy is unable to
.
http://struts.apache.org/2.x/docs/exception-configuration.html
-Wes
PS - http://manning.com/wannemacher/ (whip out that AMEX and get on it!)
On Wed, Oct 8, 2008 at 12:27 PM, stanlick [EMAIL PROTECTED] wrote:
I have an exception configuration as follows:
global-exception-mappings
:
On Wed, Oct 8, 2008 at 12:45 PM, stanlick [EMAIL PROTECTED] wrote:
I decided to pass up lunch and crack the code open. The
DefaultActionProxy
tries to find the namespace/action and if it cannot, searches for the
UnknownHandler rather than throw a 404. I have discovered that adding
, stanlick [EMAIL PROTECTED] wrote:
You read my mind bro! CodebehindUnknownHandler was the only class
implementing UnknownHandler! You know, this
http://struts.apache.org/2.x/docs/plugins.html Extension Points table
really needs updating. Would it be safe to search the code base for
@Inject
David --
I would strongly discourage you from writing your own custom tags until you
discover there is not already one in the box! Besides Struts 2, you still
have all the JSTL tags available as well. If by old school you mean you
haven't looked around the available tags today, your best bet
I think many developers slept through the Java Beans specification! Either
this, or they confused it with EJB!
On Sat, Sep 27, 2008 at 9:58 AM, Wes Wannemacher [EMAIL PROTECTED] wrote:
I could be wrong, but I don't think EL can access static fields or
methods. The easiest thing would be to
#constants
2008/9/22 stanlick [EMAIL PROTECTED]:
I encountered a very strange situation today. I had the following in
a
web
page:
s:iterator value=employees
s:textfield name=employees[%{key}].id .../
where the get method in my action was:
public MapString
and you need to quote it
accordingly.
[1]
http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/basicExpressions.html#constants
2008/9/22 stanlick [EMAIL PROTECTED]:
I encountered a very strange situation today. I had the following
in
a
web
page:
s:iterator
: type erasure. There is
no way to 'glean the generic type' of a collection at runtime.
L.
Gabriel Belingueres wrote:
I agree too.
2008/9/23 stanlick [EMAIL PROTECTED]:
I agree totally! If the TypeDeterminer had called getEmployees() which
it
clearly did for iterator *and* had bothered
I encountered a very strange situation today. I had the following in a web
page:
s:iterator value=employees
s:textfield name=employees[%{key}].id .../
where the get method in my action was:
public MapString,Employee getEmployees()
The employee id 7932F was being interpreted as 7932!
I included an example of this in our Struts 2 in Action book using JSP.
On Wed, Sep 17, 2008 at 12:28 AM, ravindra [EMAIL PROTECTED] wrote:
Thanks for the replay.
I got this working if I use a freemaker template as my result.
The content of the file is below.
html
head
meta
Your get/set method signatures provide a *huge* hint to the conversion magic
logic. If you are curious to see how this actually works, take a look at
Ognl, OgnlUtil amd OgnlRuntime. If you can make it through the reflection
code, it is quite amazing.
Scott
tREXX - wrote:
Hi Dave,
Does anyone know of a way to refer to a key from a value within a property
file? Consider this:
s:textfield key=employee.department/
employee.department=Employee Department
requiredstring=${getText(fieldName)} is required
This results in the message employee.department is required.
What I
}.jsp/result
Does the framework retain the request that failed anywhere?
stanlick wrote:
Is there a way to determine the request that failed validation such that
*it* could be the target of the input result mapping? I have a couple
pages being validated within a single wildcard mapping
You so right! I had the key/values in the WRONG resource file. Thanks bro.
P.S. Now can you solve the variable result input problem?
newton.dave wrote:
--- On Tue, 9/16/08, stanlick wrote:
s:textfield key=employee.department/
employee.department=Employee Department
requiredstring
What package/class contains your
String name = invocation.getProxy().getConfig().getPackageName();
On Thu, Sep 11, 2008 at 5:46 AM, Roger [EMAIL PROTECTED] wrote:
I have a struts.xml with two package tags. The first package is named
package
name=default extends=struts-default and contains
Has struts.configuration.files been removed from 2.1.1?
Laurie Harper wrote:
Shuai Zheng wrote:
Dear All,
I try to use my own setting to overwrite the default settings.
Following line is added into my struts.properties:
Thanks bro. We have a big S2 app where every package uses tiles as the
default result type. Tiles definitions are the name of the game. I too
think dependencies between plug-ins should be mitigated.
Peace,
Scott
On Sat, Sep 6, 2008 at 7:34 PM, Jeromy Evans
[EMAIL PROTECTED] wrote:
[EMAIL
Does this table imply file precedence and setting overrides?
http://struts.apache.org/2.x/docs/configuration-files.html
I don't understand how the codebehind or convention plug-in could provide
the inheritance and layout functionality of tiles. Moreover, we use
conventions to tag CSS to tile definitions. Can you elaborate please?
On Fri, Sep 5, 2008 at 8:41 PM, Jeromy Evans
[EMAIL PROTECTED] wrote:
stanlick
I must add that the documentation is seemingly a mash-up of varying struts 2
versions (2.1 vs =2.1) and somewhat obtuse. I think with marked
differences in implementation, the docs should be more clearly delineated.
RTFM is fine when it exists, is complete and is accurate. Imagine the
evolution
Does the plug-in support tiles definition names in its search?
--
View this message in context:
http://www.nabble.com/REST-plug-in---Tiles-tp19339428p19339428.html
Sent from the Struts - User mailing list archive at Nabble.com.
If getting one of these tags to work requires either
leaving an attribute off
or
intValue()
or
%{intValue()}
Should it be referred to as intelligent? I seriously think these crazy S2
tags are causing new Struts 2 users more pain than they are worth.
Lyallex wrote:
2008/9/5
More like...
Ah... hrm. Tell 'em look at the TLD, then tell 'em to check the freemarker
template, then tell 'em they might have to escape the attribute. I love
Java.
On Wed, Sep 3, 2008 at 8:05 PM, Dave Newton [EMAIL PROTECTED] wrote:
--- On Wed, 9/3/08, Wes Wannemacher wrote:
If the TLD
My Synaptics touch pad will scroll down BUT NOT up!
On Wed, Sep 3, 2008 at 9:40 PM, Jeromy Evans
[EMAIL PROTECTED] wrote:
dynamicd wrote:
Well i Just caught something. For some reason my listentopics or action
from the form is not working It shows loading.. in the Chrome browser. but
never
around that baby!
I'm getting the feeling that REST is not ready for prime time. I too
wondered why it was excluding edit, editNew. I'm sure there was a reason.
Peace,
Scott
On Mon, Sep 1, 2008 at 8:09 AM, Jeromy Evans
[EMAIL PROTECTED] wrote:
stanlick wrote:
Also, what is the naming
the feeling that REST is not ready for prime time. I too
wondered why it was excluding edit, editNew. I'm sure there was a reason.
Peace,
Scott
On Mon, Sep 1, 2008 at 8:09 AM, Jeromy Evans
[EMAIL PROTECTED] wrote:
stanlick wrote:
Also, what is the naming convention for validation xml files
.
Peace,
Scott
On Mon, Sep 1, 2008 at 8:09 AM, Jeromy Evans
[EMAIL PROTECTED] wrote:
stanlick wrote:
Also, what is the naming convention for
validation xml files using the
Code
Behind/REST plug-in?
I've tried several combinations of naming,
but none seem
,
Scott
Jeromy Evans - Blue Sky Minds wrote:
stanlick wrote:
So any ideas why the model is being created inside the action and not
injected by the framework?
private Order model = new Order();
I think Don was just being lazy in the quick example ;-)
I load or create the model
the struts style: many ways of doing the same
thing)
musachy
On Fri, Aug 29, 2008 at 7:05 PM, stanlick [EMAIL PROTECTED] wrote:
Is there a reason the lifecycle will not create the model object Order on
action instantiation? I notice it is being constructed during the Action
initialization
So any ideas why the model is being created inside the action and not
injected by the framework?
private Order model = new Order();
newton.dave wrote:
--- On Fri, 8/29/08, stanlick [EMAIL PROTECTED] wrote:
Also, what's with the ModelDriven refreshModelBeforeResult? I
haven't seen
Also, what is the naming convention for validation xml files using the Code
Behind/REST plug-in?
I've tried several combinations of naming, but none seem to work.
--
View this message in context:
http://www.nabble.com/REST-Showcase-2.1.2-tp19228759p19229925.html
Sent from the Struts - User
Has anyone experienced a problem with a trailing front slash being added to
the generated URL?
Thanks Jeromy :jumping:
Have you considered the transparency of the REST URL as it relates to
security and tampering? Would something like Acegi provide a solution?
Also, have you considered the likliehood of a user discovering parms that
can be passed and mapped onto your action? I am
] wrote:
On Tue, Aug 26, 2008 at 5:43 PM, stanlick [EMAIL PROTECTED] wrote:
I have decided to dive into the beta blue water! I sort of have things
working, but...
How does the plug-in work when using namespaces? The
struts2-rest-showcase-2.1.2 uses the default and I am running
advantage of namespaces if you are not configuring your actions in XML?
This would seem to have simply moved configuration into the actions. :(
Peace,
Scott
On Tue, Aug 26, 2008 at 5:10 PM, Musachy Barroso [EMAIL PROTECTED]
wrote:
On Tue, Aug 26, 2008 at 5:43 PM, stanlick [EMAIL PROTECTED
101 - 200 of 555 matches
Mail list logo