  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Struts | First of all thanks a lot for the fast reply.
The problem with storing something in the session is it that if the user
tried to access two different pages at once in separate windows and had
to loginHi all!
I have the following code
<s a id "removeProject " theme "ajax " notifyTopics "/submitProjectForm "
loadingText " " targets "workspaceAjaxContent " executeScripts "true "
onclickOh and by the way the logic tag is gone IMO the struts2 guys did not want to invent the wheel again. And also IMO the struts2 tags are more concise to the framework and overlap less with what is alrFor iterating over a value you can use the struts2 tag s iterator
http //struts.apache.org/2.x/docs/iterator.html
however if you want a foreach loop you could use fmtl tag c forEach
http //javaHi Moacir. Read the documentation the resultDivId attribute is deprecated
for all ajax tags. You should use the targets attribute now and there write
a coma-separated list of the element 's IDs you wHi guys
Just today I found out that I miss them... Is there a way to create a for
loop in Struts2? because I think a block of jsp code will not work there
what is required is a framework tag.
Is theI will second Zarar 's opinion here if all you need is to make XHRs
(no fancy widgets etc. etc) then Prototype is an excellent choice.
Of course there are another 2e100 ajax frameworks to choose froI am not 100% sure on this but I think you need to have
struts.devMode false in struts.properties.
Give that a whirl.
Brian-
On Sep 30 2007 at 9 43 PM mikeh96 wrote
>
> I am unable to traIts not in there but why? Surely c param or jsp include should append
the parameter?
Thanks!
-----Original Message-----
From paulus.benedictus@(protected) [mailto paulus.benedictus@(protected)]
On BehaThe directive just tells the container (e.g. Tomcat) not to automatically
create a session. See what happens if you defer the session creation until
the user accesses the log in page.
Paul
On 9/6/0So just to clarify adding that to our page (it 's the header.jsp that
will appear on every page)...won 't adversely affect anything regarding
the session tracking we do when a user logs in?
The header.
My resulting path doesn 't contain myPath value it just replaces nothing.
Do you have any other idea?
Thanks
meeboo wrote
>
>
> try
>
>
>
>
> <s url id "url " value "%{#myPath} " >
> <s paraJennie I wasn 't clear. My apologies. You don 't typically need a session
UNTIL a user logs in. So unless you want to track or store state for
anonymous users you could defer the session creation unti > As the ticket said I am contemplating an xhtmlVersion attribute. For
> example
>
> <html html xhtml "true " >
> <html html xhtmlVersion "1.0 " >
> <html html xhtmlVersion "1.1 " >
> <html html xhtmlVersOn the website we have a user login and need to track the session of
each user. I assume if we put this in the page its going to void this.
Any other ideas?
Thanks!
Jennie
-----Original Message-----As the ticket said I am contemplating an xhtmlVersion attribute. For
example
<html html xhtml "true " >
<html html xhtmlVersion "1.0 " >
<html html xhtmlVersion "1.1 " >
<html html xhtmlVersion "2.0 " > (y > And also
> https //issues.apache.org/struts/browse/STR-2598
This is exactly what I 'm talking about. I wasn 't aware that the "lang "
attribute disappeared form xhtml between version 1.0 and 1.1 I gJennie definitely put Struts into your debugger and figure out if the
parameter is attached to the request. Sometimes error messages are telling
the truth -- there is no parameter really in the requeTurn off automatic session creation if you want. It 's a JSP directive. I
think it 's <% page session "false " % >
You don 't need sessions until you actually want to track user state. If you
need to tr
I 'm new to Struts 2. I would like to do a very simple comparison between
Strings.
<s if test "type 'I ' " >Incident </s if >
<s else >Report </s else >
It doesn 't work as 'I ' is converted to Character
try
<s url id "url " value "%{#myPath} " >
<s param name "solution " > <s property value "solution "/ > </s param >
... (other params)
</s url >
TonyD wrote
>
> I 'm trying to use a property vaThe topic is published before and after the request. There is a
parameter to the topic that will be set to "before " "load " or "error "
musachy
On 8/19/07 Jeromy Evans <jeromy.evans@(protected)Hi
I was wondering if I can rely on the order of the values returned by
request.getParameterValues()?
In my form I have a checkbox and then underneath I have a hidden field
with the same name. I do
I have exactly ${mypath} into my path and not the current value.
Also I tried with
<s url id "url " value "%{mypath} " >
but it is the same thing because a get %{mypath} with my parameters in
outpI have to include a jsp page in my main jsp page. The include must first
go to an action which uses a dispatch.
example
/weather.do?dispatch display
I can only seem to use the bean include tag On the very first request to our website any html rewrite tags or
bean include tags the URL gets rewritten with the JsessionID in it
making the link invalid which then gives a page not found error.
Hi Richard
Thanks for the pointer.
I 'm using 2 actions because my current belief is that using a single action
would cause problems with result names because you can 't define separate
SUCCESS resul
Dear All
I create simple application using MVC technology (Struts to define my
JSPs pages) and want to custmize a oracle bpel worklist application
bpel worklist application should deployThis may work -
<s url id "url " value "${mypath} " >
<s param name "solution " > <s property value "solution "/ > </s param >
... (other params)
</s url >
-----Original Message-----
From TonyD [mailt
I 'm trying to use a property value into a struts url but doesn 't work because
I can not use the ( " character) twice into a url value could somebody help
me?
Thanks in advance.
<s url id "url " value |
|
 |