Re: [ANN] AjaxChat Now Available

2005-11-29 Thread Andreas Ernst
Frank W. Zammetti schrieb: I'm sorry to hear that... can you tell me what error your seeing? [...] this looks cool, but i could not test it, because i am getting always error messages, after entering my username. I use WinXP SP2 an Mozilla 1.7.12 Error in lobbyUpdateHandler() - 411 a

Re: [ANN] AjaxChat Now Available

2005-11-29 Thread Frank W. Zammetti
I'm sorry to hear that... can you tell me what error your seeing? Frank Andreas Ernst wrote: Frank W. Zammetti schrieb: I am happy to announce the availability of AjaxChat at the Struts Apps project on SourceForge. AjaxChat is, as I'm sure you've guessed, a Struts-based chat application util

Re: [ANN] AjaxChat Now Available

2005-11-29 Thread Andreas Ernst
Frank W. Zammetti schrieb: I am happy to announce the availability of AjaxChat at the Struts Apps project on SourceForge. AjaxChat is, as I'm sure you've guessed, a Struts-based chat application utilizing AJAX techniques. I wrote it mostly to serve as an example for those wondering how to use

Re: How to Un-Subscribe from this group

2005-11-29 Thread Stand Trooper
http://struts.apache.org/mail.html On 11/29/05, vijay kumar <[EMAIL PROTECTED]> wrote: > > hi everyone, > > can anybody tell how to un-subscribe from this group. plz say. > > > > > - > Enjoy this Diwali with Y! India Click here --

How to Un-Subscribe from this group

2005-11-29 Thread vijay kumar
hi everyone, can anybody tell how to un-subscribe from this group. plz say. - Enjoy this Diwali with Y! India Click here

[ANN] Preview: portable [non-Ajax] components for Struts/JSP

2005-11-29 Thread Michael Jouravlev
Since my summer article on java.net I developed a different approach to page-embeddable Struts components. Now I can create them working on any SRV2.3/JSP1.2 compatible container including Tomcat 4.x and Tomcat 5.x. Important: this is not an Ajax approach. Despite that the Redirect-after-Post patt

Re: [ANN] AjaxChat Now Available

2005-11-29 Thread Frank W. Zammetti
Thanks! I couldn't say about Shale Ajax module as I know nothing about it. This app is pretty straight-forward though, and can probably be shoehorned into whatever you want without much trouble :) Frank netsql wrote: Impresive! Presumably it could work w/ Shale Ajax module. .V Frank W

Re: [ANN] AjaxChat Now Available

2005-11-29 Thread Frank W. Zammetti
Thanks for checking it out Michael! Michael Jouravlev wrote: * State is not saved on server, reload clears all messages. I'm not sure what you mean, but if you mean hitting reload when in a room, then it *should* clear all the messages, and in fact does in any other chat client I've seen (th

Re: [ANN] AjaxChat Now Available

2005-11-29 Thread Michael Jouravlev
On 11/29/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > I am happy to announce the availability of AjaxChat at the Struts Apps > project on SourceForge. > > AjaxChat is, as I'm sure you've guessed, a Struts-based chat application > utilizing AJAX techniques. I wrote it mostly to serve as an ex

Re: [ANN] AjaxChat Now Available

2005-11-29 Thread netsql
Impresive! Presumably it could work w/ Shale Ajax module. .V Frank W. Zammetti wrote: I am happy to announce the availability of AjaxChat at the Struts Apps project on SourceForge. AjaxChat is, as I'm sure you've guessed, a Struts-based chat application utilizing AJAX techniques. I wrote i

[ANN] AjaxChat Now Available

2005-11-29 Thread Frank W. Zammetti
I am happy to announce the availability of AjaxChat at the Struts Apps project on SourceForge. AjaxChat is, as I'm sure you've guessed, a Struts-based chat application utilizing AJAX techniques. I wrote it mostly to serve as an example for those wondering how to use AJAX with Struts, which seems

Re: Retaining dropdown value??

2005-11-29 Thread Michael Jouravlev
Instead of using default value use current value. When the page is initialized for the first time, set current value to default value. After a user selects value from the list, submit current value back to the form. You will reuse it when you display the page again. Michael. On 11/29/05, Kanuri,

Re: paging in struts

2005-11-29 Thread Michael Jouravlev
On 11/29/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > Michael Jouravlev on 29/11/05 16:54, wrote: > > Both Struts Dialogs example and DisplayTag library use session-scoped > > data to display in pages. > > I haven't checked out either the struts dialog pagination or the > displaytag, so I'm not sure

Re: paging in struts

2005-11-29 Thread Adam Hardy
Michael Jouravlev on 29/11/05 16:54, wrote: Is any better way of implementing pagination by struts tags.? You can try tag ! You can found it here : http://displaytag.sourceforge.net/ DisplayTag is good, sleek and proven solution. In case you don't want to use DisplayTag, check this manual pa

Re: How do you prepopulate a form bean with arguments from a hyperlink?

2005-11-29 Thread Brad Simonin
Thank you very much. --Brad On Tue, 2005-11-29 at 14:59, Michael Jouravlev wrote: > On 11/29/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > If I were going to send arguments to a normal servlet from a hyperlink I > > would have the following: > > http://servlet_name?employeeId=x

Re: Ok, I'll bite. Struts + Webwork = Struts Ti?

2005-11-29 Thread Adam Hardy
personally i don't think it matters what framework comes out of the wash, as long as it is better. by that i mean it should: - offer the same level of modular functionality such as validator and tiles - make application development quicker, ironing out the time-consuming parts of present stru

Re: create URL (Struts or Core Tags From Iteration)

2005-11-29 Thread Michael Jouravlev
On 11/29/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 11/29/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > ">The link > > ? Doh! One shan't overcomplicate :-) - To unsubscribe, e-ma

Re: create URL (Struts or Core Tags From Iteration)

2005-11-29 Thread Jim Reynolds
Thanks to all for the assistance, your help is greatly appreciated. On 11/29/05, Jim Reynolds <[EMAIL PROTECTED]> wrote: > On 11/29/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > On 11/29/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > ">Th

Re: create URL (Struts or Core Tags From Iteration)

2005-11-29 Thread Jim Reynolds
On 11/29/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 11/29/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > ">The link > > ? > > -- > Wendy > > - > To unsubscribe, e-mail: [EMAIL PROTE

Re: create URL (Struts or Core Tags From Iteration)

2005-11-29 Thread Wendy Smoak
On 11/29/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > > > ">The link ? -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: create URL (Struts or Core Tags From Iteration)

2005-11-29 Thread Michael Jouravlev
On 11/29/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 11/29/05, Jim Reynolds <[EMAIL PROTECTED]> wrote: > > I created a FormBean which holds a list of POJOs. The FormBean has a > > method called getPOJOs() which returns a list. In my JSP page, I am > > iterating over the list like so: > >

Re: create URL (Struts or Core Tags From Iteration)

2005-11-29 Thread Michael Jouravlev
On 11/29/05, Jim Reynolds <[EMAIL PROTECTED]> wrote: > I created a FormBean which holds a list of POJOs. The FormBean has a > method called getPOJOs() which returns a list. In my JSP page, I am > iterating over the list like so: > > > > and that appears to get each POJO object and I can get data f

Re: Returning to an unknown input page.

2005-11-29 Thread Michael Jouravlev
On 11/29/05, Keith Sader <[EMAIL PROTECTED]> wrote: > Greetings, > > I've got an page that can be accessed from multiple places on the webapp. > > > Page 1 ---> Form Z <--- Page2 > ^ > | > | > Page 3 > > This page n

Re: How do you prepopulate a form bean with arguments from a hyperlink?

2005-11-29 Thread Michael Jouravlev
On 11/29/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > If I were going to send arguments to a normal servlet from a hyperlink I > would have the following: > http://servlet_name?employeeId=xx&account=xx > > I want to do the same thing for a struts application and then populate the

displaying errors, not html

2005-11-29 Thread draegoon Z
I have an application that has a popup displaying all errors on a page. After the popup is closed I need a way to get each error for the individual properties. will not work because I'm inside another tag that won't allow it. I need a way to get the error string for a property using EL, J

create URL (Struts or Core Tags From Iteration)

2005-11-29 Thread Jim Reynolds
I created a FormBean which holds a list of POJOs. The FormBean has a method called getPOJOs() which returns a list. In my JSP page, I am iterating over the list like so: and that appears to get each POJO object and I can get data from it like so: and all is good. But I need to create a url so

Returning to an unknown input page.

2005-11-29 Thread Keith Sader
Greetings, I've got an page that can be accessed from multiple places on the webapp. Page 1 ---> Form Z <--- Page2 ^ | | Page 3 This page needs to be context sensitive when the user hits the 'cancel' button so t

How do you prepopulate a form bean with arguments from a hyperlink?

2005-11-29 Thread bsimonin
If I were going to send arguments to a normal servlet from a hyperlink I would have the following: http://servlet_name?employeeId=xx&account=xx I want to do the same thing for a struts application and then populate the form bean with those arguments but I can't think of how to do it. T

RE: Play an audio file

2005-11-29 Thread George.Dinwiddie
You need to set the MIME type in the response headers. See http://www.w3.org/Protocols/rfc1341/4_Content-Type.html For example: String contentType = "audio/mpeg"; // for .mp3 file response.setContentType(contentType); You should be setting the content type for your other files, also. Wi

Re: [shale] Clay templating

2005-11-29 Thread Gary VanMatre
> By the way, I think "RUNTIME" and "ignore" are the same kind of id, ie > template directives so maybe if you add some more directives in the > future (like "content"), it would be important to have a naming > convention to not confuse the users. > Yep, they are the same kind of template directi

Re: How do you prepopulate your forms?

2005-11-29 Thread Joe Germuska
This is essentially the standard approach. Your code leaves out the possibility that the form already exists (and that it may be in the session scope). This may be practical for your cases, but might lead to confusion should someone change part of the flow in your application. In Struts 1.3

Re: How do you prepopulate your forms?

2005-11-29 Thread Frank W. Zammetti
Lately I've been using the DependencyFilter in Java Web Parts for such things... http://javawebparts.sourceforge.net ...or more specifically:... http://javawebparts.sourceforge.net/javadocs/javawebparts/filter/DependencyFilter.html (Admittedly I need to clean up those docs a bit, but you'll get

How do you prepopulate your forms?

2005-11-29 Thread Koen Jans
Suppose for instance you want to prepopulate a form where users can edit their profile; the way i do it is: I have an action PrepareEditProfileAction that a) gets the data from storage b) creates a editProfileFormBean and puts the data in it c) saves this editProfileFormBean in request-scope d) fo

Re: [shale] Clay templating

2005-11-29 Thread Alexandre Poitras
By the way, I think "RUNTIME" and "ignore" are the same kind of id, ie template directives so maybe if you add some more directives in the future (like "content"), it would be important to have a naming convention to not confuse the users. On 11/29/05, Gary VanMatre <[EMAIL PROTECTED]> wrote: > >

Re: [Shale] Shale Tutorials?

2005-11-29 Thread gramani
Hi Chary, take a look at this post by none other than Craig himself..:) http://marc.theaimsgroup.com/?l=struts-user&m=113268540603507&w=2 Geeta ( - most defintely *not* a guru..) Vishwaroopa Rangamgari <[EMAIL PROTECTED]> wrote on 11/29/2005 01:58:15 PM: > Hi Gurus, >Can anyone please let

[Shale] Shale Tutorials?

2005-11-29 Thread Vishwaroopa Rangamgari
Hi Gurus, Can anyone please let me know if we have any "Shale Tutorials" or any other walkthrough examples to start working with Shale? Your response is highly appreciated! Thanks, Chary

Re: [shale] Clay templating

2005-11-29 Thread Gary VanMatre
> Ok I see thank for the explanations. I still to experiment a little bit. > > The jsfid "ignore" is similar to $remove$ in tapestry. The id > $content$ in tapestry allows you to specify where the component > definition begin. It is useful to still support the preview mode even > when your layout

Re: [shale] Clay templating

2005-11-29 Thread Alexandre Poitras
Ok I see thank for the explanations. I still to experiment a little bit. The jsfid "ignore" is similar to $remove$ in tapestry. The id $content$ in tapestry allows you to specify where the component definition begin. It is useful to still support the preview mode even when your layout is split acc

Re: [shale] Clay templating

2005-11-29 Thread Gary VanMatre
> Another concern I have is that the Clay jsp tag is using the jsfid > attribute to specify the clayJsfId propertie. I understand that since > you are already using the Clay tag, it should be obvious you are > working with the clay component and so the jsfid attribute refers to > the component defi

thanks to all, thank you very much

2005-11-29 Thread Sony Thomas
Hi, Thanks to all, I got answer for my question. thanks a lot sony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: please reaply as early as possible - session tracking

2005-11-29 Thread Sony Thomas
Thanks to all, I am very glad and I got answer for my question. thanks sony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [shale] Clay templating

2005-11-29 Thread Gary VanMatre
> Does Clay support something similar to $remove$ and $content$ in > Tapestry? It's great to keep the preview mode usable. > Clay has two similar ideas. I've never used Tapestry so I'm sure that this statement is questionable. Clay has an "allowBody" attribute that you can use to indicate the

request and context data

2005-11-29 Thread Daniel Łaś
Hi How can I access context path from Struts Plugin ? How can I access request object from HttpSessionListener or ServletContextListener? I'd like to set some session or servlets attributes in plugins or listeners, eg.: - current locale in session attributes - context path in servlet attribu

Re: paging in struts

2005-11-29 Thread Michael Jouravlev
On 11/29/05, Jean-Charles Giardina <[EMAIL PROTECTED]> wrote: > 2005/11/29, Raghuveer <[EMAIL PROTECTED]>: > > Could any one give me information of how to implement paging > > in my struts application that display records by logic:iterate tag. > > > > Is any better way of implementing pagination by

RE: OT: OutOfMemory

2005-11-29 Thread David G. Friedman
Eric, Is this what you are looking for? It is from the Exadel Forum site http://forum.exadel.com and the exadel HELP pages: http://www.exadel.com/exadelstudio/help/servletToolbar.html The toolbar under "Running" has a tomcat section where you should be able to add "JVM" arguments like the "-X

Re: please reaply as early as possible - session tracking

2005-11-29 Thread Dave Newton
Stephen Hartley wrote: When you say a long time, how long is long? ...plus the session might timeout if you have a slow user if you haven't adjusted the session timeout value. Aren't you glad you asked? Dave - To unsub

RE: Retaining dropdown value??

2005-11-29 Thread Stephen Hartley
as an experiment, try deleting the default assignment in your form class. Maybe this is interfering - I can't remember exactly how struts handles this assignment Also check to see if you've implemented a reset method that might be interfering with the values. Stephen --- "Kanuri, Chand" <[E

Re: please reaply as early as possible - session tracking

2005-11-29 Thread Stephen Hartley
When you say a long time, how long is long? A session is unique to a user. Should the value you want to persist be available to more than one (or all) users? If so, then you may be better using the servlet context... > struts. how can I set the > > value from jsp and how can I retrieve that val

Re: please reaply as early as possible - session tracking

2005-11-29 Thread David Evans
And you get the HttpSession object from the request in your action like this: HttpSession session = req.getSession(); // where req is the HttpServletRequest passed into the "execute" method On Tue, 2005-11-29 at 10:21 -0500, Srinivas Jadcharla wrote: > You can use HttpSession Object..In that yo

Re: Validate() and Validator Framework Together

2005-11-29 Thread Srinivas Jadcharla
Thanks Niall..Thank you very much. On 11/29/05, Niall Pemberton <[EMAIL PROTECTED]> wrote: > > Sure, just extends one of the ValidatorForm flavours and do something like > the following... > > public class MyForm extends ValidatorForm { >public ActionErrors validate(ActionMapping mapping, >

Re: Validate() and Validator Framework Together

2005-11-29 Thread Niall Pemberton
Sure, just extends one of the ValidatorForm flavours and do something like the following... public class MyForm extends ValidatorForm { public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = super.valida

Re: please reaply as early as possible - session tracking

2005-11-29 Thread Srinivas Jadcharla
You can use HttpSession Object..In that you have setAttribute("") and getAttribute("") mthods. On 11/29/05, Sony Thomas <[EMAIL PROTECTED]> wrote: > > Hi Stephen, > > What I want to know is suppose I have to store some value to session. Is > there is something called Session object in struts. how

Re: please reaply as early as possible - session tracking

2005-11-29 Thread Sony Thomas
Hi Stephen, What I want to know is suppose I have to store some value to session. Is there is something called Session object in struts. how can I set the value from jsp and how can I retrieve that value in action from session object. My problem is that i have to set the value to the session a

Re: [OT] Oracle Personal Edition andTomcat

2005-11-29 Thread Martin Gainty
I ran into the same problem apparently Oracle port assignments are configured in staticports.ini before install http://www.oracle.com/technology/documentation/1012_solaris/install.1012/install/reqs.htm#CHDJACIG after installation you will see port assignments at $ORACLE_HOME/install/portlist.ini

Validate() and Validator Framework Together

2005-11-29 Thread Srinivas Jadcharla
Hi there, As per the requirement i have to use Both types of validations 1.validations using Validate Method 2.Validations using Validations framework For the fields in a Single Form.Is it possible ???Some one please advice me. -- Thanks & Regards Srinivas 732-648-9421(Cell)

Re: please reaply as early as possible - session tracking

2005-11-29 Thread Dave Newton
Sony Thomas wrote: how the session tracking doing in Struts without using hidden field or URL rewriting. Cookies. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Retaining dropdown value??

2005-11-29 Thread Kanuri, Chand
yeah i gave session scope to all of my forms in action mappings in my struts config. some are populated where as the problem is with the drop downs which are pointing to default first vale not the one already picked earlier. any idea? regards and many thanks -Original Message- From: Ste

Re: please reaply as early as possible - session tracking

2005-11-29 Thread Stephen Hartley
I'm not sure that I fully understand your question, but an alternative could be to use cookies? --- Sony Thomas <[EMAIL PROTECTED]> wrote: > how the session tracking doing in Struts without > using hidden field or > URL rewriting. > > > sony >

Re: [shale] Clay templating

2005-11-29 Thread Alexandre Poitras
Another concern I have is that the Clay jsp tag is using the jsfid attribute to specify the clayJsfId propertie. I understand that since you are already using the Clay tag, it should be obvious you are working with the clay component and so the jsfid attribute refers to the component definition Cla

table display

2005-11-29 Thread fea jabi
Have 2 columns is my table. 1. 2. Hrs 1. column has Loans Deposits 2. column has values that has to ome from the action class. Hrs Loans Deposits What is the better way of doing this using struts? only the 2nd column has to be prepopu

Re: Retaining dropdown value??

2005-11-29 Thread Stephen Hartley
have you tried giving your form bean session scope? (See documentation for action mapping in struts-config) Stephen --- "Kanuri, Chand" <[EMAIL PROTECTED]> wrote: > Hi all, > > in my struts web app there are 3 pages and there is > an option to amend > details in the last page(which is a resu

please reaply as early as possible - session tracking

2005-11-29 Thread Sony Thomas
how the session tracking doing in Struts without using hidden field or URL rewriting. sony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Shale] Using standalone tiles?

2005-11-29 Thread Greg Reddin
On Nov 29, 2005, at 7:31 AM, Christopher Becker wrote: I am using Tiles in a Struts (v.1.2.7) app, and also experienced an error when the Apache site was temporarily down. So to prevent this from happening in the future, what is the suggested solution? Removing the DOCTYPE element from the tile

Re: [shale] Clay templating

2005-11-29 Thread Alexandre Poitras
Does Clay support something similar to $remove$ and $content$ in Tapestry? It's great to keep the preview mode usable. On 11/28/05, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > By the way, I will try to write some documentation for Clay. I already > > have to do it but in french, so I guess a litt

RE: DynaActionform

2005-11-29 Thread James Harig
Hi Fea, It isn't working for you because boolean is a primitive type, and can't be instantiated. The DynaActionForm can only be used with classes, so you will need to use java.lang.Boolean to support boolean values. I hope this helps, James -Original Message- From: fea jabi [mailto:

DynaActionform

2005-11-29 Thread fea jabi
The below DynaActionForm works fine. I tried to change all the java.lang.Boolean to boolean. to initial="true"/> When changing java.lang.Boolean - boolean the DynaActionform is not getting created. In the action it's Null. Not sure why is that? Any sugg

Re: Play an audio file

2005-11-29 Thread Jean-Charles Giardina
2005/11/29, Vijaya S <[EMAIL PROTECTED]>: > Hi, > > I have a situation where I need to open a file (File can be text, Audio/ or > video). All kinds of text files are opening up okay(Image, PowerPoint, Word > etc). If the file is an audio instead of opening the file using Windows > Media Player, it

Re: [OT] Oracle Personal Edition andTomcat

2005-11-29 Thread Christian Bollmeyer
The Oracle database has integrated web functionality (implementation is version specific; some versions have the 'pigs on the wing' OSE, others XDB) which runs on port 8080 which is also the Tomcat default. IIRC it's rather difficult to make Oracle change the port (IIRC it's stored somewhere in th

Re: Problems with logic:iterate

2005-11-29 Thread Danny Lee
Next time check documentation for this kind of questions. Farm Number ${oneFarm.number} Name is - ${oneFarm.name} Cheers, Danny Eider Iturbe schrieb: I don't know how to implement in jsp the code to read all the values of the arraylist, Eider -

Re: paging in struts

2005-11-29 Thread Jean-Charles Giardina
2005/11/29, Raghuveer <[EMAIL PROTECTED]>: > Could any one give me information of how to implement paging > in my struts application that display records by logic:iterate tag. > > Is any better way of implementing pagination by struts tags.? You can try tag ! You can found it here : http://displa

Re: paging in struts

2005-11-29 Thread ALEX HYDE
I use that. And have a page begin and page end on each request. --- Raghuveer <[EMAIL PROTECTED]> wrote: > > > Could any one give me information of how to > implement paging > in my struts application that display records by > logic:iterate tag. > > Is any better way of implementing paginatio

Re: [OT] Oracle Personal Edition andTomcat

2005-11-29 Thread ALEX HYDE
...maybe a path issue Oracle are cheeky when it comes to your Path. When u install, it sticks everything it needs to the front of the path. It's quite possible that it includes a jre (or such like) that is now being used instead of your jre. You could try taking all the Oracle stuff and shifti

paging in struts

2005-11-29 Thread Raghuveer
Could any one give me information of how to implement paging in my struts application that display records by logic:iterate tag. Is any better way of implementing pagination by struts tags.? - To unsubscribe, e-mail: [EMAI

Re: [OT] Oracle Personal Edition andTomcat

2005-11-29 Thread pc leung
I use Oracle Express Edition and tomcat. No such problem you mention. On 11/29/05, R. Markham <[EMAIL PROTECTED]> wrote: > > > Hi , > > > > this is not a direct Struts question. > > > > I just want to know if somebody already had experience with Oracle Personal > Edition. Last night I installed th

Re: [Shale] Using standalone tiles?

2005-11-29 Thread Christopher Becker
I am using Tiles in a Struts (v.1.2.7) app, and also experienced an error when the Apache site was temporarily down. So to prevent this from happening in the future, what is the suggested solution? Removing the DOCTYPE element from the tiles-def.xml file does not seem appropriate - or is it?

Re: how to pass value in html:text from action

2005-11-29 Thread Stanislav
> >> > >> >>value="<%=value.toString()%>" /> > > > >Tnx, it works :-) > > > >>Alternatively, use an action to populate the form bean. > >> > >OK. I try to do this: > > > >ZahtjevZaKreditForm zahtjevZaKreditForm = (ZahtjevZaKreditForm) form; > >zahtjevZaKreditForm.setPrezimeK(prezimeK); > > > >

Retaining dropdown value??

2005-11-29 Thread Kanuri, Chand
Hi all, in my struts web app there are 3 pages and there is an option to amend details in the last page(which is a results page). when clicked on amend details it takes to the first page to amend details. there is a drop down list in the first page which is pointing to the first option which is "S

Re: how to pass value in html:text from action

2005-11-29 Thread Borislav Sabev
Stanislav wrote: Tnx, it works :-) Alternatively, use an action to populate the form bean. OK. I try to do this: ZahtjevZaKreditForm zahtjevZaKreditForm = (ZahtjevZaKreditForm) form; zahtjevZaKreditForm.setPrezimeK(prezimeK); and leave the jsp unchanged like: Try to

Re: how to pass value in html:text from action

2005-11-29 Thread Stanislav
> > value="<%=value.toString()%>" /> Tnx, it works :-) > Alternatively, use an action to populate the form bean. OK. I try to do this: ZahtjevZaKreditForm zahtjevZaKreditForm = (ZahtjevZaKreditForm) form; zahtjevZaKreditForm.setPrezimeK(prezimeK); and leave the jsp unchanged like: But th

Play an audio file

2005-11-29 Thread Vijaya S
Hi, I have a situation where I need to open a file (File can be text, Audio/ or video). All kinds of text files are opening up okay(Image, PowerPoint, Word etc). If the file is an audio instead of opening the file using Windows Media Player, it is throwing up some junk. Can anyone help me how do I

Re: how to pass value in html:text from action

2005-11-29 Thread Bob Arnott
Stanislav wrote: [snipped...] You can't embed tags within tags... Try something like: Alternatively, use an action to populate the form bean. Cheers, -- Bob Arnott - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

how to pass value in html:text from action

2005-11-29 Thread Stanislav
I have action in which i get data from db and put this data in request or session. After that i was beeing sent to jsp page that display data from request or sesion, but this jsp also need to provide changing db data and storing them back into db. i was thinking to do that passing right into html

Re: odd return error

2005-11-29 Thread Borislav Sabev
Chris Pat wrote: Hi Dave Okay the code is below. What I am doing is creating sampleRequest from the action, then calling isAllowed. The sampleRequest is being successfully made and persisted in the db. The isAlowed is failing. I got both working from fine from the command line. I am a relati

[HELP] form field display wrong german character

2005-11-29 Thread Michele Sferlazza
My DynaValidator returns with wrong character in the case of an error. The form fields display the wrong character. I need the German character set (UTF-8). Someone can help me? thanks michele - To unsubscribe, e-mail: [EMAIL PRO

Formatting numbers in form's fields

2005-11-29 Thread Laurent Fallet
Hello everybody, I'm using Struts with delight, even if I have a small problem : I'm trying to format a number in a tag. I know it is possible in tag with format or formatkey attribute. But after a failed validation, my initial number (32 for example) come back as "32.0" and I would like to h

[OT] Oracle Personal Edition andTomcat

2005-11-29 Thread R. Markham
Hi , this is not a direct Struts question. I just want to know if somebody already had experience with Oracle Personal Edition. Last night I installed the software my tomcat application doesn't work anymore. Does anybody knows the reason?. It seems to me that Oracle blocked some port eve