[Shale] Old form values still there after "Cancel" button.

2006-08-30 Thread Jason Vincent
Hi all, For the life of me I can't get JSF to stinkn forget values that were entered on a form. The view controller is "request" scope. If I start to enter data in a form and then click the "Cancel" button, which has immediate="true", the values entered by the user reappear in the form when I r

Shale startup - without Spring.

2006-05-16 Thread Jason Vincent
Hi there, Perhaps my error are unrealted, but... I was trying to get get rid of Spring from my classpath - as it is so stinkn huge when it is unzipped. From what I read in the Shale doc'o, spring is only needed if I was instantiating POJO objects outside the JSF config file. So... I tried to el

Re: Shale: onclick="disabled='true';" not calling Action Method. (stopping double click)

2006-05-11 Thread Jason Vincent
Thanks Craig... that explains it. thanks, Jason On 5/11/06, Jason Vincent <[EMAIL PROTECTED]> wrote: hmmm that isn't going to solve my issue. I don't want the button disabled on reload. I only want it to be disabled from the time the user clicked the button, until the ti

Re: Shale: onclick="disabled='true';" not calling Action Method. (stopping double click)

2006-05-11 Thread Jason Vincent
tion method, you could set the boolean to true, thereby disabling the button when the page reloads. -Original Message- From: Jason Vincent [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 10:42 AM To: user@struts.apache.org Subject: Shale: onclick="disabled='true';&quo

Shale: onclick="disabled='true';" not calling Action Method. (stopping double click)

2006-05-11 Thread Jason Vincent
Hi all, My project spec is asking me to disable form buttons once they are clicked. It seemed easy to me, just add onclick="disabled='true'" to the commandButton. But as anything I've found with JSF, it isn't that easy. When I do this, the action method isn't being called after it passes valid

Shale: UIDataTable to output delimited plain text.

2006-03-01 Thread Jason Vincent
Hi all, I'd like to have a tab (or comma) delimited text page outputed for a JSF request. When I click the link on the previous page, it asks me to save the tab delimited text file to my harddrive. I was thinking that I could extend the DataTable renderer, or something like that on a custom compo

Re: Shale: postRender method?

2006-02-14 Thread Jason Vincent
Complete method to do my custom stuff first, and then call super.responseComplete??? Is this a good approach or even possible or even the right method to override? It seems like a path to the dark side. Thanks for the help. Jason On 2/14/06, Craig McClanahan <[EMAIL PROTECTED]> wrote

Re: Shale: postRender method?

2006-02-14 Thread Jason Vincent
before the final steps in the phase are completed? Or at least, I just need the FacesMessages to not get processed until the last step of the render phase. Thanks, Jason On 2/14/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 2/14/06, Jason Vincent <[EMAIL PROTECTED]> wrote: &g

Shale: postRender method?

2006-02-14 Thread Jason Vincent
Hi All, I was wondering if there is an easy way to get a postRender method to be called in my Shale ViewController. Is a new Phase Listener the only / best option? Perhaps I can extend a Shale class to also call a postRender method? Here is my scenario: I have the concept of an ErrorEventCollecto

Re: [Shale] Property in ViewController Backing Bean is null

2006-02-14 Thread Jason Vincent
I think you may running into a simular problem that I ran into. I have the following scenario: page 1 has the user choose from a list of options. On page 2, the form saves the selected option of page 1 in a hidden field in its form. In addition the selected value from page 1 is used to populate

Re: [Shale] a command btn within a conditionally "rendered" form not getting actionListener.

2006-02-06 Thread Jason Vincent
was received - not unlike the execute method of Struts-Action. Cheers, Jason On 2/6/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 2/6/06, Jason Vincent <[EMAIL PROTECTED]> wrote: > > > > hmm... ok I tried your suggestion, but it still no worky. I even

Re: [Shale] a command btn within a conditionally "rendered" form not getting actionListener.

2006-02-06 Thread Jason Vincent
action="#{pulldownTest.handleChangeItem}" value="Submit"/> > > public String handleChangeItem() { > LOGGER.debug("handleChangeItem()"); > return "success"; > } > > Emily > > > -Original Message-

Re: [Shale] a command btn within a conditionally "rendered" form not getting actionListener.

2006-02-06 Thread Jason Vincent
t; <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"; %> <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"; %> http://www.w3.org/1999/xhtml";>

[Shale] a command btn within a conditionally "rendered" form not getting actionListener.

2006-02-05 Thread Jason Vincent
Hi all, For some reason a cmd btn of mine isn't calling its actionListener method when it is clicked. Here is the situation. I have a pull down at the top of my page which chooses the item that I want to edit below. I hit the submit button next to the pulldown, and the second half of the page i

Re: [shale] subview not talking to a backing bean

2006-02-01 Thread Jason Vincent
; wrote: > >From: Jason Vincent <[EMAIL PROTECTED]> > > > > Thanks for the response. > > > > The header.jsp does indeed have the page directive at the top. > > > > > > the include.jsp has the taglib includes in it. > > > > There are o

Re: [shale] subview not talking to a backing bean

2006-02-01 Thread Jason Vincent
my issue is that the backing bean isn't getting instantiated on the request for the subview. Is there some rule about how subviews can't talk to different backing beans? Perhaps Shale is doing something to the request? Any further ideas? Jason On 1/31/06, Gary VanMatre <[EMAIL

[shale] subview not talking to a backing bean

2006-01-31 Thread Jason Vincent
Hey there, I have a header.jsp file that is included in all my jsps: or if the including jsp was in a subdirectory... inside the header.jsp I'm trying to call a request scope backing bean to call a method to dynamically build some javascript.

Re: Shale: not calling prerender or preprocess, and Navigation issue

2006-01-23 Thread Jason Vincent
/home.jsf /login/login.jsf success /home.jsf failed /login/logon.jsf Thanks so much. Jason On 1/23/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > Inline ...

Shale: not calling prerender or preprocess, and Navigation issue

2006-01-23 Thread Jason Vincent
Hey there, I've got some unexpected navigation stuff going on, that I was hoping someone can help explain. Here is my use-case: 1) Home page is requested. 2) user isn't logged in, so redirect to login url. 3) after login, navigate to home. In my logs, I'm seeing this behavior, which is wierd...

Shale redirect to login page for secured pages

2006-01-16 Thread Jason Vincent
Hi there, I'd like to setup this usecase, in Shale/JSF... 1) user requests a url that is configured as "secured". 2) system checks for logged in user. 3) if the user is not logged in, then redirect to the login page. 4) on successfull login, redirect to orginally requested URL. currently I just