dea, and
would
lean towards making this a restriction. (Putting non-view-controller
backing beans in session scope to save state across sessions is fine.)
It ends up failling here after I set the id to a valid managed (by
tiger) bean that has the @View anotation. Since it's trying to cast
scope will have the same problem. Personally, I consider
putting view controllers in session scope to be a pretty bad idea, and would
lean towards making this a restriction. (Putting non-view-controller
backing beans in session scope to save state across sessions is fine.)
It ends up failling he
Ok, I've got most everything working. Combination of things mostly me
not know how to configure everything.
There is a problem though if you use tiger and subview. Only init()
will be called if the bean is marked session. If you mark it request
init and destroy will be called. The problem
On 6/19/06, Marty Phee <[EMAIL PROTECTED]> wrote:
I'm using: shale, tiger, tiles.
Nothing like trying *all* the new stuff all at once :-).
How recent is the Shale build you are using? I ask because there were
recent (after 1.0.2) changes in how init and destroy get called such that
they sho
I'm using: shale, tiger, tiles.
I have a layout with one of the tiles being AdminContent.jsp.
path="/admin/layouts/mainLayout.jsp">
I have a backing bean bean.AdminContent which is also declared as a @View.
@Bean(name="AdminContent", scope= Scope.
Good news for you! You don't have to populate any beans or forms in JSF. You
use value and method binding properties so the framework can populate them
itself.
Those methods are there when you need some page level functionalities. For
example, I use init() usually when I need to load some data fro
On 12/5/05, Garner, Shawn <[EMAIL PROTECTED]> wrote:
>
> Can somebody elaborate on more uses of these?
>
>
>
> init()
>
> preprocess()
>
> prerender()
>
> destroy()
Feature description of the "View Controller" feature:
http://struts.apache
Can somebody elaborate on more uses of these?
init()
preprocess()
prerender()
destroy()
I currently have a start and save struts (in a struts 1.1) methods that
populate the form bean values from a session object for the start and save
the values from the form bean into a session value
Thanx Craig.
At last I can do TDD :)
On 9/20/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
>
>
> On 9/20/05, Siva Jagadeesan <[EMAIL PROTECTED]> wrote:
> >
> > Where can I find an example for testing View Controller ?
> >
> >
> The source
On 9/20/05, Siva Jagadeesan <[EMAIL PROTECTED]> wrote:
>
> Where can I find an example for testing View Controller ?
>
>
The source code for the Use Cases example app includes unit tests for some
of the ViewController implementations. See the following for examples:
src/tes
Where can I find an example for testing View Controller ?
12/2/04, Adam Hardy wrote:
If your view controller is actually just a command on the chain for
an action mapping, how would you register it against the action
mapping's 'input' attribute in order to get pre-presentation stuff
to happen for the validate-failures?
One result of
d the view controller have the same method signature as the action
execute()?
Have you actually got anything in the nightly build yet?
No, nothing yet. The first order of business is getting the chain in
there, and action on that is waiting for the full release of Chain 1.0.
I'm thinking
At 10:26 AM + 12/2/04, Adam Hardy wrote:
OK, I understand now. :)
I'm intrigued to know how you would declare the view controllers and
register them against URLs. It would be in struts-config.xml
presumably. Would you be able to register them against a tile def?
Would the view contr
little
cutting-edge, as there is still a lot of documentation to write, and
probably some better support for multiple chain-configuration files...
we're hoping to push these things into the Struts core CVS as soon as
commons-chain makes its 1.0 release (any day now).
Strictly speaking, this is a
of documentation to
write, and probably some better support for multiple
chain-configuration files... we're hoping to push these things into
the Struts core CVS as soon as commons-chain makes its 1.0 release
(any day now).
Strictly speaking, this is all kind of tangential to a view
controll
scope (I
like to use the DigestingPlugIn). Your code doesn't look like
there's anything particularly request-sensitive about the category tree.
Some people make lists a property of the form itself. This is also
one of the core use cases for some kind of view controller registered
ag
17 matches
Mail list logo