You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Sean Schofield <se...@gmail.com> on 2005/05/17 00:54:29 UTC

[shale] Dialog question

Craig,

Great job on the new dialog stuff!  Also I like the nightly builds of
the usecases app because it allows users to check out what you're up
to without hassling with Ant, etc.

I am still digesting all of the changes but I have an initial
question.  From the javadoc it sounds like the dialog process is
initiated when a navigation outcome of "dialog:xxx" is encountered. 
I'm probably missing something here but how would that work if you
wanted your dialog to be in a "popup window?"  Would I have to
customize DialogNavigationHandler further or can that be handled
through a standard JSF mechanism that I am missing?

Regards,
sean

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: [shale] Dialog question

Posted by Craig McClanahan <cr...@gmail.com>.
On 5/16/05, Sean Schofield <se...@gmail.com> wrote:
> Craig,
> 
> Great job on the new dialog stuff!  Also I like the nightly builds of
> the usecases app because it allows users to check out what you're up
> to without hassling with Ant, etc.
> 

Thanks ... that's very much the idea.

> I am still digesting all of the changes but I have an initial
> question.  From the javadoc it sounds like the dialog process is
> initiated when a navigation outcome of "dialog:xxx" is encountered.

That is currently the only mechanism to do so.  I *think* it will be
sufficient, but that remains to be seen with use cases.

> I'm probably missing something here but how would that work if you
> wanted your dialog to be in a "popup window?"  Would I have to
> customize DialogNavigationHandler further or can that be handled
> through a standard JSF mechanism that I am missing?
> 

I'm not sure why this is a different scenario?  If you do a typical
form submit, to an action method that returns "dialog:xxx" as its
outcome, *and* the submit button had a "target" attribute, don't you
get the new dialog running in a popup?

> Regards,
> sean

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org