I have written a small component to do this. If anyone is interested the url is http://jroller.com/trackback/cenkcivici/Weblog/jsf_datatable_single_row_selection
Hi All,
The next RC is out on http://svn.apache.org/builds/myfaces/release
Please test, don't use in production environments, don't use if you
don't have time to experience bugs, etc, etc etc.
Thanks for testing!
TTFN,
Bill Dudney
Virtuas - www.virtuas.com
EiC Eclipse Developer Journal - e
Ok,
to shed some light on this:
- in the JSF RI, there is encryption on the client side - we have not
implemented it so far, (this was after 1.1) cause we have no one here
with too much time and experience in this. It should be not too hard
though with the RI as an example and the java security c
I've found that I have been able to
do everything I have wanted using jsf. You can, for example, "include"
a bullet list in another page by doing something like this:
Carl
Simon Kitching wrote:
I'm
talking about stuff like:
which will render normally if th
Sorry the correct link is http://www.jroller.com/page/cenkcivici?entry=jsf_datatable_single_row_selection
Fancy contributing this to MyFaces?
regards,
Martin
On 10/5/05, Cenk Çivici <[EMAIL PROTECTED]> wrote:
> Sorry the correct link is
> http://www.jroller.com/page/cenkcivici?entry=jsf_datatable_single_row_selection
--
http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German
The resulting state object will not be serialized if state is held on
server. It is simply put into the session as it is.
2005/10/5, Dennis Byrne <[EMAIL PROTECTED]>:
> Can someone please explain the behavioral differences of the
> following two scenarios? The JSP in both cases has
> .
>
> 1.) No
?
the last time I looked, MyFaces serialized the session objects
whatever the state-saving setting was, actually something we should
make configurable. Has this changed?
regards,
Martin
On 10/5/05, Mathias Brökelmann <[EMAIL PROTECTED]> wrote:
> The resulting state object will not be serialized
Hello,
I would like to know if I was deleting nodes correctly in the tree.
I get the tree :
*
FacesContext facesContext = FacesContext.getCurrentInstance();
ht = (HtmlTree) facesContext.getViewRoot()
.findComponent(":validationForm:validation-tr
I have written a non serializing scope control based upon savestate a
while ago, it still is lingering in jsf-comp I will dump it in the
sandbox next weekend.
What I did basically was to bypass the entire serialisation within the
component entirely and to dump it into the session and having a
phas
Hi,
The standard approach is the best.
Is most easy to set and, is working always, and will not need other library.
Cristi.
Darren Hartford wrote:
>The approached I've been using is the normal webapp
>JAAS/ approach.
>
>As far as integrating this within the JSF framework, I use the following
>s
Hi,
I use JavaScript to submit the form when a user clicks on a checkbox. The
checkbox fires a valueChangeEvent. I have implemented a valueChangeListener.
When the valueChangeListener is called the attributes which are bind to the
inputText Components have the old values. Probably because the Upda
> --- Ursprüngliche Nachricht ---
Hi,
could you please post some code snippets??
ValueChangeListener/JSP/JSF/JS for form submit...
Regards,
Christian
> Von: "Felix Japs" <[EMAIL PROTECTED]>
> An: "'MyFaces Discussion'"
> Betreff: JavaScript submit() valueChangeListener wrong Phase
> Datum:
Hello,
Boris Kovalenko wrote:
> Volker Weber wrote:
> Hello!
>
>> you can implement it like this
>>
>> public Date getTimeZone() { return TimeZone.getDefault();}
>>
>>
> Hmm... but TimeZone.getDefault() returns type of TimeZone, not the Date!
your right, it must be
public TimeZone getTimeZone
Patrick Dalla Bernardina wrote:
> How can I call an managed bean action when portlet mode (EDIT,VIEW) is
> changed and process the navigation rules to discover the page to be
> rendered?
You can use http://wiki.apache.org/myfaces/UsingPortletModes as a
starting point.
To invoke a managed bean act
Benjamin Shrom wrote:
> Hello,
>
> Was anybody was able to get Sun's blueprints Progress
> Bar to work with MyFaces?
> Whatever they did - it's not crossplatform
> compatible... :-(
>
> Please, share if you have any other suggestions for
> Progress Bar and JSF component.
>
> Regards,
>
> Benjam
Benjamin-
> I ran into several issues with the code back then.
> a) The code had dependencies into the com.sun hierarchy which is not
> in MyFaces and also cannot be
they are posting back the full state of client side state saving info.
That parameter is not specified (will be in 1.2). So state i
Hi,
could you explain HOW you delete the nodes? Do you click on a node,
represented by a commandLink or do you use checkboxes..or..
I had a similar problem changing the treeModel of tree (not tree2).
I implemented my own sorting for a treeTable using t:tree. After
a click on a commandLink which t
Hello!
Hmm... but TimeZone.getDefault() returns type of TimeZone, not the Date!
your right, it must be
public TimeZone getTimeZone() { return TimeZone.getDefault();}
but this is the object type as expected by the timeZones valueExpression
in the converter.
Ok, this helps... now local dates
Several Points here
1) Using Security Attributes within your pages.
I'm about to release 1.0 of the jsf-security project on
SourceForge (www.sourceforge.net/projects/jsf-security) this provides
extensions to EL which will give you a new scope #{securityScope} and a
bunch of attributes and pseu
Correct url is http://www.jroller.com/page/cenkcivici?entry=jsf_datatable_single_row_selection
Hi,
I've been experiencing many problems using JSCookMenu + Facelets:
1)
action="#{login.logout}" icon=""/>
This raises the following Exception:
VE: Error Rendering View
java.lang.NullPointerException: value
at javax.faces.model.SelectItem.(SelectItem.java:69)
at
org.apache.myface
> could you please post some code snippets??
> ValueChangeListener/JSP/JSF/JS for form submit...
>
I've found a solution:
HtmlSelectBooleanCheckbox booleanEingabe = (HtmlSelectBooleanCheckbox)
application.createComponent(HtmlSelectBooleanCheckbox.COMPONENT_TYPE);
booleanEingabe.setOnclick("if(
Ok,
I had already seen this wiki page. An implemented a subclass o
MyFacesGenericPortlet that implements these methods.
But it has some limitations.
First: I can't call an managed bean action when the mode is changed.
Second: The rules in navigation rules are not followed.
Third: It don't res
Has anyone come across a problem where
the facelet viewHandler does not interpret MyFaces core tags (e.g. h:commandLink)?
In my case it is simply writing the source to the response.
I think my namespaces are all correct.
When I first access the page the myfaces RenderKitFactoryImpl successfully
Thank you all for comments.
I go deeper for the path, I added DataSaveListener for it, you can use
DataSaveListener to process DataSaveEvent . Also added another
Contructor for SaveData with addtional parameters isLocked and
isAutoRemovable.
"isLocked" means pages have to have consume at least on
With your help I've made an improvement to the implementation in wiki page.
Before calling nonFacesRequest I call an action of an bean called
PortletBackBean.
If this bean is not declared in managed beans, no method is called.
I'm showing only doEdit, but the same can be applied to doView.
Cool. Make sure you call setPortletRequestFlag(request); before
nonFacesRequest.
It might be useful to include part of this on the wiki page as an
example for anyone else who wants to do that.
Patrick Dalla Bernardina wrote:
> With your help I've made an improvement to the implementation in wiki
It can be improved by getting the action to be executed from portlet
preferences.
instead of
fctx.getApplication().createMethodBinding("#{PortletBackBean.edit}", null);
use
fctx.getApplication().createMethodBinding(request.getPreferences().getValue("VIEW_ACTION","#{PortletBackBean.view}"),
n
What is setPortletRequestFlag(request); for?
Dave Brondsema wrote:
Cool. Make sure you call setPortletRequestFlag(request); before
nonFacesRequest.
It might be useful to include part of this on the wiki page as an
example for anyone else who wants to do that.
Patrick Dalla Bernardina wrote
Hi,
when a user clicks on the '+' image of the tree to expand
it, i would like to intercept this click to load more data
into my tree model.
How can i register for such an event?
Some code snippets showing the work flow would be very helpful,
thanks
Marcel
PS: I have found some older threads
On 10/4/05, Boyce, Keith Garry <[EMAIL PROTECTED]> wrote:
Hi Craig,
Did you ever get back to helping the
Spring Webflow project with jsf integration.
As a matter of fact, I have. I'm corresponding with Coiin and
Keith as they took my starting prototype and are making it into a high
qua
Am Sunday 02 October 2005 23:43 schrieb Carsten Burghardt:
> Am Thursday 29 September 2005 16:08 schrieb Sean Schofield:
> > At a glance there doesn't seem to be anything wrong with your
> > approach. Perhaps your styles are not available. Try replacing
> > "#{t.nodeSelected ? 'nodeSelected':'nod
Have you tried sticking spring-beans.dtd in your WEB-INF directory?
I use jsf-spring and I've yet to see this error pop up.
On 10/4/05, tony kerz <[EMAIL PROTECTED]> wrote:
> my apologies, you're absolutely right simon.
>
> at a glance, it looks myfaces related because it is going after
> faces-c
New release of doEdit and doView:
In this code, facesRender is called.
An action configured in EDIT_ACTION portlet preference is called and the
result is passed to handleNavigation.
handle navigation looks for an navigation rule where "from" can be "*"
or value of DEFAULT_EDIT portlet init para
Hi,
Do you have an estimation
when to expect the first version?
Also, does this mean we
better not use shale dialog but rather wait for the spring webflow integration?
Thanks,
Dani
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig McClanahan
Sent: Wednesd
On 10/5/05, Dani Kenan <[EMAIL PROTECTED]> wrote:
Hi,
Do you have an estimation
when to expect the first version?
I can't speak for the Spring folks doing the work ... best bet would be
to ask them directly. But I know the development work is ongoing.
Also, does this mean we
bett
This is great!
I posted a message before about how to login without any protected page. I looked at authenticator package where there is FormAuthenticator. I like to do similar, but without a protected page. User can click a login link and register all necessary info with session after successful a
Martin Marinschek wrote:
Ok,
to shed some light on this:
Thanks for all the info!
- in the JSF RI, there is encryption on the client side - we have not
implemented it so far, (this was after 1.1) cause we have no one here
with too much time and experience in this. It should be not too hard
Hello,
I would like to implement a Tree2 that loads child nodes on
demand. What I would like to do is sub-class TreeNode or something else
and when the user clicks the + on a node, at that point my code would go out
and get just the first level children under that node. I have tried
i
You may not use it as a reference, but as an example!
regards,
Martin
On 10/5/05, Simon Kitching <[EMAIL PROTECTED]> wrote:
> Martin Marinschek wrote:
> > Ok,
> >
> > to shed some light on this:
>
> Thanks for all the info!
>
> >
> > - in the JSF RI, there is encryption on the client side - we h
41 matches
Mail list logo