Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7672989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:24:37+00:00 2026-05-31T16:24:37+00:00

I am working Stripes framework. I have a table which contains 100’s of rows

  • 0

I am working Stripes framework. I have a table which contains 100’s of rows which has edit and delete links. The data might be either year 2010 or 2009. I can only filter by year. i.e 2009’s and 2010’s data can’t be displayed in one page.

Problem:

Both 2009 and 2010 data has everything the same except their year. So the key is (year + someString)

First, I opened 2009’s data then in the same browser but another tab I opened 2010’s data. So when I opened 2010’s data (which i filtered out by year) the session sets the selectedYear as 2010.

For delete there is a query which looks like

**delete ... where someString=string and year=selectedYear )**

when I try to delete one of 2009’s data, what it does is, it deletes a row from 2010’s (everything is the same except the year). I think it is because the selected year is 2010.

How can I solve this ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T16:24:38+00:00Added an answer on May 31, 2026 at 4:24 pm

    Don’t put selectedYear in your session, you should put selectedYear on your action bean in a variable that get set by the URL/Form you use to do things with the data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working on a small web app using the Stripes framework. Now
In the library I'm working on, we have data sets (which may be subsets
I am currently working with Stripes and I have an ActionBean that loads a
I'm currently working on a script which extracts data from two sources where one
I'm working on a stripes app that uses a bit of jQuery to make
Working with a SqlCommand in C# I've created a query that contains a IN
Working on a project at the moment and we have to implement soft deletion
While I was working on creating a new stripes action, I found the following
I've started a new job, and the portion of the project I'm working has
I'm building a webapp using JQuery, Stripes, Spring and JPA (Hibernate). I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.