Hi All,
Is there any way to customise or our own lable in
can anybody give me detailed configuration to increase size of file upload in
struts 2.0.11.2
please help me
--
View this message in context:
http://www.nabble.com/About-incresing-file-upload-size-in-Struts-2-tp20633816p20633816.html
Sent from the Struts - User mailing list archive at Nabble.co
Hi,
I m struck with an issue with custom tag. And its kind of important for my
project completion.
I wrote a custom tag in S2 and of course related ftl file. It is just like
wrapper around a select box and few other controls. And I need to populate
the select box according to the attribute 'lengt
Respected All,
In Struts1X,
having attributes property and labelproperty those are having
list data type.
Example:
But Struts2 doesn't support separate List data type for label and value.
Example:
Data type of comboLabelValue is List, Which add object having key/value
pro
Hey All,
I've tried searching but either I dont' know what to search for, or it
simply hasn't been asked yet.
I have a textfield
Works fine until the string gets returned with something like the following:
"${dont.evaluate}"
I want the textfield to actually contain this string, instead it i
I need to set a variable that is specific to the object id I'm working
with. I tried something like this:
and then later in the page:
but didn't get anything. Is there a different way to do this?
--
Frank Maritato
-
To uns
Gerhard,
Thanks for the reply. I am using 2.0.11.
Rabin
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Gerhard Große
Sent: Friday, November 21, 2008 3:35 PM
To: user@struts.apache.org
Subject: Re: Dojo 404 and
Rabin Aryal netlert.com> writes:
>
> Hello,
>
> I g
You might be better off with something like this:
> -Original Message-
> From: Casinova [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 21, 2008 1:09 PM
> To: user@struts.apache.org
> Subject: Re: Loading and Calling Java Script in Struts
>
>
> thanks for suggestion
> i have stru
thanks for suggestion
i have struts 1.2.9
i have included jstl 1.1 and now i am using like
<[EMAIL PROTECTED] uri="http://java.sun.com/jsp/jstl/core"; prefix="c"%>
paths are
"/>
"/>
"/>
please refer project structure as given above
please suggest it feels i am near to solution...
Tha
Rabin Aryal netlert.com> writes:
>
> Hello,
>
> I get the 404 on all the struts/dojo js and css files not found.
>
Hi,
this looks like you are using 2.0.12 and ran into a bug that sneaked into this
release: See https://issues.apache.org/struts/browse/WW-2849
This is fixed meanwhile, but a
Use either JSTL's tag, S1's equivalent, or S2's equivalent. I don't
remember what version of Struts you're using.
Dave
--- On Fri, 11/21/08, Casinova <[EMAIL PROTECTED]> wrote:
> From: Casinova <[EMAIL PROTECTED]>
> Subject: Re: Loading and Calling Java Script in Struts
> To: user@struts.apac
I solved with two lists..it is not so elegant solution, but there is
obviously no better solution.
--
Milan
Milan Milanovic wrote:
>
> Dave,
>
> actually my form isn't submitted twice :-(. I found now what was the
> problem. I set one multiple option select in jsp like this:
>
>
O.K. Good. One more thing, it is maybe good to add SUBREPORT_DIR JR param as
a JR result param too, or to use directory location to say that subreport is
located in the same dir.
--
Milan
newton.dave wrote:
>
> A patch file would be better, but I can do it this way too.
>
>
> --- On Fri, 11
Sorry to say you but not getting what to type in src=""
Please can u brief me..
Thanks a lot
newton.dave wrote:
>
> --- On Fri, 11/21/08, Casinova wrote:
>> u tried that but getting jquery null or not a object error.
>> [...]
>> and right now i m giving absolute path like
>>
>>
--- On Fri, 11/21/08, Casinova wrote:
> u tried that but getting jquery null or not a object error.
> [...]
> and right now i m giving absolute path like
>
>
Thanks for your suggestion..
u tried that but getting jquery null or not a object error.
i have project in IDE like
ProjectName
-webpages
js
jquery.js
JSloader_1.js
and right now i m giving absolute path
Torsten Krah wrote:
Hi, I want to know which "rows" in my table (s:iterator) are "dirty".
Is there any way to know (beside looking manually in the parameter map and
loading again db state + looking at old/new values before saving) which rows
have changed?
You can include previous values in hi
Hi,
we are currently evaluating to migrate a Struts1 J2EE-Application to Struts2
and discovered something which might be a major problem or might not, which is
what I am trying to find out:
In section J2EE.4.2.1 the J2EE specifications (1.3, 1.4 and 5.0 at least)
states:
"Servlet filters and
--- On Fri, 11/21/08, Torsten Krah wrote:
> Hi, I want to know which "rows" in my table (s:iterator) are "dirty".
> Is there any way to know (beside looking manually in the parameter map
> and loading again db state + looking at old/new values before
> saving) which rows have changed?
I don't see
Hi, I want to know which "rows" in my table (s:iterator) are "dirty".
Is there any way to know (beside looking manually in the parameter map and
loading again db state + looking at old/new values before saving) which rows
have changed?
--
Bitte senden Sie mir keine Word- oder PowerPoint-Anhäng
A patch file would be better, but I can do it this way too.
--- On Fri, 11/21/08, Milan Milanovic <[EMAIL PROTECTED]> wrote:
> From: Milan Milanovic <[EMAIL PROTECTED]>
> Subject: Re: JasperReports Plugin datasource
> To: user@struts.apache.org
> Date: Friday, November 21, 2008, 11:49 AM
> Dave,
Dave,
I put the fix: https://issues.apache.org/struts/browse/WW-2884
https://issues.apache.org/struts/browse/WW-2884 .
Please check it if I did it correctly.
--
Milan
newton.dave wrote:
>
> --- On Fri, 11/21/08, Milan Milanovic wrote:
>> O.K. Where can I do this ?
>
> On the S2 JIRA at: ht
--- On Fri, 11/21/08, Milan Milanovic wrote:
> O.K. Where can I do this ?
On the S2 JIRA at: https://issues.apache.org/struts/secure/Dashboard.jspa
(I think)
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
Dave,
newton.dave wrote:
>
>> I added connection param to the JR result and now it works perfectly
>> :-)! If connection is found, dataSource is not used.
>
> Glad to hear it. If you want, you could create a patch and a JIRA and I'll
> apply it to the JR result and finish some of my earlier
Dave,
actually my form isn't submitted twice :-(. I found now what was the
problem. I set one multiple option select in jsp like this:
The problem is because my users list contain e.g. three users: Mike, John,
Paul. And when user select for example one of them in jsp page, I just got
added tha
The point is that I didn't (and still don't) believe the text is being rendered
appropriately, which is why I said try using pastebin or a similar service.
--- On Fri, 11/21/08, Milan Milanovic <[EMAIL PROTECTED]> wrote:
> Yes, you are right. They are not copied well. This is exact code:
>
> /m
Hello,
I get the 404 on all the struts/dojo js and css files not found.
I have following filter mapping in web.xml
struts2
/*
When I changed it to
struts2
/struts/*
It took down my application and I get the infinite looping err
Yes, you are right. They are not copied well. This is exact code:
/myApp/index.jsp Main | /myApp/j_acegi_logout
Logout
But this has no implication on form submiting ? It is not part of the form.
I don't have AJAX code on the page except datetimepickers.
--
Milan
newton.dave wrote:
>
>
--- On Fri, 11/21/08, Casinova wrote:
>
HI all. i found strange issue with my struts application.
I have a jsp page like below test.jsp
and something like this
script type="text/javascript">
var jquery = new Jquery();
jquery.load('calendar');
jquery.newCalendar('test1');
jq
--- On Fri, 11/21/08, Milan Milanovic wrote:
> I found what is the problem. Query that JR report run returned no rows,
> so it show it like empty.
[OT] There's a JR parameter for that, btw, so if it's a report with no data
elements it'll still print out something.
> I added connection param to t
Those aren't links. They're text. That's why I asked if everything came through
okay.
--- On Fri, 11/21/08, Milan Milanovic <[EMAIL PROTECTED]> wrote:
> From: Milan Milanovic <[EMAIL PROTECTED]>
> Subject: Re: Form submitted twice (no AJAX!)
> To: user@struts.apache.org
> Date: Friday, November
Good Afternoon Milan
forgive the mid-thread interruption but
Dave is talking about the theme setting for struts head tag set to simple or
ajax as in
so if you specified attribute theme=simple you will reference
$classpath/template/simple/head.ftl
or if you specified attribute theme=ajax you
Hi Dave,
I found what is the problem. Query that JR report run returned no rows, so
it show it like empty. I added connection param to the JR result and now it
works perfectly :-)! If connection is found, dataSource is not used.
Great job, thanks!
--
Milan
newton.dave wrote:
>
> --- On Fri,
There is no menu code, just those two links.
Milan
newton.dave wrote:
>
>>> > /myApp/index.jsp Main
>>> |
>>> > /myApp/j_acegi_logout Logout
>
> Is your menu not implemented yet?
>
>
> --- On Fri, 11/21/08, Milan Milanovic <[EMAIL PROTECTED]> wrote:
>
>> From: Milan Milanovic <[EMAIL
Check here:
http://struts.apache.org/2.0.6/docs/how-do-we-upload-files.html
Specifically the struts.multipart.maxSize property.
-Original Message-
From: ryan webb [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 20, 2008 4:53 PM
To: Struts Users Mailing List
Subject: Re: Struts 2: What
--- On Fri, 11/21/08, Milan Milanovic <[EMAIL PROTECTED]> wrote:
> I managed to call fillReport with open Connection object,
> but I just get an empty report page?! If I try to pass Connection object
> as dataSource in JR result, then I get that exception that Connection is
> null and I see report
>> > /myApp/index.jsp Main
>> |
>> > /myApp/j_acegi_logout Logout
Is your menu not implemented yet?
--- On Fri, 11/21/08, Milan Milanovic <[EMAIL PROTECTED]> wrote:
> From: Milan Milanovic <[EMAIL PROTECTED]>
> Subject: Re: Form submitted twice (no AJAX!)
> To: user@struts.apache.org
> Dat
I managed to call fillReport with open Connection object, but I just get an
empty report page?! If I try to pass Connection object as dataSource in JR
result, then I get that exception that Connection is null and I see report
contents but with null values ?
--
Milan
newton.dave wrote:
>
> ---
Dear Dave,
I don't understand. That is exactly what I get when page is generated. I
omited some plain html code.
--
Milan
newton.dave wrote:
>
> I don't think that came through properly; perhaps try pastebin or similar.
>
> Dave
>
>
> --- On Thu, 11/20/08, Milan Milanovic <[EMAIL PROTECTE
Yhea, I noticed a JIRA issue for that. However, it should be possible
to construct the urls "by hand".
Nils-H
On Fri, Nov 21, 2008 at 3:14 PM, Torsten Krah
<[EMAIL PROTECTED]> wrote:
> Am Freitag, 21. November 2008 14:16:31 schrieb Nils-Helge Garli Hegvik:
>> Yes, I would handle this outside the
Am Freitag, 21. November 2008 14:16:31 schrieb Nils-Helge Garli Hegvik:
> Yes, I would handle this outside the portlet. As you say, it's not
> than uncommon, and it should be easily solved using a servlet.
I used buildResourceUrl on PortletUrlHelper to generate my servlet urls
handled by FilterDi
There are several tag libraries and components that can handle this.
Personally, I have used displaytag [1] earlier for this requirement.
You could also try google: http://www.google.com/search?q=struts2+paging
Nils-H
[1] - http://displaytag.sourceforge.net/
On Fri, Nov 21, 2008 at 2:32 PM, Raj
Hi.
I need to display around 50,000 records in a page.
I need grid for that, that have paging, sorting etc. functionality. Where I
can display some of records at a time and if required (on next click) I
retrieve next page records and display to the use.
Can anybody suggest better solut
Yes, I would handle this outside the portlet. As you say, it's not
than uncommon, and it should be easily solved using a servlet.
Nils-H
On Fri, Nov 21, 2008 at 2:07 PM, Torsten Krah
<[EMAIL PROTECTED]> wrote:
> Am Friday 21 November 2008 13:57:26 schrieben Sie:
>> You can't. It's a limitation of
Am Friday 21 November 2008 13:57:26 schrieben Sie:
> You can't. It's a limitation of the portlet spec.
Ok. Lets take this scenario:
User fill out some registration form (portlet) and want to receive a optin
email with a activation "link".
How would this be done with portlets (spec v1)? Is it not
Hi.
I am looking to encrypt my application URL displayed in Clients Browser.
My application is ready so I can't change each page and encrypt each link.
Is there any solution on server-side to encrypt URL query-string parameters
that applies to all links in my application.
e.g. my U
You can't. It's a limitation of the portlet spec. URLs can only be
created (in a portable manner) through the RenderResponse (or
MimeResponse in the 2.0 spec) interface which is only available in the
render phase. I'm not even sure that it's guaranteed that the
generated url would be "static" anywa
Hi. I need to programmatically create an PortletURL to include in an email.
Trying to use the PortletHelper to build the URL does not help because it does
fail with this exception:
RenderRequest cannot be obtained in event phase
RenderRequest request = PortletActionContext.getRenderRequest();
Here are some resources that can be helpful:
http://struts.apache.org/2.0.12/docs/tutorials.html
http://struts.apache.org/2.0.12/docs/jsp.html
http://struts.apache.org/2.0.12/docs/tag-syntax.html
http://struts.apache.org/2.0.12/docs/ognl.html
Nils-H
On Fri, Nov 21, 2008 at 1:25 PM, Rajil <[EMAIL
Hi.
I am migrating a module from struts1.0 to struts2.1.2.
I am facing problem while using scriptlet [ <%=jsp_variable_name%> ] in
struts2 tags.
Is there any way I can use scriptlet in struts2 tags.??
regards,
Rajil Davda
Hi some question abount the unknown handler:
The unknown handler gots injected looking at the code - but where do i
configure my own one which should be used - can't find the right place?
thx
--
Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
Siehe http://www.gnu.org/philosophy/no-wo
52 matches
Mail list logo