As Antonio said, _you_ as the application developer/assembler decide
the local JNDI name of the data source. Then it's the task of the
deployer to link this local defined JNDI name to an actual JNDI
resource in the container.
Nils-H
On 9/27/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
> 2007/9
The idea of the local JNDI reference (which exists for the application
instance only) is to decouple it from the actual, physical JNDI name
of the resource. The mapping of the datasource name is (usually) done
when the application is deployed. I am not familiar with how WebLogic
handle this, but ma
Hi!
To quote the spec:
"When a portlet is in MINIMIZED window state, the portlet should only render
minimal output or no output at all."
As I interpret this, it's the responsibility of the portlet to display the
correct content. So you need to do some checking for the window state and
take acco
All portlets are responsible for what to render in the different
window states, even when caching is enabled, if the portlet is the
"target" of a user interaction (PLT.18.1 in the spec). But usually
when creating portlets, you extend the GenericPortlet class, which has
built in logic for skipping
I have to correct myself. The dispatcher extends the GenericPortlet
class, but it overrides the render method because of the specialized
mode handling. But the effect is still the same, the window state
logic in doDispatch is not invoked.
Sorry for the confusion.
Nils-H
On 6/26/07, Nils-Helge
Hi!
The portlet example won't run as a stand alone web application under
Tomcat. It will only run in a portlet container. If you don't intend
installing a portlet container, just remove the struts2-portlet war
file from your webapps folder.
Nils-H
On 7/5/07, Hubert Hers <[EMAIL PROTECTED]> wrot
If you look at the portlet example application it has an example of
using xml validation.
Nils-H
On 7/5/07, devsahu <[EMAIL PROTECTED]> wrote:
Hi,
Does stuts2 support its validation feature with portlet.
Any help is highly appreciated.
Thanks,
Sabyasachi
--
View this message in context:
htt
ries to minimize another portlet the previous one get
Expanded, It looks to me server is not detected the portlet has allready
been minized. For correct functionaliy the server should be remembering this
information.
Is this a bug some where?
Let me know how to proceed on this.
Thanks
Nils-H
Hi,
Could you make a minimal example that illustrates the problem in
uPortal, and then put it somewhere to download?
Nils-H
On 7/19/07, tom tom <[EMAIL PROTECTED]> wrote:
Hi,
We got some portlets developed using S2 running of
uPortal.
It looks like When we switch between Window states and
tr
Which version of uPortal are you using?
On 7/19/07, tom tom <[EMAIL PROTECTED]> wrote:
Hi,
We got some portlets developed using S2 running of
uPortal.
It looks like When we switch between Window states and
try to print window states in JSR168Dispatcher it
prints window states incorrectly.
For
wrote:
We are using uPortal 2.5.3.
We still can't figure why it returns wrong window
states.
Waiting for a reply,
Thanks
--- Nils-Helge Garli <[EMAIL PROTECTED]> wrote:
> Which version of uPortal are you using?
>
> On 7/19/07, tom tom <[EMAIL PROTECTED]> wrote:
&
ng
fine with uPortal. I think even the product is called
uPortal it got pluto container underneath.
Any how you may have other ideas as well as we may be
wrong.
Thanks,
--- Nils-Helge Garli <[EMAIL PROTECTED]> wrote:
> Which version of uPortal are you using?
>
> On 7/19/07,
Good tutorial, and a nice way to get started with portlet development!
Maybe not entirely on topic, but inspired by your tutorial and some
information I found earlier in the pluto FAQ about embedding pluto, I
started playing around with making the maven-jetty-plugin work with a
portlet project. Th
Those interested in the progress of this issue can follow it here:
https://issues.apache.org/struts/browse/WW-2062
On 7/26/07, tom tom <[EMAIL PROTECTED]> wrote:
> I already made a change request.
>
> Thanks,
>
>
>
> --- Nils-Helge Garli <[EMAIL PROTECTED]> wr
blog.
Please let me know if you find any errors.
Nils-H
On 7/29/07, Don Brown <[EMAIL PROTECTED]> wrote:
> Very cool! That has been one of those things I keep meaning to work
> on. If nothing else, add the lines (commented out, of course) to our
> portlet archetype.
>
> Don
te:
> So, what's stopping you from adding the tutorial to the Struts 2 docs
> and updating the archetype? :)
>
> Don
>
> On 8/1/07, Nils-Helge Garli <[EMAIL PROTECTED]> wrote:
> > I think I've managed to get all the steps written down:
> > http://portletwor
Hi!
Jasper reports is, as far as I know, not tested in the portlet
framework. I'm not too familiar with Jasper, but if it's something
that should be generated and displayed on the fly (that is of binary
type), this cannot be done in a portlet in a portable manner. You
might have better luck dispat
Unfortunately, you have to re-define the stack.
Nils-H
On 8/15/07, j alex <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there a way we can override the implementation of certain
> interceptors from the default stack, without copying over all the
> definitions to struts.xml ?
>
> ex : i want to change t
Are you creating the urls correctly using the s:url tag? Do you have
an example JSP? How do you invoke your portlet application? Remember
that you can't access the portlet using regular urls, they all have to
go through the portlet container.
Nils-H
On 8/15/07, Frederick N. Brier <[EMAIL PROTECTE
pecify a URL? And what would it be? What URL would you suggest
> I specify in portletunit? That would be helpful as I am trying to use
> that as a test harness and avoid launching a container. Thank you!!
>
> Fred
>
> Nils-Helge Garli wrote:
> > Are you creating the urls cor
So you're using Spring? In that case, maybe parts of this tutorial can
help: http://struts.apache.org/2.x/docs/struts-2-spring-2-jpa-ajax.html
And here's the documentation for the Spring-plugin:
http://struts.apache.org/2.x/docs/spring-plugin.html
Nils-H
On 8/16/07, red phoenix <[EMAIL PROTECTED
tupListener.java:98)
> at
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530)
> at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
> at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1219)
> at
defined
> in struts.xml. The struts-portlet example does. I really, really
> appreciate your help. The examples work, but when I attempt to merge
> the configurations into my own code, decisions and adjustments have to
> be made and then it does not work. I will try again this even
Client side validation is not currently supported in portlets. You
might get it to work, but there are unresolved issues with
escaping/namespaces etc of javascript function names and variables.
You can register it as a JIRA issue, and hopefully we'll be able to
resolve it in a future release.
Nils
Hi!
The use of maximize only changes the "size" of the window, it
shouldn't really change the state of your application. The "back"
button as you describe means "restore the window size". It does not
change the window content. If you want to "override" this, you should
create your own "back" link,
Hi!
> I also notice that the ajaxExample no longer appears in the subversion
> repository. Are there other AJAX/portlet issues I should be aware of?
>
Ajax in a portlet, from a framework point of view, is not quite
trivial. There are issues with namespacing of javascript functions,
html ids and
ascript had been loaded and we'd
> not
> output it again. We could also do something similar to what MyFaces Tomahawk
> does
> with their extensions filter.
>
> James
>
>
> On Tue Sep 4 9:09 , 'Nils-Helge Garli' <[EMAIL PROTECTED]> sent:
&
us running
> instances wouldn't interfere with each other.
>
> Mark
>
> On 9/4/07, Nils-Helge Garli <[EMAIL PROTECTED]> wrote:
> > Hi!
> >
> > > I also notice that the ajaxExample no longer appears in the subversion
> > > repository. Are t
This might work:
${newPage}
You might consider some sort of white list of internal resources that
can be accessed to prevent misuse.
Nils-H
On 9/7/07, Mirbek Nosinov <[EMAIL PROTECTED]> wrote:
> Is it possible to dynamicaly forward to any page from Action class execute()
> function. For example
You could, but I would recommend using the *Aware interfaces in your
actions. It makes them easier to test.
Nils-H
On 9/11/07, j alex <[EMAIL PROTECTED]> wrote:
> I can do Map attibutes = ActionContext.getContext().getSession(); from an
> Action - right?
>
> On 9/11/07, Chris Pratt <[EMAIL PROTEC
In the next release, there will be *Aware interfaces for the portlet objects.
Nils-H
On 9/13/07, tom tom <[EMAIL PROTECTED]> wrote:
> Yes in theory you are correct, but in side a S2
> portlet (which implements ServletRequestAware
> interface) if you try to get a handler for
> HttpServletRequest
> that also not working currently.
>
>
> Also in the s:url the action tag does not evaluate
> expressions, e.g if you want to have a dynamic action
> name.
>
> Pls try to address that as well.
>
>
> Thanks
>
> --- Nils-Helge Garli <[EMAIL PROTECTED]> wrote:
&g
Hi!
Is it just the page the portlet is on? Have you tried switching of
devMode and logging? There should be no extra performance hit
compared to a basic Struts 2 application, so the performance tuning
information in the documentation should apply:
http://struts.apache.org/2.x/docs/performance-tun
t; Setting the freemarker_update_delay improved
> performance for sure.
>
> Hate to ask such a simple question but just own do I
> change the devMode option and logging - my log4j.xml
> has ERROR set for logging but I am getting INFO on the
> console.
> Clark
>
>
>
> --- Nils-
A HttpServletRequestWrapper has a getRequest() method that returns the
wrapped request. Without knowing the specifics of the order or
implementation of you wrapping object, this might be what you need.
See
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequestWrapper.html
A couple of things you should be aware of is:
- You cannot use result types that require full control of the
response object (e.g. rendering PDFs, images, charts etc). To do that,
you must dispatch a request to a servlet instead.
- You should be aware of the lifecycle and the phases of a portlet,
on the
struts 2.0.6 portlets
Thanks.
--- Nils-Helge Garli <[EMAIL PROTECTED]> wrote:
> A couple of things you should be aware of is:
>
> - You cannot use result types that require full
> control of the
> response object (e.g. rendering PDFs, images, charts
> etc). To
Hi!
This is probably a missing feature in the portlet framework. The
SessionAware interface aparently doesn't work when inside a portlet.
The other approach you use should work, but if it doesn't, try using
the ActionContext to get the session map and put it there.
Nils-H
On 3/16/07, tom tom <[
You can't obtain the servlet request in a container independent
manner. What do you need it for? The only time when you can legally
obtain the servlet request is within an included JSP, or when
dispatching a request to a servlet that is in the same web
application.
Nils-H
On 3/23/07, tom tom <[E
method
signatures where it has HttpServletRequest as the in
parameter. for e.g. request.getContextPath();
Other reason is it works in a normal struts 2.0.6
application, I wanted to do the same in the portlet
without accessing portlet specific classes.
Thanks,
--- Nils-Helge Garli <[EMAIL
The developer could still read the same files in the struts action.
What's the difference?
Nils-H
On Tue, Dec 8, 2009 at 3:21 PM, Shital Patil wrote:
> Dear All,
>
> Thanks for your valuable suggestions.
> Actually I am failed to convince my PM for using JSP pages in web app.
> He said, there ar
Have you tried asking over at the MySQL forum? I don't think this is
related to Struts 2.
Nils-H
On Tue, Dec 15, 2009 at 8:26 AM, Todd Grigsby wrote:
>
>
> (Beating head on keyboard...)
> "So one more time for the folks at home: Is there anyone out there who has
> managed to get MySQL 64-bit to
Putting it inside tag might also work.
Nils-H
On Mon, Jan 18, 2010 at 2:12 PM, Dave Newton wrote:
> VSGoud wrote:
>>
>> Facing problem with tag.
>> when i fetch the data from one of the columns in a given table, I am able
>> to
>> view the certain parts of the fetched data in new lines in
>>
>From the source [1] (getWindowState method), it appears that only the
standard window states are considered when creating the url.
Please register a JIRA issue (tests and patch welcome indeed).
Regards,
Nils-Helge Garli Hegvik
[1] -
http://svn.apache.org/viewvc/struts/struts2/trunk/plug
Either:
- Don't do a redirect, but a regular dispatch [1]
- Store it in the session
Regards,
Nils-Helge Garli Hegvik
[1] - http://struts.apache.org/2.1.8.1/docs/dispatcher-result.html
On Mon, Mar 1, 2010 at 10:40 AM, Frederik Minatchy wrote:
>
>
> --- En date de : Lun 1.3.10,
n
>
>
> I am sure that the dispatch result is a solution... but perhaps I made a
> mistake in the web.xml file.
>
> For example why in my url I always have something like
>
> http://localhost:8080/X/x.jsp and not
> http://localhost:8080/X/x.action?
>
>
n the session.
Nils-H
On Mon, Mar 1, 2010 at 11:56 AM, Frederik Minatchy wrote:
> To go from the first action (the execute method) to the second one
> (supprimerIsbn) I use a submit button in the jsp :
>
>
>
>
>
>
>
>
> --- En date de : Lun 1.3.10, Nils-Helge Ga
gt;
>
>
> --- En date de : Lun 1.3.10, Nils-Helge Garli Hegvik a
> écrit :
>
>> De: Nils-Helge Garli Hegvik
>> Objet: Re: How to pass HTTPRequest between two JSP ?
>> À: "Struts Users Mailing List"
>> Date: Lundi 1 mars 2010, 11h07
>> In that
Hi,
Have you looked at the portlet sample app? It has a few portlet PRG
examples. Try deploying it in Liferay and see if it works as expected.
Nils-H
On Thu, Oct 14, 2010 at 5:52 PM, Alberto Gallardo wrote:
>>> couldn't get the Post-Redirect-Get (PRG) working. The >> type="redirectAction"> does
I believe it is up to the container how the event -> render transition
is implemented. I don't think there's any guarantee that it's actualy
a redirect. If you have several portlets on the page, you could check
that the transition is ok by clicking on a an action/link in a
different portlet, and se
Maybe this is related (although old): http://issues.liferay.com/browse/LEP-1487
Nils-H
On Thu, Oct 14, 2010 at 6:25 PM, Nils-Helge Garli Hegvik
wrote:
> I believe it is up to the container how the event -> render transition
> is implemented. I don't think there's any guarante
You can take a look at how the portlet plugin does this (which was
actually why the UrlRenderer bean was created in the first place). In
addition to defining the bean, you need to tell Struts to use your
renderer:
The portlet plugin does it like this:
Nils-H
On Mon, Nov 15, 2010 at 12:37 PM,
Did you set the "action-url-redirect" value to "true" in
liferay-portlet.xml as described in the mentioned Lifray bug-report
(http://issues.liferay.com/browse/LEP-1487)?
Nils-H
On Mon, Dec 20, 2010 at 1:22 PM, Galina Angelova wrote:
> Hello,
>
> I have migrated a portlet application from Lifray
Hi!
The Struts2 portlet sample application is set up with the pluto
embedded framework. You can take a look at it to replicate the setup.
Nils-H
On Wed, Mar 16, 2011 at 2:59 PM, Jose Luis Martinez Avial
wrote:
> Hi,
> I'm looking how I can integrate an external application available
> throug
It's been a while since I used it last, but underneath the hood, Struts 2
uses PortletUrl to create urls with the url-tag. So you should be able to
use the param tag to add parameters to the url. If that is not suitable,
use the PortletRequestAware to get the current PortletRequest injected to
your
Maybe you can achieve what you want with a PlugIn:
http://struts.apache.org/1.3.10/userGuide/building_controller.html#plugin_classes
Nils-H
On Wed, Apr 1, 2009 at 4:49 PM, laredotornado wrote:
>
> Hi,
>
> I'm using Struts 1.3 on WebLogic 9.2.2. I have this defined in my
> struts-config.xml file
Haven't tried it myself, so can only give you a couple of pointers. If
you're using the json plugin, there's a lot of information in the
documentation[1]. Other than that, use firebug or equivalent tool to
inspect the response and see how the json is formatted.
Nils-H
[1] - http://cwiki.apache.or
terface instead.
Nils-H
On Thu, Apr 2, 2009 at 10:33 PM, laredotornado wrote:
>
> Hi,
>
> I'm looking into this plug-in idea, and although it forces you to define an
> "init" method, it is not a servlet so how do you call it's init method upon
> application
Why do you need to do that?
Nils-H
On Fri, Apr 3, 2009 at 5:05 AM, Joe Lam wrote:
>
> I got this in action mapping
>
> value01
>
>
> that parameter actually is an instance property of that interceptor
> instance.
>
> private String param01;
> public void setParam01(String value){
>
Does it actually fail, or does it just print the exception in the log?
Do you have devMode on?
Nils-H
On Tue, Apr 7, 2009 at 6:08 PM, Security Management
wrote:
> Struts 2.1.6, here's my action.
>
>
>
> addExceptionForm
> ${rule}
>
>
>
> public cla
Do you have any errors in the log (errors during startup)? Does the
tomcat manager show the application as running?
Nils-H
On Tue, Apr 7, 2009 at 6:52 PM, john lee wrote:
> please help me.
>
> after i did all the necessary configuration, i did the following
>
> http://localhost:8080/jiong2/Hello
What's the role of your action in this? Do you have a getter that
returns the list? Do you use it in the select tag?
Nils-H
On Tue, Apr 7, 2009 at 7:14 PM, PEGASUS84 wrote:
>
> please can you say me any solution
> because i don't undestand the documentation
>
>
>
>
> Security Management wrote:
>
Hi!
Passing parameters to the action is handled automatically for you by
the framework if you have the appropriate setters on the action. I
suggest that you start with the tutorials from the documentation:
http://struts.apache.org/2.1.6/docs/bootstrap.html
Nils-H
On Wed, Apr 8, 2009 at 12:19 PM,
Struts 1 and Struts 2 are quite different in philosophy. I would
recommend that you go through the Struts 2 tutorials/guides, which
will give you an introduction to the concepts of the framework:
http://struts.apache.org/2.1.6/docs/home.html
Nils-H
On Wed, Apr 8, 2009 at 10:07 PM, john lee wrote
> Servlet error: An exception occurred. The current application deployment
> descriptors do not allow for including it in this response. Please consult
> the application log for details.
And what does the application log say?
Nils-H
---
Hi!
The PortletStateInterceptor does nothing special with the Session. It
certainly does not invalidate it or remove stuff that's already there.
The debug statement that you see is an indication that the portlet has
been executed in the event phase, and the result has been properly
configured with
em does not happen when the application(s) are
> run outside the portal (i.e. as standalone webapps).
>
> Todd Kofford
> tkoff...@ku.edu
> University of Kansas - IT
>
>
> -Original Message-
> From: Nils-Helge Garli Hegvik [mailto:nil...@gmail.com]
> Sent: Friday
Nils-H
On Wed, Apr 15, 2009 at 3:40 PM, Kofford, C Todd wrote:
> I'm using session scope (implements SessionAware).
>
> No, I haven't deployed to a different portlet container.
>
> Todd Kofford
> tkoff...@ku.edu
> University of Kansas - IT
>
>
> -Ori
erver. I've also
> been cleaning up a lot of code, and I'm still not ruling out a logic (code)
> error.
>
> No I'm not calling session.clear(), when I remove objects from session, I
> specifically remove the object that I put there in the first place,
> session.
That does indeed seem a little odd... The portlet framework expects
these parameters, so I'm not sure there is a way around it. Did you
try upgrading to 2.1.6?
Nils-H
On Thu, Apr 16, 2009 at 4:26 PM, Stephen Turner wrote:
> Hello all -
>
> We've had some trouble using Struts 2 portlets (2.0.14)
wrote:
> On Thu, 16 Apr 2009 14:02:31 -0400, Nils-Helge Garli Hegvik
> wrote:
>
>> That does indeed seem a little odd... The portlet framework expects
>> these parameters, so I'm not sure there is a way around it. Did you
>> try upgrading to 2.1.6?
>>
>&g
Not sure why this should have anything to do with the problem, but
anyway, calling clear() on the map would invalidate the session.
Nils-H
On Thu, Apr 16, 2009 at 9:15 PM, Stephen Turner wrote:
> On Thu, 16 Apr 2009 12:24:13 -0400, Martin Gainty
> wrote:
>
>>
>> 30 second solution seems to indi
Struts 2 portlet support is provided through the portlet-plugin:
http://struts.apache.org/2.1.6/docs/portlet-plugin.html
There's a tutorial here:
http://struts.apache.org/2.1.6/docs/struts-2-portlet-tutorial.html
Nils-H
On Thu, Apr 16, 2009 at 10:48 PM, Rohit Srivastava wrote:
> Have been tryin
Thanks. If they say it's not an Oracle problem, it would be great if
you created a JIRA issue and attached a small example to reproduce the
problem.
Nils-H
On Thu, Apr 16, 2009 at 9:17 PM, Stephen Turner wrote:
>
> On Thu, 16 Apr 2009 15:14:31 -0400, Nils-Helge Garli Hegvik
> wro
I have used displaytag for this before.
http://displaytag.sourceforge.net/1.2/
Nils-H
On Sat, Apr 18, 2009 at 8:19 AM, abhishek reddy
wrote:
> hi all,
>
> How to display data in Data Grid using struts 1.2.9.is there any
> mechanism of doin it in struts
> currently iam display data in a
Have you tried deploying the Struts 2 sample app and see if it's the
same problem there? And which version of Oracle Portal are you using?
Nils-H
On Thu, Apr 16, 2009 at 11:44 PM, Nils-Helge Garli Hegvik
wrote:
> Thanks. If they say it's not an Oracle problem, it would be great if
Maybe you should try a Hibernate list/forum instead?
Nils-H
On Mon, Apr 20, 2009 at 10:11 AM, srinivasa_v . wrote:
> Hi
>
> I am getting Exception while reconnecting to the Oracle database.with
> Hibernate 3. I was getting this problem when Data Base server restarts. its
> start working when
>
>
I'm not sure if this applies to the chain result, but you could give
it a shot:
http://struts.apache.org/2.1.6/docs/parameters-in-configuration-results.html
Nils-H
On Wed, Apr 22, 2009 at 6:36 AM, satyanarayana katta
wrote:
> Hi All,
> I have a Action class
>
> class BaseAction extends ActionSu
t;
> Thanks for all the suggestions!
>
> Todd Kofford
> tkoff...@ku.edu
> University of Kansas - IT
>
>
> -Original Message-
> From: Nils-Helge Garli Hegvik [mailto:nil...@gmail.com]
> Sent: Thursday, April 16, 2009 6:02 AM
> To: Struts Users Mailing List
> Subje
Do you have a jar with the
org.apache.struts2.dispatcher.multipart.MultiPartRequest class
anywhere in your classpath?
Nils-H
On Tue, Apr 28, 2009 at 7:25 PM, PEGASUS84 wrote:
>
> please helm me
> i must write a code for uploading file in a directory of the server.
> i just try some example but i
Sorry, my copy & paste mistake. That file is of course in the core.
Take a look at this: http://struts.apache.org/2.1.6/docs/file-upload.html
Nils-H
On Tue, Apr 28, 2009 at 7:37 PM, PEGASUS84 wrote:
>
> no where is ths file
>
> Nils-Helge Garli wrote:
>>
>>
Why do you need to do it manually with the request dispatcher? Can't
you use any of the available result types?
http://struts.apache.org/2.1.6/docs/result-types.html
Nils-H
2009/4/29 xnpeng :
> from:
>
> ServletActionContext.getServletContext().getRequestDispatcher("/post/message/"+id).forward(S
Um Maybe start with
http://struts.apache.org/2.1.6/docs/tutorials.html and read the docs
for the various ui tags?
Nils-H
On Thu, Apr 30, 2009 at 5:30 PM, kunduruswaroop wrote:
>
> Please see the UI drawing below and let me know the steps to follow to
> develop a wireframe.
> http://www.nabbl
quot;show" ,...
> are the default result types. I can manage this.
>
> my situation is, I need to forward request to action conditionally,ie,depend
> on "category" in action class.
>
>
>
>
> 在2009-04-29,"Nils-Helge Garli Hegvik" 写道:
>>
If I understand your question correctly, are you looking for a
reference to the tag itself? If so, why do you need it (I'm not sure
it's possible at all)? If you're just looking for the current action,
the expression 'top' might be what you're looking for.
Nils-H
On Thu, May 7, 2009 at 6:27 PM, s
I'm not sure how this is related to Struts? If you are looking for
using Struts for portlet development, either check the Struts 1
portlet bridge, or use Struts 2 with the portlet plugin.
Nils-H
On Thu, May 7, 2009 at 11:17 PM, Hermann X Lau
wrote:
> IBM API has been deprecated for Portal 6.1...
Um... I don't think those are Struts tags. Could this be what you're
using? http://www.common-controls.com/en/index.php
If yes, then you should ask your question here:
http://www.common-controls.com/bbs/?loc=en
Nils-H
On Mon, May 11, 2009 at 7:32 AM, pam wrote:
> Hi,
> I am modifying a struts a
That depends on how you want to use it. The tag reference should give
you the information you need.
http://struts.apache.org/2.1.6/docs/tag-developers-guide.html
http://struts.apache.org/2.1.6/docs/ognl.html
http://struts.apache.org/2.1.6/docs/tag-syntax.html
Nils-H
On Mon, May 11, 2009 at 7:57
The FileUploadInterceptor doesn't really store the file for you. It
just makes it available to your action so you can process it. After
the request has finished, the file is deleted. It should all be
described here: http://struts.apache.org/2.1.6/docs/file-upload.html
Nils-H
On Mon, May 11, 2009
It would certainly be a lot easier to help if you could show your
configuration and code...
Nils-H
On Tue, May 12, 2009 at 12:54 PM, Murugesh wrote:
> I am doing task on struts2. In that I have to use custom
> AutherizationInterceptor. In my custom Interceptor Im checking weather user
> is in s
loggin r not ). it seems work but after running interceptor
> it backs to actionclass, here i am chking requset parameters at that am
> geeting for all parameters.
>
> Without interceptor everything working fine.
>
>
>
> On Tue, May 12, 2009 at 4:27 PM, Nils-Hel
rs
>
> On Tue, May 12, 2009 at 5:00 PM, Murugesh wrote:
>
>> Thanks Nils-H.
>>
>> i am not clear. can i have the sample for this?
>>
>> On Tue, May 12, 2009 at 4:57 PM, Nils-Helge Garli Hegvik <
>> nil...@gmail.com> wrote:
>>
>>> Yo
Are you sure that you really want to disable it? Can you use a hidden
field, or hide the field with css, if you're just trying to hide it
from the user?
Nils-H
On Wed, May 13, 2009 at 11:28 AM, Fernandes Celinio
wrote:
> Hi,
>
> Disabled fields by W3 specifications will not get posted on form
>
Yes, the ScopeInterceptor should be able to handle this case.
Nils-H
On Mon, May 25, 2009 at 1:02 PM, Richard Sayre wrote:
> I have an action that does some server side logic, based on that logic
> I want to present the user with a Yes/No message. If they click yes I
> want to save the data the
Um... What exactly are you trying to do here? Do you just need the
product id from the url string, or are you trying to fetch something
from a different backend? If you just need it from the string, just
use indexOf and substring.
Nils-H
On Thu, May 28, 2009 at 11:41 AM, Prashant Singh
wrote:
>
Um... What exactly are you trying to do here? Do you just need the
product id from the url string, or are you trying to fetch something
from a different backend? If you just need it from the string, just
use indexOf and substring.
Nils-H
On Thu, May 28, 2009 at 11:41 AM, Prashant Singh
wrote:
>
When I think of it, that doesn't make any sense either... Isn't the
product id set as a property on your action?
Nils-H
2009/5/28 Nils-Helge Garli Hegvik :
> Um... What exactly are you trying to do here? Do you just need the product id
> from the url string, or are you trying to
; this is generating a url as follows:
> http://localhost:8080/Astralpharma1/astralpharma/astralpharma/showprodsuppliers.action?productID=1
>
> I just need to retrieve the productID from the url. thats it
>
> Please let me know how so I do that in Struts 2
>
> Thanks
> Prashant
>
&
automagically be set from
the url to your action. If that doesn't work, then there's something
wrong with your setup.
Nils-H
On Thu, May 28, 2009 at 12:33 PM, Prashant Singh
wrote:
> Hi Nils,
>
> can you please illustrate with a code snippet.
>
> Thanks,
> Prashant
>
> ---
009 at 12:41 PM, Prashant Singh
wrote:
> Hi Nils,
>
> this is what I have tried to do till today.
>
> http://www.coderanch.com/t/446930/Struts/transfer-productID-from-url-action
>
> Sincerely,
> Prashant
>
>
>
> --- On Thu, 28/5/09, Nils-Helge Garli Hegvik wrote:
>
1 - 100 of 466 matches
Mail list logo