All Questions

300
votes
9answers
172682 views

commandButton/commandLink/ajax action/listener method not invoked or input value not set/updated

Sometimes, when using <h:commandLink>, <h:commandButton> or <f:ajax>, the action, actionListener or listener method associated with the tag are simply not being invoked. Or, the bean...
336
votes
3answers
206466 views

Differences between action and actionListener

What is the difference between action and actionListener, and when should I use action versus actionListener?
39
votes
3answers
74150 views

Invoke JSF managed bean action on page load

Is there a way to execute a JSF managed bean action when a page is loaded? If that's relevant, I'm currently using JSF 1.2.
2
votes
1answers
18493 views

jqgrid EditActionIconsColumn Events

I have a jqgrid with EditActionsIconsColumn available to me in the grid but I am trying to get a hold of the click events on the Edit, Del and Submit. Thanks
119
votes
6answers
172147 views

android pick images from gallery

I want to create a picture chooser from gallery. I use code intent = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI); startActivityForResult(intent, T...
6
votes
2answers
17567 views

How to detect submit button clicked in multiple submit buttons scenario in single Action class?

I have a form in a jsp. There are two submit buttons: "Search" and "Add New" button. <s:form name="searchForm" action="employeeAction" method="post"> <s:textfield name="id" label="Employ...
3
votes
1answers
1419 views

Struts2 There is no Action mapped for namespace [/] and action name [login] associated with context path [/Struts2Test]

I'm a beginner of Struts2, I know this question been asked in here much times, but I tried to solve it and read much much threads here, spend 6 hours and still can't get it work. Really need more sugg...
137
votes
3answers
227869 views

javascript - change form action based on selection?

I'm trying to change the form action based on the selected value from a dropdown menu... Basically, the html looks like this: <form class="search-form" id="search-form" method="post" accept-cha...
117
votes
10answers
126602 views

Action Image MVC3 Razor

What is the best way to replace links with images using Razor in MVC3. I simply doing this at the moment: <a href="@Url.Action("Edit", new { id=MyId })"><img src="../../Content/Images/Image...
130
votes
13answers
131485 views

Get controller and action name from within controller?

For our web application I need to save the order of the fetched and displayed items depending on the view - or to be precise - the controller and action that generated the view (and the user id of cou...

Previous Next