Re: Tag fielderror with ognl expressions on fieldName

2012-10-14 Thread Lukasz Lenart
2012/10/12 JOSE L MARTINEZ-AVIAL : > Hi, > I'm using Struts2.2.3. I have a iterator that creates textfields with the > same name, which I receive at the server as an array of Strings > > status="iterStatus"> > value="%{answer[#iterStatus.index]}" tabindex="15" autocomplete="off"/>

Re: Tag s:textfield does not parse OGNL expressions for dynamic attributes

2012-07-24 Thread Lukasz Lenart
Yes, it supports but without OGNL expression within, please try 2.3.4 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2012/7/24 JOSE L MARTINEZ-AVIAL : > Struts 2.2.3. The only plugings are Tiles and Json. According to the TLD > the tag s:textfield supports dynamic attributes, an

Re: Tag s:textfield does not parse OGNL expressions for dynamic attributes

2012-07-24 Thread JOSE L MARTINEZ-AVIAL
Struts 2.2.3. The only plugings are Tiles and Json. According to the TLD the tag s:textfield supports dynamic attributes, and it does (the attribute is created in the HTML code), but the value of the attribute is not parsed for OGNL expressions. Thanks JL 2012/7/24 Maurizio Cucchiara > In addit

Re: Tag s:textfield does not parse OGNL expressions for dynamic attributes

2012-07-24 Thread Maurizio Cucchiara
In addition to what Lukasz said, which plugins are you using (f.e. JavaTemplateEngine could behaviour differently)? Sent from my mobile device, so please excuse typos and brevity. Maurizio Cucchiara Il giorno 24/lug/2012 07.01, "JOSE L MARTINEZ-AVIAL" ha scritto: > Hi, > I have the following t

Re: Tag s:textfield does not parse OGNL expressions for dynamic attributes

2012-07-24 Thread Lukasz Lenart
This a dynamic attribute ? Which version of Struts 2 ? Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2012/7/24 JOSE L MARTINEZ-AVIAL : > Hi, > I have the following textfield: >name="userLoginName" theme="simple" >id="userLoginName" >

Re: Tag iterator and my object container

2011-05-12 Thread Dave Newton
t; } >> >> @Override >> public SearchResult next() { >> String next = this.iterator().next(); >> return this.get(next); >> } >> } >> >> >> Calls (hasNext() and next()) are done in org.apache.struts2.components. >> IteratorComponent >> &

Re: Tag iterator and my object container

2011-05-12 Thread Chris Pratt
eu MARC > > > -Message d'origine- > De : Steven Yang [mailto:kenshin...@gmail.com] > Envoyé : mardi 10 mai 2011 15:16 > À : Struts Users Mailing List > Objet : Re: Tag iterator and my object container > > you need to implement the Iterator interface > &

RE: Tag iterator and my object container

2011-05-12 Thread Matthieu.Marc
nshin...@gmail.com] Envoyé : mardi 10 mai 2011 15:16 À : Struts Users Mailing List Objet : Re: Tag iterator and my object container you need to implement the Iterator interface On Tue, May 10, 2011 at 4:14 PM, wrote: > Hi everybody, > > I have a container object SearchResults which contain

Re: Tag iterator and my object container

2011-05-10 Thread Dave Newton
Or just access the map and use the Map.Entry object map iterators supply. Dave On May 10, 2011 9:16 AM, "Steven Yang" wrote: > you need to implement the Iterator interface > > On Tue, May 10, 2011 at 4:14 PM, wrote: > >> Hi everybody, >> >> I have a container object SearchResults which contains

Re: Tag iterator and my object container

2011-05-10 Thread Steven Yang
you need to implement the Iterator interface On Tue, May 10, 2011 at 4:14 PM, wrote: > Hi everybody, > > I have a container object SearchResults which contains a treeMap of simple > object SearchResult. > > I want to iterate over SearchResults in order to display properties of all > SearchResult

Re: tag throws exceptions

2010-09-25 Thread Chris Mawata
On 9/25/2010 11:22 AM, Dave Newton wrote: On Sat, Sep 25, 2010 at 11:18 AM, Chris Mawata< chris_mawata_str...@mathcove.net> wrote: The server is GlassFish What version of Struts 2? Dave Sorry -- 2.2.1 (It works in 2.1.8)

Re: tag throws exceptions

2010-09-25 Thread Dave Newton
On Sat, Sep 25, 2010 at 11:18 AM, Chris Mawata < chris_mawata_str...@mathcove.net> wrote: > The server is GlassFish > What version of Struts 2? Dave

Re: tag attributes evaluation

2010-06-14 Thread Lukasz Lenart
2010/6/13 Oleg Mikheev : > Guys, > > It took me some quite some time to understand how to pass a > dynamic value to a textfield label. > It appeared that I needed to use this strange notation: %{#var} > like this: > > > > > I haven't found any description that would list which > Struts2 tag attri

RE: tag attributes evaluation

2010-06-14 Thread Martin Gainty
good idea) to retain the authors name on any posted material.. Martin Gainty __ Standard Caveats Apply > Date: Mon, 14 Jun 2010 16:39:34 -0400 > From: d...@newfield.org > To: user@struts.apache.org > CC: em...@encs.concordia.ca &

Re: tag attributes evaluation

2010-06-14 Thread Dale Newfield
On 6/14/10 4:25 PM, Emi Lu wrote: On 06/14/2010 09:59 AM, Dale Newfield wrote: On 6/13/10 2:02 PM, Oleg Mikheev wrote: I really think that this notation must be documented specifically on this page: http://struts.apache.org/2.1.8.1/docs/ognl.html It's a wiki. Please feel free to offer the mod

Re: tag attributes evaluation

2010-06-14 Thread Emi Lu
On 06/14/2010 09:59 AM, Dale Newfield wrote: On 6/13/10 2:02 PM, Oleg Mikheev wrote: I really think that this notation must be documented specifically on this page: http://struts.apache.org/2.1.8.1/docs/ognl.html It's a wiki. Please feel free to offer the modifications you think are appropriat

Re: tag attributes evaluation

2010-06-14 Thread Dale Newfield
On 6/13/10 2:02 PM, Oleg Mikheev wrote: I really think that this notation must be documented specifically on this page: http://struts.apache.org/2.1.8.1/docs/ognl.html It's a wiki. Please feel free to offer the modifications you think are appropriate. -Dale

Re: tag questions

2010-05-12 Thread RogerV
RogerV wrote: > > > The first is a minor niggle. The default behaviour when the jsp is > displayed for the first time is for the first accordionItem to be open. > I'd like the initial state to be all closed. > OK - setting seems to take care of this one. RogerV wrote: > > The second is m

Re: -Tag in -Tag:differences in 2.1.2 and >= 2.1.6

2009-12-07 Thread Musachy Barroso
Unfortunately this is a bug/enhancement dependent on your point of view (what created this problem fixed other bugs). The way to get it to work like you want is to add a "merge" param set to "false" in the "staticParams" interceptor. For reference: https://issues.apache.org/struts/browse/WW-2970 h

Re: tag syntax question

2009-07-24 Thread Musachy Barroso
I totally agree with Dale, using %{..} will save you a lot of headaches. musachy On Fri, Jul 24, 2009 at 7:31 AM, Dale Newfield wrote: > Mitch Claborn wrote: >> >> Is either of the following more or less efficient than the other? >> >> >> > > I always argue that the latter should be used, just

Re: tag syntax question

2009-07-24 Thread mailtolouis2020-struts
3:31:36 PM Subject: Re: tag syntax question Mitch Claborn wrote: > Is either of the following more or less efficient than the other? > > > I always argue that the latter should be used, just to avoid unnecessary conf

Re: tag syntax question

2009-07-24 Thread Dale Newfield
Mitch Claborn wrote: Is either of the following more or less efficient than the other? I always argue that the latter should be used, just to avoid unnecessary confusion later on. -Dale - To unsubscribe, e-mail: user-uns

Re: tag syntax question

2009-07-24 Thread Mitch Claborn
Is either of the following more or less efficient than the other? mitch Musachy Barroso wrote: > other attributes are expected to be expressions, so you can do: > > > > instead of the more verbose, but also correct: > > > > > -

Re: tag syntax question

2009-07-24 Thread Mitch Claborn
Thanks to both. The haze on the subject is beginning to clear. mitch Musachy Barroso wrote: > yes that's a good catch Dale, from the API point of view they are > stored in a map in the ValueStack instance, but from a user point of > view you could say they are stored in the "valuestack context"

Re: tag syntax question

2009-07-23 Thread Musachy Barroso
yes that's a good catch Dale, from the API point of view they are stored in a map in the ValueStack instance, but from a user point of view you could say they are stored in the "valuestack context". musachy On Thu, Jul 23, 2009 at 9:03 PM, Dale Newfield wrote: > Musachy Barroso wrote: >> >> Objec

Re: tag syntax question

2009-07-23 Thread Dale Newfield
Musachy Barroso wrote: Objects can be put in the stack by name, like the HttpServletRequest object. Theseobjects are accessed using the "#" notation, like "#request". The "set" tag can add things to the stack by name(for example). The only confusing bit about the way that was just described is

Re: tag syntax question

2009-07-23 Thread Musachy Barroso
you need to read about the value stack. long story short, the VS stacks (duh) objects. When an expressions like: "name" is evaluated, struts will go from the top to the bottom of the stack, trying to find a "name" field or "getName" method, until one is found. Different things are placed in the s

Re: tag select

2009-04-07 Thread Burton Rhodes
Pegasus84 - Please do not take this the wrong way, but may I suggest you get a book on Struts 2 (or seriously read the wiki) and perhaps a basic web JSP development book. I am certainly guilty of asking basic questions myself, but this list IMHO should not be a first go to. You need to at least *t

Re: tag select

2009-04-07 Thread Lukasz Lenart
2009/4/7 PEGASUS84 : > good evening; > I've this question: > I want crate a select tag with a list of 31 days. > I create a java class with an ArrayList with 31 days but how can insert this > ArrayList into a list of the select tag? Don't duplicate topics, it doesn't help! I already answered your

Re: tag set

2009-03-15 Thread Dave Newton
Martin Gainty wrote: that confirms my hypothesis.. You hypothesized that I haven't used the S1 plugin for a very long time? Or that showcase works? Or that S1 had nothing to do with the thread? Dave - To unsubscribe, e-ma

RE: tag set

2009-03-15 Thread Martin Gainty
distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Sun, 15 Mar 2009 18:37:27 -0400 > From: newton.d...@yahoo.com > To: user@struts.apache.org > Subject: Re: tag set > > Martin Ga

Re: tag set

2009-03-15 Thread Dave Newton
Martin Gainty wrote: so the examples are valid? I know of no reason why they wouldn't be, although I haven't used the S1 plugin in a very long time. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For add

RE: tag set

2009-03-15 Thread Martin Gainty
distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Sun, 15 Mar 2009 13:25:08 -0400 > From: newton.d...@yahoo.com > To: user@struts.apache.org > Subject: Re: tag set > > Martin Gainty wrote

Re: tag set

2009-03-15 Thread Dave Newton
Martin Gainty wrote: the location src\apps\showcase\src\main\java\org\apache\struts2\showcase\integration is where the (apparently incorrect version Struts1.x) examples are located *these examples are included in the 2.1.6 distro* They're showing how to integrate Struts 1 and Struts 2. They'r

RE: tag set

2009-03-14 Thread Martin Gainty
transmission. > Date: Sat, 14 Mar 2009 20:57:33 -0400 > From: newton.d...@yahoo.com > To: user@struts.apache.org > Subject: Re: tag set > > Martin Gainty wrote: > > Can you fix the examples in > > struts-2.1.6\src\apps\showcase\src\main\java\org\apache\struts2

Re: tag set

2009-03-14 Thread Dave Newton
Martin Gainty wrote: Can you fix the examples in struts-2.1.6\src\apps\showcase\src\main\java\org\apache\struts2\showcase\integration Not with a bug report like that; what's wrong with them? Dave - To unsubscribe, e-mail: us

RE: tag set

2009-03-14 Thread Martin Gainty
m > To: user@struts.apache.org > Subject: Re: tag set > > Martin Gainty wrote: > > its already in the request > > public class EditFuBarAction extends Action { > > public ActionForward execute(ActionMapping mapping, ActionForm form, > > HttpServletRequest req

Re: tag set

2009-03-14 Thread Dave Newton
Martin Gainty wrote: its already in the request public class EditFuBarAction extends Action { public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { String user=request.getParameter("user");

RE: tag set

2009-03-14 Thread Martin Gainty
rily endorse content contained within this transmission. > Date: Sat, 14 Mar 2009 06:28:50 -0700 > From: pegasu...@hotmail.it > To: user@struts.apache.org > Subject: RE: tag set > > > and to access from the Action > > mgainty wrote: > > >

Re: tag set

2009-03-14 Thread Nils-Helge Garli Hegvik
ithin >> this transmission. >> >> >> >> >>> Date: Fri, 13 Mar 2009 16:05:36 -0700 >>> From: pegasu...@hotmail.it >>> To: user@struts.apache.org >>> Subject: Re: tag set >>> >>> >>> certainly; &

RE: tag set

2009-03-14 Thread PEGASUS84
009 16:05:36 -0700 >> From: pegasu...@hotmail.it >> To: user@struts.apache.org >> Subject: Re: tag set >> >> >> certainly; >> but how do i achieve this thing? >> >> >> <% reqest.setAttribute("key",user)%> >> >

RE: tag set

2009-03-14 Thread Martin Gainty
distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Fri, 13 Mar 2009 16:05:36 -0700 > From: pegasu...@hotmail.it > To: user@struts.apache.org > Subject: Re: tag set > > > certainly; > b

RE: tag set

2009-03-13 Thread Martin Gainty
jsp: once inside the action class *mapped for viewJobDetail* you can pull each of the 3 params http://://viewJobDetail.action?fname=Giorgio&name=Armani Martin __ Dis

Re: tag set

2009-03-13 Thread PEGASUS84
certainly; but how do i achieve this thing? <% reqest.setAttribute("key",user)%> can i achieve this thing? in this way? Nils-Helge Garli wrote: > > Maybe you could try explaining what you're trying to achieve? Usually, > input is passed to the action through a form or request parameters.

Re: tag set

2009-03-13 Thread Nils-Helge Garli Hegvik
Maybe you could try explaining what you're trying to achieve? Usually, input is passed to the action through a form or request parameters. Nils-H On Fri, Mar 13, 2009 at 11:23 PM, PEGASUS84 wrote: > > good evenig > i would ask if i can get the value of variable x in an > action > -- > View this

Re: tag causing could not be resolved as a collection/array/map/enumeration/iterator type error

2009-03-05 Thread catchme
HI I was lookin for the same Query for last whole day . i m working on struts 2.0.11.2 an dfinnaly got to know that its not tah much easy to use selct tag :-| anywasy finally i got the answer that v need to passs list in action class to get record list in select tag thx 4 help Mark Greene wrot

Re: Tag s:url

2009-02-03 Thread Dave Newton
Moacyr Prado wrote: I`m using a tag url but this tag are not evaluate a expression "[0].getActionsName" on action parameter.Is it normal? example: The last Action called has getActionName() and getLinkText() methods. In browser shows http://localhost/App/[0].getActionName[] I'm not sure t

Re: tag

2008-12-16 Thread Dave Newton
Use the html:options [1] or html:optionsCollection tag [2]? [1] http://struts.apache.org/1.2.9/userGuide/struts-html.html#options [2] http://struts.apache.org/1.2.9/userGuide/struts-html.html#optionsCollection Dave --- On Tue, 12/16/08, m.harig wrote: > From: m.harig > Subject: Re

Re: tag

2008-12-16 Thread m.harig
is there anyone to answer my question%-| m.harig wrote: > > hi all > > am getting no.of users from DAO class and all username are in the form of > User Object. > > ArrayList list = new ArrayList(); > while(rs.next()){ > User user = new User();

Re: tag causing could not be resolved as a collection/array/map/enumeration/iterator type error

2008-11-30 Thread Dave Newton
--- On Sun, 11/30/08, Mark Greene wrote: > Is it possible to throw a link in the validation section > to this article? Done. I suspect the reason it wasn't there is because the post-back pattern is pretty popular/well-known. I put the link to the FAQ in the "Examples" section. Wiki editing requ

Re: tag causing could not be resolved as a collection/array/map/enumeration/iterator type error

2008-11-30 Thread Mark Greene
After finding this page http://struts.apache.org/2.x/docs/how-do-we-repopulate-controls-when-validation-fails.htmlI threw my hands up in the air as it pretty much tells me what to do. I just didn't realize it would be in the FAQ section. Is it possible to throw a link in the validation section to t

Re: tag causing could not be resolved as a collection/array/map/enumeration/iterator type error

2008-11-27 Thread Mark Greene
AhI never would of thought of that. I was under the impression that submitting the option value from the select list would of been enough but it appears I misjudged how the life cycle works. In any case, thank you so much for pointing that out so quickly Dave. I also had to implement prepare()

Re: tag causing could not be resolved as a collection/array/map/enumeration/iterator type error

2008-11-27 Thread Dave Newton
You submit to HelloWorld, which doesn't have the list. Dave --- On Thu, 11/27/08, Mark Greene <[EMAIL PROTECTED]> wrote: > From: Mark Greene <[EMAIL PROTECTED]> > Subject: tag causing could not be resolved as a > collection/array/map/enumeration/iterator type error > To: user@struts.apache.org

Re: TAG embeded inside TAG struts 1

2008-10-23 Thread Antonio
2008/10/22 D'Ottavio Alessandro <[EMAIL PROTECTED]>: > name="readonlyproperties" property="myproperty"> /> You cannot nest tags in JSP, but you can use EL (if you are using at least Servlet 2.4): HTH Antonio - To unsubscrib

RE: TAG embeded inside TAG struts 1

2008-10-22 Thread gcj
Could you use JSTL to accomplish the same thing? For example, -Original Message- From: D'Ottavio Alessandro [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 10:57 AM To: user@struts.apache.org Subject:

Re: tag for formatting date or time using type and style, not pattern

2008-10-09 Thread Greg Lindholm
Can you give us an example of a language specific validation that you are needing? stanlick wrote: > > Any idea how to get language specific validations? e.g. > > SomeAction-validation_fr.xml > > Scott > > > -- View this message in context: http://www.nabble.com/tag-for-formatting-date

Re: tag for formatting date or time using type and style, not pattern

2008-10-08 Thread Gabriel Belingueres
AFAIK, the only thing that can be localized are the validation messages, not the validation files per sé. 2008/10/8 <[EMAIL PROTECTED]>: > 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 <[EMA

Re: tag for formatting date or time using type and style, not pattern

2008-10-08 Thread stanlick
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 tag. If you define an entry in your > application properties file similar to: > > format.date.long={0,da

Re: tag for formatting date or time using type and style, not pattern

2008-10-06 Thread Björn W
Of course! Didn't realize that the MessageFormat could have styles. This is a great solution Thanks! Chris Pratt wrote: > > One way is to use the tag. If you define an entry in your > application properties file similar to: > > format.date.long={0,date,long} > > > then you can display a d

Re: tag for formatting date or time using type and style, not pattern

2008-10-06 Thread Chris Pratt
One way is to use the tag. If you define an entry in your application properties file similar to: format.date.long={0,date,long} then you can display a date object in your JSP using: The advantage is that each language can have a different definition, if required, but will use the default f

Re: Tag Data Rendering Issue

2008-05-14 Thread Himanshu Rathore
Hi Laurie, A silly mistake at my end. Had included a TD in CSS wherein text-transform was set to capitalise. And I didn't pay much attention to this particular attribute assuming that nothing would be there. Thanks for your help On Tue, May 13, 2008 at 10:32 PM, Laurie Harper <[EMAIL PROTECTED]>

Re: Tag Data Rendering Issue

2008-05-13 Thread Laurie Harper
Himanshu Rathore wrote: When using tag, the first character of error message is automatically getting converted to upper case. I haven't set any "text-transform" property in my CSS. If I do "View Source", I see proper text but on JSP its behaving weirdly. My CSS: ..errorMessage { color: red; f

RE: tag help

2008-04-03 Thread Eric Nelson
I'm such an idiot. This works great. Thanks Musachy. --Eric -Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 2:54 PM To: Struts Users Mailing List Subject: Re: tag help I meant "iterator" tag ;) musachy On Thu, Apr

Re: tag help

2008-04-03 Thread Dustin S.
Not sure I understand your question ... but Are you aware of the "status" attribute in the iterator tag? Something like: ...etc On Thu, Apr 3, 2008 at 2:54 PM, Musachy Barroso <[EMAIL PROTECTED]> wrote: > I meant "iterator" tag ;) > > musachy > > On Thu, Apr 3, 2008 at 4:52 PM, Musachy Bar

Re: tag help

2008-04-03 Thread Musachy Barroso
I meant "iterator" tag ;) musachy On Thu, Apr 3, 2008 at 4:52 PM, Musachy Barroso <[EMAIL PROTECTED]> wrote: > Use the "id" attribute in the for tag, like id="currInt". > > musachy > > > > On Thu, Apr 3, 2008 at 4:38 PM, Eric Nelson <[EMAIL PROTECTED]> wrote: > > Hi. This question may be very

Re: tag help

2008-04-03 Thread Musachy Barroso
Use the "id" attribute in the for tag, like id="currInt". musachy On Thu, Apr 3, 2008 at 4:38 PM, Eric Nelson <[EMAIL PROTECTED]> wrote: > Hi. This question may be very simple to answer, but it's driving me > crazy. If I have code similar to: > > > > > > > > > > Where intList is of type L

Re: tag writers resources?

2008-01-29 Thread Joachim Ansorg
Hi Darren, the example that I posted is just for JSP. But if you look at the struts2 examples it shouldn't be that hard to make a tag usable in freemarker or velocity as well. As you can see the information available on writing native Struts2 tags is quite hard to find. The most important reaso

Re: tag writers resources?

2008-01-28 Thread Jeromy Evans
Darren James wrote: Hi Joachim, This gives me something to start with. Time to dig into the struts2 source code to help me grok the sample you've provided. thanks, That example creates a Struts2 component that can be used as a JSP tag. Also see usages of the org.apache.struts2.views.TagL

Re: tag writers resources?

2008-01-28 Thread Darren James
Hi Joachim, This gives me something to start with. Time to dig into the struts2 source code to help me grok the sample you've provided. thanks, - Darren. Joachim Ansorg wrote: Hi Darren, writing a simple Struts2 tag is not that difficult. But getting started is. The documentation of the

Re: tag writers resources?

2008-01-28 Thread Joachim Ansorg
Hi Darren, writing a simple Struts2 tag is not that difficult. But getting started is. The documentation of the tag api is not very good, imho. The best start is in my opinion to get the Struts2 sources and read the source code of the existing struts2 tags. I'm posting a simple example with th

Re: tag writers resources?

2008-01-25 Thread Dave Newton
Without knowing exactly what you mean it's hard to know where to point you. Have you looked at existing tag sources? Have you looked at any of the normal JSP custom tag documentation and tutorials in the wild? d. --- Darren James <[EMAIL PROTECTED]> wrote: > Hi All, > > Does anyone (know of/ha

Re: tag and hiding parameters in the link

2008-01-09 Thread [EMAIL PROTECTED]
Thanks Laurie for the info. On Jan 8, 2008 5:32 PM, Laurie Harper <[EMAIL PROTECTED]> wrote: > Zuquirio is correct, you can't do it. See comments inline below: > > [EMAIL PROTECTED] wrote: > > Definitely I'll post it to let everyone get benefit if I figure it out. > > > > By the way, welcome ever

Re: tag and hiding parameters in the link

2008-01-08 Thread Laurie Harper
Zuquirio is correct, you can't do it. See comments inline below: [EMAIL PROTECTED] wrote: Definitely I'll post it to let everyone get benefit if I figure it out. By the way, welcome everybody to give suggestion. Thanks. On Jan 7, 2008 1:33 PM, zuquirio <[EMAIL PROTECTED]> wrote: I'm not an

Re: tag and hiding parameters in the link

2008-01-07 Thread [EMAIL PROTECTED]
Definitely I'll post it to let everyone get benefit if I figure it out. By the way, welcome everybody to give suggestion. Thanks. On Jan 7, 2008 1:33 PM, zuquirio <[EMAIL PROTECTED]> wrote: > > I'm not an expert but I don't think you can do it. But, if you do so, > please > post it. Thanks. > >

Re: tag and hiding parameters in the link

2008-01-07 Thread zuquirio
I'm not an expert but I don't think you can do it. But, if you do so, please post it. Thanks. [EMAIL PROTECTED] wrote: > > Hi all, > > I use tag to create a link to an action and tag > to > pass one variable "lang", like this: > > > > > > I don't want the "lang=fr" to appear in the URL

Re: tag generate two JavaScript functions with same name

2007-12-26 Thread Eric Xin Zhang
Dear Paul, Thanks. I think it shall be a improvement. And before creating JIRA ticket, please give me some time to extract this portion from the big codes repository. My project probably could not wait until the bug is resolved. Do you know is there any alternative to resolve this problem? I'm t

Re: tag generate two JavaScript functions with same name

2007-12-26 Thread Paul Benedict
Eric, If you think this is a bug, please create a JIRA ticket for it so it can be tracked. You can copy the contents of your email in for the description. Also if you have a sample webapp I can test with, that will allow me to diagnose the problem. Just attach it to the ticket. Paul On Dec 26, 2

Re: tag

2007-08-18 Thread Laurie Harper
Can you be more specific? How is it 'not working'? Are you getting a file input but no restriction on what files can be selected, or just not getting a file input at all? Check the generated markup in the output HTML. It's possible the browser just isn't enforcing the accept restriction, or th

Re: tag

2007-08-18 Thread Sandip Gaikwad
Should I write I did so. But it is also not working. On 8/18/07, Nuwan Chandrasoma <[EMAIL PROTECTED]> wrote: > > I think you should give the file extensions > > Thanks, > > Nuwan > > Sandip Gaikwad wrote: > > hi, > > I want to know how I can use tag to accept only Microsoft > Word > > files. >

Re: tag

2007-08-18 Thread Nuwan Chandrasoma
I think you should give the file extensions Thanks, Nuwan Sandip Gaikwad wrote: hi, I want to know how I can use tag to accept only Microsoft Word files. But it is not working. Please help me. Thank you. - To unsubscr

Re: Tag library question

2007-05-03 Thread Nuwan Chandrasoma
sday, May 03, 2007 9:08 AM Subject: Re: Tag library question Servlet 2.5 container? i am using tomcat version 6 as the server, and i'm thinking thats what you are implying?? In this case, i'd just need to include: <%@ taglib prefix="html" uri="http://struts.apache.org/tag

Re: Tag library question

2007-05-03 Thread vikas rao
Servlet 2.5 container? i am using tomcat version 6 as the server, and i'm thinking thats what you are implying?? In this case, i'd just need to include: <%@ taglib prefix="html" uri="http://struts.apache.org/tags -html" %> in my jsp file and have nothnig in my tlds folder?? On 5/3/07, Nuwa

Re: Tag library question

2007-05-03 Thread Nuwan Chandrasoma
Hi, If you using a servlet 2.5 or later container no need to have them, they are included with the struts jars, just add the taglib def in your jsp files. Thanks, Nuwan - Original Message - From: "vikas rao" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, May

Re: Tag Not Working

2006-10-10 Thread Antonio Petrelli
Chetan Pandey ha scritto: <%=session.getAttribute("NoCourseChosen") %> Hehe! This is not null but "null", I mean the string containing "null", because you put an HTML value (that is a string). You should use: HTH Antonio P.S.: Saying that "something in Struts does not work" is con

RE: tag library

2006-09-13 Thread David Friedman
d Fonseca Sánchez [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 2:03 PM To: Struts Users Mailing List Subject: Re: tag library The error apears when I access to jsp page where I have the form. In WEB-INF\lib I have the package app (RegisterForm.class and

Re: tag library

2006-09-13 Thread David Fonseca Sánchez
The error apears when I access to jsp page where I have the form. In WEB-INF\lib I have the package app (RegisterForm.class and RegisterAction.class), servlet-2_3-fcs-classfiles.zip, struts-taglib-1.3.5.jar and struts-core-1.3.5.jar

RE: tag library

2006-09-13 Thread David Friedman
ay, September 13, 2006 1:22 PM To: Struts Users Mailing List Subject: Re: tag library The struts-config.html is http://jakarta.apache.org/str

Re: tag library

2006-09-13 Thread David Fonseca Sánchez
The struts-config.html is http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";> and the error says: excepción org.apache

RE: tag library

2006-09-13 Thread David Friedman
ednesday, September 13, 2006 9:57 AM To: Struts Users Mailing List Subject: Re: tag library Hello Thanks, I'm using struts-html.tld, but when I run the application in Tomcat, an error appear: org.apache.jasper.JasperException: Exception in JSP: /register.jsp:2 1: <%@ taglib uri="

Re: tag library

2006-09-13 Thread David Fonseca Sánchez
Hello Thanks, I'm using struts-html.tld, but when I run the application in Tomcat, an error appear: org.apache.jasper.JasperException: Exception in JSP: /register.jsp:2 1: <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> 2: 3: UserName: 4: enter pa

RE: tag library

2006-09-12 Thread David Friedman
David, struts-form.tld was deprecated before Struts v1.0 and the current version is 1.2.9. That suggests the documentation you are following is frightfully old (like 2001, 2002 old). If that is the case, keep in mind any references to perform() were replaced by execute() in actions. That was a

Re: tag and User bypassing onclick() by pressing

2006-09-01 Thread Mississippi John Hurt
The has an onsubmit but how would it know which button was pressed? On 9/1/06, Mississippi John Hurt <[EMAIL PROTECTED]> wrote: I have an tag with onClick set. So when users press button, it does something. The problem is what if user type input into a field say keywordSearch, then they press

RE: tag for checking session and forward to login page

2006-07-24 Thread Raghuveer
To: user@struts.apache.org Subject: RE: tag for checking session and forward to login page HI All, You cannot disable the back button(I guess so), instead u can keep a check in each jsp page based on one session varaible Which is set into session once the user is logged in (ex:u can keep the

RE: tag for checking session and forward to login page

2006-07-21 Thread kumar.vinodh
button please let me know Thanks and Regards Vinodh -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 3:15 PM To: Struts Users Mailing List Subject: Re: tag for checking session and forward to login page Raghuveer ha scritto: > In log p

Re: tag for checking session and forward to login page

2006-07-21 Thread Antonio Petrelli
Raghuveer ha scritto: In log page once the session expired if user clicks BROWSER BACK button ,user should be in login page only when session expires. Can you elaborate this? I don't understand what you need. Ciao Antonio ---

RE: Tag-Library Errors

2006-03-06 Thread Ravikumar, Rahul \(Cognizant\)
Thanks for your help. Rahul Ravikumar Programmer analyst -Original Message- From: Patel, Dharmesh S [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 6:40 PM To: R, Senthil Kumar (Cognizant); user@struts.apache.org; [EMAIL PROTECTED] Subject: RE: Tag-Library Errors You need to

RE: Tag-Library Errors

2006-03-06 Thread Patel, Dharmesh S
You need to configure libraries with web.xml. Like: /WEB-INF/struts-bean.tld /WEB-INF/struts-bean.tld /WEB-INF/struts-html.tld /WEB-INF/struts-html.tld /WEB-INF/struts-logic.tld /WEB-INF/struts-logic.tld -Original Message- From: R, Senthil Ku

Re: Tag Lib Instantiate Exception

2006-03-06 Thread Martin Gainty
do you have your classes located at %CATALINA_HOME%\webapps\WebAppName\WEB-INF\classes ? or perhaps the jar which contains the taglib is located at %CATALINA_HOME%\webapps\WebAppName\WEB-INF\lib ? You may want to break out the build.xml and execute the target which contains jasper compile as a

Re: tag question

2006-01-11 Thread Rick Reumann
Ashish Kulkarni wrote the following on 1/11/2006 11:08 AM: Hi I am a bit confused about using and tag I hate that optionsCollection tag:) I think the naming of the attributes is confusing. I prefer using html:select and using html:option withing a JSTL forEach loop. Slightly more verbose t

Re: Tag html:text

2005-11-16 Thread Niall Pemberton
Ha! thanks, that missed my radar. Niall - Original Message - From: "Rahul Akolkar" <[EMAIL PROTECTED]> Sent: Wednesday, November 16, 2005 9:28 PM On 11/16/05, Niall Pemberton <[EMAIL PROTECTED]> wrote: > I agree, the BaseHandlerTag has all the code required for "onselect", but > none o

  1   2   >