hello I have two URL mappings in java class one is calling on hyperlink and other is on button
on hyperlink I call
@URLAction(mappingId="abc")
//method..
private String hello(){
return null;
}
on button I call
@URLAction(mappingId="def")
//method..
private String hi(){
return null;
}
first time I call hello() on hyperlink it works fine but when I call hi() on button it works fine too but hello() is also called
as in OCPSOFT If the class the annotated method belongs to declares multiple URL mappings using the @URLMappings annotation, the action will be used for each of the mappings. http://ocpsoft.org/docs/prettyfaces/3.3.3/en-US/html/Configuration.html
my Question is that I want call one method on each urlmapping id any idea ?? thnks in advance.