Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: navrsalemile
  • Order by date
  1. navrsalemile

    Action not recognized when action set using javascript!?

    Javascript: function chgAction( action_name ) { if( action_name=="aaa" ) { document.forms[0].action = "/AAA"; } else if( action_name=="bbb" ) { document.forms[0].action = "/BBB"; } else if( action_name=="ccc" ) {...
  2. navrsalemile

    how to change form action value dynamically?

    For some reason it doesn't work. The action set in Javascript function as "/AAA" is not recognized as "/context/AAA"!? Other actions which does not use Javascript are recognized correctly
  3. navrsalemile

    how to change form action value dynamically?

    Problem was in action="". <html:form> tag requires mapping to be defined and "" is non-existing mapping...
  4. navrsalemile

    how to change form action value dynamically?

    It doesn't work, I get: javax.servlet.jsp.JspException: Cannot retrieve mapping for action / Javascript: function chgAction( action_name ) { if( action_name=="aaa" ) { document.forms[0].action = "/AAA"; } else if( action_name=="bbb" ) {...
  5. navrsalemile

    how to change form action value dynamically?

    hi, I have <html:form method="post" action="javascript:setAction();"> but it doesn't work. setAction() examine 3 radio buttons and is supposed to set action based on the value of the set radio button. What is the correct syntax? thanks,
  6. navrsalemile

    how to efficiently create string representation of multiple checkboxes

    I added all strings to list using add() and then in a loop I used string buffer to append if not null and not "". So I should get something like this as a result: "str2-str4-str10" which means user selected checkboxes 2, 4 and 10 I guess I could have used <html:multibox> and get collection...
  7. navrsalemile

    how to efficiently create string representation of multiple checkboxes

    Hi all, I have 10 strings representing checkboxes (states) from GUI like: String str1; ... String str10; I want to construct one string that represents selection of states out of these in such a way that if particular string is null or not "" then it should be concatenated into that string...
  8. navrsalemile

    How to assign to String[] from StringBuffer in a loop?

    No, but I am sure I saw varargs example in Bruce Eckel book Thinking in Java. If I correctly remember in the initializer he puts comma character after the last item which is same as varargs in C/C++
  9. navrsalemile

    how to populate from DynaValidatorForm using &lt;html:options&gt;?

    Hi all, I have following mockup JSP: ... <td colspan="2" height="28"> <font size="2"> <html:select property="sj"> <html:option value="allj">aaa,1,str1</html:option> </html:select> </font> </td> ... Struts action will...
  10. navrsalemile

    New to struts

    Srikanth Shenoy, sorry Struts Survival Guide
  11. navrsalemile

    Help!! How to config struts files for multiple applications

    You should use SwitchAction but I do not know the details
  12. navrsalemile

    New to struts

    Search for free book by Srikanth Sanoy on internet
  13. navrsalemile

    Performing Action after Login

    I think global-forward in struts-config can help. Use name such as "welcome" and path="/whatever-page-is-your-welcome-page.jsp
  14. navrsalemile

    How to assign to String[] from StringBuffer in a loop?

    As the matter of fact this appears to be correct solution (in the example I use limited number of items but it should be dynamically allocated): import java.util.*; public class Test { public void Test() { } public String[] getSJ() { String[] jg = {"g1", "g2"}; //can be...
  15. navrsalemile

    How to assign to String[] from StringBuffer in a loop?

    Hi all, public class Test { public String[] getSJ() { String[] jg; String[] jig; String[] result; StringBuffer buf = new StringBuffer(); int i; int j; int k = -1; jg = {"g1", "g2"}; for( i=0; i < jg.length; i++ )...
  16. navrsalemile

    Changing object layering not working?

    pls disregard I solved these problems
  17. navrsalemile

    Changing object layering not working?

    Help instructions: In the Paper layout view verify Confine mode is off (verified) Click the object you want to move (here when I click on the field outer frame is selected only) Choose one of the following items: Bring to front to move object in front of all other objects Send to back to...
  18. navrsalemile

    how to select a field under repeating frame?

    I am trying to select a field under a repeating frame in paper Layout by clicking on it, but every time only outer frame is selected. I tried Bring to Front etc. but no success. I selected it in Navigator but in Layout it is not selected!? I am able to select it in Paper Design but when I go...
  19. navrsalemile

    how to add field to repeating group in Reports 9i??

    What is page view of Reports? I have Paper Layout and Paper Design view only. How should I 'move backwards'? thanks,
  20. navrsalemile

    how to add field to repeating group in Reports 9i??

    Hi, I changed SQL query by adding additional database column in select list. I selected parent frame in report layout and created a new field for this new database column. The field was added with no problem, but in Navigator it was placed under Margin, not under Repeating Group which I...

Part and Inventory Search

Back
Top