Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support standard AJAX server-side method invocation #613

Closed
eclipse-faces-bot opened this issue Aug 15, 2009 · 23 comments
Closed

Support standard AJAX server-side method invocation #613

eclipse-faces-bot opened this issue Aug 15, 2009 · 23 comments

Comments

@eclipse-faces-bot
Copy link

Almost every AJAX framework I know of allows you to
simply execute a method on the server side, with or without params,
and return a result.

JSF should support this behavior. Use cases include:

  • Calling a server-side method to return values used to control page behavior.
  • Calling a server side method to submit data to the application, returning
    success, failure, or nothing to the UI.

This functionality is already part of the JBoss Ajax4JSF framework, every PHP
ajax framework, and every non-server tech-specific framework (such as Dojo,
Prototype, etc..)

See A4J:jsFunction component –
http://docs.jboss.org/richfaces/latest_3_3_X/en/tlddoc/a4j/jsFunction.html

Environment

Operating System: Linux
Platform: PC
URL: http://docs.jboss.org/richfaces/latest_3_3_X/en/tlddoc/a4j/jsFunction.html

Affected Versions

[2.0]

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
Reported by lincolnbaxter

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
Issue-Links:
is duplicated by
JAVASERVERFACES_SPEC_PUBLIC-672

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@edburns said:
Sure, I'll entertain this.

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@edburns said:
Move to unscheduled target milestone

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@edburns said:
Retarget to 2.next

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@edburns said:
Prepare to delete "spec" subcomponent.

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@edburns said:
Move these to unscheduled because we need to target them correctly. 2.next isn't
specific enough.

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
lincolnbaxter said:
Categorized as part of Rev 2.0 A prep

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
rogerk said:
cat2 - yes - this would be nice!

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@edburns said:
frame

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@edburns said:
These are targeted at 2.1.

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@edburns said:
triage

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@edburns said:
rogerk

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
rogerk said:
target

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
rogerk said:
re-target

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
rogerk said:
triage

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@edburns said:
Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@manfredriem said:
Setting priority to Critical

@eclipse-faces-bot
Copy link
Author

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@BalusC said:
Pushed: https://java.net/projects/mojarra/sources/git/revision/26d852d26ce088e29eb414cb892263ac62278c42

It's available as <h:commandScript>, which is largely based on OmniFaces <o:commandScript>.

Will close when tests succeed.

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
Marked as fixed on Monday, May 30th 2016, 5:15:01 am

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-613

@eclipse-faces-bot
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant